@@ -690,32 +690,44 @@ QCheckBox::indicator:checked:disabled {
690
690
/* ==================================================================================== */
691
691
692
692
QSlider::groove:horizontal {
693
- border: 1px solid @itemdarkbackground ;
693
+ border: 1px solid @itembackground ;
694
694
height: 0.4em; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
695
- background-color: @itemdarkbackground ;
696
- margin: 2px 0 ;
695
+ background-color: @itembackground ;
696
+ margin: 0.15em 1px ;
697
697
}
698
698
699
699
QSlider::groove:vertical {
700
- border: 1px solid @itemdarkbackground ;
700
+ border: 1px solid @itembackground ;
701
701
width: 0.4em; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
702
- background-color: @itemdarkbackground ;
703
- margin: 2px 0 ;
702
+ background-color: @itembackground ;
703
+ margin: 1px 0.15em ;
704
704
}
705
705
706
706
QSlider::handle:horizontal {
707
- background: @gradient ;
708
- border: 1px solid @itemdarkbackground ;
707
+ background: @darkgradient ;
708
+ border: 1px solid @itembackground ;
709
709
width: 1.3em;
710
- margin: -2px 0; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
711
- border-radius: 0.15em;
710
+ margin: -0.15em -1px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
712
711
}
713
712
QSlider::handle:vertical {
714
- background: @gradient ;
715
- border: 1px solid @itemdarkbackground ;
713
+ background: @darkgradient ;
714
+ border: 1px solid @itembackground ;
716
715
height: 1.3em;
717
- margin: 0 -2px; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
718
- border-radius: 0.15em;
716
+ margin: -1px -0.15em; /* handle is placed by default on the contents rect of the groove. Expand outside the groove */
717
+ }
718
+
719
+ QSlider::sub-page:horizontal {
720
+ border: 1px solid @selection;
721
+ height: 0.4em; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
722
+ background-color: @selection;
723
+ margin: 0.15em 1px;
724
+ }
725
+
726
+ QSlider::sub-page:vertical {
727
+ border: 1px solid @selection;
728
+ height: 0.4em; /* the groove expands to the size of the slider by default. by giving it a height, it has a fixed size */
729
+ background-color: @selection;
730
+ margin: 1px 0.15em;
719
731
}
720
732
721
733
/* ==================================================================================== */
0 commit comments