[gtk+] Adwaita: set padding to 0 for tab buttons
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: set padding to 0 for tab buttons
- Date: Mon, 1 Sep 2014 14:28:27 +0000 (UTC)
commit 85593b2f2bb2198747da7ffa45c4a4e5e298ee5f
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Mon Sep 1 16:27:34 2014 +0200
Adwaita: set padding to 0 for tab buttons
gtk/resources/theme/Adwaita/_common.scss | 1 +
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 +
gtk/resources/theme/Adwaita/gtk-contained.css | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index d570ccb..ec10e46 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1528,6 +1528,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
&:backdrop { color: $backdrop_fg_color; }
}
.button { //tab close button
+ padding: 0;
border: 1px solid transparent;
@extend %undecorated_button;
icon-shadow: none;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 7cb138c..c899cd1 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1804,6 +1804,7 @@ GtkTreeView.view.progressbar {
.notebook tab .active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
color: #c9cbc9; }
.notebook tab .button {
+ padding: 0;
border: 1px solid transparent;
icon-shadow: none;
transition: none;
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 46173b0..37335df 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1798,6 +1798,7 @@ GtkTreeView.view.progressbar {
.notebook tab .active-page GtkLabel:backdrop, .notebook tab GtkLabel.active-page:backdrop {
color: #54595a; }
.notebook tab .button {
+ padding: 0;
border: 1px solid transparent;
icon-shadow: none;
transition: none;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]