Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit fb4fd54

Browse files
committed
Stop gradients at panel bg color
1 parent c8edd6b commit fb4fd54

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

res/css/structures/_RoomSubList.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ limitations under the License.
152152
&.mx_IndicatorScrollbar_topOverflow::before {
153153
top: 0;
154154
transition: background-image 0.1s ease-in;
155-
background: linear-gradient(to top, rgba(242,245,248,0), rgba(242,245,248,1));
155+
background: linear-gradient(to top, rgba(242,245,248,0), $header-panel-bg-color);
156156
}
157157

158158
/*

res/css/views/rooms/_RoomBreadcrumbs.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ limitations under the License.
3636
top: 0;
3737
right: 0;
3838
height: 100%;
39-
background: linear-gradient(to right, rgba(242,245,248,0), rgba(242,245,248,1));
39+
background: linear-gradient(to right, rgba(242,245,248,0), $header-panel-bg-color);
4040
}
4141

4242
.mx_RoomBreadcrumbs_animate {

res/themes/light/css/_light.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ $font-family: 'Nunito', Arial, Helvetica, Sans-Serif;
1111
$accent-color: #03b381;
1212
$notice-primary-color: #ff4b55;
1313
$notice-secondary-color: #61708b;
14+
$header-panel-bg-color: #f2f5f8;
1415

1516
// typical text (dark-on-white in light skin)
1617
$primary-fg-color: #454545;

0 commit comments

Comments
 (0)