[gtk/usable-scales: 3/3] Adwaita: Give scale troughs a margin



commit c636eafe747cd78f843b653b3cfca80c03c58f14
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed May 13 13:01:07 2020 -0400

    Adwaita: Give scale troughs a margin
    
    This makes clicking on scales much easier.

 gtk/theme/Adwaita/_common.scss | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index f240346b89..1beebc892f 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -2624,6 +2624,15 @@ scale {
     }
   }
 
+  // trough has clickable margins
+  &.vertical > trough {
+    margin: 0 10px;
+  }
+
+  &.horizontal > trough {
+    margin: 10px 0;
+  }
+
   // click-and-hold the slider to activate
   &.fine-tune {
     &.horizontal {


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