theme: unbreak acrive states for icon tiles

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1446
This commit is contained in:
Jakub Steiner 2019-07-16 00:16:32 +02:00
parent 043667dde5
commit 49e56776e8

View File

@ -1497,11 +1497,11 @@ StScrollBar {
.search-provider-icon, .search-provider-icon,
.list-search-result { .list-search-result {
@extend %icon_tile; @extend %icon_tile;
&:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
&:focus, &:selected, &:hover { &:focus, &:selected, &:hover {
background-color: transparentize($osd_fg_color,.9); background-color: transparentize($osd_fg_color,.9);
transition-duration: 200ms; transition-duration: 200ms;
} }
&:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
} }
.app-well-app, .app-well-app,
.app-well-app.app-folder, .app-well-app.app-folder,
@ -1510,10 +1510,6 @@ StScrollBar {
& .overview-icon { & .overview-icon {
@extend %icon_tile; @extend %icon_tile;
} }
&:active .overview-icon,
&:checked .overview-icon {
background-color: transparentize(darken($osd_bg_color,10%), 0.5);
}
&:hover .overview-icon, &:hover .overview-icon,
&:focus .overview-icon, &:focus .overview-icon,
&:selected .overview-icon { &:selected .overview-icon {
@ -1522,7 +1518,10 @@ StScrollBar {
border-image: none; border-image: none;
background-image: none; background-image: none;
} }
&:active .overview-icon,
&:checked .overview-icon {
background-color: transparentize(darken($osd_bg_color,10%), 0.5);
}
} }
.app-well-app-running-dot { //running apps indicator .app-well-app-running-dot { //running apps indicator