theme: Add :active styling to message-close and media control buttons

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/855
This commit is contained in:
Joonas Henriksson 2019-11-24 20:44:47 +02:00
parent 18421e8aed
commit 42eb9f4a28

View File

@ -1155,6 +1155,7 @@ 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: darken($fg_color, 10%); }
&:active { color: darken($fg_color, 20%); }
} }
.message-media-control { .message-media-control {
@ -1164,6 +1165,7 @@ 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: darken($fg_color, 10%) }
&:active { color: darken($fg_color, 20%); }
&:insensitive { color: darken($fg_color,40%); } &:insensitive { color: darken($fg_color,40%); }
} }