-
Notifications
You must be signed in to change notification settings - Fork 0
/
StyleSheet.py
169 lines (130 loc) · 5.51 KB
/
StyleSheet.py
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
TRISTAN_GREY = """
QPushButton {
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #CCCCBB, stop: 1 #FFFFFF);
border-width: 3px;
margin: 1px;
border-style: solid;
border-color: rgb(10, 10, 10);
border-radius: 5px;
text-align: centre;
color: black;
font-weight: bold;
font-size: 9pt;
padding: 3px;}
QPushButton:hover {
background-color: rgb(175, 175, 175);
border: 1px solid red;
}
QPushButton:pressed {background-color: rgb(112, 112, 112);}
QComboBox {
margin: 0.25em;
border: 1px solid gray;
border-radius: 3px;
padding: 1px 18px 1px 3px;
min-width: 6em;
font-size: 9pt;
font-weight: bold;}
QComboBox:hover {
background-color: rgb(175, 175, 175);
border-color: rgb(200, 51, 255);}
QGroupBox{
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #D9D9D9, stop: 1 #FFFFFF);
border: 2px solid gray;
border-radius: 5px;
padding: 0.25em;
margin-top: 0.25em;
margin-bottom: 0.25em;
font-weight: bold;
font-size: 9pt;
}
QGroupBox:title {subcontrol-position: top middle;
padding: -14px 0px 0px 3px;
color:black;}
QLabel{ padding: 4px;
min-height: 1em;
text-align: centre;
font-weight: bold;
font-size: 9pt;
background: transparent;
margin: 0.25em;
}
QTableWidget{color: black;}
QSpinBox{
font-size: 9pt;
font-weight: bold;}
QDoubleSpinBox{
font-size: 9pt;
font-weight: bold;}
QSpinBox::up-arrow{max-height: 16px;}
QSpinBox::down-arrow{max-height: 16px;}
QDoubleSpinBox::up-arrow{max-height: 16px;}
QDoubleSpinBox::down-arrow{max-height: 16px;}
QCheckBox{
font-weight: bold;
font-size: 9pt;
background: transparent;}
QCheckBox:hover{
background-color: rgb(175, 175, 175);
border-color: rgb(200, 51, 255);}
QTreeView {
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop: 0 #CCCCBB, stop: 1 #FFFFFF);
show-decoration-selected: 1;
color: black;
}
QTreeView::branch:hover {
background: #cce5ff;
}
QTreeView::branch:selected {
background: #4da3ff;
color: white;
}
QTreeView::branch:selected:hover {
background: #CCCCBB;
color: white;
}
QTreeView::item{
margin-right:0;}
QTreeView::item:selected {
background: #4da3ff;
color:white;
}
QTreeView::item:hover {
background: #cce5ff;
color: white;
}
QTreeView::item:selected:hover {
background: #CCCCBB;
color: black;
}
QListWidget {
alternate-background-color: yellow;
}
QListWidget {
show-decoration-selected: 1; /* make the selection span the entire width of the view */
}
QListWidget::item:alternate {
background: #EEEEEE;
}
QListWidget::item:selected:hover {
background: darkblue;
color: white;
}
QListWidget::item:hover {
background: #cce5ff;
}
QTableWidget {
background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0,
stop: 0 #CCCCBB, stop: 1 #FFFFFF);
}
QTableWidget::item {
border: 5px solid rgba(68, 119, 170, 150);
background-color:rgba(68, 119, 170, 125);
}
QHeaderView, QHeaderView::section {
background-color: rgba(125, 125, 125, 125);
font-weight: bold;
font-size: x-large;
}
"""