[libadwaita/wip/exalm/buttons-v2: 3/9] stylesheet: Remove button margins in .toolbar




commit 3d47ba502c2641bb49ce2a0a40c56d4838b0fca8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Sun May 23 13:35:02 2021 +0500

    stylesheet: Remove button margins in .toolbar
    
    We can just increase padding and spacing instead, that way we don't break
    .linked.

 src/stylesheet/widgets/_toolbars.scss | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index d3ebc733..912dbf52 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -1,6 +1,6 @@
 .toolbar {
-  padding: 4px;
-  border-spacing: 4px;
+  padding: 5px;
+  border-spacing: 5px;
   background-color: $bg_color;
 
   // on OSD
@@ -8,7 +8,7 @@
 
   // stand-alone OSD toolbars
   &.osd {
-    padding: 13px;
+    padding: 14px;
     border: none;
     border-radius: 5px;
     background-color: $osd_bg_color;
@@ -20,11 +20,10 @@
   }
 
   // toolbar separators
-  &.horizontal > separator { margin: 4px 0; }
-  &.vertical > separator { margin: 0 4px; }
+  &.horizontal > separator { margin: 5px 0; }
+  &.vertical > separator { margin: 0 5px; }
 
   button {
-    margin: 1px;
     @extend %button_basic_flat;
   }
 }


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