[libadwaita/wip/exalm/oapcity] stylesheet: Stop removing shadows from disabled sliders



commit eaf723f01e83c71e60a90e6d71b79361a1f6c056
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Oct 22 11:59:32 2021 +0500

    stylesheet: Stop removing shadows from disabled sliders

 src/stylesheet/widgets/_scale.scss  | 11 ++---------
 src/stylesheet/widgets/_switch.scss |  4 ----
 2 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/src/stylesheet/widgets/_scale.scss b/src/stylesheet/widgets/_scale.scss
index 04c52ede..ffa976de 100644
--- a/src/stylesheet/widgets/_scale.scss
+++ b/src/stylesheet/widgets/_scale.scss
@@ -68,18 +68,11 @@ scale {
 
   &:disabled {
     filter: opacity($disabled_opacity);
-
-    > trough > slider {
-      box-shadow: 0 2px 4px transparent;
-      outline-color: transparentize(black, .8);
-    }
   }
 
   @if $contrast == "high" {
-    &, &:hover, &.dragging, &:disabled {
-      > trough > slider {
-        outline-color: transparentize(black, .5);
-      }
+    > trough > slider {
+      outline-color: transparentize(black, .5);
     }
   }
 
diff --git a/src/stylesheet/widgets/_switch.scss b/src/stylesheet/widgets/_switch.scss
index d5355b78..21d76e34 100644
--- a/src/stylesheet/widgets/_switch.scss
+++ b/src/stylesheet/widgets/_switch.scss
@@ -27,10 +27,6 @@ switch {
     border-radius: 50%;
     background-color: $slider_color;
     box-shadow: 0 2px 4px transparentize(black, .8);
-
-    &:disabled {
-      box-shadow: 0 2px 4px transparent;
-    }
   }
 
   &:hover > slider {


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