[libadwaita/wip/exalm/infobars: 4/5] stylesheet: Use transparency for infobar hover/active states
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/infobars: 4/5] stylesheet: Use transparency for infobar hover/active states
- Date: Fri, 11 Jun 2021 14:33:17 +0000 (UTC)
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]