summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2014-08-13 16:41:36 +0200
committerLapo Calamandrei <calamandrei@gmail.com>2014-08-13 16:41:36 +0200
commitde19fa4bb3353ef7ca1aaf86cf78f16845f58f26 (patch)
tree33ad148f465c083fbc8088b23227235bb54659ed
parentcf7a5401b23f9b0020bb86aafacbd5c487e4cfbe (diff)
downloadgtk+-de19fa4bb3353ef7ca1aaf86cf78f16845f58f26.tar.gz
Adwaita: path-bar home button spacing
-rw-r--r--gtk/resources/theme/Adwaita/_common.scss7
-rw-r--r--gtk/resources/theme/Adwaita/gtk-contained-dark.css10
-rw-r--r--gtk/resources/theme/Adwaita/gtk-contained.css10
3 files changed, 27 insertions, 0 deletions
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index bef48649fb..ec505cf179 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -959,6 +959,13 @@ GtkComboBox {
}
}
+// the followind is for spacing the icon and the label inside the home button
+.path-bar .button GtkLabel:last-child { padding-left: 2px; }
+.path-bar .button GtkLabel:first-child { padding-right: 2px; }
+.path-bar .button GtkLabel:only-child { padding-right: 0; padding-left: 0; }
+
+
+
/**************
* Tree Views *
**************/
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 44f93c37ef..f5151aa5d0 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1090,6 +1090,16 @@ GtkComboBox {
padding-left: 12px;
padding-right: 12px; }
+.path-bar .button GtkLabel:last-child {
+ padding-left: 2px; }
+
+.path-bar .button GtkLabel:first-child {
+ padding-right: 2px; }
+
+.path-bar .button GtkLabel:only-child {
+ padding-right: 0;
+ padding-left: 0; }
+
/**************
* Tree Views *
**************/
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 84e31a069f..72d116bf28 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1082,6 +1082,16 @@ GtkComboBox {
padding-left: 12px;
padding-right: 12px; }
+.path-bar .button GtkLabel:last-child {
+ padding-left: 2px; }
+
+.path-bar .button GtkLabel:first-child {
+ padding-right: 2px; }
+
+.path-bar .button GtkLabel:only-child {
+ padding-right: 0;
+ padding-left: 0; }
+
/**************
* Tree Views *
**************/