[libadwaita/wip/exalm/stylesheet2: 12/97] stylesheet: Move disabled arrow/check/ratio styles to menu




commit 7af22a6c03be77e1eb35b7f017f9ae001bc43df3
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 8 12:25:09 2021 +0500

    stylesheet: Move disabled arrow/check/ratio styles to menu
    
    They aren't needed outside, same as in the last commit.

 src/stylesheet/_common.scss | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index 1ca4286..603f2f5 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -34,17 +34,6 @@ dnd {
   -gtk-icon-size: 32px;
 }
 
-/*
-   These wildcard seems unavoidable, need to investigate.
-   Wildcards are bad and troublesome, use them with care,
-   or better, just don't.
-   Every time a wildcard is used a kitten dies, painfully.
-*/
-
-arrow:disabled,
-check:disabled,
-radio:disabled { -gtk-icon-filter: opacity(0.5); }
-
 .view,
 %view {
   color: $text_color;
@@ -1934,6 +1923,10 @@ popover.menu {
     margin-right: -2px;
   }
 
+  arrow:disabled,
+  check:disabled,
+  radio:disabled { -gtk-icon-filter: opacity(0.5); }
+
   modelbutton {
     min-height: 30px;
     min-width: 40px;


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