blob: e8311e922a4bf1787dfad7ca5f6127a335fa9e00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
/* SLIDERS */
QSlider::groove:horizontal {
border: 1px solid transparent;
background: palette(alternate-window);
height: 10px;
border-radius: 3px;
}
QSlider::groove:vertical {
border: 1px solid transparent;
background: palette(alternate-window);
width: 10px;
border-radius: 3px;
}
QSlider::sub-page:horizontal {
background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1,
stop: 0 palette(highlight), stop: 1 palette(window));
border: 1px solid transparent;
height: 10px;
border-radius: 3px;
}
QSlider::sub-page:vertical {
background: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1,
stop: 0 palette(highlight), stop: 1 palette(window));
border: 1px solid transparent;
width: 10px;
border-radius: 3px;
}
QSlider::add-page:horizontal{
background: palette(alternate-window);
border: 1px solid transparent;
height: 10px;
border-radius: 3px;
}
QSlider::add-page:vertical{
background: palette(alternate-window);
border: 1px solid transparent;
width: 10px;
border-radius: 3px;
}
QSlider::handle:horizontal{
background: palette(mid);
border: 1px solid palette(mid);
width: 1em;
border-radius: 1px;
}
QSlider::handle:vertical{
background: palette(mid);
border: 1px solid palette(mid);
height: 1em;
border-radius: 1px;
}
QSlider::handle:horizontal:hover, QSlider::handle:vertical:hover{
border: 1px solid palette(highlight);
background: palette(highlight);
}
QSlider::sub-page:horizontal:disabled {
background: palette(highlight);
border-color: palette(highlight);
}
QSlider::add-page:horizontal:disabled {
background: palette(highlight);
border-color: palette(highlight);
}
QSlider::handle:horizontal:disabled {
background: palette(alternate-window);
border: 1px solid palette(highlight);
}
|