]>
Commit | Line | Data |
---|---|---|
37b0bd35 SA |
1 | QToolTip{ |
2 | color:#ffffff; | |
3 | background-color:palette(base); | |
4 | border:1px solid palette(highlight); | |
5 | border-radius:4px; | |
6 | } | |
7 | QStatusBar{ | |
8 | background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
9 | color:palette(mid); | |
10 | } | |
11 | QMenuBar{ | |
12 | background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
13 | border-bottom:2px solid rgba(25,25,25,75); | |
14 | } | |
15 | QMenuBar::item{ | |
16 | spacing:2px; | |
17 | padding:3px 4px; | |
18 | background:transparent; | |
19 | } | |
20 | QMenuBar::item:selected{ | |
21 | background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(106,106,106,255),stop:1 rgba(106,106,106,75)); | |
22 | border-left:1px solid rgba(106,106,106,127); | |
23 | border-right:1px solid rgba(106,106,106,127); | |
24 | } | |
25 | QMenuBar::item:pressed{ | |
26 | background-color:palette(highlight); | |
27 | border-left:1px solid rgba(25,25,25,127); | |
28 | border-right:1px solid rgba(25,25,25,127); | |
29 | } | |
30 | QMenu{ | |
31 | background-color:palette(window); | |
32 | border:1px solid palette(shadow); | |
33 | } | |
34 | QMenu::item{ | |
35 | padding:3px 25px 3px 25px; | |
36 | border:1px solid transparent; | |
37 | } | |
38 | QMenu::item:disabled{ | |
39 | background-color:rgba(35,35,35,127); | |
40 | color:palette(disabled); | |
41 | } | |
42 | QMenu::item:selected{ | |
43 | border-color:rgba(147,191,236,127); | |
44 | background:palette(highlight); | |
45 | } | |
46 | QMenu::icon:checked{ | |
47 | background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
48 | border:1px solid palette(highlight); | |
49 | border-radius:2px; | |
50 | } | |
51 | QMenu::separator{ | |
52 | height:1px; | |
53 | background:palette(alternate-base); | |
54 | margin-left:5px; | |
55 | margin-right:5px; | |
56 | } | |
57 | QMenu::indicator{ | |
58 | width:18px; | |
59 | height:18px; | |
60 | } | |
61 | QMenu::indicator:non-exclusive:checked{ | |
62 | image:url(:/themes/darkstyle/icon_checkbox_checked.png); | |
63 | padding-left:2px; | |
64 | } | |
65 | QMenu::indicator:non-exclusive:unchecked{ | |
66 | image:url(:/themes/darkstyle/icon_checkbox_unchecked.png); | |
67 | padding-left:2px; | |
68 | } | |
69 | QMenu::indicator:exclusive:checked{ | |
70 | image:url(:/themes/darkstyle/icon_radiobutton_checked.png); | |
71 | padding-left:2px; | |
72 | } | |
73 | QMenu::indicator:exclusive:unchecked{ | |
74 | image:url(:/themes/darkstyle/icon_radiobutton_unchecked.png); | |
75 | padding-left:2px; | |
76 | } | |
77 | QToolBar::top{ | |
78 | background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
79 | border-bottom:3px solid qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
80 | } | |
81 | QToolBar::bottom{ | |
82 | background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
83 | border-top:3px solid qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
84 | } | |
85 | QToolBar::left{ | |
86 | background-color:qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
87 | border-right:3px solid qlineargradient(x1:0,y1:0,x2:1,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
88 | } | |
89 | QToolBar::right{ | |
90 | background-color:qlineargradient(x1:1,y1:0,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
91 | border-left:3px solid qlineargradient(x1:1,y1:0,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
92 | } | |
93 | QMainWindow::separator{ | |
94 | width:6px; | |
95 | height:5px; | |
96 | padding:2px; | |
97 | } | |
98 | QSplitter::handle:horizontal{ | |
99 | width:10px; | |
100 | } | |
101 | QSplitter::handle:vertical{ | |
102 | height:10px; | |
103 | } | |
104 | QMainWindow::separator:hover,QSplitter::handle:hover{ | |
105 | background:palette(highlight); | |
106 | } | |
107 | QDockWidget::title{ | |
108 | padding:4px; | |
109 | background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
110 | border:1px solid rgba(25,25,25,75); | |
111 | border-bottom:2px solid rgba(25,25,25,75); | |
112 | } | |
113 | QDockWidget{ | |
114 | titlebar-close-icon:url(:/themes/darkstyle/icon_close.png); | |
115 | titlebar-normal-icon:url(:/themes/darkstyle/icon_restore.png); | |
116 | } | |
117 | QDockWidget::close-button,QDockWidget::float-button{ | |
118 | subcontrol-position:top right; | |
119 | subcontrol-origin:margin; | |
120 | position:absolute; | |
121 | top:3px; | |
122 | bottom:0px; | |
123 | width:20px; | |
124 | height:20px; | |
125 | } | |
126 | QDockWidget::close-button{ | |
127 | right:3px; | |
128 | } | |
129 | QDockWidget::float-button{ | |
130 | right:25px; | |
131 | } | |
132 | QGroupBox{ | |
133 | background-color:rgba(66,66,66,50%); | |
134 | margin-top:27px; | |
135 | border:1px solid rgba(25,25,25,127); | |
136 | border-radius:4px; | |
137 | } | |
138 | QGroupBox::title{ | |
139 | subcontrol-origin:margin; | |
140 | subcontrol-position:left top; | |
141 | padding:4px 6px; | |
142 | margin-left:3px; | |
143 | background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
144 | border:1px solid rgba(25,25,25,75); | |
145 | border-bottom:2px solid rgb(127,127,127); | |
146 | border-top-left-radius:4px; | |
147 | border-top-right-radius:4px; | |
148 | } | |
149 | QTabWidget::pane{ | |
150 | background-color:rgba(66,66,66,50%); | |
151 | border-top:1px solid rgba(25,25,25,50%); | |
152 | } | |
153 | QTabWidget::tab-bar{ | |
154 | left:3px; | |
155 | top:1px; | |
156 | } | |
157 | QTabBar{ | |
158 | background-color:transparent; | |
159 | qproperty-drawBase:0; | |
160 | border-bottom:1px solid rgba(25,25,25,50%); | |
161 | } | |
162 | QTabBar::tab{ | |
163 | padding:4px 6px; | |
164 | background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
165 | border:1px solid rgba(25,25,25,75); | |
166 | border-top-left-radius:4px; | |
167 | border-top-right-radius:4px; | |
168 | } | |
169 | QTabBar::tab:selected,QTabBar::tab:hover{ | |
170 | background-color:qlineargradient(x1:0,y1:0,x2:0,y2:1,stop:0 rgba(53,53,53,127),stop:1 rgba(66,66,66,50%)); | |
171 | border-bottom-color:rgba(66,66,66,75%); | |
172 | } | |
173 | QTabBar::tab:selected{ | |
174 | border-bottom:2px solid palette(highlight); | |
175 | } | |
176 | QTabBar::tab::selected:disabled{ | |
177 | border-bottom:2px solid rgb(127,127,127); | |
178 | } | |
179 | QTabBar::tab:!selected{ | |
180 | margin-top:2px; | |
181 | } | |
182 | QCheckBox::indicator{ | |
183 | width:18px; | |
184 | height:18px; | |
185 | } | |
186 | QCheckBox::indicator:checked,QTreeView::indicator:checked,QTableView::indicator:checked,QGroupBox::indicator:checked{ | |
187 | image:url(:/themes/darkstyle/icon_checkbox_checked.png); | |
188 | } | |
189 | QCheckBox::indicator:checked:pressed,QTreeView::indicator:checked:pressed,QTableView::indicator:checked:pressed,QGroupBox::indicator:checked:pressed{ | |
190 | image:url(:/themes/darkstyle/icon_checkbox_checked_pressed.png); | |
191 | } | |
192 | QCheckBox::indicator:checked:disabled,QTreeView::indicator:checked:disabled,QTableView::indicator:checked:disabled,QGroupBox::indicator:checked:disabled{ | |
193 | image:url(:/themes/darkstyle/icon_checkbox_checked_disabled.png); | |
194 | } | |
195 | QCheckBox::indicator:unchecked,QTreeView::indicator:unchecked,QTableView::indicator:unchecked,QGroupBox::indicator:unchecked{ | |
196 | image:url(:/themes/darkstyle/icon_checkbox_unchecked.png); | |
197 | } | |
198 | QCheckBox::indicator:unchecked:pressed,QTreeView::indicator:unchecked:pressed,QTableView::indicator:unchecked:pressed,QGroupBox::indicator:unchecked:pressed{ | |
199 | image:url(:/themes/darkstyle/icon_checkbox_unchecked_pressed.png); | |
200 | } | |
201 | QCheckBox::indicator:unchecked:disabled,QTreeView::indicator:unchecked:disabled,QTableView::indicator:unchecked:disabled,QGroupBox::indicator:unchecked:disabled{ | |
202 | image:url(:/themes/darkstyle/icon_checkbox_unchecked_disabled.png); | |
203 | } | |
204 | QCheckBox::indicator:indeterminate,QTreeView::indicator:indeterminate,QTableView::indicator:indeterminate,QGroupBox::indicator:indeterminate{ | |
205 | image:url(:/themes/darkstyle/icon_checkbox_indeterminate.png); | |
206 | } | |
207 | QCheckBox::indicator:indeterminate:pressed,QTreeView::indicator:indeterminate:pressed,QTableView::indicator:indeterminate:pressed,QGroupBox::indicator:indeterminate:pressed{ | |
208 | image:url(:/themes/darkstyle/icon_checkbox_indeterminate_pressed.png); | |
209 | } | |
210 | QCheckBox::indicator:indeterminate:disabled,QTreeView::indicator:indeterminate:disabled,QTableView::indicator:indeterminate:disabled,QGroupBox::indicator:indeterminate:disabled{ | |
211 | image:url(:/themes/darkstyle/icon_checkbox_indeterminate_disabled.png); | |
212 | } | |
213 | QRadioButton::indicator{ | |
214 | width:18px; | |
215 | height:18px; | |
216 | } | |
217 | QRadioButton::indicator:checked{ | |
218 | image:url(:/themes/darkstyle/icon_radiobutton_checked.png); | |
219 | } | |
220 | QRadioButton::indicator:checked:pressed{ | |
221 | image:url(:/themes/darkstyle/icon_radiobutton_checked_pressed.png); | |
222 | } | |
223 | QRadioButton::indicator:checked:disabled{ | |
224 | image:url(:/themes/darkstyle/icon_radiobutton_checked_disabled.png); | |
225 | } | |
226 | QRadioButton::indicator:unchecked{ | |
227 | image:url(:/themes/darkstyle/icon_radiobutton_unchecked.png); | |
228 | } | |
229 | QRadioButton::indicator:unchecked:pressed{ | |
230 | image:url(:/themes/darkstyle/icon_radiobutton_unchecked_pressed.png); | |
231 | } | |
232 | QRadioButton::indicator:unchecked:disabled{ | |
233 | image:url(:/themes/darkstyle/icon_radiobutton_unchecked_disabled.png); | |
234 | } | |
235 | QTreeView, QTableView{ | |
236 | alternate-background-color:palette(window); | |
237 | background:palette(base); | |
238 | } | |
239 | QTreeView QHeaderView::section, QTableView QHeaderView::section{ | |
240 | background-color:qlineargradient(x1:0,y1:1,x2:0,y2:0,stop:0 rgba(25,25,25,127),stop:1 rgba(53,53,53,75)); | |
241 | border-style:none; | |
242 | border-bottom:1px solid palette(dark); | |
243 | padding-left:5px; | |
244 | padding-right:5px; | |
245 | } | |
246 | QTreeView::item:selected:disabled, QTableView::item:selected:disabled{ | |
247 | background:rgb(80,80,80); | |
248 | } | |
249 | QTreeView::branch{ | |
250 | background-color:palette(base); | |
251 | } | |
252 | QTreeView::branch:has-siblings:!adjoins-item{ | |
253 | border-image:url(:/themes/darkstyle/icon_vline.png) 0; | |
254 | } | |
255 | QTreeView::branch:has-siblings:adjoins-item{ | |
256 | border-image:url(:/themes/darkstyle/icon_branch_more.png) 0; | |
257 | } | |
258 | QTreeView::branch:!has-children:!has-siblings:adjoins-item{ | |
259 | border-image:url(:/themes/darkstyle/icon_branch_end.png) 0; | |
260 | } | |
261 | QTreeView::branch:has-children:!has-siblings:closed, | |
262 | QTreeView::branch:closed:has-children:has-siblings{ | |
263 | border-image:none; | |
264 | image:url(:/themes/darkstyle/icon_branch_closed.png); | |
265 | } | |
266 | QTreeView::branch:open:has-children:!has-siblings, | |
267 | QTreeView::branch:open:has-children:has-siblings{ | |
268 | border-image:none; | |
269 | image:url(:/themes/darkstyle/icon_branch_open.png); | |
270 | } | |
271 | QScrollBar:vertical{ | |
272 | background:palette(base); | |
273 | border-top-right-radius:2px; | |
274 | border-bottom-right-radius:2px; | |
275 | width:16px; | |
276 | margin:0px; | |
277 | } | |
278 | QScrollBar::handle:vertical{ | |
279 | background-color:palette(alternate-base); | |
280 | border-radius:2px; | |
281 | min-height:20px; | |
282 | margin:2px 4px 2px 4px; | |
283 | } | |
284 | QScrollBar::handle:vertical:hover{ | |
285 | background-color:palette(highlight); | |
286 | } | |
287 | QScrollBar::add-line:vertical{ | |
288 | background:none; | |
289 | height:0px; | |
290 | subcontrol-position:right; | |
291 | subcontrol-origin:margin; | |
292 | } | |
293 | QScrollBar::sub-line:vertical{ | |
294 | background:none; | |
295 | height:0px; | |
296 | subcontrol-position:left; | |
297 | subcontrol-origin:margin; | |
298 | } | |
299 | QScrollBar:horizontal{ | |
300 | background:palette(base); | |
301 | height:16px; | |
302 | margin:0px; | |
303 | } | |
304 | QScrollBar::handle:horizontal{ | |
305 | background-color:palette(alternate-base); | |
306 | border-radius:2px; | |
307 | min-width:20px; | |
308 | margin:4px 2px 4px 2px; | |
309 | } | |
310 | QScrollBar::handle:horizontal:hover{ | |
311 | background-color:palette(highlight); | |
312 | } | |
313 | QScrollBar::add-line:horizontal{ | |
314 | background:none; | |
315 | width:0px; | |
316 | subcontrol-position:bottom; | |
317 | subcontrol-origin:margin; | |
318 | } | |
319 | QScrollBar::sub-line:horizontal{ | |
320 | background:none; | |
321 | width:0px; | |
322 | subcontrol-position:top; | |
323 | subcontrol-origin:margin; | |
324 | } | |
325 | QSlider::handle:horizontal{ | |
326 | border-radius:4px; | |
327 | border:1px solid rgba(25,25,25,255); | |
328 | background-color:palette(alternate-base); | |
329 | min-height:20px; | |
330 | margin:0 -4px; | |
331 | } | |
332 | QSlider::handle:horizontal:hover{ | |
333 | background:palette(highlight); | |
334 | } | |
335 | QSlider::add-page:horizontal{ | |
336 | background:palette(base); | |
337 | } | |
338 | QSlider::sub-page:horizontal{ | |
339 | background:palette(highlight); | |
340 | } | |
341 | QSlider::sub-page:horizontal:disabled{ | |
342 | background:rgb(80,80,80); | |
343 | } |