[libadwaita/wip/exalm/borders: 24/40] stylesheet: Replace solid-csd border with an inset shadow




commit 1f13876574aaffb9c7ca2d60f66bd8b4b4f6460d
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]