[libadwaita/wip/exalm/scale: 13/13] stylesheet: Fix slider for scale.marks-before.marks-after
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/scale: 13/13] stylesheet: Fix slider for scale.marks-before.marks-after
- Date: Tue, 20 Jul 2021 14:14:27 +0000 (UTC)
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]