[gnome-shell-sass] theme: consistent focus & hover for system menu & popup menu



commit 6f76116373be69506ac86829c14f37602aea8204
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Mar 10 21:03:26 2015 +0100

    theme: consistent focus & hover for system menu & popup menu
    
    - while I'd prefer to use the selected_bg_color for menus,
      we need to be somewhat consistent with the choice
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745246

 _common.scss |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 0340f63..72d486c 100644
--- a/_common.scss
+++ b/_common.scss
@@ -439,7 +439,7 @@ StScrollBar {
       font-weight: bold;
     }
     &:hover,&:focus { background-color: transparentize($fg_color,0.9); color: $fg_color; }
-    &:active { background-color: darken($selected_bg_color,5%); color: $selected_fg_color; }
+    &:active { background-color: $selected_bg_color; color: $selected_fg_color; }
     &:insensitive { color: transparentize($fg_color,.5); }
   }
 
@@ -927,12 +927,12 @@ StScrollBar {
     border: 1px solid lighten($borders_color,5%);
 
     &:hover, &:focus {
-      color: $selected_fg_color;
-      background-color: $selected_bg_color;
+      background-color: transparentize($fg_color,0.9);
+      color: $fg_color;
       border: none;
       padding: 14px;
     }
-    &:active { background-color: darken($selected_bg_color,5%); color: $selected_fg_color; }
+    &:active { background-color: $selected_bg_color; color: $selected_fg_color; }
 
     & > StIcon { icon-size: 16px; }
   }


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