diff options
author | Lapo Calamandrei <calamandrei@gmail.com> | 2014-07-22 14:33:44 +0200 |
---|---|---|
committer | Lapo Calamandrei <calamandrei@gmail.com> | 2014-07-22 14:35:01 +0200 |
commit | 5ff1c9a6efbe80e96e9152d64f2c4c4d19ef8980 (patch) | |
tree | b6bf9f96ce450ec0a83516e1c92b870c7db280ef | |
parent | 0bb955b30ea3d46f8c7de6b0f2dd1f3b13efa9ba (diff) | |
download | gtk+-5ff1c9a6efbe80e96e9152d64f2c4c4d19ef8980.tar.gz |
Adwaita: reduce padding on path bars
-rw-r--r-- | gtk/resources/theme/Adwaita/_common.scss | 15 | ||||
-rw-r--r-- | gtk/resources/theme/Adwaita/gtk-contained-dark.css | 14 | ||||
-rw-r--r-- | gtk/resources/theme/Adwaita/gtk-contained.css | 14 |
3 files changed, 43 insertions, 0 deletions
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index 29ef886eaa..2ea1a015f6 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -914,6 +914,21 @@ GtkComboBox { } } +/************ + * Pathbars * + ************/ + +.path-bar .button { + padding-left: 4px; + padding-right: 4px; + &:first-child { padding-left: 8px; } + &:last-child { padding-right: 8px; } + &:only-child { + padding-left: 12px; + padding-right: 12px; + } +} + /************** * Tree Views * **************/ diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index 88e428d8ba..48821dbe6a 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -1067,6 +1067,20 @@ GtkComboBox { .header-bar { border-radius: 0; } +/************ + * Pathbars * + ************/ +.path-bar .button { + padding-left: 4px; + padding-right: 4px; } + .path-bar .button:first-child { + padding-left: 8px; } + .path-bar .button:last-child { + padding-right: 8px; } + .path-bar .button:only-child { + padding-left: 12px; + padding-right: 12px; } + /************** * Tree Views * **************/ diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index 5e6dc6aab2..8037156815 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -1059,6 +1059,20 @@ GtkComboBox { .header-bar { border-radius: 0; } +/************ + * Pathbars * + ************/ +.path-bar .button { + padding-left: 4px; + padding-right: 4px; } + .path-bar .button:first-child { + padding-left: 8px; } + .path-bar .button:last-child { + padding-right: 8px; } + .path-bar .button:only-child { + padding-left: 12px; + padding-right: 12px; } + /************** * Tree Views * **************/ |