[libadwaita/wip/exalm/transitions: 1/2] stylesheet: Fix color scale slider styles




commit abfb69d012986b13a0908df0e9cc840a9671a55e
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]