1QWidget {
2    background-color: rgb(24,34,44);
3    color: rgb(220,220,220);
4}
5
6QWidget:!enabled {
7    color: rgb(100,100,100);
8}
9
10* {
11	backward-icon: url(":/xpm/left-128.png");
12	forward-icon: url(":/xpm/right-128.png");
13	filedialog-new-directory-icon: url(":/xpm/newdirectory-128.png");
14	filedialog-parent-directory-icon: url(":/xpm/up-128.png");
15	filedialog-detailedview-icon: url(":/xpm/viewdetailed-128.png");
16	filedialog-listview-icon: url(":/xpm/viewlist-128.png");
17}
18
19QDialogButtonBox {
20	button-layout: 2;
21}
22
23QStatusBar #PaddedValueLabel  {
24    border: 1px solid rgb(0,90,160);
25}
26
27QStatusBar {
28    color: LightGreen;
29}
30
31/* QWhatsThat doesn't work at the moment (known problem)
32 * Just in case Qt implements it in future... */
33QToolTip, QWhatsThat {
34    background-color: rgb(190,190,190);
35    color: rgb(30,30,30);
36    font-size: 10pt;
37}
38
39QMenu {
40    border: 1px solid rgb(0,90,160);
41    menu-scrollable: true;
42}
43
44QMenu::separator {
45	background-color: rgb(0,90,160);
46	height: 1px;
47}
48
49QMenu::item {
50    padding: 3px 22px 3px 7px;
51}
52
53QMenu::indicator {
54    left: 6px;
55    border: 2px solid rgb(90, 90, 90);
56}
57
58QMenu::indicator:exclusive {
59    border-radius: 5px;
60}
61
62QMenu::indicator:checked {
63    background: aqua;
64}
65
66QMenu::indicator:unchecked {
67    background: transparent;
68}
69
70QMenu::icon {
71    left: 4px;
72    border: 1px solid transparent;
73}
74
75QMenu::icon:checked {
76    border: 1px solid greenyellow;
77}
78
79QMenu::item:selected,
80QMenuBar::item:selected {
81    background-color: rgb(0,90,160);
82}
83
84#MidiRouteMenuItem,
85#SwitchBarActionWidget {
86    qproperty-highColor: rgb(0,90,160);
87}
88
89#SwitchBarActionWidget {
90    qproperty-borderColor:rgb(100, 100, 100);
91    qproperty-checkedColor: aqua;
92}
93
94
95QDockWidget::title {
96    text-align: center;
97    border: 1px solid rgb(0,90,160);
98    border-radius: 2px;
99}
100
101QDockWidget QTreeWidget:focus {
102    border: 1px solid rgb(0,90,160);
103}
104
105QToolBar QToolButton {
106    background-color: rgb(40,50,60);
107	margin-right: 1px;
108    border: 1px solid rgb(0,90,160);
109    border-radius: 2px;
110    padding: 2px;
111}
112
113QToolBar QToolButton:checked {
114    background-color: rgb(0,90,160);
115    border: 1px solid rgb(0,127,255);
116    border-radius: 2px;
117    padding: 2px;
118}
119
120QToolBar QToolButton:hover {
121    border-color: orange;
122    border-width: 1px;
123    border-radius: 2px;
124    padding: 2px;
125}
126
127QToolBar QToolButton:pressed {
128    border-width: 1px;
129    border-radius: 2px;
130    padding: 2px;
131}
132
133QToolBar QToolButton[popupMode="1"] {
134    padding-right: 16px;
135}
136QToolBar QToolButton::menu-button {
137    border-radius: 2px;
138    border-left: 1px solid rgb(40,40,40);
139    width: 13px;
140}
141
142
143QToolBar QAbstractSpinBox {
144    background-color: rgb(30,40,50);
145/*
146    color: rgb(152, 251, 152);
147*/
148    border-radius: 2px;
149    height: 20px;
150    border: 1px solid rgb(0,100,210);
151}
152
153QToolBar QAbstractSpinBox::up-button {
154    width: 16px;
155    border: none;
156}
157
158QToolBar QAbstractSpinBox::down-button {
159    width: 16px;
160    border: none;
161}
162
163QToolBar QAbstractSpinBox::up-arrow {
164    image: url(:/svg/up_arrow.svg);
165    width: 8px;
166}
167
168QToolBar QAbstractSpinBox::down-arrow {
169    image: url(:/svg/down_arrow.svg);
170    width: 8px;
171}
172
173QToolBar QAbstractSpinBox::up-arrow:disabled,
174QToolBar QAbstractSpinBox::down-arrow:disabled {
175    image: none;
176}
177
178QToolBar QComboBox {
179    background-color: rgb(30,40,50);
180/*
181    color: rgb(152, 251, 152);
182*/
183    border: 1px solid rgb(0,100,210);
184    border-radius: 2px;
185    padding: 1px;
186    height: 20px;
187}
188
189QToolBar QComboBox::drop-down {
190    background-color: rgb(30,40,50);
191    border: none;
192}
193
194QToolBar QComboBox::down-arrow {
195    image: url(:/svg/down_arrow.svg);
196    width: 10px;
197}
198
199/* does not work as documented (Qt 5.9) */
200QToolBar QComboBox QAbstractItemView {
201    color: rgb(220,220,220);
202    selection-background-color: rgb(0,90,160);
203}
204
205QToolBar QLabel#PosLabel,
206QToolBar QLabel#PitchLabel,
207QToolBar QLabel#TempoLabel,
208QToolBar QLabel#PosTicks,
209QToolBar QLabel#PosFrames,
210QToolBar QLabel#PaddedValueLabel {
211    background-color: rgb(30,40,50);
212    border: 1px solid rgb(0,90,160);
213    border-radius: 2px;
214    height: 20px;
215}
216
217QWidget QTreeView, QTreeWidget {
218    background-color: rgb(30,40,50);
219}
220
221/*
222QWidget#MarkerView QTreeView,
223QWidget#ClipList QTreeView,
224QWidget#MasterTrackList QTreeView,
225QWidget#ListEdit QTreeView {
226    background-color: rgb(40,50,60);
227}
228*/
229
230QCheckBox::indicator {
231    border: 2px solid rgb(90, 90, 90);
232}
233
234QCheckBox::indicator:checked {
235    background: aqua;
236}
237
238QRadioButton::indicator {
239    border: 2px solid rgb(90, 90, 90);
240    border-radius: 5px;
241}
242
243QRadioButton::indicator:checked {
244    background: aqua;
245}
246
247QWidget#Rack {
248    border: 1px solid rgb(0,90,160);
249    /* border: 1px solid rgb(24,151,255); */
250}
251
252QWidget#Strip {
253    border: 1px solid rgb(90,90,90);
254/* does not work
255    border-right: 1px solid rgb(90,90,90);
256    border-left: 1px solid rgb(90,90,90);
257*/
258}
259
260QWidget#Strip > QAbstractButton,
261QWidget#AudioAutoType {
262    background-color: rgb(30,40,50);
263    border: 1px solid rgb(0,90,160);
264    border-radius: 3px;
265}
266
267QWidget#Strip > QAbstractButton:checked {
268    background-color: rgb(0,90,160);
269    border: 1px solid rgb(0,127,255);
270}
271
272QWidget#Strip > QAbstractButton:hover {
273    border-color: orange;
274}
275
276QWidget#Strip > QAbstractButton:!enabled {
277    border: 1px solid rgb(90,90,90);
278}
279
280
281QTreeView, QListView {
282    alternate-background-color: rgb(30,40,50);
283    /* background: rgb(24,34,44); */
284 }
285
286QMdiArea > QTabBar::tab:hover {
287    color: yellow;
288}
289
290QMdiArea > QTabBar::tab:selected {
291    /* color: rgb(75, 183, 255); */
292    color: orange;
293}
294
295QWidget#MidiStripTabWidget::pane {
296    margin: 0;
297    padding: 0;
298    border-top: 1px solid rgb(90,90,90);
299    padding-top: 1px;
300    border-bottom: 1px solid rgb(90,90,90);
301}
302
303QWidget#MidiStripTabWidget::tab-bar {
304    left: 2px;
305}
306
307QWidget#MidiStripTabWidget QTabBar::tab {
308    margin: 0px;
309    padding: 1px 4px 1px 4px;
310	border: 1px solid rgb(90,90,90);
311    border-bottom-style: none;
312    border-top-left-radius: 4px;
313    border-top-right-radius: 4px;
314}
315
316QWidget#MidiStripTabWidget QTabBar::tab:selected {
317    background: rgb(0,120,60);
318    border-color: rgb(0,120,200);
319    border-bottom-style: none;
320}
321
322QWidget#MidiStripTabWidget QTabBar::tab:!selected {
323    margin-top: 1px;
324}
325
326QWidget#MidiStripTabWidget QTabBar::tab:focus {
327    border-style: dotted;
328    border-bottom: none;
329}
330
331/* Scroll bars */
332QScrollBar:horizontal {
333    border: none;
334    background-color: rgb(20, 30, 40);
335    height: 14px;
336    margin: 1px 1px 1px 1px;
337}
338QScrollBar::handle:horizontal {
339    border-radius: 2px;
340    border-color: rgb(50,70,90);
341    border-width: 1px;
342    border-style: solid;
343    background-color: rgb(20, 30, 40);
344    /* min-width: 25px; */
345}
346QScrollBar::add-line:horizontal, QScrollBar::sub-line:horizontal {
347    width: 0;
348    height: 0;
349}
350
351QScrollBar:vertical {
352    border: none;
353    background-color: rgb(20, 30, 40);
354    width: 14px;
355    margin: 1px 1px 1px 1px;
356}
357QScrollBar::handle:vertical {
358    border-radius: 2px;
359    border-color: rgb(50,70,90);
360    border-width: 1px;
361    border-style: solid;
362    background-color: rgb(20, 30, 40);
363    /* min-height: 25px; */
364}
365
366QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
367    width: 0;
368    height: 0;
369}
370
371QWidget#ScrollScaleZoomButton {
372    width: 8px;
373    height: 8px;
374    border: none;
375}
376
377
378/*** MusE properties ***/
379
380/* The title header background colour in popup and routing menus: */
381MusEGui--MenuTitleLabel {
382    background-color: SeaGreen;
383}
384
385/* The category item background colour in the advanced router trees: */
386MusEGui--RouteTreeWidget {
387    qproperty-categoryColor: SeaGreen;
388}
389
390MusEGui--SnooperDialog {
391    qproperty-flashColor: SeaGreen;
392}
393
394MusEGui--TList {
395    qproperty-sel3d: false;
396/*
397    qproperty-curSelBorder: true;
398    qproperty-curSelBorderColor: Red;
399*/
400}
401
402MusEGui--AudioStripProperties {
403    qproperty-sliderRadius: 1;
404    qproperty-sliderRadiusHandle: 1;
405    qproperty-sliderHandleHeight: 26;
406    qproperty-sliderHandleWidth: 14;
407    qproperty-sliderGrooveWidth: 6;
408/* draw groove part above the handle */
409    qproperty-sliderFillOver: true;
410    qproperty-sliderUseGradient: false;
411/* None = 0, Left = 1, Right = 2, InsideVertical = 6 */
412    qproperty-sliderScalePos: 2;
413/* draw vertical line in slider scale
414    qproperty-sliderBackbone: true;
415*/
416/* fill slider handle with color
417    qproperty-sliderFillHandle: false;
418*/
419	qproperty-sliderFrame: true;
420	qproperty-sliderFrameColor: rgb(15,82,148);
421    qproperty-meterWidth: 10;
422/* apply meterWidth for each channel separately
423    qproperty-meterWidthPerChannel: true;
424*/
425	qproperty-meterFrame: true;
426	qproperty-meterFrameColor: rgb(15,82,148);
427/* Spacing between meters
428    qproperty-meterSpacing: 4;
429*/
430}
431
432MusEGui--MidiStripProperties {
433    qproperty-sliderRadius: 2;
434    qproperty-sliderRadiusHandle: 2;
435    qproperty-sliderHandleHeight: 26;
436    qproperty-sliderHandleWidth: 14;
437    qproperty-sliderGrooveWidth: 6;
438/* draw groove part above the handle */
439    qproperty-sliderFillOver: true;
440    qproperty-sliderUseGradient: false;
441/* None = 0, Left = 1, Right = 2, InsideVertical = 6 */
442    qproperty-sliderScalePos: 2;
443/* draw vertical line in slider scale
444    qproperty-sliderBackbone: true;
445*/
446/* fill slider handle with color
447    qproperty-sliderFillHandle: false;
448*/
449	qproperty-sliderFrame: true;
450	qproperty-sliderFrameColor: rgb(15,82,148);
451    qproperty-meterWidth: 10;
452	qproperty-meterFrame: true;
453	qproperty-meterFrameColor: rgb(15,82,148);
454}
455
456MusEGui--Meter {
457    qproperty-radius: 2;
458    qproperty-vu3d: false;
459}
460
461MusEGui--TrackNameLabel {
462    qproperty-style3d: false;
463}
464
465MusEGui--EffectRack {
466    qproperty-style3d: false;
467    qproperty-radius: 2;
468  /* use smaller non-standard scrollbar */
469    qproperty-customScrollbar: false;
470}
471
472MusEGui--CompactSlider {
473    qproperty-barSameColor: true;
474    qproperty-radius: 2;
475}
476
477MusEGui--ElidedLabel {
478    qproperty-radius: 2;
479    qproperty-style3d: false;
480}
481
482MusEGui--CompactPatchEdit {
483    qproperty-radius: 2;
484    qproperty-style3d: false;
485}
486
487MusEGui--CompactKnob {
488    qproperty-style3d: false;
489    qproperty-xMargin: 2;
490    qproperty-yMargin: 2;
491    qproperty-symbol: Dot;
492/*
493    qproperty-drawChord: true;
494    qproperty-totalAngle: 270;
495    qproperty-radius: 2;
496    qproperty-borderWidth: 4;
497*/
498}
499
500MusEGui--DList {
501/* 0-255, sensible values 0-64 */
502    qproperty-alphaOverlay: 32;
503}
504
505MusEGui--CtrlCanvas {
506/* 0-255, sensible values 0-64 */
507    qproperty-bgAlpha: 0;
508}
509
510MusEGui--Strip {
511    qproperty-expanderWidth: 1;
512}
513
514MusEGui--PianoRoll {
515    qproperty-pianoWidth: 80;
516}
517
518MusEGui--CompactSlider#MixerStripAudioPan,
519MusEGui--CompactSlider#MixerStripMidiPanController {
520/* better use even numbers */
521    qproperty-thumbLength: 2;
522/*
523    qproperty-thumbColor: red;
524*/
525}
526