[libadwaita/wip/exalm/infobars: 4/5] stylesheet: Use transparency for infobar hover/active states




commit 7ead2f9ab6853fd700037d219ee233c904332a99
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jun 11 17:15:01 2021 +0500

    stylesheet: Use transparency for infobar hover/active states

 src/stylesheet/widgets/_toolbars.scss | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index 88650b7e..3f4d165e 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -75,8 +75,11 @@ infobar {
   }
 
   &.action:hover > revealer > box {
-    background-color: if($variant == 'light', desaturate(lighten(invert($selected_bg_color), 47%), 30%),
-                      desaturate(darken(invert($selected_bg_color), 42%), 70%));
+    background-image: image(#{"alpha(currentColor, .05)"});
+  }
+
+  &.action:hover:active > revealer > box {
+    background-image: image(#{"alpha(currentColor, .1)"});
   }
 
   &.info,


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