[libadwaita/wip/exalm/transitions: 7/8] stylesheet: Fix color scale slider styles




commit 66feb863e9f95644f347bc5a6cb7c7cec8fa031a
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Aug 30 16:52:22 2022 +0400

    stylesheet: Fix color scale slider styles
    
    - Fix color in dark variant, it should be white and not grey
    - Move focus to it like for the slider itself
    - Use background with alpha instead of opacity so we don't dim focus ring

 src/stylesheet/widgets/_scale.scss | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_scale.scss b/src/stylesheet/widgets/_scale.scss
index a1c737c1..60163704 100644
--- a/src/stylesheet/widgets/_scale.scss
+++ b/src/stylesheet/widgets/_scale.scss
@@ -210,7 +210,6 @@ scale {
 
   &.color {
     padding: 0;
-    @include focus-ring("> trough", $offset: 1px);
 
     > trough {
       border: none;
@@ -219,7 +218,7 @@ scale {
 
       > slider {
         margin: 0;
-        opacity: .8;
+        background-color: transparentize(white, .2);
       }
     }
 


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