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

Commit

Permalink
Stop gradients at panel bg color
Browse files Browse the repository at this point in the history
  • Loading branch information
jryans committed Feb 13, 2019
1 parent c8edd6b commit fb4fd54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion res/css/structures/_RoomSubList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ limitations under the License.
&.mx_IndicatorScrollbar_topOverflow::before {
top: 0;
transition: background-image 0.1s ease-in;
background: linear-gradient(to top, rgba(242,245,248,0), rgba(242,245,248,1));
background: linear-gradient(to top, rgba(242,245,248,0), $header-panel-bg-color);
}

/*
Expand Down
2 changes: 1 addition & 1 deletion res/css/views/rooms/_RoomBreadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ limitations under the License.
top: 0;
right: 0;
height: 100%;
background: linear-gradient(to right, rgba(242,245,248,0), rgba(242,245,248,1));
background: linear-gradient(to right, rgba(242,245,248,0), $header-panel-bg-color);
}

.mx_RoomBreadcrumbs_animate {
Expand Down
1 change: 1 addition & 0 deletions res/themes/light/css/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ $font-family: 'Nunito', Arial, Helvetica, Sans-Serif;
$accent-color: #03b381;
$notice-primary-color: #ff4b55;
$notice-secondary-color: #61708b;
$header-panel-bg-color: #f2f5f8;

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

0 comments on commit fb4fd54

Please sign in to comment.