forked from CSReviser/CS-English
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet-ubu.qss
61 lines (54 loc) · 1.07 KB
/
stylesheet-ubu.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
QWidget {
font-family: "Times New Roman", serif;
/* font-size: 10pt; */
font-weight: bold;
font-style: normal;
background-color: gainsboro;
/*
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 whitesmoke, stop: 1 silver);
*/
/*
color: #e7e7eb;
*/
}
QMenuBar {
color: black;
background-color: gainsboro;
}
QMenuBar::item {
background: transparent;
}
QMenuBar::item:selected {
background: #a8a8a8;
}
QMenuBar::item:pressed {
background: #888888;
}
QPushButton {
background-color: gainsboro;
/*
background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 whitesmoke, stop: 1 silver);
*/
border-top: 1px solid white;
border-left: 1px solid white;
border-right: 2px solid dimgray;
border-bottom: 2px solid dimgray;
border-radius: 10px;
min-width: 12ex;
min-height: 3ex;
}
/*
QPushButton:hover {
background-color: steelblue;
}
*/
QPushButton:pressed {
border-top: 2px solid dimgray;
border-left: 2px solid dimgray;
border-right: 1px solid white;
border-bottom: 1px solid white;
/*
padding-left: 5px;
padding-top: 5px;
*/
}