[gtk+] Adwaita: fix path-bar buttons padding
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: fix path-bar buttons padding
- Date: Wed, 3 Sep 2014 22:53:48 +0000 (UTC)
commit 0ff5cf7dafbbfda06ccdb60a57804b1823cbc6e0
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Sep 4 00:51:10 2014 +0200
Adwaita: fix path-bar buttons padding
The padding there previously made the pathbar 1px taller then
buttons, not good in general and specifically not good for
Nautilus.
gtk/resources/theme/Adwaita/_common.scss | 2 +-
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 +++-
gtk/resources/theme/Adwaita/gtk-contained.css | 4 +++-
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index ee6630f..af0cce0 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1069,7 +1069,7 @@ GtkComboBox {
************/
.path-bar .button {
- padding: 7px 6px 5px;
+ padding: 5px 6px 6px;
&:first-child { padding-left: 8px; }
&:last-child { padding-right: 8px; }
&:only-child {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 2b03675..d6cac26 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1361,7 +1361,7 @@ GtkComboBox {
* Pathbars *
************/
.path-bar .button {
- padding: 7px 6px 5px; }
+ padding: 5px 6px 6px; }
.path-bar .button:first-child {
padding-left: 8px; }
.path-bar .button:last-child {
@@ -3591,3 +3591,5 @@ GtkCalendar.header .menuitem.button.titlebutton:selected, .list-row:selected {
@define-color wm_button_active_color_b shade(#393f3f, 0.89);
@define-color wm_button_active_color_c shade(#393f3f, 0.9);
@define-color content_view_bg #292929;
+
+/*# sourceMappingURL=gtk-contained-dark.css.map */
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index d9c2ffa..7f6e1a1 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1353,7 +1353,7 @@ GtkComboBox {
* Pathbars *
************/
.path-bar .button {
- padding: 7px 6px 5px; }
+ padding: 5px 6px 6px; }
.path-bar .button:first-child {
padding-left: 8px; }
.path-bar .button:last-child {
@@ -3739,3 +3739,5 @@ GtkCalendar.header .menuitem.button.titlebutton:selected, .list-row:selected {
@define-color wm_button_active_color_b shade(#ededed, 0.89);
@define-color wm_button_active_color_c shade(#ededed, 0.9);
@define-color content_view_bg #ffffff;
+
+/*# sourceMappingURL=gtk-contained.css.map */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]