-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.sty
83 lines (70 loc) · 1.46 KB
/
style.sty
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
QWidget {
background-color: BGCOLOR;
}
QMessageBox {
background-color: BGCOLOR;
}
QLabel {
color: LACOLOR;
}
QPushButton {
color: LACOLOR;
background-color: BGCOLOR;
border: 2px solid LACOLOR;
width: 65px;
height: 25px;
}
QMenu {
background-color: BGCOLOR;
border: 2px solid LACOLOR;
}
QMenu::item {
background-color: transparent;
color: LACOLOR;
}
QMenu::item:selected {
background-color: DACOLOR;
}
QMenu::separator {
height: 2px;
background: DACOLOR;
}
QTextEdit {
background-color: BGCOLOR;
color: FCOLOR;
border-style: none;
font-family: FFAMILY;
font-size: FSIZE;
font-weight: FBOLD;
font-style: FITALIC;
text-decoration: FUNDERLINE;
selection-color: SCOLOR;
selection-background-color: SBCOLOR;
}
QScrollBar:vertical {
margin: 20px 0px 20px 0px;
border: 2px solid BGCOLOR;
width: 15px;
}
QScrollBar::handle:vertical {
background: SCCOLOR;
min-height: 20px;
}
QScrollBar::sub-line:vertical {
background: SCCOLOR;
width: 11px;
height: 15px;
subcontrol-position: top;
subcontrol-origin: margin;
}
QScrollBar::add-line:vertical {
background: SCCOLOR;
width: 11px;
height: 15px;
subcontrol-position: bottom;
subcontrol-origin: margin;
}
QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
width: 15px;
background: none;
}