[gnome-shell] theme: unbreak acrive states for icon tiles



commit 49e56776e8171777e018b3e874c94318c320eacf
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Jul 16 00:16:32 2019 +0200

    theme: unbreak acrive states for icon tiles
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1446

 data/theme/gnome-shell-sass/_common.scss | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index ae1bed6a7..97d2fecfe 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -1497,11 +1497,11 @@ StScrollBar {
   .search-provider-icon,
   .list-search-result {
     @extend %icon_tile;
-    &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
     &:focus, &:selected, &:hover {
       background-color: transparentize($osd_fg_color,.9);
       transition-duration: 200ms;
     }
+    &:active, &:checked { background-color: transparentize(darken($osd_bg_color,10%),.1); }
   }
   .app-well-app,
   .app-well-app.app-folder,
@@ -1510,10 +1510,6 @@ StScrollBar {
     & .overview-icon {
       @extend %icon_tile;
     }
-    &:active .overview-icon,
-    &:checked .overview-icon {
-      background-color: transparentize(darken($osd_bg_color,10%), 0.5);
-    }
     &:hover .overview-icon,
     &:focus .overview-icon,
     &:selected .overview-icon {
@@ -1522,7 +1518,10 @@ StScrollBar {
       border-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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]