[libadwaita/wip/exalm/fixes: 3/5] stylesheet: Fix list row sensitive styles




commit 06aebb8c306e858f2b0e219b73cea4ad6c5eefab
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Sep 27 14:08:54 2021 +0500

    stylesheet: Fix list row sensitive styles
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/278

 src/stylesheet/widgets/_lists.scss | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)
---
diff --git a/src/stylesheet/widgets/_lists.scss b/src/stylesheet/widgets/_lists.scss
index 8d9e8160..de9cdec9 100644
--- a/src/stylesheet/widgets/_lists.scss
+++ b/src/stylesheet/widgets/_lists.scss
@@ -46,8 +46,6 @@ row {
   &:selected {
     background-color: $view_selected_color;
   }
-
-  &:disabled { color: gtkalpha(currentColor, .55); }
 }
 
 /*******************************************************
@@ -82,6 +80,10 @@ row {
     margin-right: 12px;
     min-height: 50px;
 
+    > .icon:disabled {
+      filter: opacity(.5);
+    }
+
     > box.title {
       margin-top: 8px;
       margin-bottom: 8px;
@@ -125,11 +127,22 @@ popover.background.combo > contents {
   }
 }
 
-listview.inline {
-  background: none;
-  border: none;
-  box-shadow: none;
-  color: inherit;
+row.combo {
+  image.dropdown-arrow:disabled {
+    filter: opacity(.5);
+  }
+
+  listview.inline {
+    background: none;
+    border: none;
+    box-shadow: none;
+    color: inherit;
+
+    &, &:disabled {
+      background: none;
+      color: inherit;
+    }
+  }
 }
 
 /******************
@@ -209,7 +222,7 @@ row.expander {
     color: $accent_color;
   }
 
-  & image.expander-row-arrow:disabled {
+  image.expander-row-arrow:disabled {
     filter: opacity(.5);
   }
 }


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