[libadwaita/wip/exalm/scale] 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] stylesheet: Fix slider for scale.marks-before.marks-after
- Date: Mon, 12 Jul 2021 14:41:51 +0000 (UTC)
commit abd83f71bd0bf57c616dbf01bd17067fdbe798af
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]