[libadwaita/wip/exalm/stylesheet2: 16/103] stylesheet: Inline disabled treeview expander style




commit a225c4201f405d5724a9c22f530d08a91c4d053f
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Apr 7 19:32:23 2021 +0500

    stylesheet: Inline disabled treeview expander style
    
    Support column view as well while there.

 src/stylesheet/_common.scss | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/_common.scss b/src/stylesheet/_common.scss
index b173c77..ca94a2f 100644
--- a/src/stylesheet/_common.scss
+++ b/src/stylesheet/_common.scss
@@ -44,8 +44,7 @@ dnd {
 spinner:disabled,
 arrow:disabled,
 check:disabled,
-radio:disabled,
-treeview.expander:disabled { -gtk-icon-filter: opacity(0.5); }
+radio:disabled { -gtk-icon-filter: opacity(0.5); }
 
 .view,
 %view {
@@ -1669,6 +1668,8 @@ treeview.view {
     }
 
     &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); }
+
+    &:disabled { color: gtkalpha(currentColor, 0.5); }
   }
 
   &.progressbar { // progress bar in treeviews


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