theme: Add light styling to message buttons

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/865
This commit is contained in:
Joonas Henriksson 2019-11-27 01:20:31 +02:00 committed by Florian Müllner
parent 749a4c9f6c
commit 5b957f69d8

View File

@ -1154,8 +1154,8 @@ StScrollBar {
.message-close-button { .message-close-button {
color: lighten($fg_color, 15%); color: lighten($fg_color, 15%);
&:hover { color: darken($fg_color, 10%); } &:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
&:active { color: darken($fg_color, 20%); } &:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
} }
.message-media-control { .message-media-control {
@ -1164,9 +1164,9 @@ StScrollBar {
&:last-child:ltr { padding-right: 18px; } &:last-child:ltr { padding-right: 18px; }
&:last-child:rtl { padding-left: 18px; } &:last-child:rtl { padding-left: 18px; }
&:hover { color: darken($fg_color, 10%) } &:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
&:active { color: darken($fg_color, 20%); } &:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
&:insensitive { color: darken($fg_color,40%); } &:insensitive { color: if($variant=='light', lighten($fg_color, 50%), darken($fg_color, 40%)); }
} }
.media-message-cover-icon { .media-message-cover-icon {