[gnome-themes-standard/wip/focusprops: 8/21] scale: adapt for focus padding removal



commit aba89ef93a0fa7299478eab5bb46c43b1b12a62e
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 |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 3ba5544..a9aa222 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -944,8 +944,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,
@@ -957,6 +958,8 @@ GtkLevelBar.vertical {
     border-style: none;
 
     background-color: transparent;
+    background-repeat: no-repeat;
+    background-position: center;
 
     /* background-image in -assets variant */
 }
@@ -965,17 +968,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;
+    margin: 10px 2px;
 }
 
 .scale.trough.vertical {
-    margin: 0 8px;
+    margin: 2px 10px;
 }
 
 .scale.trough,


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