[libadwaita/wip/exalm/styles2: 2/2] stylesheet: Style GtkActionbar like header bars




commit ae5c1900bc2d1ae716116483e8d9164ea7d5d210
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Jun 28 18:06:52 2022 +0400

    stylesheet: Style GtkActionbar like header bars
    
    No idea why we weren't doing it, all new mockups do this, so...

 src/stylesheet/widgets/_toolbars.scss | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index 7f795997..ce308bc8 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -176,13 +176,26 @@ searchbar {
  ****************/
 
 actionbar > revealer > box {
+  background-color: $headerbar_bg_color;
+  color: $headerbar_fg_color;
+  box-shadow: inset 0 1px if($contrast == 'high', $headerbar_border_color, $headerbar_shade_color);
   padding: 1px 6px 0px 6px;
-  box-shadow: inset 0 1px $border_color;
+
   @extend %toolbar;
 
   &, > box.start, > box.end {
     border-spacing: 6px;
   }
+
+  &:backdrop {
+    background-color: $headerbar_backdrop_color;
+    transition: $backdrop_transition;
+
+    > * {
+      filter: opacity(.5);
+      transition: $backdrop_transition;
+    }
+  }
 }
 
 /**************


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