[libadwaita/wip/exalm/oapcity: 1/3] stylesheet: Fix notebook disabled state




commit 0e0cefefc0fb9c8633c896cd975c41f0d2aa3985
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Oct 22 12:11:47 2021 +0500

    stylesheet: Fix notebook disabled state

 src/stylesheet/widgets/_notebook.scss | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/src/stylesheet/widgets/_notebook.scss b/src/stylesheet/widgets/_notebook.scss
index 6d25a601..d8f900fc 100644
--- a/src/stylesheet/widgets/_notebook.scss
+++ b/src/stylesheet/widgets/_notebook.scss
@@ -132,6 +132,14 @@ notebook {
         outline-color: transparent;
       }
 
+      &:disabled {
+        filter: opacity($disabled_opacity);
+
+        label, button {
+          filter: none;
+        }
+      }
+
       // colors the button like the label, overridden otherwise
       button.flat {
         color: gtkalpha(currentColor, 0.3);


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