[libadwaita/wip/exalm/borders: 37/40] stylesheet: Use box-shadow instead of border for toolbars




commit 5225f5dc183b2be4cddb417566e642871a78590b
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Jul 26 21:19:52 2021 +0500

    stylesheet: Use box-shadow instead of border for toolbars

 src/stylesheet/widgets/_toolbars.scss | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index 633d0ada..7888a312 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -33,14 +33,11 @@
  ****************/
 
 searchbar > revealer > box {
-  padding: 6px;
+  padding: 6px 6px 7px 6px;
   border-spacing: 6px;
 
-  border-width: 0 0 1px;
-  border-style: solid;
-  border-color: $borders_color;
-
   background-color: $dark_fill;
+  box-shadow: inset 0 -1px $borders_color;
 
  .close {
     min-width: 18px;
@@ -56,8 +53,8 @@ searchbar > revealer > box {
  ****************/
 
 actionbar > revealer > box {
-  padding: 6px;
-  border-top: 1px solid $borders_color;
+  padding: 7px 6px 6px 6px;
+  box-shadow: inset 0 1px $borders_color;
 
   &, > box.start, > box.end {
     border-spacing: 6px;
@@ -70,9 +67,9 @@ actionbar > revealer > box {
 
 infobar {
   > revealer > box {
-    padding: 8px;
+    padding: 8px 8px 9px 8px;
     border-spacing: 12px;
-    box-shadow: inset 0 -1px gtkalpha(currentColor, .1);
+    box-shadow: inset 0 -1px $borders_color;
   }
 
   &.action:hover > revealer > box {


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