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 35bb67bb2f
commit 9150cbca3e

View File

@ -1155,8 +1155,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 {
@ -1165,9 +1165,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 {