[gtk+] Adwaita: uniform paddings on image-buttons
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: uniform paddings on image-buttons
- Date: Thu, 3 Mar 2016 15:13:08 +0000 (UTC)
commit 08613dce92d1b0badd118c837da5013f6995e69a
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Mar 3 16:12:20 2016 +0100
Adwaita: uniform paddings on image-buttons
fixes https://bugzilla.gnome.org/show_bug.cgi?id=762811
gtk/theme/Adwaita/_common.scss | 6 +++---
gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++---
gtk/theme/Adwaita/gtk-contained.css | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 7b77af3..e96d83c 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -446,9 +446,9 @@ button {
}
&.image-button {
- min-width: 32px;
- padding-left: 0;
- padding-right: 0;
+ min-width: 24px;
+ padding-left: 4px;
+ padding-right: 4px;
}
&.text-button {
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 1875a4d..fa58a14 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -480,9 +480,9 @@ notebook > header > tabs > arrow, headerbar button.titlebutton,
box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
notebook > header > tabs > arrow.image-button, headerbar button.image-button.titlebutton,
.titlebar button.image-button.titlebutton, button.image-button {
- min-width: 32px;
- padding-left: 0;
- padding-right: 0; }
+ min-width: 24px;
+ padding-left: 4px;
+ padding-right: 4px; }
notebook > header > tabs > arrow.text-button, headerbar button.text-button.titlebutton,
.titlebar button.text-button.titlebutton, button.text-button {
padding-left: 16px;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index e6b2558..664f1bf 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -480,9 +480,9 @@ notebook > header > tabs > arrow, headerbar button.titlebutton,
box-shadow: inset 0 1px rgba(255, 255, 255, 0); }
notebook > header > tabs > arrow.image-button, headerbar button.image-button.titlebutton,
.titlebar button.image-button.titlebutton, button.image-button {
- min-width: 32px;
- padding-left: 0;
- padding-right: 0; }
+ min-width: 24px;
+ padding-left: 4px;
+ padding-right: 4px; }
notebook > header > tabs > arrow.text-button, headerbar button.text-button.titlebutton,
.titlebar button.text-button.titlebutton, button.text-button {
padding-left: 16px;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]