Stop gradients at panel bg color

This commit is contained in:
J. Ryan Stinnett 2019-02-13 13:48:56 +00:00
parent c8edd6b417
commit fb4fd54f6f
3 changed files with 3 additions and 2 deletions

View file

@ -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);
}
/*

View file

@ -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 {

View file

@ -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;