[gnome-themes-standard] scale: adapt for focus padding removal



commit 2f7c3419617d4ffb0e68a30f9e7ffc95a8e4f0d6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun May 4 17:44:50 2014 +0200

    scale: adapt for focus padding removal

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   23 ++++++++---------------
 1 files changed, 8 insertions(+), 15 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 0218124..33d53c0 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1143,8 +1143,9 @@ GtkLevelBar.vertical {
 
 .scale {
     -GtkScale-slider-length: 16;
-    -GtkRange-slider-width: 20;
+    -GtkRange-slider-width: 24;
     -GtkRange-trough-border: 0;
+    outline-offset: -1px;
 }
 
 .scale.slider,
@@ -1156,6 +1157,8 @@ GtkLevelBar.vertical {
     border-style: none;
 
     background-color: transparent;
+    background-repeat: no-repeat;
+    background-position: center;
 
     /* background-image in -assets variant */
 }
@@ -1164,25 +1167,15 @@ GtkLevelBar.vertical {
 .scale.slider.fine-tune:active:hover,
 .scale.slider.fine-tune.horizontal:active,
 .scale.slider.fine-tune.horizontal:active:hover {
-      background-size: 50%;
-      background-repeat: no-repeat;
-      background-position: center;
-}
+    background-size: 50%;
+ }
 
 .scale.trough {
-    margin: 8px 0;
-    background-image: linear-gradient(to bottom,
-                                      @scale_trough_bg_a,
-                                      @scale_trough_bg_b
-                                      );
+    margin: 10px 2px;
 }
 
 .scale.trough.vertical {
-    margin: 0 8px;
-    background-image: linear-gradient(to right,
-                                      @scale_trough_bg_a,
-                                      @scale_trough_bg_b
-                                      );
+    margin: 2px 10px;
 }
 
 .scale.trough,


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