[gnome-shell/wip/jimmac/fix-submenu-separators] theme: fix submenu separator contrast



commit b24bf26195ec1b778bfd3c3d8f558780a886107f
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 13 21:45:02 2020 +0100

    theme: fix submenu separator contrast
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2203

 data/theme/gnome-shell-sass/widgets/_popovers.scss | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_popovers.scss 
b/data/theme/gnome-shell-sass/widgets/_popovers.scss
index 5a741df663..9b7662b71e 100644
--- a/data/theme/gnome-shell-sass/widgets/_popovers.scss
+++ b/data/theme/gnome-shell-sass/widgets/_popovers.scss
@@ -86,6 +86,12 @@ $popover_arrow_height: 12px;
   height: 1px; //not really the whole box
   margin: 6px 64px;
   background-color: lighten($borders_color, 2%);
+  .popup-sub-menu & { //submenu separators
+    margin: 0 64px 0 32px; //submenus are indented. match parent
+    @if $variant == 'dark' {
+      background-color: lighten($bg_color,10%);
+    }
+  }
 }
 
 // desktop background menu


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