-
Notifications
You must be signed in to change notification settings - Fork 0
/
Grayscale.qss
326 lines (307 loc) · 6.96 KB
/
Grayscale.qss
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
/* QSS format file
* Name: Grayscale.qss
* Version: 0.5
* Credit: This is just a hack against the original work from Miguel Lacha
* Description: Clean dullness
* License: GNU General Public License V.2
*/
/* Buttons
Shoutout to G3N-es!
*/
#transportToolbar QToolButton,
#optionsToolbar QToolButton,
qtractorMidiEditorForm #viewToolbar QToolButton,
qtractorTrackButton,
qtractorMonitorButton {
font-weight: bold;
padding: 1px 2px 3px 2px;
}
#transportToolbar QToolButton:hover,
#optionsToolbar QToolButton:hover,
qtractorMidiEditorForm #viewToolbar QToolButton:hover,
qtractorTrackButton:hover,
qtractorMonitorButton:hover {
border: none;
background: solid palette(highlight);
}
#transportToolbar QToolButton:checked,
#optionsToolbar QToolButton:checked,
qtractorMidiEditorForm #viewToolbar QToolButton:checked,
qtractorTrackButton:checked,
qtractorMonitorButton:checked {
color: #eeeeee;
background: solid palette(highlight);
}
/* Section: General Forms Background */
QGroupBox {
margin: 18px 0 0 0;
border-radius: 4px;
border: 1px inset palette(highlight);
}
QGroupBox::title {
color: palette(window-text);
}
/* Section: Top Bar Menus */
#menuBar {
padding: 5px 0;
border: 0;
}
#menuBar::item:selected {
background: palette(highlight);
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
#menuBar QMenu {
color: palette(text);
background: palette(base);
}
#menuBar QMenu::item:selected {
background: palette(highlight);
}
#menuBar QMenu::item:disabled {
color: palette(highlight);
}
#menuBar QMenu::icon:checked {
background: palette(highlight);
}
/* Section: Tool Bars */
QToolBar {
background: palette(base);
min-height: 32px;
min-width: 32px;
border: 0;
spacing: 2px;
padding: 2px;
}
QToolBar::handle {
margin: 2px;
background: palette(highlight);
}
QToolBar::handle:horizontal {
width: 5px;
margin-right: 10px;
}
QToolBar > QWidget:checked {
background: palette(highlight);
}
/* Section: Toolbar > Separators */
#timeToolbar::separator,
#transportToolbar::separator,
#optionsToolbar::separator,
qtractorMidiEditorForm #viewToolbar::separator {
border: 0;
margin:0;
padding:0;
}
/* Section: Transport Toolbar */
#transportToolbar QWidget {
width:36px;
height:35px;
margin:0;
padding: 0 0 1px 0;
border-radius: 4px;
border:1px;
background: palette(base);
}
#transportToolbar QWidget:hover {
background: palette(highlight);
}
#transportToolbar QWidget:checked {
background: palette(highlight);
}
#timeToolbar > QAbstractSpinBox {
background: palette(dark);
color: #878c6a;
font-family: monospace;
font-weight: bold;
min-height: 30px;
border-radius: 9px;
}
#timeToolbar > QAbstractSpinBox::up-button {
width: 0px;
height: 0px;
}
#timeToolbar > QAbstractSpinBox::down-button {
width: 0px;
height: 0px;
}
/* Section: Options Toolbars */
#optionsToolbar QWidget,
qtractorMidiEditorForm #viewToolbar QWidget {
border-radius: 2px;
border: 1px;
width 25px;
height 26px;
padding: 0 0 2px 0;
}
#optionsToolbar QWidget:hover,
qtractorMidiEditorForm #viewToolbar QWidget:hover {
background: solid palette(highlight);
}
/* Section: Sequencer */
qtractorTrackTime {
margin-top: 1px;
background: palette(dark);
color: #878c6a;
}
qtractorMessages QTextBrowser {
background: palette(dark);
margin: 0 4px 4px 4px;
}
/* Section: Tabs */
QTabWidget, QTabWidget::pane, QTabWidget::tab-bar {
border: 0;
}
QTabWidget::pane {
border-top: 4px solid palette(highlight);
}
QTabBar::tab:selected {
background: palette(highlight);
}
/* Mixer */
qtractorMixerRackWidget {
background: qlineargradient(x1:0, y1:0, x2:1, y2:1,
stop:0 palette(dark),
stop:0.5 palette(base),
stop:1 palette(dark)
);
border: none;
}
/*
qtractorMixer qtractorMixerStrip:hover {
border: 2px solid #75b5aa;
}
*/
qtractorMixer qtractorMixerStrip:hover {
border: 1px solid #75b5aa;
background: qlineargradient(x1:0, y1:1, x2:0, y2:0,
stop:0.4 palette(highlight)
stop:0.6 palette(base)
stop:1 palette(highlight)
);
}
qtractorMixerStrip QLabel {
background: palette(dark);
color: palette(text);
font-size: 12px;
}
qtractorMixer qtractorMixerStrip qtractorAudioMixerMeter,
qtractorMixer qtractorMixerStrip qtractorMidiMixerMeter {
max-height: 230px;
min-height: 230px;
}
qtractorMixerStrip > QWidget > QAbstractSpinBox {
background: palette(shadow);
font-family: monospace;
font-weight: bold;
color: #878c6a;
border-radius: 2px;
border: 2px solid palette(shadow);
}
qtractorMixerStrip QSlider::groove:horizontal {
border: 1px solid palette(shadow);
border-radius: 2px;
height: 5px;
background: palette(shadow);
}
qtractorMixerStrip QSlider::groove:vertical {
border: 1px solid palette(shadow);
border-radius: 3px;
width: 8px;
background: palette(shadow);
}
qtractorMixerStrip QSlider::handle:horizontal {
width:25px;
background: qlineargradient(x1:0, y1:0, x2:1, y2:0,
stop:0 #555555,
stop:0.45 #222222,
stop:0.5 #bbbbbb,
stop:0.55 #222222,
stop:1 #555555
);
border:2px outset #333333;
border-radius: 4px;
margin: -5px 0;
}
qtractorMixerStrip QSlider::handle:vertical {
height:30px;
background: qlineargradient(x1:0, y1:1, x2:0, y2:0,
stop:0 #555555,
stop:0.45 #222222,
stop:0.5 #ffffff,
stop:0.55 #222222,
stop:1 #555555
);
border:2px outset #333333;
border-radius: 4px;
margin: 0 -6px;
}
qtractorMixerStrip QSlider::handle:disabled {
background: #202020;
border:2px outset #202020;
}
qtractorMixerStrip > QWidget > QAbstractSpinBox:disabled {
color: #303030;
}
qtractorMixerStrip > QWidget > QAbstractSpinBox::up-button {
width: 0;
height: 0;
}
qtractorMixerStrip > QWidget > QAbstractSpinBox::down-button {
width: 0;
height: 0;
}
/* Section: MIDI Editor */
qtractorMidiEditTime {
background: palette(dark);
color: #878c6a;
margin-left: 5px;
}
qtractorMidiEditList {
border: none;
}
qtractorMidiEditView {
background: palette(dark);
margin-left: 5px;
}
qtractorMidiEditEvent {
background: palette(dark);
margin-left: 5px;
}
/* Section: MIDI Event Viewer */
qtractorMidiEventList > QAbstractItemView {
background: palette(dark);
alternate-background-color: palette(dark);
}
/* Section: Plugins Boxes */
qtractorPluginListView {
border-radius: 4px;
border-top: 2px solid palette(dark);
border-right: 2px solid palette(dark);
border-bottom: 2px solid palette(dark);
border-left: 2px solid palette(dark);
background: palette(dark);
}
qtractorPluginListView QMenu::icon:checked {
background: palette(highlight);
margin-left: 7px;
}
/* Section: No scrollbars */
/* Sequencer = qtractorTracks */
/* Midi Editor = qtractorMidiEditorForm */
qtractorTracks QScrollBar:horizontal,
qtractorMidiEditorForm QScrollBar:horizontal {
height: 0;
}
qtractorTracks QScrollBar:vertical,
qtractorMidiEditorForm QScrollBar:vertical {
width: 0;
}
qtractorTracks qtractorScrollView QToolButton,
qtractorMidiEditorForm qtractorScrollView QToolButton {
min-height: 0;
min-width: 0;
max-height: 0;
max-width: 0;
border: none;
}