[libadwaita/wip/exalm/borderless: 12/19] Revert "Revert "stylesheet: Restore a backdrop state for header bar""




commit dcd374b596285f3c606b45f95204b6b1f8311b8b
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Jun 29 13:20:05 2021 +0500

    Revert "Revert "stylesheet: Restore a backdrop state for header bar""
    
    This reverts commit 284af49bcc883959609eb3729f7eb4a0d74ca73d.

 src/stylesheet/widgets/_header-bar.scss | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index 7ad8caea..b19f9c2a 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -16,15 +16,17 @@ headerbar {
   }
 
   &:backdrop {
-    background-color: $headerbar_bg_color;
+    filter: brightness(.92);
 
     transition: $backdrop_transition;
+    transition-property: filter;
 
     > windowhandle {
       // opacity looks weird with GtkSwitch, but filter works fine
       filter: opacity(0.5);
 
       transition: $backdrop_transition;
+      transition-property: filter;
     }
   }
 


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