[gtk+] Adwaita: reset padding on notebook tab close button



commit fac5ed6165c801a9ef298d5bef15e32e4ba44223
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Jan 29 18:09:28 2016 +0100

    Adwaita: reset padding on notebook tab close button

 gtk/theme/Adwaita/_common.scss           |    1 +
 gtk/theme/Adwaita/gtk-contained-dark.css |    1 +
 gtk/theme/Adwaita/gtk-contained.css      |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index fd1e7dc..513e8f8 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1867,6 +1867,7 @@ notebook {
 
         &, &:backdrop { color: gtkalpha(currentColor, 0.3); }
 
+        padding: 0;
         margin-top: 8px;
         margin-bottom: 8px;
         // FIXME: generalize .small-button?
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 6371eb7..f4f799e 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2321,6 +2321,7 @@ notebook > header {
     notebook > header tab button.flat, notebook > header tab button.sidebar-button, notebook > header tab 
headerbar button.titlebutton, headerbar notebook > header tab button.titlebutton,
     notebook > header tab .titlebar button.titlebutton,
     .titlebar notebook > header tab button.titlebutton {
+      padding: 0;
       margin-top: 8px;
       margin-bottom: 8px;
       min-width: 18px;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 8ad2d2b..9f10bc0 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2331,6 +2331,7 @@ notebook > header {
     notebook > header tab button.flat, notebook > header tab button.sidebar-button, notebook > header tab 
headerbar button.titlebutton, headerbar notebook > header tab button.titlebutton,
     notebook > header tab .titlebar button.titlebutton,
     .titlebar notebook > header tab button.titlebutton {
+      padding: 0;
       margin-top: 8px;
       margin-bottom: 8px;
       min-width: 18px;


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