-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstylesheet.qss
executable file
·88 lines (75 loc) · 1.97 KB
/
stylesheet.qss
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
caTable {
font: 10pt;
background: cornsilk;
alternate-background-color: wheat;
}
caLineEdit {
border-radius: 1px;
background: lightyellow;
color: black;
}
caTextEntry {
color: rgb(127, 0, 63);
background-color: cornsilk;
selection-color: #0a214c;
selection-background-color: wheat;
border: 1px groove black;
border-radius: 1px;
padding: 1px;
}
caTextEntry:focus {
padding: 0px;
border: 2px groove darkred;
border-radius: 1px;
}
QPushButton {
border-color: #00b;
border-radius: 2px;
padding: 3px;
border-width: 1px;
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(224, 239, 255, 255),
stop:0.5 rgba(199, 215, 230, 255),
stop:1 rgba(184, 214, 236, 255));
}
QPushButton:hover {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(201, 226, 255, 255),
stop:0.5 rgba(177, 204, 230, 255),
stop:1 rgba(163, 205, 236, 255));
}
QPushButton:pressed {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(174, 219, 255, 255),
stop:0.5 rgba(165, 199, 230, 255),
stop:1 rgba(134, 188, 236, 255));
}
QPushButton:disabled {
background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1,
stop:0 rgba(174, 219, 255, 255),
stop:0.5 rgba(165, 199, 230, 255),
stop:1 rgba(134, 188, 236, 255));
}
caChoice {
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,
stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);
}
caChoice > QPushButton {
text-align: left;
padding: 1px;
}
caSlider::groove:horizontal {
border: 1px solid #bbb;
background: lightgrey;
height: 20px;
border-radius: 4px;
}
caSlider::handle:horizontal {
background: red;
border: 1px solid #777;
width: 13px;
margin-top: -2px;
margin-bottom: -2px;
border-radius: 2px;
}