Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
1947 lines (1830 loc) · 106 KB
/
Copy pathstyle.css
File metadata and controls
1947 lines (1830 loc) · 106 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
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* SPDX-License-Identifier: AGPL-3.0-or-later
Copyright (C) 2026 Luca Padovan */
/* QubicaAMF - hawkBit console.
Dark first, dense, and built for a bench: small type, tight rows, monospace
for anything you might have to compare by eye. */
:root {
/* Without this the browser draws its own widgets -- the date picker, its
calendar popup, the spinners, the scrollbars -- in light, inside a dark
page. It is one line and it is the difference between a native control
that belongs here and one that looks pasted on. */
color-scheme: dark;
--bg: #0d1117;
--bg-2: #141a22;
--bg-3: #1b232d;
--line: #26303c;
--line-2: #354250;
--fg: #e3e9f0;
--fg-dim: #93a1b1;
--fg-faint: #64748b;
--accent: #3ba9a1;
--accent-2: #57c7bf;
--ok: #3fb950;
--warn: #d29922;
--err: #f05d5d;
--info: #58a6ff;
--mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
--sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Only in automatic mode: with a theme chosen by hand, [data-theme] is set and
this must not fight it. */
@media (prefers-color-scheme: light) {
:root:not([data-theme]) {
color-scheme: light;
--bg: #f6f8fa; --bg-2: #ffffff; --bg-3: #eef2f6;
--line: #d5dde5; --line-2: #c0cad4;
--fg: #16202b; --fg-dim: #55637300; --fg-dim: #556373; --fg-faint: #7b8794;
--accent: #157f78; --accent-2: #0f6b64;
}
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
margin: 0; background: var(--bg); color: var(--fg);
font: 13px/1.5 var(--sans);
/* Inter's defaults leave the digits proportional and the punctuation loose
at this size: figures line up in columns, and contextual alternates give
a plainer 'l' and 'a'. */
font-feature-settings: "tnum" 1, "cv05" 1, "cv08" 1, "ss03" 1;
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
/* ---------------------------------------------------------------- layout */
/* FLEX, NOT GRID, and the reason is the animation.
As a grid item the sidebar sat in an 'auto' track, which sizes itself to the
item's min-content: with the labels still in the DOM that is far wider than
58px, so the width transition ran on the element while the track it lives in
did not follow, and the collapse looked instantaneous. A flex item with an
animated flex-basis and min-width:0 shrinks for real, in every browser. */
#app { display: flex; height: 100vh; }
#sidebar {
background: var(--bg-2); border-right: 1px solid var(--line);
display: flex; flex-direction: column; min-height: 0;
flex: 0 0 210px; min-width: 0; overflow: hidden;
transition: flex-basis .24s cubic-bezier(.4, 0, .2, 1);
}
.brand {
padding: 14px 16px 12px; border-bottom: 1px solid var(--line);
display: flex; align-items: baseline; gap: 8px;
}
.brand b { font-size: 14px; letter-spacing: .2px; }
.brand span { font-size: 11px; color: var(--fg-faint); }
nav { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
nav button {
display: flex; align-items: center; gap: 9px; width: 100%;
padding: 7px 10px; border: 0; border-radius: 6px; cursor: pointer;
background: transparent; color: var(--fg-dim); text-align: left;
}
nav button:hover { background: var(--bg-3); color: var(--fg); }
nav button.on { background: var(--bg-3); color: var(--fg); box-shadow: inset 2px 0 0 var(--accent); }
nav button .ct {
margin-left: auto; font: 11px/1 var(--mono); color: var(--fg-faint);
background: var(--bg); padding: 3px 6px; border-radius: 10px;
}
nav .sep { margin: 8px 10px 4px; font-size: 10px; letter-spacing: .8px;
text-transform: uppercase; color: var(--fg-faint); }
.side-foot {
margin-top: auto; padding: 10px 12px; border-top: 1px solid var(--line);
font-size: 11px; color: var(--fg-faint); display: flex; flex-direction: column; gap: 6px;
}
.side-foot .row { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
#main { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
header.bar {
display: flex; align-items: center; gap: 10px;
padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
header.bar h1 { margin: 0; font-size: 15px; font-weight: 600; }
header.bar .grow { flex: 1; }
#view { flex: 1; overflow: auto; padding: 16px; min-height: 0; }
/* ---------------------------------------------------------------- controls */
/* One height for everything on a toolbar, so nothing sits half a pixel off. */
:root { --ctl: 30px; --r: 8px; }
.btn {
height: var(--ctl);
display: inline-flex; align-items: center; gap: 6px;
padding: 0 10px; border-radius: var(--r);
border: 1px solid transparent;
background: transparent;
color: var(--fg-dim);
cursor: pointer; white-space: nowrap;
font-weight: 500;
transition: background .12s, color .12s, border-color .12s;
}
.btn:hover:not(:disabled) { background: var(--bg-3); color: var(--fg); }
.btn:active:not(:disabled) { background: var(--line); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
/* Outline only where a button has to look like an edge -- dialogs, mostly. */
.btn.outline { border-color: var(--line); }
.btn.outline:hover:not(:disabled) { border-color: var(--line-2); background: var(--bg-3); }
/* Exactly one filled button per screen: the thing you came to do. */
.btn.primary {
background: var(--accent); border-color: var(--accent);
color: #04211f; font-weight: 600;
}
/* The spinner defaults to the accent colour, which is exactly the colour a
primary button is filled with. */
.btn.primary .spin { border-color: color-mix(in srgb, currentColor 35%, transparent);
border-top-color: currentColor; }
.btn:disabled { opacity: .65; cursor: default; }
.btn.primary:hover:not(:disabled) { background: var(--accent-2); border-color: var(--accent-2); color: #04211f; }
.btn.danger:hover:not(:disabled) { background: color-mix(in srgb, var(--err) 16%, transparent); color: var(--err); }
.btn.ghost { color: var(--fg-faint); }
.btn.ghost:hover:not(:disabled) { background: var(--bg-3); color: var(--accent-2); }
.btn.sm { height: 24px; padding: 0 9px; font-size: 12px; border-radius: 6px; }
/* A button that is waiting for the server says so itself. */
.btn.loading { pointer-events: none; color: transparent !important; position: relative; }
.btn.loading::after {
content: ""; position: absolute; inset: 0; margin: auto;
width: 13px; height: 13px; border-radius: 50%;
border: 2px solid color-mix(in srgb, var(--fg) 25%, transparent);
border-top-color: var(--accent-2); animation: sp .6s linear infinite;
}
/* Segmented control: one object, not six loose boxes. */
.seg {
display: inline-flex; padding: 3px; gap: 2px;
background: var(--bg-2); border-radius: 10px;
box-shadow: inset 0 0 0 1px var(--line);
}
.seg button {
height: 24px; padding: 0 11px; border: 0; border-radius: 7px;
background: transparent; color: var(--fg-faint); cursor: pointer;
font-size: 12px; white-space: nowrap;
transition: background .13s, color .13s;
}
.seg button:hover { color: var(--fg); background: var(--bg-3); }
.seg button.on {
background: color-mix(in srgb, var(--accent) 20%, var(--bg-3));
color: var(--accent-2); font-weight: 600;
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 38%, transparent);
}
.seg button .n { opacity: .65; margin-left: 5px; font-family: var(--mono); font-size: 11px; }
/* a status worth a look, when it is not zero: the count as a badge */
.seg button .n.alert { opacity: 1; font-weight: 600; padding: 1px 6px; border-radius: 9px; }
.seg button .n.alert.err { color: #fff; background: var(--err); }
.seg button .n.alert.amber { color: var(--warn); background: color-mix(in srgb, var(--warn) 22%, transparent); }
.seg button .n.alert.mute { color: var(--fg); background: var(--bg-3); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 18%, transparent); }
input[type=text], input[type=password], input[type=number], select, textarea {
height: var(--ctl);
background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
padding: 0 10px; min-width: 0;
transition: border-color .13s, box-shadow .13s;
}
textarea { height: auto; padding: 8px 10px; }
input:hover, select:hover { border-color: var(--line-2); }
input:focus, select:focus, textarea:focus {
outline: none; border-color: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
input[type=checkbox] { height: auto; accent-color: var(--accent); width: 15px; height: 15px; }
label.f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--fg-dim); }
label.f input, label.f select, label.f textarea { color: var(--fg); }
.search {
height: var(--ctl); flex: 0 1 360px; display: flex; align-items: center; gap: 8px;
background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 0 10px;
transition: border-color .13s, box-shadow .13s;
}
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.search input { height: auto; border: 0; background: transparent; padding: 0; flex: 1; }
.search input:focus { box-shadow: none; }
.search kbd {
font: 10px/1 var(--mono); color: var(--fg-faint);
background: var(--bg-3); border-radius: 4px; padding: 3px 5px;
}
/* A thin rule between groups of toolbar buttons. */
.vsep { width: 1px; height: 18px; background: var(--line); margin: 0 2px; }
/* ---------------------------------------------------------------- tables */
table.t { width: 100%; border-collapse: collapse; }
table.t th {
position: sticky; top: 0; z-index: 1; text-align: left; font-weight: 600;
font-size: 11px; line-height: 16px; letter-spacing: .4px; text-transform: uppercase;
color: var(--fg-faint);
padding: 8px 10px; background: var(--bg); border-bottom: 1px solid var(--line);
}
table.t td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tbody tr { cursor: pointer; }
table.t tbody tr:hover { background: var(--bg-2); }
table.t tbody tr.sel { background: var(--bg-3); }
.mono { font-family: var(--mono); font-size: 12px; }
.dim { color: var(--fg-dim); }
.faint { color: var(--fg-faint); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.empty { padding: 40px; text-align: center; color: var(--fg-faint); }
.empty b { display: block; color: var(--fg-dim); margin-bottom: 6px; font-size: 14px; }
/* ---------------------------------------------------------------- pills */
.pill {
display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px;
border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap;
border: 1px solid transparent;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.pill.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 14%, transparent); }
.pill.err { color: var(--err); background: color-mix(in srgb, var(--err) 14%, transparent); }
.pill.info { color: var(--info); background: color-mix(in srgb, var(--info) 14%, transparent); }
.pill.mute { color: var(--fg-faint); background: var(--bg-3); }
/* IN FLIGHT. A deployment on its way is the one thing you sit and watch, so it
spins instead of sitting there as a coloured box that might as well be
stuck. Same for a device that has missed its poll: it breathes. */
.pill.live { color: var(--info); background: color-mix(in srgb, var(--info) 14%, transparent); }
.pill.live::before {
width: 9px; height: 9px; border-radius: 50%;
background: none; border: 1.6px solid color-mix(in srgb, currentColor 30%, transparent);
border-top-color: currentColor; animation: sp .7s linear infinite;
}
.pill.pulse::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
0%, 100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); }
50% { opacity: .55; box-shadow: 0 0 0 4px transparent; }
}
/* ---------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.card {
background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px;
}
.card .k { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--fg-faint); }
.card .v { font-size: 26px; font-weight: 600; margin-top: 4px; font-family: var(--mono); }
.card .sub { font-size: 11px; color: var(--fg-faint); margin-top: 2px; }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.panel > h3 {
margin: 0; padding: 10px 14px; font-size: 12px; text-transform: uppercase;
letter-spacing: .5px; color: var(--fg-dim); border-bottom: 1px solid var(--line); background: var(--bg-3);
}
.panel .body { padding: 14px; }
/* ---------------------------------------------------------------- drawer */
#drawer {
position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 92vw);
background: var(--bg-2); border-left: 1px solid var(--line-2);
display: flex; flex-direction: column; z-index: 40;
transform: translateX(100%); transition: transform .16s ease-out;
}
#drawer.open { transform: none; box-shadow: -18px 0 50px rgba(0,0,0,.45); }
#drawer .dhead {
padding: 12px 16px; border-bottom: 1px solid var(--line);
display: flex; align-items: center; gap: 10px;
}
#drawer .dhead h2 { margin: 0; font-size: 14px; font-family: var(--mono); word-break: break-all; }
#drawer .dbody { flex: 1; overflow: auto; padding: 16px; }
#scrim {
position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 39;
opacity: 0; pointer-events: none; transition: opacity .16s;
}
#scrim.open { opacity: 1; pointer-events: auto; }
dl.kv { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 6px 14px; margin: 0; }
dl.kv dt { color: var(--fg-faint); font-size: 12px; }
dl.kv dd { margin: 0; font-family: var(--mono); font-size: 12px; word-break: break-word; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 0 12px; }
.tabs button {
background: transparent; border: 0; border-bottom: 2px solid transparent;
padding: 7px 12px; cursor: pointer; color: var(--fg-dim);
}
.tabs button.on { color: var(--fg); border-bottom-color: var(--accent); }
/* ---------------------------------------------------------------- misc */
/* Progress bars (js/bars.js), after Tabler's stacked progress (tabler.io,
MIT): flat segments on a quiet track, 2px apart, rounded ends. Devices at
work are a pale band with Tabler's indeterminate bar travelling across it
-- the Material motion. No gradients, no glow, no pulse. */
.bars {
--bh: 8px;
display: flex; height: var(--bh); min-width: 90px;
border-radius: 999px; overflow: hidden;
background: color-mix(in srgb, var(--fg) 9%, transparent);
}
.bars .fill {
display: flex; gap: 2px; height: 100%; border-radius: 999px; overflow: hidden;
transition: width .6s cubic-bezier(.4, 0, .2, 1);
}
.bars .fill:not(:empty) { min-width: var(--bh); }
.bars i {
--c: var(--ok);
display: block; height: 100%; min-width: 0; position: relative; overflow: hidden;
background: var(--c);
transition: flex-grow .6s cubic-bezier(.4, 0, .2, 1), width .6s cubic-bezier(.4, 0, .2, 1);
}
.bars i.ok { --c: var(--ok); }
.bars i.err { --c: var(--err); }
.bars i.back { --c: var(--warn, #e5a50a); }
.bars i.up { --c: var(--info); }
.bars i.run { background: color-mix(in srgb, var(--info) 22%, transparent); }
.bars i.run::before {
content: ''; position: absolute; top: 0; bottom: 0; border-radius: 999px;
background: var(--info);
animation: progress-indeterminate 1.6s cubic-bezier(.65, .815, .735, .395) infinite;
}
@keyframes progress-indeterminate {
0% { left: -35%; right: 100%; }
60%, 100% { left: 100%; right: -90%; }
}
.log { font-family: var(--mono); font-size: 11.5px; white-space: pre-wrap;
background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
padding: 10px; max-height: 320px; overflow: auto; }
.log .t { color: var(--fg-faint); }
.toast-wrap { position: fixed; right: 16px; bottom: 16px; display: flex;
flex-direction: column; gap: 8px; z-index: 60; }
.toast {
background: var(--bg-3); border: 1px solid var(--line-2); border-left: 3px solid var(--info);
border-radius: 8px; padding: 10px 12px; max-width: 460px; box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.toast.err { border-left-color: var(--err); }
.toast.ok { border-left-color: var(--ok); }
.toast { position: relative; padding-right: 30px; }
.toast b { display: block; margin-bottom: 2px; }
.toast-x {
position: absolute; top: 6px; right: 6px;
width: 20px; height: 20px; padding: 0; border: 0; border-radius: 6px;
background: transparent; color: var(--fg-faint); cursor: pointer;
font-size: 15px; line-height: 1;
opacity: .55; transition: opacity .12s, background .12s, color .12s;
}
.toast:hover .toast-x { opacity: 1; }
.toast-x:hover { background: var(--bg-3); color: var(--fg); }
.toast .btn { margin-top: 8px; }
.toast .m { font-size: 12px; color: var(--fg-dim); white-space: pre-wrap; }
dialog {
background: var(--bg-2); color: var(--fg); border: 1px solid var(--line-2);
border-radius: 12px; padding: 0; width: min(520px, 94vw);
}
dialog::backdrop { background: rgba(0,0,0,.55); }
dialog h3 { margin: 0; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
dialog .dc { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
dialog .da { padding: 12px 16px; border-top: 1px solid var(--line);
display: flex; gap: 8px; justify-content: flex-end; }
/* a dialog's refusal, in the dialog; the field it is about marked */
dialog .merr { display: flex; align-items: flex-start; gap: 9px; margin: 0 16px 14px; padding: 10px 12px; border-radius: 9px;
font-size: 13px; line-height: 1.4; color: var(--fg); background: color-mix(in srgb, var(--err) 12%, var(--bg-2));
border: 1px solid color-mix(in srgb, var(--err) 45%, transparent); }
dialog .merr[hidden] { display: none; }
dialog .merr .ico { flex: none; color: var(--err); margin-top: 1px; }
dialog .merr.shake { animation: merr-shake .36s ease-in-out; }
@keyframes merr-shake { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
dialog input.invalid, dialog select.invalid, dialog textarea.invalid { border-color: var(--err) !important;
box-shadow: 0 0 0 3px color-mix(in srgb, var(--err) 20%, transparent); }
/* a placeholder is an example, and must not pass for something typed */
dialog input::placeholder, dialog textarea::placeholder { color: color-mix(in srgb, var(--fg-faint) 55%, transparent); font-style: italic; }
/* The sign-in page is the one screen with nothing to do on it, so it is the
one that can afford some air: a card floating on a wash of the theme's own
accent, which means it follows every theme instead of being painted once. */
#login { position: relative; display: grid; place-items: center;
min-height: 100vh; padding: 24px; overflow: hidden; }
.login-glow { position: absolute; inset: -20% -10% auto -10%; height: 70vh; pointer-events: none;
background:
radial-gradient(46% 60% at 22% 20%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%),
radial-gradient(40% 55% at 82% 8%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 70%);
filter: blur(6px);
}
#login form {
position: relative; width: 352px; display: flex; flex-direction: column; gap: 13px;
padding: 30px 28px 22px; border-radius: 16px;
background: var(--bg-2); border: 1px solid var(--line);
box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .18);
animation: liftin .28s cubic-bezier(.2, .8, .3, 1);
}
@keyframes liftin { from { opacity: 0; transform: translateY(10px); } }
#login h1 { margin: 0; font-size: 19px; letter-spacing: -.2px; }
#login p { margin: 0; color: var(--fg-faint); font-size: 12px; }
#login .sub { letter-spacing: .3px; }
#login label.f { gap: 6px; }
/* The logo sits in a tile so it reads as a mark rather than a stray picture. */
.logo-tile {
display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px;
background: var(--bg-3); border: 1px solid var(--line);
box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 7%, transparent);
}
.logo-tile .logo-big { width: 52px; height: auto; margin: 0; }
/* One field shape, shared with the column filters: icon, input, optional
trailing button, and an accent ring when it has the caret. */
.fld {
display: flex; align-items: center; gap: 8px;
height: 38px; padding: 0 10px; border-radius: 10px;
background: var(--bg); border: 1px solid var(--line);
transition: border-color .13s, box-shadow .13s, background .13s;
}
.fld:hover { border-color: var(--line-2); }
.fld:focus-within {
border-color: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.fld .ico { opacity: .42; flex: 0 0 auto; transition: opacity .13s, color .13s; }
.fld:focus-within .ico { opacity: 1; color: var(--accent-2); }
.fld input {
flex: 1; min-width: 0; height: auto; padding: 0; font-size: 13px;
background: transparent; border: 0; border-radius: 0; color: var(--fg);
}
.fld input:focus { outline: none; box-shadow: none; }
.fld .reveal {
display: grid; place-items: center; border: 0; background: transparent;
cursor: pointer; color: var(--fg-faint); padding: 4px; border-radius: 6px;
}
.fld .reveal:hover { color: var(--fg); background: var(--bg-3); }
#login .btn.lg {
height: 40px; font-size: 13px; font-weight: 600; border-radius: 10px;
justify-content: center; margin-top: 3px;
}
/* A failed sign-in is the one message here, so it gets a shape of its own
rather than a line of red text under the button. */
.banner-err {
display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 9px;
background: color-mix(in srgb, var(--err) 13%, var(--bg-2));
border: 1px solid color-mix(in srgb, var(--err) 40%, transparent);
color: var(--err) !important; font-size: 12px !important;
animation: shake .3s;
}
@keyframes shake {
25% { transform: translateX(-4px); } 75% { transform: translateX(4px); }
}
.login-foot {
display: flex; align-items: flex-end; gap: 12px;
margin-top: 4px; padding-top: 13px; border-top: 1px solid var(--line);
}
.login-foot p { flex: 1; line-height: 1.45; }
.login-foot select { height: 26px; font-size: 11px; }
@media (max-width: 420px) { #login form { width: 100%; padding: 24px 18px 18px; } }
.spin { display: inline-block; width: 12px; height: 12px; border-radius: 50%;
border: 2px solid var(--line-2); border-top-color: var(--accent);
animation: sp .7s linear infinite; vertical-align: -2px; }
@keyframes sp { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.flex { display: flex; align-items: center; gap: 8px; }
.wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
/* --------------------------------------------------------- loading states */
/* A skeleton beats a spinner in the middle of an empty page: the shape of what
is coming is already there, so the table does not jump when it lands. */
.skel { display: flex; flex-direction: column; gap: 1px; }
.skel i {
display: block; height: 34px; border-radius: 4px;
background: linear-gradient(90deg, var(--bg-2) 25%, var(--bg-3) 37%, var(--bg-2) 63%);
background-size: 400% 100%; animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
/* The upload bar carries its own percentage, so a 594 MB .swu does not look
like a frozen page. */
.upl { display: flex; align-items: center; gap: 10px; }
.upl .bars { flex: 1; height: 9px; }
.upl b { font-family: var(--mono); font-size: 12px; min-width: 46px; text-align: right; }
/* Row-level activity: a target with an action in flight gets a moving edge. */
tr.busy td:first-child { position: relative; }
tr.busy td:first-child::before {
content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px;
border-radius: 2px; background: var(--info); animation: pulse 1.6s ease-in-out infinite;
}
/* Toasts arrive from the side rather than appearing. */
.toast { animation: slidein .18s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } }
/* REDUCED MOTION, but only where motion is decoration.
The blanket rule that used to be here killed every transition in the page --
including the sidebar collapsing and the drawer sliding -- on any machine
whose system asks for less animation, which on Windows is a common default.
The result was a console that looked like nothing worked.
What actually causes trouble is motion that loops or travels; a 240 ms layout
transition does not. So the loops stop and the transitions stay. */
@media (prefers-reduced-motion: reduce) {
/* The decorative loops go: a shimmering skeleton, a sweeping bar, a pulsing
dot say nothing that the page does not already say in words.
A spinner is not decoration -- it is the difference between "working" and
"stuck", and a ring that does not turn states the second one. It keeps
turning. */
/* The progress bars keep moving, like the spinner: a bar that shines says
"working", a still one reads as stuck. */
.pill.pulse::before, .skel i, #progress.on::after, .toast {
animation: none !important;
}
}
/* ------------------------------------------------------------- accordion */
/* Thirty expanded logs is a wall, not a history: shut by default, and the
header alone says how each one ended. */
.panel.acc { transition: box-shadow .13s; }
.panel.acc:hover { box-shadow: 0 0 0 1px var(--line-2); }
.ahead {
display: flex; align-items: center; gap: 9px;
padding: 9px 12px; cursor: pointer; user-select: none;
}
.ahead:hover { background: var(--bg-3); }
.ahead .chev { color: var(--fg-faint); width: 10px; transition: transform .13s; }
.ahead .sum {
flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
white-space: nowrap; font-size: 12px;
}
.ahead .when { flex: 0 0 auto; }
.abody { display: none; padding: 0 12px 12px; }
.panel.acc.open .abody { display: flex; }
.panel.acc.open .ahead { border-bottom: 1px solid var(--line); }
.panel.acc.open .ahead .sum { display: none; }
/* ------------------------------------------------------------- progress */
/* Only when a page does not open at once: under ~150 ms a flashing bar is
noise, over it the page looks broken without one. */
#progress { height: 2px; background: transparent; overflow: hidden; }
#progress.on::after {
content: ""; display: block; height: 100%; width: 40%;
background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
animation: sweep 1s ease-in-out infinite;
}
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(350%); } }
/* The old content stays put while the new one loads -- greyed, and not
clickable, so nothing is acted on twice. */
#view.stale { opacity: .45; pointer-events: none; transition: opacity .1s; }
/* ---------------------------------------------------------------- pager */
.pager {
display: flex; align-items: center; gap: 8px; padding: 10px 2px 2px;
border-top: 1px solid var(--line); margin-top: 8px;
}
.pager .grow { flex: 1; }
.pager select { height: 24px; padding: 0 6px; font-size: 12px; }
/* Per-column filter row: part of the header, not a second toolbar. */
/* The filter row belongs to the header. Each cell is a quiet field that only
draws an edge when you are near it, and colours itself when it is holding
something -- so a short table is never unexplained. */
tr.filters th {
position: sticky; top: 33px; z-index: 1;
padding: 7px 8px 8px; background: var(--bg); border-bottom: 1px solid var(--line);
}
.fbox {
display: flex; align-items: center; gap: 5px;
height: 26px; padding: 0 7px; border-radius: 7px;
background: var(--bg-2); border: 1px solid transparent;
transition: background .12s, border-color .12s, box-shadow .12s;
}
.fbox .ico { opacity: .35; flex: 0 0 auto; transition: opacity .12s, color .12s; }
.fbox:hover { border-color: var(--line); }
.fbox:hover .ico { opacity: .6; }
.fbox:focus-within {
background: var(--bg); border-color: var(--accent);
box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}
.fbox:focus-within .ico { opacity: 1; color: var(--accent-2); }
.fbox input {
flex: 1; min-width: 0; height: auto; padding: 0;
background: transparent; border: 0; border-radius: 0;
font-size: 12px; color: var(--fg);
}
.fbox input:focus { outline: none; box-shadow: none; }
.fbox input::placeholder { color: color-mix(in srgb, var(--fg-faint) 60%, transparent); }
/* Holding a value: coloured, and with a way out. */
.fbox.has {
background: color-mix(in srgb, var(--accent) 12%, var(--bg-2));
border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.fbox.has input { color: var(--accent-2); font-weight: 500; }
.fbox.has .ico { opacity: 1; color: var(--accent-2); }
.fbox .fx {
display: none; border: 0; background: transparent; cursor: pointer;
color: var(--fg-faint); font-size: 15px; line-height: 1; padding: 0 2px;
border-radius: 4px;
}
.fbox.has .fx { display: block; }
.fbox .fx:hover { color: var(--err); background: var(--bg-3); }
/* The sidebar says when the clock is held, so a table that is not moving is
never mistaken for one that is broken. */
#paused { color: var(--warn); font-size: 11px; }
.side-foot select { height: 22px; padding: 0 4px; font-size: 11px; }
/* ------------------------------------------------- assigned / installed */
.ai { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ai-row { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.ai-k {
flex: 0 0 30px; font-size: 10px; letter-spacing: .5px; text-transform: uppercase;
color: var(--fg-faint);
}
.ai-k.wait { color: var(--warn); }
.ai-v {
min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
font-size: 12px;
}
.ai-row:nth-child(2) .ai-v { color: var(--fg-dim); }
/* Amber for a device that is mid-update: visible without shouting. */
.pill.amber { color: var(--warn); background: color-mix(in srgb, var(--warn) 15%, transparent); }
/* ----------------------------------------------------------- column picker */
dialog:has(.colpick) { width: min(660px, 94vw); }
.colpick { display: flex; flex-direction: column; gap: 8px; }
.colpick-h {
display: flex; align-items: center; gap: 8px; margin-top: 4px;
font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: var(--fg-faint);
}
.colpick-h .grow { flex: 1; }
.colpick-list {
display: flex; flex-direction: column;
border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
max-height: 290px; overflow-y: auto;
}
.colrow {
display: flex; align-items: center; gap: 10px; padding: 6px 10px;
background: var(--bg-2); border-bottom: 1px solid var(--line);
cursor: grab; transition: background .12s;
}
.colrow:last-child { border-bottom: 0; }
.colrow:hover { background: var(--bg-3); }
.colrow.dragging { opacity: .4; }
.colrow.over { box-shadow: inset 0 2px 0 var(--accent); }
.colrow .grip { color: var(--fg-faint); letter-spacing: -1px; cursor: grab; }
.colrow .cl { flex: 1; }
.colrow .tag {
font-size: 10px; letter-spacing: .4px; text-transform: uppercase;
color: var(--accent-2); background: color-mix(in srgb, var(--accent) 14%, transparent);
padding: 2px 6px; border-radius: 5px;
}
.colrow .btn.sm { padding: 0 6px; }
/* Available columns as chips: one click adds one, and the list is short enough
to read at a glance -- which a column of checkboxes never is. */
.chip {
display: inline-flex; align-items: center; gap: 6px;
height: 26px; padding: 0 10px; border-radius: 14px; cursor: pointer;
background: var(--bg-3); border: 1px solid var(--line); color: var(--fg-dim);
transition: background .12s, color .12s, border-color .12s;
}
.chip:hover { border-color: var(--accent); color: var(--fg); background: color-mix(in srgb, var(--accent) 12%, var(--bg-3)); }
.chip .plus { color: var(--accent-2); font-weight: 700; }
.chip.attr .plus { color: var(--warn); }
/* ------------------------------------------------------------ date fields */
input[type=datetime-local] {
font-family: var(--mono); font-size: 12px; letter-spacing: .2px;
}
input[type=datetime-local]::-webkit-calendar-picker-indicator {
opacity: .55; cursor: pointer; padding: 2px; border-radius: 4px;
}
input[type=datetime-local]::-webkit-calendar-picker-indicator:hover {
opacity: 1; background: var(--bg-3);
}
input[type=datetime-local]:disabled { opacity: .4; }
/* Nobody wants to spin four fields to say "tonight at three": the shortcuts
are what the field is actually for. */
.when-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.when-quick .chip { height: 22px; padding: 0 9px; font-size: 12px; }
/* ------------------------------------------------------ colour + files */
/* Two controls the platform draws in its own language, replaced by ours. */
.hidden-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cpick { display: flex; flex-direction: column; gap: 10px; }
.cpick-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.swatch {
position: relative; width: 26px; height: 26px; flex: 0 0 26px; padding: 0; cursor: pointer;
border-radius: 8px; border: 1px solid color-mix(in srgb, var(--sw) 60%, transparent);
background: var(--sw); color: #fff;
transition: transform .12s, box-shadow .12s;
}
.swatch .ico { opacity: 0; transition: opacity .1s; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }
.swatch:hover { transform: translateY(-1px); }
.swatch.on { box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--sw); }
.swatch.on .ico { opacity: 1; }
.swatch.custom {
display: grid; place-items: center; color: var(--fg-dim);
background: var(--bg-3); border-color: var(--line); border-style: dashed;
}
.swatch.custom .ico { opacity: 1; filter: none; }
.swatch.custom:hover, .swatch.custom.on { color: var(--accent-2); border-color: var(--accent); border-style: solid; }
/* The custom panel: a hue strip and a saturation/brightness square, so no
part of choosing a colour ever leaves the page. */
.cpick-panel { display: flex; flex-direction: column; gap: 9px; }
.sv {
position: relative; height: 104px; border-radius: 9px; cursor: crosshair;
border: 1px solid var(--line); overflow: hidden; touch-action: none;
}
.sv i { position: absolute; inset: 0; border-radius: inherit; }
.sv-sat { background: linear-gradient(to right, #fff, transparent); }
.sv-val { background: linear-gradient(to top, #000, transparent); }
.hue {
position: relative; height: 14px; border-radius: 7px; cursor: pointer;
border: 1px solid var(--line); touch-action: none;
background: linear-gradient(to right, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
}
.sv .dot, .hue .dot {
position: absolute; width: 14px; height: 14px; border-radius: 50%;
border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.5);
transform: translate(-50%, -50%); pointer-events: none;
}
.hue .dot { top: 50%; }
.hexbox { flex: 0 0 122px; height: var(--ctl); font-family: var(--mono); }
.hexbox .hash { color: var(--fg-faint); font-family: var(--mono); }
.hexbox input {
flex: 1; min-width: 0; height: auto; padding: 0; border: 0; background: transparent;
font-family: var(--mono); font-size: 12px; text-transform: lowercase;
}
.hexbox input:focus { outline: none; box-shadow: none; }
/* The preview is the tag itself, with the name being typed in it. */
.tag-preview {
display: inline-flex; align-items: center; gap: 6px;
height: 24px; padding: 0 11px; border-radius: 999px;
font-size: 12px; font-weight: 600; white-space: nowrap;
color: var(--sw); border: 1px solid color-mix(in srgb, var(--sw) 55%, transparent);
background: color-mix(in srgb, var(--sw) 15%, transparent);
}
.tag-preview::before {
content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sw);
}
.swatch-dot { display: inline-block; width: 12px; height: 12px; border-radius: 3px;
background: var(--sw); }
.fz {
display: flex; flex-direction: column; align-items: center; gap: 7px;
padding: 18px 14px; cursor: pointer; text-align: center;
border: 1px dashed var(--line-2); border-radius: 11px;
background: var(--bg); color: var(--fg-dim);
transition: border-color .13s, background .13s, color .13s;
}
.fz:hover { border-color: var(--accent); color: var(--fg); }
.fz .ico { opacity: .5; }
.fz:hover .ico, .fz.over .ico, .fz.has .ico { opacity: 1; color: var(--accent-2); }
.fz.over { border-color: var(--accent); border-style: solid;
background: color-mix(in srgb, var(--accent) 10%, var(--bg)); }
.fz.has { border-style: solid; border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.fz-t { font-size: 12px; }
.fz-list { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.fz-f { display: flex; gap: 10px; justify-content: center; font-size: 12px; }
.fz-f .n { font-family: var(--mono); color: var(--fg); word-break: break-all; }
.fz-f .s { color: var(--fg-faint); white-space: nowrap; }
/* ------------------------------------------------- native widget cleanup */
/* The browser's own spinner is a light box with two grey chevrons in it. It
cannot be themed properly, only removed, so number fields are typed and
stepped with our own buttons where stepping is actually useful. */
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper input { flex: 1; text-align: center; font-family: var(--mono); }
.stepper button {
width: 26px; height: var(--ctl); flex: 0 0 26px;
border: 1px solid var(--line); border-radius: var(--r);
background: var(--bg-3); color: var(--fg-dim); cursor: pointer;
transition: background .12s, color .12s, border-color .12s;
}
.stepper button:hover { border-color: var(--accent); color: var(--accent-2); }
.stepper button:active { background: var(--line); }
/* Selects get one chevron of ours instead of whatever the platform draws. */
select {
appearance: none; -webkit-appearance: none;
padding-right: 26px;
background-image: linear-gradient(45deg, transparent 50%, var(--fg-faint) 50%),
linear-gradient(135deg, var(--fg-faint) 50%, transparent 50%);
background-position: calc(100% - 15px) center, calc(100% - 10px) center;
background-size: 5px 5px, 5px 5px;
background-repeat: no-repeat;
}
select:hover { background-image: linear-gradient(45deg, transparent 50%, var(--accent-2) 50%),
linear-gradient(135deg, var(--accent-2) 50%, transparent 50%); }
.side-foot select, .pager select { padding-right: 22px; background-position: calc(100% - 12px) center, calc(100% - 8px) center; }
/* ------------------------------------------------------------- type badges */
/* Blue, green and amber: three families, not three shades of one. The previous
set -- blue, teal, violet -- were all cool and all close, which at eleven
pixels down a long column is no distinction at all. Each also carries its
initial, so the difference survives a colour-blind reader and a bad screen. */
.pill.ty-os, .pill.ty-app, .pill.ty-both {
font-family: var(--mono); font-size: 11px; font-weight: 600;
letter-spacing: .3px; padding: 2px 8px; gap: 6px;
}
.pill.ty-os::before, .pill.ty-app::before, .pill.ty-both::before { display: none; }
.pill.ty-os {
color: #6cb6ff; background: color-mix(in srgb, #6cb6ff 18%, transparent);
box-shadow: inset 0 0 0 1px color-mix(in srgb, #6cb6ff 32%, transparent);
}
.pill.ty-app {
color: #56d364; background: color-mix(in srgb, #56d364 18%, transparent);
box-shadow: inset 0 0 0 1px color-mix(in srgb, #56d364 32%, transparent);
}
.pill.ty-both {
color: #e3a008; background: color-mix(in srgb, #e3a008 20%, transparent);
box-shadow: inset 0 0 0 1px color-mix(in srgb, #e3a008 38%, transparent);
}
/* ---------------------------------------------------------------- icons */
.ico { flex: 0 0 auto; opacity: .75; }
nav button .ico { opacity: .6; transition: opacity .12s, color .12s; }
nav button:hover .ico, nav button.on .ico { opacity: 1; }
nav button.on .ico { color: var(--accent-2); }
.pill .ico { opacity: .9; margin-right: -1px; }
/* ------------------------------------------------------------------- brand */
.brand { gap: 10px; align-items: center; }
.brand .logo { width: 26px; height: auto; flex: 0 0 auto; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font-size: 13px; }
.brand-t span { font-size: 10px; color: var(--fg-faint); letter-spacing: .4px; text-transform: uppercase; }
.login-head { display: flex; flex-direction: column; align-items: center; gap: 9px;
text-align: center; margin-bottom: 6px; }
.logo-big { width: 96px; height: auto; }
nav button .ct { font-variant-numeric: tabular-nums; }
/* -------------------------------------------------------- collapsed sidebar */
/* What animates is the sidebar's WIDTH, not grid-template-columns: browsers
interpolate a width everywhere, while interpolating a grid track is recent
and was silently doing nothing here. The grid follows with 'auto'.
overflow:hidden matters too -- without it the footer spills out of the
58px column while the transition is still running. */
#app.collapsed #sidebar { flex-basis: 58px; }
/* Labels fade and give up their width, so the icons settle instead of jumping. */
.lbl {
display: inline-block; white-space: nowrap;
transition: opacity .12s ease, max-width .22s cubic-bezier(.4, 0, .2, 1);
max-width: 200px; opacity: 1; overflow: hidden;
}
#app.collapsed .lbl { max-width: 0; opacity: 0; }
.brand #navtoggle { margin-left: auto; padding: 0 6px; }
#app.collapsed .brand { justify-content: center; padding: 12px 6px; gap: 0; }
#app.collapsed .brand .logo, #app.collapsed .brand-t { display: none; }
#app.collapsed .brand #navtoggle { margin: 0; }
#app.collapsed nav { padding: 8px 6px; }
#app.collapsed nav button { justify-content: center; padding: 9px 0; gap: 0; position: relative; }
#app.collapsed nav .sep { height: 1px; margin: 8px 6px; padding: 0; background: var(--line); }
#app.collapsed nav button .ct {
position: absolute; top: 2px; right: 4px; margin: 0;
font-size: 9px; padding: 0 4px; line-height: 1.5;
}
/* The footer is settings, not navigation: collapsed, only the way out stays.
Theme and refresh are both in Configuration as well, so nothing is lost. */
#app.collapsed .side-foot { align-items: center; padding: 10px 6px; }
#app.collapsed .side-foot .row { justify-content: center; gap: 0; }
#app.collapsed #conn,
#app.collapsed #paused,
#app.collapsed .side-foot label { display: none; }
#app.collapsed #logout { padding: 0 8px; }
#navtoggle .ico { transition: transform .22s cubic-bezier(.4, 0, .2, 1); }
/* ================================================================= themes */
/* Each theme is the same dozen variables. Everything else in the sheet is
derived from them with color-mix, so a theme is a palette and never a set of
exceptions -- and color-scheme goes with it, or the browser draws its own
widgets from the other world.
'auto' sets no attribute at all and lets the media query above decide. */
:root[data-theme="dark"] {
color-scheme: dark;
--bg:#0d1117; --bg-2:#141a22; --bg-3:#1b232d; --line:#26303c; --line-2:#354250;
--fg:#e3e9f0; --fg-dim:#93a1b1; --fg-faint:#64748b;
--accent:#3ba9a1; --accent-2:#57c7bf;
--ok:#3fb950; --warn:#d29922; --err:#f05d5d; --info:#58a6ff;
}
:root[data-theme="light"] {
color-scheme: light;
--bg:#f6f8fa; --bg-2:#ffffff; --bg-3:#eef2f6; --line:#d5dde5; --line-2:#c0cad4;
--fg:#16202b; --fg-dim:#556373; --fg-faint:#7b8794;
--accent:#157f78; --accent-2:#0f6b64;
--ok:#1a7f37; --warn:#9a6700; --err:#cf222e; --info:#0969da;
}
:root[data-theme="midnight"] {
color-scheme: dark;
--bg:#05070d; --bg-2:#0a0f18; --bg-3:#111826; --line:#1b2436; --line-2:#2a3550;
--fg:#dfe6f2; --fg-dim:#8b98b3; --fg-faint:#5b6885;
--accent:#4c6ef5; --accent-2:#748ffc;
--ok:#37b24d; --warn:#f59f00; --err:#fa5252; --info:#4dabf7;
}
:root[data-theme="nord"] {
color-scheme: dark;
--bg:#2e3440; --bg-2:#343b48; --bg-3:#3b4252; --line:#434c5e; --line-2:#4c566a;
--fg:#eceff4; --fg-dim:#c3ccd9; --fg-faint:#8996a8;
--accent:#88c0d0; --accent-2:#8fbcbb;
--ok:#a3be8c; --warn:#ebcb8b; --err:#bf616a; --info:#81a1c1;
}
:root[data-theme="dracula"] {
color-scheme: dark;
--bg:#282a36; --bg-2:#2f3242; --bg-3:#383b4d; --line:#44475a; --line-2:#565a72;
--fg:#f8f8f2; --fg-dim:#c9cbe0; --fg-faint:#8e91ab;
--accent:#bd93f9; --accent-2:#d0aaff;
--ok:#50fa7b; --warn:#f1fa8c; --err:#ff5555; --info:#8be9fd;
}
:root[data-theme="gruvbox"] {
color-scheme: dark;
--bg:#1d2021; --bg-2:#282828; --bg-3:#32302f; --line:#3c3836; --line-2:#504945;
--fg:#fbf1c7; --fg-dim:#d5c4a1; --fg-faint:#a89984;
--accent:#8ec07c; --accent-2:#b8bb26;
--ok:#b8bb26; --warn:#fabd2f; --err:#fb4934; --info:#83a598;
}
:root[data-theme="solarized-dark"] {
color-scheme: dark;
--bg:#002b36; --bg-2:#073642; --bg-3:#0b4553; --line:#134f5c; --line-2:#2a6d7c;
--fg:#eee8d5; --fg-dim:#93a1a1; --fg-faint:#657b83;
--accent:#2aa198; --accent-2:#5fd3c8;
--ok:#859900; --warn:#b58900; --err:#dc322f; --info:#268bd2;
}
:root[data-theme="solarized-light"] {
color-scheme: light;
--bg:#fdf6e3; --bg-2:#fffcf2; --bg-3:#f2e9d0; --line:#e0d8bf; --line-2:#c9c0a6;
--fg:#073642; --fg-dim:#586e75; --fg-faint:#93a1a1;
--accent:#2aa198; --accent-2:#1c7d76;
--ok:#859900; --warn:#b58900; --err:#dc322f; --info:#268bd2;
}
:root[data-theme="amber"] {
color-scheme: dark;
--bg:#0c0a06; --bg-2:#151109; --bg-3:#1e180d; --line:#2c2413; --line-2:#43371c;
--fg:#ffd08a; --fg-dim:#c79b5e; --fg-faint:#8a6c41;
--accent:#ffb020; --accent-2:#ffc85c;
--ok:#8bc34a; --warn:#ffb020; --err:#ff6b4a; --info:#e0a458;
}
:root[data-theme="mono"] {
color-scheme: dark;
--bg:#0b0b0b; --bg-2:#141414; --bg-3:#1d1d1d; --line:#2b2b2b; --line-2:#3d3d3d;
--fg:#ededed; --fg-dim:#a8a8a8; --fg-faint:#757575;
--accent:#d0d0d0; --accent-2:#ffffff;
--ok:#c8c8c8; --warn:#a0a0a0; --err:#ff8080; --info:#b8b8b8;
}
:root[data-theme="paper"] {
color-scheme: light;
--bg:#f4f1ea; --bg-2:#fbf9f4; --bg-3:#eae5da; --line:#ddd6c8; --line-2:#c7bda9;
--fg:#2b2a26; --fg-dim:#5d594f; --fg-faint:#8a8478;
--accent:#8a6d3b; --accent-2:#6f562c;
--ok:#3f6f3f; --warn:#96700f; --err:#a83232; --info:#3a6ea5;
}
:root[data-theme="ocean"] {
color-scheme: dark;
--bg:#0b1a24; --bg-2:#102532; --bg-3:#153040; --line:#1d3f52; --line-2:#2a5872;