[gtk+] Adwaita: pathbar whitespace



commit c5d4485a6377507fda401ddfa7431ece07c35640
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Aug 29 02:41:33 2014 +0200

    Adwaita: pathbar whitespace
    
    - optically center icons + labels vertically. It isn't actually
      centered, but feels more balanced
    - add some left/right padding
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734753

 gtk/resources/theme/Adwaita/_common.scss           |    3 +--
 gtk/resources/theme/Adwaita/gtk-contained-dark.css |    3 +--
 gtk/resources/theme/Adwaita/gtk-contained.css      |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 6c4fe92..ee14407 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -1056,8 +1056,7 @@ GtkComboBox {
  ************/
 
 .path-bar .button {
-  padding-left: 4px;
-  padding-right: 4px;
+  padding: 7px 6px 5px;
   &:first-child { padding-left: 8px; }
   &:last-child { padding-right: 8px; }
   &:only-child {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css 
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 425d300..a473bc9 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -1182,8 +1182,7 @@ GtkComboBox {
  * Pathbars *
  ************/
 .path-bar .button {
-  padding-left: 4px;
-  padding-right: 4px; }
+  padding: 7px 6px 5px; }
   .path-bar .button:first-child {
     padding-left: 8px; }
   .path-bar .button:last-child {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 9fb1ca2..f7a5b1c 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -1174,8 +1174,7 @@ GtkComboBox {
  * Pathbars *
  ************/
 .path-bar .button {
-  padding-left: 4px;
-  padding-right: 4px; }
+  padding: 7px 6px 5px; }
   .path-bar .button:first-child {
     padding-left: 8px; }
   .path-bar .button:last-child {


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