[gnome-themes-standard] fixed buttons padding



commit d36b29443ee892de023ee04299ac679d0bac92df
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri May 16 18:17:43 2014 +0200

    fixed buttons padding

 themes/Adwaita/gtk-3.0/_common.scss      |    2 +-
 themes/Adwaita/gtk-3.0/_drawing.scss     |    4 ++--
 themes/Adwaita/gtk-3.0/gtk-contained.css |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/_common.scss b/themes/Adwaita/gtk-3.0/_common.scss
index e48b4d4..f750c33 100644
--- a/themes/Adwaita/gtk-3.0/_common.scss
+++ b/themes/Adwaita/gtk-3.0/_common.scss
@@ -214,7 +214,7 @@ GtkGrid:insensitive {
 .spinbutton.vertical .button {
   border-radius: 3px;
   transition: all 200ms ease-out;
-  padding: 2px 4px;
+  padding: 4px;
   background-color: transparent;
   @include button_normal($theme_bg_color);
   &:hover {
diff --git a/themes/Adwaita/gtk-3.0/_drawing.scss b/themes/Adwaita/gtk-3.0/_drawing.scss
index 8010df0..f504fb8 100644
--- a/themes/Adwaita/gtk-3.0/_drawing.scss
+++ b/themes/Adwaita/gtk-3.0/_drawing.scss
@@ -4,6 +4,8 @@
 
 $widget_bottom_hilight: 0 1px $borders_edge; //outer hilight "used" on 
                                              //most widgets, not working
+                                             //since gtk doesn't draw (yet?)
+                                             //outside the widget itself.
 
 // buttons
 
@@ -26,8 +28,6 @@ $widget_bottom_hilight: 0 1px $borders_edge; //outer hilight "used" on
                                       $c 40%,
                                       darken($c,10%)
                                       );
-  // this doesn't work for the edge highlight
-  // right now due to gtk not allocating external space
   @include button-box-shadow(inset 0 1px $borders_edge, 
                              $widget_bottom_hilight);
 }
diff --git a/themes/Adwaita/gtk-3.0/gtk-contained.css b/themes/Adwaita/gtk-3.0/gtk-contained.css
index a96e4de..e63365d 100644
--- a/themes/Adwaita/gtk-3.0/gtk-contained.css
+++ b/themes/Adwaita/gtk-3.0/gtk-contained.css
@@ -162,7 +162,7 @@ GtkGrid:insensitive {
 .spinbutton.vertical .button {
   border-radius: 3px;
   transition: all 200ms ease-out;
-  padding: 2px 4px;
+  padding: 4px;
   background-color: transparent;
   border: 1px solid #a1a1a1;
   background-color: #ededed;


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