[gtk+] Adwaita: fix outline for scale trough



commit 5889d2520f91b4a29f2b01af58f4e92ded2b4e2f
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Mar 1 12:53:44 2016 -0800

    Adwaita: fix outline for scale trough

 gtk/theme/Adwaita/_common.scss           |    7 ++++++-
 gtk/theme/Adwaita/gtk-contained-dark.css |    3 +++
 gtk/theme/Adwaita/gtk-contained.css      |    3 +++
 3 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 2a06087..7282ffd 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2504,7 +2504,12 @@ scale {
   }
 
   // the backing bit
-  trough { @extend %scale_trough; }
+  trough {
+    @extend %scale_trough;
+
+    outline-offset: 2px;
+    -gtk-outline-radius: 4px;
+  }
 
   // the colored part of the backing bit
   highlight { @extend %scale_highlight; }
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 5025b17..fafc9b8 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2658,6 +2658,9 @@ scale {
     margin: -8px; }
   scale.fine-tune slider {
     margin: -6px; }
+  scale trough {
+    outline-offset: 2px;
+    -gtk-outline-radius: 4px; }
   scale fill, scale fill:backdrop {
     background-color: #1c1f1f;
     box-shadow: none; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index e35f5be..5da21cd 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2689,6 +2689,9 @@ scale {
     margin: -8px; }
   scale.fine-tune slider {
     margin: -6px; }
+  scale trough {
+    outline-offset: 2px;
+    -gtk-outline-radius: 4px; }
   scale fill, scale fill:backdrop {
     background-color: #9d9d99;
     box-shadow: none; }


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