[libadwaita/wip/exalm/borderless: 29/32] stylesheet: Replace solid-csd border with an inset shadow




commit 70cee8828856d3bf08cb96bdd34e9df3187d8d41
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Jun 18 12:24:46 2021 +0500

    stylesheet: Replace solid-csd border with an inset shadow

 src/stylesheet/widgets/_window.scss | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/src/stylesheet/widgets/_window.scss b/src/stylesheet/widgets/_window.scss
index 62f559eb..01ec0a86 100644
--- a/src/stylesheet/widgets/_window.scss
+++ b/src/stylesheet/widgets/_window.scss
@@ -64,12 +64,17 @@ window {
 
   &.solid-csd {
     margin: 0;
-    padding: 4px;
-    border: solid 1px $borders_color;
+    padding: 5px;
     border-radius: 0;
-    box-shadow: inset 0 0 0 4px $borders_color, inset 0 0 0 3px $headerbar_bg_color;
+    box-shadow: inset 0 0 0 5px $borders_color,
+                inset 0 0 0 4px $headerbar_bg_color,
+                inset 0 0 0 1px $_wm_border;
 
-    &:backdrop { box-shadow: inset 0 0 0 4px $borders_color, inset 0 0 0 3px $bg_color; }
+    &:backdrop {
+      box-shadow: inset 0 0 0 5px $borders_color,
+                  inset 0 0 0 4px $bg_color,
+                  inset 0 0 0 1px $_wm_border_backdrop;
+    }
   }
 
   // server-side decorations as used by mutter


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