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

Commit

Permalink
Improve gradients for Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
jryans committed Feb 13, 2019
1 parent f64f39f commit 5f6907c
Show file tree
Hide file tree
Showing 4 changed files with 6 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), $header-panel-bg-color);
background: linear-gradient(to top, $panel-gradient);
}

/*
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), $header-panel-bg-color);
background: linear-gradient(to right, $panel-gradient);
}

.mx_RoomBreadcrumbs_animate {
Expand Down
2 changes: 2 additions & 0 deletions res/themes/dark/css/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ $button-danger-disabled-bg-color: #f5b6bb; // TODO: Verify color

$room-warning-bg-color: $header-panel-bg-color;

$panel-gradient: rgba(34, 38, 46, 0), rgba(34, 38, 46, 1);

/*** form elements ***/

// .mx_textinput is a container for a text input
Expand Down
2 changes: 2 additions & 0 deletions res/themes/light/css/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ $authpage-lang-color: #4e5054;
$authpage-primary-color: #454545;
$authpage-secondary-color: #61708b;

$panel-gradient: rgba(242, 245, 248, 0), rgba(242, 245, 248, 1);

/*** form elements ***/

// .mx_textinput is a container for a text input
Expand Down

0 comments on commit 5f6907c

Please sign in to comment.