Repository navigation
Expand file tree
/
Copy pathimapsync_form.css
More file actions
1349 lines (1203 loc) · 42.5 KB
/
Copy pathimapsync_form.css
File metadata and controls
1349 lines (1203 loc) · 42.5 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
/* =============================================================
Noxity Imapsync — UI styles
Built on the Noxity Design System v4 (transit-signage):
Geist, navy / red / warm cream, flat, hairline-ruled.
The tokens below are copied verbatim from the design system's
tokens/*.css. The system lives on claude.ai, not at a URL this
page can @import, so they are inlined rather than linked — keep
them in sync with the source rather than editing them here.
ZONE RULE (the system's, applied to this page): this is a
PRODUCT surface, so navy carries the brand — the card signage
bars, the progress bar and the step icons are all navy, and red
means error/down. Red survives in exactly two other places the
system names outright: the primary CTA fill and the hero accent
(the header is the one marketing-voice element on the page).
============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600;700&display=swap');
/* ---- Design system tokens (verbatim from tokens/*.css) ------- */
:root {
/* Core */
--nx-navy: #162647;
--nx-paper: #F4F0E7;
--nx-card: #FBF9F4;
/* Accent — use sparingly */
--nx-red: #B83553;
--nx-red-deep: #7E2138;
/* Tertiary: green hosting (eco + operational only) */
--nx-green: #4E7954;
--nx-green-deep: #2E5D3B;
--nx-green-tint: #E4ECDF;
/* Status */
--nx-status-ok: #4E7954;
--nx-status-degraded: #C28A04;
--nx-status-down: #B83553;
/* Text on paper (all derived from navy — not separate colours) */
--nx-text: #162647;
--nx-text-muted: rgba(22,38,71,0.62);
--nx-text-faint: rgba(22,38,71,0.55);
/* Text on navy */
--nx-on-dark: #FBF9F4;
--nx-on-dark-muted: rgba(251,249,244,0.60);
--nx-on-dark-faint: rgba(251,249,244,0.42);
/* Hairlines */
--nx-line: rgba(22,38,71,0.12);
--nx-line-strong: rgba(22,38,71,0.30);
--nx-line-dark: rgba(251,249,244,0.14);
/* Semantic surface aliases */
--nx-surface-page: var(--nx-paper);
--nx-surface-card: var(--nx-card);
--nx-surface-dark: var(--nx-navy);
--nx-cta: var(--nx-red);
--nx-cta-hover: var(--nx-red-deep);
/* Type */
--nx-font: "Geist", system-ui, -apple-system, sans-serif;
--nx-font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
--nx-fw-regular: 400;
--nx-fw-medium: 500;
--nx-fw-semi: 600;
--nx-fw-bold: 700;
--nx-fw-black: 800;
--nx-track-display: -0.035em;
--nx-track-heading: -0.02em;
--nx-track-eyebrow: 0.14em;
--nx-track-chip: 0.08em;
--nx-size-display: 56px;
--nx-size-h1: 44px;
--nx-size-h2: 36px;
--nx-size-h3: 24px;
--nx-size-lead: 21px;
--nx-size-body: 16px;
--nx-size-small: 14px;
--nx-size-eyebrow: 13px;
--nx-lh-display: 0.95;
--nx-lh-heading: 1.05;
--nx-lh-lead: 1.45;
--nx-lh-body: 1.5;
/* Spacing (4px base) */
--nx-space-1: 4px;
--nx-space-2: 8px;
--nx-space-3: 12px;
--nx-space-4: 16px;
--nx-space-6: 24px;
--nx-space-8: 32px;
--nx-space-12: 48px;
--nx-space-16: 64px;
--nx-gutter: 32px;
--nx-container: 1200px;
/* Shape: square by default */
--nx-radius: 0;
--nx-radius-input: 2px;
/* Signage bar (station-sign heading motif) */
--nx-bar: 8px;
/* Motion */
--nx-dur: 150ms;
--nx-ease: ease;
--nx-ease-move: cubic-bezier(.4, 0, .1, 1);
/* The ONE elevation in the system */
--nx-shadow-card-hover: 0 18px 34px rgba(22,38,71,0.16);
/* ---- App-local, derived from the tokens above -----------
The console is a full-bleed navy signage panel in both
themes; in dark it has to sit *under* the navy card, so it
drops to navy × 0.72. Not a new brand colour — navy pushed
darker, the way muted text is navy pushed lighter.
The tab strip sits on the *card*, not on the panel, so an
inactive tab has to be opaque navy — a translucent cream
would vanish into the cream card. Inactive lifts navy toward
cream; active drops to the panel's navy so it reads as one
connected folder. */
--nox-console: var(--nx-navy);
--nox-console-tab: #323F5C; /* = navy 88% + card 12% */
/* Red at text sizes. True --nx-red on paper; lifted on navy (see
the dark block) where #B83553 would fail AA. Filled CTAs never
use this — cream on true red is already AA. */
--nx-red-text: var(--nx-red);
}
/* ---- Two deliberate departures from the token defaults -------
Kept out of the block above so it stays a clean diff against the
design system's source. Both stay inside the system's own stated
ranges; neither invents a colour.
1. --nx-text-muted ships at 0.62, which composites to 4.34:1 on
the card — under AA for body text, and this page uses it for
field labels and running copy. The system documents muted as
"0.6–0.7 in use", so we take the accessible end: 0.70 → 5.5:1.
2. The inactive console tab label is 11px, where --nx-on-dark-muted
(0.60) gives 4.30:1 on the lifted-navy tab. Lift to 0.78 → 6.8:1;
active vs inactive is still carried by the background. */
:root {
--nx-text-muted: rgba(22,38,71,0.70);
--nox-tab-label: rgba(251,249,244,0.78);
}
::selection { background: var(--nx-red); color: var(--nx-card); }
/* =============================================================
Dark theme — the system is a warm LIGHT system and defines no
dark palette, but the page ships a theme toggle and that is
functionality, not styling. So rather than invent a grey dark
mode, "dark" becomes the system's own navy signage panel: navy
surfaces, cream on-dark text, cream hairlines. Every value below
is an existing --nx-* token; the one derived value is the card
tone (navy + 6% cream) needed to separate card from page.
Toggled by data-theme="dark" on <html>, applied before first
paint by the inline script in each page's <head> (no flash).
============================================================= */
[data-theme="dark"] {
--nx-surface-page: var(--nx-navy);
--nx-surface-card: #243351; /* = navy 94% + card 6% */
--nx-text: var(--nx-on-dark);
--nx-text-muted: var(--nx-on-dark-muted);
--nx-text-faint: var(--nx-on-dark-faint);
--nx-line: var(--nx-line-dark);
--nx-line-strong: rgba(251,249,244,0.30);
--nox-console: #101B33; /* = navy × 0.72 */
--nox-console-tab: #1E2B45; /* between the card and the panel */
--nx-red-text: #EE8AA0; /* red lifted for AA on navy */
}
/* =============================================================
Reset / base
============================================================= */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
/* Flash-on-reload fix. The flashing elements are the modal overlay
and the inactive step cards: Tailwind is loaded from a CDN
<script> that injects its `.hidden` utility only after it
executes, while this stylesheet is applied first via <link>. For
a moment on every reload the modal and all stacked cards paint
before Tailwind hides them. Declaring `.hidden` here hides them
on the very first paint. No !important, so the inline display the
wizard sets when advancing/showing the modal still wins over it. */
.hidden { display: none; }
body {
background: var(--nx-surface-page);
color: var(--nx-text);
font-family: var(--nx-font);
font-weight: var(--nx-fw-regular);
font-size: var(--nx-size-body);
line-height: var(--nx-lh-body);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* Fit-one-screen: column layout that fills the viewport so the wizard
doesn't scroll on a normal screen, while still growing (and scrolling)
for the tall log view or short windows instead of clipping content. */
min-height: 100vh;
display: flex;
flex-direction: column;
transition: background var(--nx-dur) var(--nx-ease);
}
/* TextLink: underlined navy → red. Scoped to `body a` deliberately —
Tailwind's preflight injects `a { text-decoration: inherit }` from a
<style> added after this file, so a bare `a` rule ties on specificity
and loses. `body a` clears it; .nav-btn still overrides back to none. */
body a {
color: var(--nx-text);
text-decoration: underline;
text-underline-offset: 3px;
text-decoration-thickness: 1px;
transition: color var(--nx-dur) var(--nx-ease);
}
body a:hover { color: var(--nx-red-text); }
hr {
border: 0;
border-top: 1px solid var(--nx-line);
margin: 0;
}
/* Phosphor is the one icon set; size it here rather than per-glyph. */
i[class*="ph-"] { line-height: 1; }
/* =============================================================
Header — the page's one marketing-voice element
============================================================= */
body > header {
text-align: center;
padding: 40px var(--nx-space-6) var(--nx-space-4);
max-width: 960px;
margin: 0 auto;
}
body > header .nox-eyebrow {
display: inline-flex;
align-items: center;
gap: var(--nx-space-2);
font-family: var(--nx-font-mono);
font-size: 11px;
font-weight: var(--nx-fw-medium);
letter-spacing: var(--nx-track-eyebrow);
text-transform: uppercase;
color: var(--nx-text-muted);
margin-bottom: var(--nx-space-4);
}
/* Square, not round: the dots in the mark and the status chips are
the brand's shape. */
body > header .nox-eyebrow::before {
content: "";
width: 6px;
height: 6px;
background: var(--nx-red);
}
body > header h1 {
font-family: var(--nx-font);
font-weight: var(--nx-fw-black);
font-size: clamp(34px, 4.8vw, var(--nx-size-display));
line-height: var(--nx-lh-display);
letter-spacing: var(--nx-track-display);
color: var(--nx-text);
margin: 0 0 var(--nx-space-3);
padding: 0;
}
/* No italic serif — the system is one grotesque all the way down,
so the hero accent is carried by colour alone. */
body > header h1 em {
font-style: normal;
font-weight: inherit;
color: var(--nx-red-text);
}
body > header p {
font-size: var(--nx-size-body);
line-height: var(--nx-lh-body);
color: var(--nx-text-muted);
margin: 0 auto;
padding: 0;
max-width: 620px;
}
body > header p strong { color: var(--nx-text); font-weight: var(--nx-fw-semi); }
/* =============================================================
Main + step cards
============================================================= */
#main {
width: 100%;
flex: 1 1 auto;
/* Fill the leftover viewport height so the footer sits at the bottom. */
justify-content: flex-start !important;
padding: var(--nx-space-3) var(--nx-space-6) var(--nx-space-6);
}
/* Vertically center the active view in the leftover space (so there's balanced
room above/below the card instead of a dead gap at the bottom). Auto margins
collapse to 0 when the content is taller than the space, so the tall log view
and short windows scroll from the top instead of being clipped. */
#form,
#consoleLogs,
#congratsPage { margin-block: auto; }
/* The station-sign card: hairline box, square corners, no resting
shadow, and the thick top bar — navy because this is product. */
.box {
background: var(--nx-surface-card);
color: var(--nx-text);
border: 1px solid var(--nx-line) !important;
border-top: var(--nx-bar) solid var(--nx-navy) !important;
border-radius: var(--nx-radius) !important;
overflow: hidden;
width: 800px !important;
max-width: 100%;
height: auto !important;
padding: 0 !important;
margin: 0 auto !important;
transition: background var(--nx-dur) var(--nx-ease),
border-color var(--nx-dur) var(--nx-ease);
}
[data-theme="dark"] .box { border-top-color: var(--nx-on-dark) !important; }
.box .first {
padding: var(--nx-space-4) var(--nx-space-8);
border-bottom: 1px solid var(--nx-line);
background: transparent;
}
.box .first > div {
font-family: var(--nx-font-mono);
font-size: 11px;
font-weight: var(--nx-fw-medium);
letter-spacing: var(--nx-track-eyebrow);
text-transform: uppercase;
color: var(--nx-text-muted);
padding: 0 !important;
height: auto !important;
display: inline-flex;
align-items: center;
gap: 10px;
}
.box hr { display: none; }
.box .second {
/* Trim the step's top padding and the inter-element gap so sparse
single-field steps don't read as half-empty. The card height is
already auto, so this is the real lever. */
padding: var(--nx-space-8) var(--nx-space-12) !important;
margin: 0 !important;
height: auto !important;
align-items: center;
gap: var(--nx-space-4) !important;
}
/* The step icon — navy: on a product surface red would read as an
error, so the red on these cards is the CTA and nothing else.
32px keeps the weight the old fa-2x icon carried in the layout. */
.box .second > i {
color: var(--nx-text);
font-size: 32px;
margin-bottom: var(--nx-space-1);
}
.box .second p.text-3xl {
font-family: var(--nx-font);
font-weight: var(--nx-fw-bold);
font-size: clamp(26px, 3vw, var(--nx-size-h2));
line-height: var(--nx-lh-heading);
letter-spacing: var(--nx-track-heading);
color: var(--nx-text);
max-width: 580px;
margin: 0;
}
/* The question's emphasis: a red signage underline rather than a
colour swap, so the heading stays navy and readable. */
.box .second p.text-3xl u {
text-decoration: underline;
text-decoration-color: var(--nx-red);
text-decoration-thickness: 2px;
text-underline-offset: 4px;
}
.box .second p.text-3xl.underline,
.box .second p.text-2xl,
.box .second p {
color: var(--nx-text);
}
/* =============================================================
Inputs — the one place a radius exists (2px)
============================================================= */
.box input[type="text"],
.box input[type="password"],
.box input:not([type="checkbox"]):not([type="radio"]) {
background: var(--nx-surface-page) !important;
color: var(--nx-text) !important;
border: 1px solid var(--nx-line-strong) !important;
border-radius: var(--nx-radius-input) !important;
padding: var(--nx-space-3) var(--nx-space-4) !important;
font-family: var(--nx-font);
font-size: 15px;
font-weight: var(--nx-fw-medium);
line-height: 1.4;
transition: border-color var(--nx-dur) var(--nx-ease),
background var(--nx-dur) var(--nx-ease);
outline: none;
width: 100%;
}
.box input::placeholder {
color: var(--nx-text-faint);
font-weight: var(--nx-fw-regular);
opacity: 1;
}
.box input:hover:not([type="checkbox"]) {
border-color: var(--nx-text) !important;
}
.box input:focus:not([type="checkbox"]) {
border-color: var(--nx-text) !important;
background: var(--nx-surface-card) !important;
box-shadow: inset 0 0 0 1px var(--nx-text);
}
.box label {
font-family: var(--nx-font);
font-size: var(--nx-size-small);
font-weight: var(--nx-fw-medium);
color: var(--nx-text-muted) !important;
line-height: var(--nx-lh-body);
}
/* Server names are technical → mono, per the system. */
.box label i {
font-family: var(--nx-font-mono);
font-style: normal;
font-size: 13px;
color: var(--nx-text);
}
/* =============================================================
Buttons — primary CTA is red, secondary is a ghost that fills
navy. Square, flat, no shadow. Hover must be obvious.
============================================================= */
.box button,
#consoleLogs button,
#bt-sync,
#bt-abort,
#toggleConsole,
#next1, #next2, #next3, #next4 {
appearance: none;
-webkit-appearance: none;
background: var(--nx-cta) !important;
color: var(--nx-card) !important;
border: 1px solid var(--nx-cta) !important;
border-radius: var(--nx-radius) !important;
padding: var(--nx-space-3) var(--nx-space-6) !important;
font-family: var(--nx-font) !important;
font-size: var(--nx-size-small) !important;
font-weight: var(--nx-fw-semi) !important;
line-height: 1 !important;
letter-spacing: 0;
cursor: pointer;
transition: background var(--nx-dur) var(--nx-ease),
border-color var(--nx-dur) var(--nx-ease),
color var(--nx-dur) var(--nx-ease);
width: auto !important;
height: auto !important;
box-shadow: none !important;
min-width: 120px;
text-align: center;
}
.box button:hover,
#consoleLogs button:hover,
#bt-sync:hover,
#bt-abort:hover,
#toggleConsole:hover,
#next1:hover, #next2:hover, #next3:hover, #next4:hover {
background: var(--nx-cta-hover) !important;
border-color: var(--nx-cta-hover) !important;
color: var(--nx-card) !important;
}
/* Press darkens rather than shrinks. */
.box button:active,
#bt-sync:active,
#bt-abort:active {
background: var(--nx-red-deep) !important;
border-color: var(--nx-red-deep) !important;
}
.box button:focus-visible,
#consoleLogs button:focus-visible {
outline: 2px solid var(--nx-text);
outline-offset: 2px;
}
#bt-sync {
padding: var(--nx-space-4) var(--nx-space-8) !important;
font-size: 15px !important;
}
/* Both of these live inside #consoleLogs, so they must out-specify
the `#consoleLogs button` primary rule above (1,0,1) — an id
alone (1,0,0) loses to it and they'd render as solid red CTAs. */
/* Stop migration — destructive, and red here reads as the system
intends it to on a product surface. */
#consoleLogs #bt-abort {
background: transparent !important;
color: var(--nx-red-text) !important;
border-color: var(--nx-red-text) !important;
}
#consoleLogs #bt-abort:hover {
background: var(--nx-red) !important;
border-color: var(--nx-red) !important;
color: var(--nx-card) !important;
}
/* Secondary ghost → fills navy. */
#consoleLogs #toggleConsole {
background: transparent !important;
color: var(--nx-text) !important;
border-color: var(--nx-line-strong) !important;
}
#consoleLogs #toggleConsole:hover {
background: var(--nx-text) !important;
border-color: var(--nx-text) !important;
color: var(--nx-surface-card) !important;
}
#modal-btn-ok {
background: var(--nx-cta) !important;
color: var(--nx-card) !important;
border: 1px solid var(--nx-cta) !important;
border-radius: var(--nx-radius) !important;
padding: var(--nx-space-3) var(--nx-space-6) !important;
font-family: var(--nx-font);
font-size: var(--nx-size-small);
font-weight: var(--nx-fw-semi);
cursor: pointer;
margin-top: var(--nx-space-4);
transition: background var(--nx-dur) var(--nx-ease);
}
#modal-btn-ok:hover {
background: var(--nx-cta-hover) !important;
border-color: var(--nx-cta-hover) !important;
}
/* =============================================================
Yes / No choice tiles — the Card component: hairline surface,
square, no resting shadow, and the system's ONE elevation on
hover (red border + 8px lift).
============================================================= */
#yesMail, #noMail, #yesPass, #noPass {
background: var(--nx-surface-card) !important;
border: 1px solid var(--nx-line) !important;
border-radius: var(--nx-radius) !important;
padding: var(--nx-space-6) !important;
transition: border-color var(--nx-dur) var(--nx-ease),
transform 260ms var(--nx-ease-move),
box-shadow 260ms var(--nx-ease-move);
cursor: pointer;
}
#yesMail:hover, #yesPass:hover,
#noMail:hover, #noPass:hover {
border-color: var(--nx-red) !important;
transform: translateY(-8px);
box-shadow: var(--nx-shadow-card-hover);
}
/* Both navy: these are a choice, not a status, and the system
forbids green and red as a co-equal pair. The glyph and the
label carry the difference. */
#yesMail .icon-check, #yesPass .icon-check,
#noMail .icon-xmark, #noPass .icon-xmark,
.icon-check, .icon-xmark {
color: var(--nx-text);
font-size: 32px;
}
#yesMail p.text-3xl, #yesPass p.text-3xl,
#noMail p.text-3xl, #noPass p.text-3xl {
font-family: var(--nx-font);
font-weight: var(--nx-fw-bold);
font-size: 21px;
text-decoration: none !important;
color: var(--nx-text) !important;
letter-spacing: var(--nx-track-heading);
margin: 0;
}
#yesMail p.text-2xl, #yesPass p.text-2xl,
#noMail p.text-2xl, #noPass p.text-2xl {
font-family: var(--nx-font);
font-size: var(--nx-size-small);
font-weight: var(--nx-fw-regular);
color: var(--nx-text-muted) !important;
line-height: var(--nx-lh-body);
margin: 0;
text-align: center;
}
/* =============================================================
Confirm page — OLD/NEW chips
============================================================= */
/* Badge (solid): mono, uppercase, 2px radius. */
.old-new {
color: var(--nx-card) !important;
background: var(--nx-navy) !important;
border-radius: var(--nx-radius-input) !important;
font-family: var(--nx-font-mono) !important;
font-size: 11px !important;
font-weight: var(--nx-fw-semi) !important;
letter-spacing: var(--nx-track-chip) !important;
text-transform: uppercase;
height: 24px !important;
width: auto !important;
padding: 0 10px !important;
line-height: 1 !important;
}
[data-theme="dark"] .old-new {
background: var(--nx-on-dark) !important;
color: var(--nx-navy) !important;
}
/* Server names → mono. */
#migrationText {
font-family: var(--nx-font-mono);
font-style: normal !important;
font-size: 13px;
color: var(--nx-text-muted) !important;
margin-top: var(--nx-space-3) !important;
}
#oldM, #newM {
font-family: var(--nx-font-mono);
font-size: 13px;
font-weight: var(--nx-fw-medium);
color: var(--nx-text);
}
/* =============================================================
Console / log — a full-bleed navy signage panel
============================================================= */
.progress-head {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: var(--nx-space-2) var(--nx-space-6);
flex-wrap: wrap;
width: 100%;
}
.progress-head-main {
display: flex;
align-items: baseline;
gap: var(--nx-space-3);
flex-wrap: wrap;
}
/* A figure → mono, departure-board style. */
.progress-percent {
font-family: var(--nx-font-mono);
font-weight: var(--nx-fw-bold);
font-size: var(--nx-size-h2);
line-height: 1;
letter-spacing: var(--nx-track-heading);
color: var(--nx-text);
font-variant-numeric: tabular-nums;
}
.progress-eta {
font-family: var(--nx-font);
font-style: normal;
font-weight: var(--nx-fw-medium);
font-size: 17px;
color: var(--nx-text-muted);
}
.progress-msgs {
font-family: var(--nx-font-mono);
font-size: 13px;
color: var(--nx-text-muted);
white-space: nowrap;
}
/* Indeterminate bar until imapsync emits the first ETA line */
#progress-bar-done.indeterminate {
width: 30% !important;
animation: nox-indet 1.15s var(--nx-ease-move) infinite;
}
@keyframes nox-indet {
0% { margin-left: -32%; }
100% { margin-left: 102%; }
}
/* Tabbed consoles. The ID-scoped selectors are needed to beat the
higher-specificity `#consoleLogs button` primary rule; the active
tab shares the panel colour so it reads as one connected folder. */
.console-area { width: 100%; }
#consoleLogs .tabs {
display: flex;
gap: 2px;
flex-wrap: wrap;
margin: 0;
padding: 0;
}
#consoleLogs .tabs .tab {
appearance: none;
-webkit-appearance: none;
background: var(--nox-console-tab) !important;
color: var(--nox-tab-label) !important;
border: 1px solid var(--nx-line-dark) !important;
border-bottom: none !important;
border-radius: var(--nx-radius) !important;
padding: 10px var(--nx-space-4) !important;
margin: 0 !important;
font-family: var(--nx-font-mono) !important;
font-size: 11px !important;
font-weight: var(--nx-fw-medium) !important;
letter-spacing: var(--nx-track-chip);
text-transform: uppercase;
line-height: 1 !important;
min-width: 0 !important;
box-shadow: none !important;
cursor: pointer;
position: relative;
z-index: 0;
transition: background var(--nx-dur) var(--nx-ease),
color var(--nx-dur) var(--nx-ease);
}
#consoleLogs .tabs .tab:hover {
background: var(--nox-console) !important;
color: var(--nx-on-dark) !important;
border-color: var(--nx-line-dark) !important;
}
#consoleLogs .tabs .tab.tab-active {
background: var(--nox-console) !important; /* matches the panel below = connected */
color: var(--nx-on-dark) !important;
z-index: 2;
}
.tab-panel {
background: var(--nox-console) !important;
color: var(--nx-on-dark) !important;
border: 1px solid var(--nx-line-dark) !important;
border-radius: var(--nx-radius) !important;
width: 100% !important;
height: 280px !important;
overflow: auto;
margin-top: -1px; /* tuck under the tab row so the active tab joins it */
padding: var(--nx-space-4) !important;
font-family: var(--nx-font-mono);
font-size: 12px;
line-height: 1.7;
position: relative;
z-index: 1;
}
#abort, #console, #output {
color: var(--nx-on-dark);
white-space: pre-wrap;
word-break: break-word;
}
/* Live warning during a run — the destination's storage limit, the one
thing the customer can still fix while the copy is going. Degraded,
not down, so it takes amber and leaves red for a failed migration. */
.run-alert {
display: flex;
align-items: flex-start;
gap: 8px;
margin: 0;
padding: var(--nx-space-3);
border: 1px solid var(--nx-status-degraded);
color: var(--nx-text);
font-family: var(--nx-font);
font-size: 14px;
line-height: var(--nx-lh-body);
text-align: left;
}
.run-alert i { color: var(--nx-status-degraded); margin-top: 2px; }
/* Amber lifted off navy, same treatment the red text gets in dark mode. */
[data-theme="dark"] .run-alert { border-color: #E0A82E; }
[data-theme="dark"] .run-alert i,
[data-theme="dark"] .sync-done-icon.warned { color: #E0A82E; }
/* Completion panel (shown when the sync finishes). JS sets its
display — don't declare it here. */
.sync-done {
flex-direction: column;
align-items: center;
text-align: center;
gap: 10px;
padding: var(--nx-space-2) var(--nx-space-2) var(--nx-space-1);
}
/* A real status, and never beside its opposite → green/red hold. */
.sync-done-icon { color: var(--nx-status-ok); font-size: 40px; }
.sync-done-icon.stopped { color: var(--nx-red-text); }
/* Half-copied is degraded, not down — amber, and red stays meaningful. */
.sync-done-icon.warned { color: var(--nx-status-degraded); }
.sync-done-title {
font-family: var(--nx-font);
font-weight: var(--nx-fw-bold);
font-size: var(--nx-size-h3);
letter-spacing: var(--nx-track-heading);
color: var(--nx-text);
margin: 0;
}
.sync-done-sub {
font-family: var(--nx-font);
font-size: 15px;
color: var(--nx-text-muted);
margin: 0;
max-width: 520px;
}
.sync-done .btn-row { margin-top: var(--nx-space-2); }
.sync-done-hint {
font-family: var(--nx-font);
font-size: 13px;
color: var(--nx-text-faint);
margin: var(--nx-space-1) 0 0;
max-width: 520px;
line-height: var(--nx-lh-body);
}
/* No italic — emphasis is weight and colour. */
.sync-done-hint em {
font-style: normal;
font-weight: var(--nx-fw-semi);
color: var(--nx-text-muted);
}
#consoleLogs {
background: var(--nx-surface-card) !important;
border: 1px solid var(--nx-line) !important;
border-top: var(--nx-bar) solid var(--nx-navy) !important;
border-radius: var(--nx-radius) !important;
width: 800px !important;
max-width: 100%;
margin: auto !important; /* center vertically in the leftover space too */
padding: var(--nx-space-8) !important;
gap: var(--nx-space-6) !important;
}
[data-theme="dark"] #consoleLogs { border-top-color: var(--nx-on-dark) !important; }
#consoleLogs > .w-full {
background: var(--nx-line) !important;
border-radius: var(--nx-radius) !important;
height: 6px !important;
overflow: hidden;
}
/* Navy, not red: a running migration is not an error. */
#progress-bar-done {
background: var(--nx-text) !important;
height: 6px !important;
border-radius: var(--nx-radius) !important;
transition: width 320ms var(--nx-ease-move);
}
/* =============================================================
Modal
============================================================= */
.modal {
position: fixed;
inset: 0;
z-index: 1000;
align-items: center;
justify-content: center;
padding: var(--nx-space-6);
/* Navy scrim, no blur — the system has no glass. */
background: rgba(22,38,71,0.72) !important;
overflow-y: auto;
}
.modal-content {
background: var(--nx-surface-card) !important;
color: var(--nx-text) !important;
border: 1px solid var(--nx-line) !important;
border-top: var(--nx-bar) solid var(--nx-navy) !important;
border-radius: var(--nx-radius) !important;
padding: var(--nx-space-8) !important;
max-width: 540px !important;
width: 92%;
box-shadow: none;
text-align: left;
}
[data-theme="dark"] .modal-content { border-top-color: var(--nx-on-dark) !important; }
.modal-content h2 {
font-family: var(--nx-font);
font-size: var(--nx-size-h3);
font-weight: var(--nx-fw-bold);
color: var(--nx-text);
letter-spacing: var(--nx-track-heading);
margin: 0 0 10px !important;
line-height: 1.2;
}
.modal-content p {
font-family: var(--nx-font);
font-size: 15px;
line-height: var(--nx-lh-body);
color: var(--nx-text-muted);
margin: 0 0 var(--nx-space-4) !important;
}
.modal-steps {
list-style: decimal;
margin: 0 0 var(--nx-space-6) !important;
padding: 0 0 0 22px !important;
color: var(--nx-text-muted);
font-size: var(--nx-size-small);
line-height: var(--nx-lh-body);
}
.modal-steps li {
margin: 0 0 var(--nx-space-2);
padding-left: var(--nx-space-1);
}
.modal-steps li::marker {
color: var(--nx-red-text);
font-family: var(--nx-font-mono);
font-weight: var(--nx-fw-semi);
font-size: 12px;
}
.modal-actions {
display: flex;
flex-wrap: wrap;
gap: var(--nx-space-2) var(--nx-space-4);
margin: 0 0 var(--nx-space-6);
}
.modal-content a,
.modal-link {
color: var(--nx-text);
font-family: var(--nx-font);
font-size: 13px;
font-weight: var(--nx-fw-semi);
text-decoration: underline;
text-underline-offset: 3px;
text-decoration-thickness: 1px;
}
.modal-content a:hover,
.modal-link:hover { color: var(--nx-red-text); }
.modal-link-muted {
color: var(--nx-text-muted) !important;
font-weight: var(--nx-fw-medium) !important;
text-decoration-color: var(--nx-line-strong) !important;
}
.modal-link-muted:hover { color: var(--nx-red-text) !important; }
.modal-content #modal-btn-ok {
margin-top: var(--nx-space-1) !important;
width: 100%;
}
/* =============================================================
Congrats page
============================================================= */