[gnome-shell/wip/snwh/style-updates] theme: use light colours for submenu in popovers



commit 6a2d6010f637d39a67bbaf2736bfcdf917ab153e
Author: Sam Hewitt <sam snwh org>
Date:   Tue Jan 4 10:29:31 2022 -0330

    theme: use light colours for submenu in popovers

 data/theme/gnome-shell-sass/widgets/_popovers.scss | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_popovers.scss 
b/data/theme/gnome-shell-sass/widgets/_popovers.scss
index 483f07767f..2d977536c6 100644
--- a/data/theme/gnome-shell-sass/widgets/_popovers.scss
+++ b/data/theme/gnome-shell-sass/widgets/_popovers.scss
@@ -67,16 +67,15 @@
   }
 
   &:checked {
-    background-color: $active_bg_color;
+    background-color: $hover_bg_color;
     font-weight: bold;
 
     margin-bottom: 0;
-    box-shadow: inset 0 -1px 0 0 $borders_color;
+    box-shadow: inset 0 -1px 0 0 darken($hover_bg_color, 5%);
     border-radius: $base_border_radius $base_border_radius 0 0;
     
-    
     &:hover {
-      background-color: darken($active_bg_color, 4%);
+      background-color: darken($hover_bg_color, 4%);
     }
   }
 
@@ -86,8 +85,8 @@
   }
 
   &:active { 
-    background-color: $selected_bg_color;
-    color: $selected_fg_color;
+    background-color: $active_bg_color;
+    color: $active_fg_color;
   }
 
   &:insensitive { color: transparentize($fg_color,0.5);}
@@ -118,7 +117,7 @@
 
 // popover submenus
 .popup-sub-menu {
-  background-color: $active_bg_color;
+  background-color: $hover_bg_color;
   border:none;
   border-radius: 0 0 $base_border_radius $base_border_radius;
   padding: 0;
@@ -136,6 +135,7 @@
   .popup-menu-item {
     margin: 0;
     border-radius: 0;
+    padding: $base_padding*1.5 $base_padding*2;
   }
 
   .popup-separator-menu-item {
@@ -166,7 +166,7 @@
     .popup-sub-menu & { //submenu separators
       margin: 0 4em 0 3em; // balance it in the middle
       padding:0 !important;
-      background-color: $borders_color;
+      background-color: darken($hover_bg_color, 5%);
     }
   }
 }


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