[gtk+] Adwaita: path-bar home button spacing



commit de19fa4bb3353ef7ca1aaf86cf78f16845f58f26
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Wed Aug 13 16:41:36 2014 +0200

    Adwaita: path-bar home button spacing

 gtk/resources/theme/Adwaita/_common.scss           |    7 +++++++
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |   10 ++++++++++
 gtk/resources/theme/Adwaita/gtk-contained.css      |   10 ++++++++++
 3 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index bef4864..ec505cf 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 44f93c3..f5151aa 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 84e31a0..72d116b 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 *
  **************/


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