To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / vect.qss @ 175:741f88f51b06

History | View | Annotate | Download (8.42 KB)

1
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*-  vi:set ts=8 sts=4 sw=4: */
2

    
3
/*
4
    Vect
5
    An experimental audio player for plural recordings of a work
6
    Centre for Digital Music, Queen Mary, University of London.
7

    
8
    This file is based on the Thorn theme of the Rosegarden MIDI and
9
    audio sequencer and notation editor.  Copyright 2006-2014
10
    D. Michael McIntyre and the Rosegarden team.
11
    
12
    This program is free software; you can redistribute it and/or
13
    modify it under the terms of the GNU General Public License as
14
    published by the Free Software Foundation; either version 2 of the
15
    License, or (at your option) any later version.  See the file
16
    COPYING included with this distribution for more information.
17
*/
18

    
19
QWidget
20
{
21
    background: #333333;
22
    color: #FAFAFA;
23
}
24

    
25
QDialog
26
{
27
    background-color: #333333;
28
}
29

    
30
QToolBar
31
{
32
    background-color: #333333;
33
}
34

    
35
QToolBar::handle:top,
36
QToolBar::handle:bottom
37
{
38
    image: url(:icons/style/htoolbar-separator.png);
39
}
40

    
41
QFrame#BottomFrame,
42
QFrame#BottomFrame > QFrame
43
{
44
    background-color: #333333;
45
}
46

    
47
QLabel
48
{
49
    background: transparent;
50
    color: white;
51
}
52

    
53
QMenu
54
{
55
    background-color: #EEEEEE;
56
    border: 1px solid black;
57
}
58

    
59
QMenu::separator
60
{
61
    height: 2px;
62
    background: #AAAAAA;
63
    margin-left: 10px;
64
    margin-right: 5px;
65
}
66

    
67
QMenu::item:enabled
68
{
69
    background-color: transparent;
70
    color: #000000;
71
    padding: 2px 25px 2px 20px;
72
    border: 1px solid transparent;
73
    min-width: 12em; /* leaves room for space between item and hotkey */
74
}
75

    
76
QMenu::item:!enabled
77
{
78
    color: #AAAAAA;
79
    padding: 2px 25px 2px 20px;
80
    border: 1px solid transparent;
81
    min-width: 12em; /* leaves room for space between item and hotkey */
82
}
83

    
84
QMenu::item:selected
85
{
86
    background-color: #80AFFF;
87
    color: #FFFFFF;
88
}
89

    
90
QCheckBox:enabled QLabel,
91
QCheckBox:enabled
92
{
93
    color: #FFFFFF
94
}
95

    
96
QCheckbox:!enabled QLabel,
97
QCheckBox:!enabled
98
{
99
    color: #000000;
100
}
101

    
102
QCheckBox::indicator:enabled
103
{
104
    background: url(:icons/style/checkbox-checked.png); 
105
}
106

    
107
QCheckBox
108
{
109
    spacing: 5px;
110
}
111

    
112
QCheckBox::indicator
113
{
114
    width: 13px;
115
    height: 13px;
116
}
117

    
118
QCheckBox::indicator:unchecked
119
{
120
    image: url(:icons/style/checkbox_unchecked.png);
121
}
122

    
123
QCheckBox::indicator:!enabled
124
{
125
    image: url(:icons/style/checkbox_disabled.png);
126
}
127

    
128
QCheckBox::indicator:checked:!enabled
129
{
130
    image: url(:icons/style/checkbox_checked_disabled.png);
131
}
132

    
133
QCheckBox::indicator:unchecked:hover
134
{
135
    image: url(:icons/style/checkbox_unchecked_hover.png);
136
}
137

    
138
QCheckBox::indicator:unchecked:pressed
139
{
140
    image: url(:icons/style/checkbox_unchecked_pressed.png);
141
}
142

    
143
QCheckBox::indicator:checked
144
{
145
    image: url(:icons/style/checkbox_checked.png);
146
}
147

    
148
QCheckBox::indicator:checked:hover
149
{
150
    image: url(:icons/style/checkbox_checked_hover.png);
151
}
152

    
153
QCheckBox::indicator:checked:pressed
154
{
155
    image: url(:icons/style/checkbox_checked_pressed.png);
156
}
157

    
158
QCheckBox::indicator:indeterminate
159
{
160
    image: url(:icons/style/checkbox_indeterminate.png);
161
}
162

    
163
QCheckBox::indicator:indeterminate:hover
164
{
165
    image: url(:icons/style/checkbox_indeterminate_hover.png);
166
}
167

    
168
QCheckBox::indicator:indeterminate:pressed
169
{
170
    image: url(:icons/style/checkbox_indeterminate_pressed.png);
171
}
172

    
173
QRadioButton:enabled QLabel,
174
QRadioButton:enabled
175
{
176
    color: #FFFFFF;
177
}
178

    
179
QRadioButton:!enabled QLabel,
180
QRadioButton:!enabled
181
{
182
    color: #000000;
183
}
184

    
185
QRadioButton::indicator
186
{
187
    width: 13px;
188
    height: 13px;
189
}
190

    
191
QRadioButton::indicator::unchecked:enabled
192
{
193
    image: url(:icons/style/radiobutton_unchecked.png);
194
}
195

    
196
QRadioButton::indicator::unchecked:!enabled
197
{
198
    image: url(:icons/style/radiobutton_unchecked_disabled.png);
199
}
200

    
201
QRadioButton::indicator:unchecked:hover:enabled
202
{
203
    image: url(:icons/style/radiobutton_unchecked_hover.png);
204
}
205

    
206
QRadioButton::indicator:unchecked:hover:!enabled
207
{
208
    image: url(:icons/style/radiobutton_unchecked_hover_disabled.png);
209
}
210

    
211
QRadioButton::indicator:unchecked:pressed:enabled
212
{
213
    image: url(:icons/style/radiobutton_unchecked_pressed.png);
214
}
215

    
216
QRadioButton::indicator:unchecked:pressed:!enabled
217
{
218
    image: url(:icons/style/radiobutton_unchecked_pressed_disabled.png);
219
}
220

    
221
QRadioButton::indicator::checked:enabled
222
{
223
    image: url(:icons/style/radiobutton_checked.png);
224
}
225

    
226
QRadioButton::indicator::checked:!enabled
227
{
228
    image: url(:icons/style/radiobutton_checked_disabled.png);
229
}
230

    
231
QRadioButton::indicator:checked:hover:enabled
232
{
233
    image: url(:icons/style/radiobutton_checked_hover.png);
234
}
235

    
236
QRadioButton::indicator:checked:hover:!enabled
237
{
238
    image: url(:icons/style/radiobutton_checked_hover_disabled.png);
239
}
240

    
241
QRadioButton::indicator:checked:pressed:enabled
242
{
243
    image: url(:icons/style/radiobutton_checked_pressed.png);
244
}
245

    
246
QRadioButton::indicator:checked:pressed:!enabled
247
{
248
    image: url(:icons/style/radiobutton_checked_pressed_disabled.png);
249
}
250

    
251
QMenuBar
252
{
253
    background-color: #404040;
254
}
255

    
256
QMenuBar::item
257
{
258
    spacing: 3px; /* spacing between menu bar items */
259
    padding: 1px 4px;
260
    background: transparent;
261
    color: #FFFFFF;
262
}
263

    
264
QMenuBar::item:selected
265
{
266
    background-color: #80AFFF;
267
    color: #FFFFFF;
268
}
269

    
270
QMenuBar::item:pressed
271
{
272
    background-color: #BBCEFF;
273
}
274

    
275
QMessageBox
276
{
277
    background: #000000;
278
}
279

    
280
QProgressBar
281
{
282
    border: 1px solid #AAAAAA;
283
    border-radius: 3px;
284
    text-align: center;
285
    background: #FFFFFF;
286
}
287

    
288
QProgressBar::chunk
289
{
290
    background-color: #89B8E7;
291
    width: 20px;
292
}
293

    
294
QToolButton[popupMode="1"]
295
{    /* only for MenuButtonPopup */
296
     padding-right: 5px; /* make way for the popup button */
297
}
298

    
299
QToolButton::menu-arrow
300
{
301
    image: url(:icons/style/arrow-down-small.png); 
302
}
303

    
304
QToolButton::menu-arrow:open
305
{
306
    top: 1px; left: 1px; /* shift it a bit */
307
}
308

    
309
QToolButton::menu-button
310
{
311
    background: transparent;
312
    border: none;
313
}
314

    
315
QToolButton::up-arrow
316
{ 
317
    image: url(:icons/style/arrow-up-small.png); 
318
}
319

    
320
QToolButton::down-arrow
321
{
322
    subcontrol-position: right bottom;
323
    image: url(:icons/style/arrow-down-small.png); 
324
}
325

    
326
QToolButton,
327
QToolButton::enabled
328
{
329
    color: #FFFFFF;
330
    background-color: transparent;
331
    border: 2px solid transparent;
332
    border-radius: 2px;
333
}
334

    
335
QToolButton::pressed,
336
QToolButton::checked
337
{
338
    border: 2px solid #AAAAAA;
339
    border-radius: 2px;
340
    background-color: #666666;
341
}
342

    
343
QToolButton::enabled:hover
344
{
345
    border: 2px solid #AAAAAA;
346
    border-radius: 2px;
347
    background-color: #666666;
348
}
349

    
350
QToolButton::!enabled
351
{
352
    color: #FFFFFF;
353
    background-color: transparent;
354
}
355

    
356
QToolButton::menu-indicator
357
{
358
    /* the arrow on tool buttons with menus in ImmediatePopup mode is
359
     * intentionally styled out of existence */
360
    background: transparent;
361
}
362

    
363
QComboBox {
364
    border: 1px solid #AAAAAA;
365
    border-radius: 3px;
366
    color: #FFFFFF;
367
}
368

    
369
QComboBox:enabled {
370
    color: #FFFFFF;
371
}
372

    
373
QComboBox:disabled {
374
    color: #909090;
375
}
376

    
377
QComboBox QAbstractItemView {
378
    background-color: #EEEEEE;
379
    border: 1px solid black;
380
    color: #000000;
381
}
382

    
383
QComboBox QAbstractItemView::separator
384
{
385
    height: 2px;
386
    background: #AAAAAA;
387
    margin-left: 10px;
388
    margin-right: 5px;
389
}
390

    
391
QComboBox QAbstractItemView::item:enabled
392
{
393
    /* sets background of menu item. set this to something non-transparent
394
    if you want menu color and menu item color to be different */
395
    background-color: transparent;
396
    color: #000000;
397
    padding: 2px 25px 2px 20px;
398
    border: 1px solid transparent;
399
    min-width: 12em; /* leaves room for space between item and hotkey */
400
}
401

    
402
QComboBox QAbstractItemView::item:!enabled
403
{
404
    color: #AAAAAA;
405
    padding: 2px 25px 2px 20px;
406
    border: 1px solid transparent;
407
    min-width: 12em; /* leaves room for space between item and hotkey */
408
}
409

    
410
QComboBox QAbstractItemView::item:selected
411
{
412
    background-color: #80AFFF;
413
    color: #FFFFFF;
414
}
415

    
416
QFileDialog
417
{
418
    leftarrow-icon: url(:icons/style/arrow-left-inverted.png);
419
    rightarrow-icon: url(:icons/style/arrow-right-inverted.png);
420
    uparrow-icon: url(:icons/style/arrow-up-inverted.png);
421
}
422

    
423
QPushButton,
424
QFileDialog QPushButton,
425
QDialog QPushButton
426
{
427
    border: 2px solid #AAAAAA;
428
    border-radius: 2px;
429
    padding: 0.18em;
430
    padding-left: 0.5em;
431
    padding-right: 0.5em;
432
    margin-top: 0.1em;
433
    margin-bottom: 0.1em;
434
    margin-left: 0.2em;
435
    margin-right: 0.2em;
436
}
437

    
438
QPushButton:disabled,
439
QFileDialog QPushButton:disabled,
440
QDialog QPushButton:disabled
441
{
442
    color: #AAAAAA;
443
}
444

    
445
QPushButton:pressed,
446
QFileDialog QPushButton:pressed,
447
QDialog QPushButton:pressed,
448
QFileDialog QPushButton:on,
449
QDialog QPushButton:on
450
{
451
    background-color: #BBCEFF;
452
}
453

    
454
QPushButton::enabled:hover
455
{
456
    background-color: #666666;
457
}
458

    
459
QPushButton::checked
460
{
461
    background-color: #666666;
462
}