[gtk+] Adwaita: reduce padding on path bars



commit 5ff1c9a6efbe80e96e9152d64f2c4c4d19ef8980
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Jul 22 14:33:44 2014 +0200

    Adwaita: reduce padding on path bars

 gtk/resources/theme/Adwaita/_common.scss           |   15 +++++++++++++++
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |   14 ++++++++++++++
 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 29ef886..2ea1a01 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 88e428d..48821db 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 5e6dc6a..8037156 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 *
  **************/


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