[libadwaita/wip/jimmac/devel-headerbar-stripes] headerbar: stripy tint for devel windows




commit 5f87483ec49d657a3148cb120d81fa938996892a
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Jul 20 14:29:33 2021 +0200

    headerbar: stripy tint for devel windows
    
    - better styling for devel apps (flat windows / no headerbar
      and split headerbars too)
    - Works better overall due to the visual link to devel icons.
    
    Fixes https://gitlab.gnome.org/GNOME/libadwaita/-/issues/232

 src/stylesheet/widgets/_header-bar.scss | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss
index 4ff5990e..47dbca19 100644
--- a/src/stylesheet/widgets/_header-bar.scss
+++ b/src/stylesheet/widgets/_header-bar.scss
@@ -131,6 +131,14 @@ windowtitle {
 
 window.devel {
   headerbar > windowhandle {
-    background: cross-fade(8% -gtk-icontheme("system-run-symbolic"), image(transparent)) 90% 0/256px 256px 
no-repeat;
+    background:
+      linear-gradient(to bottom, transparent, $headerbar_bg_color),
+      repeating-linear-gradient(
+        45deg,
+        rgba(0,0,0,0.03),
+        rgba(0,0,0,0.03) 10px,
+        transparent 10px,
+        transparent 20px
+      );
   }
 }


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