[libadwaita/wip/exalm/scale: 13/13] stylesheet: Fix slider for scale.marks-before.marks-after




commit 8555174871a763e8caa1ee0174e369c519bae667
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Jul 12 19:40:29 2021 +0500

    stylesheet: Fix slider for scale.marks-before.marks-after

 src/stylesheet/widgets/_scale.scss | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/src/stylesheet/widgets/_scale.scss b/src/stylesheet/widgets/_scale.scss
index 041428be..dd790b70 100644
--- a/src/stylesheet/widgets/_scale.scss
+++ b/src/stylesheet/widgets/_scale.scss
@@ -112,7 +112,8 @@ scale {
     font-feature-settings: "tnum";
   }
 
-  &.marks-before, &.marks-after {
+  &.marks-before:not(.marks-after),
+  &.marks-after:not(.marks-before) {
     > trough > slider {
       transform: rotate(45deg);
 
@@ -152,6 +153,10 @@ scale {
     &.marks-after > trough > slider {
       border-bottom-right-radius: 0;
     }
+
+    &.marks-before.marks-after > trough > slider {
+      border-radius: 100%;
+    }
   }
 
   &.vertical {


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