[libadwaita/wip/exalm/tab-style] tmp




commit 2c5b1e235f7d7ad2896b2be9d2b758ccedcadfd4
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Apr 7 02:51:30 2022 +0400

    tmp

 src/adw-tab-box.c                     |  2 +-
 src/adw-tab.c                         |  2 +-
 src/stylesheet/widgets/_tab-view.scss | 10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/adw-tab-box.c b/src/adw-tab-box.c
index 5dfd3e28..a3ebcedb 100644
--- a/src/adw-tab-box.c
+++ b/src/adw-tab-box.c
@@ -21,7 +21,7 @@
 #include "adw-widget-utils-private.h"
 #include <math.h>
 
-#define SPACING 3
+#define SPACING 5
 #define DND_THRESHOLD_MULTIPLIER 4
 #define DROP_SWITCH_TIMEOUT 500
 
diff --git a/src/adw-tab.c b/src/adw-tab.c
index 3a4a9da8..bd5a7882 100644
--- a/src/adw-tab.c
+++ b/src/adw-tab.c
@@ -18,7 +18,7 @@
 #define CLOSE_BTN_ANIMATION_DURATION 150
 
 #define BASE_WIDTH 118
-#define BASE_WIDTH_PINNED 28
+#define BASE_WIDTH_PINNED 26
 
 #define ATTENTION_INDICATOR_PINNED_WIDTH 14
 #define ATTENTION_INDICATOR_WIDTH_MULTIPLIER 0.6
diff --git a/src/stylesheet/widgets/_tab-view.scss b/src/stylesheet/widgets/_tab-view.scss
index 2dff04d6..af5b8a00 100644
--- a/src/stylesheet/widgets/_tab-view.scss
+++ b/src/stylesheet/widgets/_tab-view.scss
@@ -7,8 +7,8 @@ tabbar {
     > tabboxchild {
       @include focus-ring();
       border-radius: $button_radius;
-      margin-bottom: 3px;
-      margin-top: 3px;
+      margin-bottom: 5px;
+      margin-top: 5px;
     }
 
     > separator {
@@ -99,8 +99,8 @@ dnd tab {
 tabbar,
 dnd {
   tab {
-    min-height: 24px;
-    padding: 6px;
+    min-height: 26px;
+    padding: 4px;
     border-radius: $button_radius;
 
     button.image-button {
@@ -115,7 +115,7 @@ dnd {
       min-height: 2px;
       border-radius: 2px;
       background: if($contrast == 'high', $accent_color, gtkalpha($accent_color, 0.5));
-      transform: translateY(6px);
+      transform: translateY(4px);
     }
   }
 }


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