diff options
author | Lapo Calamandrei <calamandrei@gmail.com> | 2014-08-13 16:41:36 +0200 |
---|---|---|
committer | Lapo Calamandrei <calamandrei@gmail.com> | 2014-08-13 16:41:36 +0200 |
commit | de19fa4bb3353ef7ca1aaf86cf78f16845f58f26 (patch) | |
tree | 33ad148f465c083fbc8088b23227235bb54659ed | |
parent | cf7a5401b23f9b0020bb86aafacbd5c487e4cfbe (diff) | |
download | gtk+-de19fa4bb3353ef7ca1aaf86cf78f16845f58f26.tar.gz |
Adwaita: path-bar home button spacing
-rw-r--r-- | gtk/resources/theme/Adwaita/_common.scss | 7 | ||||
-rw-r--r-- | gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 | ||||
-rw-r--r-- | 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 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 * **************/ |