Repository navigation
Expand file tree
/
Copy pathplugins.css
More file actions
432 lines (378 loc) · 13.3 KB
/
Copy pathplugins.css
File metadata and controls
432 lines (378 loc) · 13.3 KB
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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
/*
* club-QuickBox skin for ruTorrent -- plugin surfaces.
* Every color reads from a --qb-* token; masked glyphs carry no raster
* background so the core sprite sheets never bleed through the mask.
*/
/* ============================================================
* Masked glyphs: solid token fill clipped to the SVG, no raster.
* background-image is forced off so the plugins' own base64 GIF /
* spritesheet backgrounds cannot show through the mask window.
* ============================================================ */
#autodl-tb,
div#logoff,
.sprite-archive, .sprite-rar, .sprite-rarpart, .sprite-zip, .sprite-console,
.sprite-copy, .sprite-curdir, .sprite-delete, .flm-sprite-dir_up, .sprite-extract,
.sprite-image, .sprite-move, .sprite-mp3, .sprite-mkdir, .sprite-nfo,
.sprite-nfo_view, .sprite-refresh, .sprite-rename, .sprite-sfv, .sprite-sfv_create,
.sprite-sfv_check, .sprite-torrent, .sprite-video, .sprite-vplay {
background-color: var(--qb-icon);
background-image: none !important;
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-position: center;
mask-position: center;
-webkit-mask-size: contain;
mask-size: contain;
transition: background-color 0.15s ease;
}
#autodl-tb:hover,
div#logoff:hover {
background-color: var(--qb-icon-hover);
background-image: none !important;
}
/* ============================================================
* Status-bar mini meters (disk / band quota are bars; cpu is a sparkline).
* The pane glyph is owned by statusbar.css; this owns the track, fill and
* the label beside the bar. The plugin sets the fill WIDTH inline (%); the
* fill COLOR is forced to the brand gradient so the old primary->destructive
* interpolation can no longer render a muddy mid-usage bar. Usage-threshold
* tinting is an init.js concern (see return note).
* ============================================================ */
/* Neutralize the cpuload/diskspace base64 GIF on the pane glyph so it cannot
* bleed through the mask. statusbar.css owns the mask glyph and its tint; its
* `#StatusBar .icon { background-image: none }` ties the plugin rule on
* specificity and loses on order, so the override has to live here. */
#meter-disk-pane .icon,
#meter-cpu-pane .icon {
background-color: var(--qb-icon);
background-image: none !important;
flex: none;
}
/* One shared meter layout for disk and cpu: a single flex row holding the
* glyph, then a 56x4 track with its fill, then the percent label -- all on
* one vertical centre line, no absolute positioning. extras.js moves the
* label out of the track and converts the cpu sparkline into the same bar. */
#meter-disk-pane,
#meter-cpu-pane {
display: flex;
align-items: center;
gap: 8px;
height: 100%;
}
/* The track: holder becomes the 56px rounded rail the fill sits inside. The
* plugin CSS sets an inset border + width 50/100px via a media query, so the
* dimensions and border are forced. The rail colour is mixed from the muted
* foreground so it stays visible on every variant (plain --qb-muted vanishes
* into the surface on the dark themes). */
#meter-disk-holder,
#meter-cpu-holder {
position: relative;
flex: none;
width: 56px !important;
height: 4px !important;
min-width: 56px;
margin: 0;
padding: 0;
border: 0 !important;
border-radius: 999px;
background: color-mix(in srgb, var(--qb-fg-muted) 26%, transparent);
overflow: hidden;
line-height: normal;
}
/* The fill: disk uses the plugin-driven #meter-disk-value (init.js paints its
* usage-threshold colour inline per update), cpu uses the .cqb-meter-fill
* extras.js adds and tints with the same threshold. The primary here is only
* the pre-paint fallback, so no !important -- the inline tint must win. */
#meter-disk-value,
#meter-cpu-holder .cqb-meter-fill {
display: block;
position: static;
height: 100%;
min-width: 2px;
max-width: 100%;
margin: 0;
border: 0;
border-radius: 999px;
float: none;
background-color: var(--qb-primary);
background-image: none;
}
/* The label: a flex sibling beside the bar. The plugin CSS makes it
* position:absolute with width/height 100% (it overlays the bar in stock
* ruTorrent), so both are reset to a static, content-sized flex item. */
#meter-disk-text,
#meter-cpu-text {
flex: none;
position: static !important;
top: auto;
width: auto !important;
height: auto !important;
margin: 0;
transform: none;
text-align: left;
overflow: visible;
white-space: nowrap;
color: var(--qb-fg-muted);
text-shadow: none;
font-size: 12px;
line-height: 1;
font-family: var(--qb-font);
font-variant-numeric: tabular-nums;
}
/* ============================================================
* Consoles + listboxes (plugin terminal surfaces)
* ============================================================ */
.console,
.exconsole,
.starterConsole,
.tskconsole,
.listbox {
background-color: var(--qb-input);
color: var(--qb-foreground);
font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.listbox {
border: 1px solid var(--qb-border);
border-radius: var(--qb-radius);
overflow: auto;
white-space: nowrap;
}
.listboxItem {
color: var(--qb-fg-muted);
padding: 1px 4px;
}
.listboxItem:hover {
background-color: var(--qb-surface-2);
color: var(--qb-foreground);
}
.listboxItemSelected {
background-color: var(--qb-surface-3);
color: var(--qb-foreground);
}
/* ============================================================
* Cell styling (status / chunk map)
* ============================================================ */
.cCell {
color: var(--qb-foreground);
}
.status-cell {
padding: 0 3px;
border-right: solid 2px var(--qb-border);
}
/* Chunk / allocation map: a token-driven intensity ladder.
* Downloaded chunks climb a primary ramp; reserved/empty chunks use a
* muted ramp. No fixed green ladder -- each step follows the variant. */
.Cell0 {
background-color: var(--qb-surface-2);
border: 1px solid var(--qb-border);
}
.Cell1 { background-color: color-mix(in srgb, var(--qb-primary) 32%, var(--qb-surface)); }
.Cell2 { background-color: color-mix(in srgb, var(--qb-primary) 42%, var(--qb-surface)); }
.Cell3 { background-color: color-mix(in srgb, var(--qb-primary) 52%, var(--qb-surface)); }
.Cell4 { background-color: color-mix(in srgb, var(--qb-primary) 62%, var(--qb-surface)); }
.Cell5 { background-color: color-mix(in srgb, var(--qb-primary) 70%, var(--qb-surface)); }
.Cell6 { background-color: color-mix(in srgb, var(--qb-primary) 78%, var(--qb-surface)); }
.Cell7 { background-color: color-mix(in srgb, var(--qb-primary) 86%, var(--qb-surface)); }
.Cell8 { background-color: color-mix(in srgb, var(--qb-primary) 93%, var(--qb-surface)); }
.Cell9 { background-color: var(--qb-primary); }
.CellA { background-color: color-mix(in srgb, var(--qb-fg-muted) 30%, var(--qb-surface)); }
.CellB { background-color: color-mix(in srgb, var(--qb-fg-muted) 44%, var(--qb-surface)); }
.CellC { background-color: color-mix(in srgb, var(--qb-fg-muted) 58%, var(--qb-surface)); }
.CellD { background-color: color-mix(in srgb, var(--qb-fg-muted) 72%, var(--qb-surface)); }
.CellE { background-color: color-mix(in srgb, var(--qb-fg-muted) 86%, var(--qb-surface)); }
.CellF {
background-color: var(--qb-foreground);
color: var(--qb-background);
}
#tCellNotSupported {
text-align: center;
}
#tRowNotSupported {
vertical-align: middle;
color: var(--qb-destructive-text);
}
/* ============================================================
* Graph tab + legend + focus text
* ============================================================ */
div.graph_tab {
color: var(--qb-foreground);
border-color: var(--qb-border);
}
.legendLabel {
color: var(--qb-fg-muted) !important;
}
#traf_graph_ctrl {
margin-top: -5px;
}
.lf li input.TextboxFocus,
.lf_rur input.TextboxFocus {
background-color: transparent;
color: var(--qb-accent-text);
}
#PluginList {
margin-top: 0;
}
#maincont {
margin: 0;
}
li.cat.tracker {
padding: 3px 4px !important;
}
/* ============================================================
* AutoDL IRC
* ============================================================ */
#autodl-tb {
-webkit-mask: url(images/icons/toolbar-autodl.svg) center / 20px no-repeat;
mask: url(images/icons/toolbar-autodl.svg) center / 20px no-repeat;
}
#autodl-multiselect-header {
background-image: none;
}
/* Go button: legacy sprite is suppressed by the `#go` rule in style.css */
#go,
#go:hover {
background: none;
}
.lf_rur {
background-color: var(--qb-input);
border: 1px solid var(--qb-border);
border-radius: var(--qb-radius);
flex: 1 0 160px;
overflow-y: auto;
}
.lf_rur input.TextboxNormal {
background-color: var(--qb-input);
}
.browseFrame {
border: 1px solid var(--qb-border);
background-color: var(--qb-input);
}
div#autodl-filters {
width: auto;
height: auto;
}
#autodl-filters-left {
float: left;
min-height: max-content;
padding: 0 0 65px 0;
vertical-align: top;
display: flow;
}
div#autodl-filters-right {
display: inline-flex;
float: right;
}
div#autodl-filters-tabs {
display: inline-block;
width: 150px;
}
div#autodl-filters-contents {
display: inline-block;
width: 95%;
padding-bottom: 9%;
}
.aright.buttons-list.dialog-buttons {
padding: 5px 30px;
display: inline-flex;
background: var(--qb-surface-2);
width: 100%;
margin-bottom: 0;
margin-right: 0;
height: auto;
clear: both;
float: left;
border: 1px solid var(--qb-border);
border-bottom-left-radius: var(--qb-radius-lg);
border-bottom-right-radius: var(--qb-radius-lg);
}
div#autodl-filters-contents-wol {
display: inline-flex;
width: 300px;
max-width: 400px;
}
div#autodl-ircsrvs {
height: fit-content;
width: fit-content;
}
fieldset#autodl-ircsrvs-servers-fieldset {
border: 1px solid var(--qb-border);
border-radius: var(--qb-radius-lg);
margin: 3px 12px;
padding: 3px 9px;
}
fieldset#autodl-ircsrvs-channels-fieldset {
margin: 3px 12px 65px 12px;
padding: 3px 9px;
}
#autodl-prefs {
width: fit-content;
height: auto;
}
#autodl-prefs-tabs {
margin: 5px 2px;
padding: 0 0 65px 0;
display: inline-flex;
}
#autodl-prefs-contents {
margin: 3px 5px 65px 5px;
padding: 0 0 65px 0;
display: inline-flex;
}
#autodl-help {
height: auto;
}
#autodl-help:not(.dlg-window) {
width: fit-content;
height: auto;
padding: 15px 15px 15px 0;
}
/* ============================================================
* File manager chrome (colors only; details lane owns the layout)
* ============================================================ */
.sprite-archive, .sprite-rar, .sprite-rarpart, .sprite-zip,
.sprite-copy, .sprite-curdir, .sprite-delete, .flm-sprite-dir_up, .sprite-extract,
.sprite-image, .sprite-move, .sprite-mp3, .sprite-mkdir, .sprite-nfo,
.sprite-nfo_view, .sprite-refresh, .sprite-rename, .sprite-sfv, .sprite-sfv_create,
.sprite-sfv_check, .sprite-torrent, .sprite-video, .sprite-vplay,
.sprite-console {
width: 16px;
height: 16px;
}
.sprite-archive, .sprite-rar, .sprite-rarpart, .sprite-zip { -webkit-mask-image: url(images/icons/file-archive.svg); mask-image: url(images/icons/file-archive.svg); }
.sprite-console { -webkit-mask-image: url(images/icons/fm-console.svg); mask-image: url(images/icons/fm-console.svg); }
.sprite-copy { -webkit-mask-image: url(images/icons/fm-copy.svg); mask-image: url(images/icons/fm-copy.svg); }
.sprite-curdir { -webkit-mask-image: url(images/icons/fm-curdir.svg); mask-image: url(images/icons/fm-curdir.svg); }
.sprite-delete { -webkit-mask-image: url(images/icons/fm-delete.svg); mask-image: url(images/icons/fm-delete.svg); }
.flm-sprite-dir_up { -webkit-mask-image: url(images/icons/fm-dir-up.svg); mask-image: url(images/icons/fm-dir-up.svg); }
.sprite-extract { -webkit-mask-image: url(images/icons/fm-extract.svg); mask-image: url(images/icons/fm-extract.svg); }
.sprite-image { -webkit-mask-image: url(images/icons/file-image.svg); mask-image: url(images/icons/file-image.svg); }
.sprite-move { -webkit-mask-image: url(images/icons/fm-move.svg); mask-image: url(images/icons/fm-move.svg); }
.sprite-mp3 { -webkit-mask-image: url(images/icons/file-audio.svg); mask-image: url(images/icons/file-audio.svg); }
.sprite-mkdir { -webkit-mask-image: url(images/icons/fm-mkdir.svg); mask-image: url(images/icons/fm-mkdir.svg); }
.sprite-nfo, .sprite-nfo_view { -webkit-mask-image: url(images/icons/file-nfo.svg); mask-image: url(images/icons/file-nfo.svg); }
.sprite-refresh { -webkit-mask-image: url(images/icons/fm-refresh.svg); mask-image: url(images/icons/fm-refresh.svg); }
.sprite-rename { -webkit-mask-image: url(images/icons/fm-rename.svg); mask-image: url(images/icons/fm-rename.svg); }
.sprite-sfv, .sprite-sfv_create, .sprite-sfv_check { -webkit-mask-image: url(images/icons/file-sfv.svg); mask-image: url(images/icons/file-sfv.svg); }
.sprite-torrent { -webkit-mask-image: url(images/icons/file-torrent.svg); mask-image: url(images/icons/file-torrent.svg); }
.sprite-video { -webkit-mask-image: url(images/icons/file-video.svg); mask-image: url(images/icons/file-video.svg); }
.sprite-vplay { -webkit-mask-image: url(images/icons/fm-vplay.svg); mask-image: url(images/icons/fm-vplay.svg); }
input#flm-nav-refresh,
#flm-nav-refresh {
background: var(--qb-surface-2);
border: 1px solid var(--qb-border);
box-shadow: none;
padding: .25rem !important;
}
#flm-navigation-head .input-group-text,
#flm-navpath {
background: var(--qb-surface-2);
border-color: var(--qb-border);
color: var(--qb-foreground);
}
div#logoff {
-webkit-mask: url(images/icons/logoff.svg) center / 20px no-repeat;
mask: url(images/icons/logoff.svg) center / 20px no-repeat;
}
div#logoffDlg div.dlg-header {
background-image: none;
}