[libadwaita/wip/exalm/checks: 2/2] stylesheet: Fix menu radio hover state




commit 99c069b06df24de2e78b9c5576c7bdd63b6870f9
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sat Feb 5 18:45:03 2022 +0500

    stylesheet: Fix menu radio hover state
    
    Remove the weird box-shadow leaking from the main style.

 src/stylesheet/widgets/_menus.scss | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/src/stylesheet/widgets/_menus.scss b/src/stylesheet/widgets/_menus.scss
index 20f707c1..85fda979 100644
--- a/src/stylesheet/widgets/_menus.scss
+++ b/src/stylesheet/widgets/_menus.scss
@@ -84,6 +84,7 @@ popover.menu {
     &:hover:indeterminate,
     &:hover:not(:checked):not(:indeterminate) {
       background: none;
+      box-shadow: none;
       color: inherit;
     }
   }
@@ -95,17 +96,10 @@ popover.menu {
     }
   }
 
-  check {
-    &, &:not(:checked):not(:indeterminate):hover {
-      box-shadow: none;
-    }
-  }
-
   //only menu radios have a border
   radio {
     padding: 1px;
     border: 1px solid gtkalpha(currentColor, $dimmer_opacity);
-    box-shadow: none;
   }
 
   check,


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