@moonbase.sh/electron 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui/ui.css ADDED
@@ -0,0 +1,1241 @@
1
+ /* The activation UI, from the "Solstice Activation" design, as the module's own
2
+ window and as an overlay over one of the app's windows. The accent is the one
3
+ brand colour; everything else is the design's palette. The same stylesheet as
4
+ tauri-plugin-moonbase's: keep the two in step. */
5
+
6
+ .mb-root {
7
+ --accent: #186cdc;
8
+ --panel-top: #0d121c;
9
+ --panel-mid: #080b13;
10
+ --panel-bottom: #06090f;
11
+ --text-primary: #f5f8fb;
12
+ --text-body: #cdd8e6;
13
+ --text-bright: #9fb3cc;
14
+ --text-secondary: #768aa4;
15
+ --text-muted: #5a6b82;
16
+ --card: rgba(255, 255, 255, 0.025);
17
+ --card-border: rgba(255, 255, 255, 0.07);
18
+ --ghost: rgba(255, 255, 255, 0.04);
19
+ --ghost-border: rgba(255, 255, 255, 0.13);
20
+ --ghost-hover: rgba(255, 255, 255, 0.08);
21
+ --link: #6aa8ff;
22
+ --link-hover: #9cc6ff;
23
+ --glow: #82cef1;
24
+ --success: #34d27b;
25
+ --trial: #eab308;
26
+ --trial-bright: #f5c542;
27
+ --error: #f08a8a;
28
+ --error-strong: #dc5050;
29
+ --error-deep: #b9444c;
30
+ --warning-text: #f59e8b;
31
+ --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
32
+ --mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
33
+ --ease: cubic-bezier(0.22, 1, 0.36, 1);
34
+ color-scheme: dark;
35
+ font-family: var(--sans);
36
+ color: var(--text-primary);
37
+ -webkit-font-smoothing: antialiased;
38
+ -webkit-user-select: none;
39
+ user-select: none;
40
+ cursor: default;
41
+ text-align: left;
42
+ line-height: normal;
43
+ }
44
+
45
+ * {
46
+ box-sizing: border-box;
47
+ }
48
+
49
+ html,
50
+ body {
51
+ margin: 0;
52
+ background: #080b13;
53
+ overflow: hidden;
54
+ }
55
+
56
+ body {
57
+ background: linear-gradient(165deg, #0d121c 0%, #080b13 58%, #06090f 100%);
58
+ }
59
+
60
+ button {
61
+ font-family: inherit;
62
+ color: inherit;
63
+ }
64
+
65
+ /* Room for the macOS traffic lights, which sit over the content, and where the
66
+ window is dragged from. */
67
+ .drag {
68
+ position: fixed;
69
+ inset: 0 0 auto 0;
70
+ height: 30px;
71
+ z-index: 5;
72
+ -webkit-app-region: drag;
73
+ }
74
+
75
+ /* The overlay's page lies over the app's window, which shows through it. */
76
+ html.overlay,
77
+ html.overlay body {
78
+ background: transparent;
79
+ }
80
+
81
+ /* The signature top-edge glow, in Moonbase blue whatever the accent. */
82
+ .glow,
83
+ .mb-glow {
84
+ position: fixed;
85
+ top: 0;
86
+ left: 18%;
87
+ right: 18%;
88
+ height: 1px;
89
+ border-radius: 9999px;
90
+ background: linear-gradient(90deg, rgba(24, 108, 220, 0) 0%, rgba(24, 108, 220, 0.9) 30%, rgba(130, 206, 241, 1) 50%, rgba(24, 108, 220, 0.9) 70%, rgba(24, 108, 220, 0) 100%);
91
+ animation: mb-glow-breathe 5s ease-in-out infinite;
92
+ z-index: 3;
93
+ }
94
+
95
+ .glow-bloom,
96
+ .mb-bloom {
97
+ position: fixed;
98
+ top: -40px;
99
+ left: 30%;
100
+ right: 30%;
101
+ height: 90px;
102
+ filter: blur(34px);
103
+ background: radial-gradient(50% 60% at 50% 0%, rgba(24, 108, 220, 0.55) 0, rgba(24, 108, 220, 0) 75%);
104
+ pointer-events: none;
105
+ }
106
+
107
+ .panel {
108
+ position: relative;
109
+ padding: 38px 44px 26px;
110
+ }
111
+
112
+ .mac .panel {
113
+ padding-top: 46px;
114
+ }
115
+
116
+ .screen {
117
+ animation: mb-fade-up 0.4s var(--ease);
118
+ }
119
+
120
+ .center {
121
+ text-align: center;
122
+ }
123
+
124
+ h1 {
125
+ margin: 0 0 8px;
126
+ font-size: 24px;
127
+ line-height: 1.2;
128
+ font-weight: 600;
129
+ color: var(--text-primary);
130
+ letter-spacing: -0.015em;
131
+ }
132
+
133
+ h1.large {
134
+ font-size: 27px;
135
+ }
136
+
137
+ p {
138
+ margin: 0;
139
+ font-size: 14px;
140
+ line-height: 1.55;
141
+ color: var(--text-secondary);
142
+ }
143
+
144
+ .em {
145
+ color: var(--text-bright);
146
+ }
147
+
148
+ .mono {
149
+ font-family: var(--mono);
150
+ }
151
+
152
+ /* -- Overlay ---------------------------------------------------------------- */
153
+
154
+ .mb-scrim {
155
+ position: fixed;
156
+ inset: 0;
157
+ display: flex;
158
+ overflow: auto;
159
+ padding: 32px 24px;
160
+ background: rgba(4, 6, 11, 0.62);
161
+ -webkit-backdrop-filter: blur(12px) saturate(0.8);
162
+ backdrop-filter: blur(12px) saturate(0.8);
163
+ animation: mb-fade 0.25s ease;
164
+ }
165
+
166
+ .mb-frame {
167
+ position: relative;
168
+ width: 660px;
169
+ max-width: 100%;
170
+ margin: auto;
171
+ animation: mb-rise 0.35s var(--ease, ease);
172
+ }
173
+
174
+ .mb-frame .mb-glow {
175
+ position: absolute;
176
+ top: -1px;
177
+ }
178
+
179
+ .mb-frame .mb-bloom {
180
+ position: absolute;
181
+ }
182
+
183
+ .mb-card {
184
+ position: relative;
185
+ border-radius: 16px;
186
+ border: 1px solid rgba(255, 255, 255, 0.08);
187
+ background: linear-gradient(165deg, #0d121c 0%, #080b13 58%, #06090f 100%);
188
+ box-shadow: 0 40px 120px -24px rgba(0, 0, 0, 0.85), 0 8px 30px -8px rgba(0, 0, 0, 0.6);
189
+ overflow: hidden;
190
+ }
191
+
192
+ .mb-close {
193
+ position: absolute;
194
+ top: 14px;
195
+ right: 14px;
196
+ z-index: 4;
197
+ width: 32px;
198
+ height: 32px;
199
+ display: flex;
200
+ align-items: center;
201
+ justify-content: center;
202
+ border: none;
203
+ border-radius: 8px;
204
+ background: transparent;
205
+ color: var(--text-secondary);
206
+ cursor: pointer;
207
+ transition: background 150ms ease, color 150ms ease;
208
+ }
209
+
210
+ .mb-close:hover {
211
+ background: rgba(255, 255, 255, 0.06);
212
+ color: var(--text-bright);
213
+ }
214
+
215
+ .mb-close[hidden] {
216
+ display: none;
217
+ }
218
+
219
+ /* -- Lockup ----------------------------------------------------------------- */
220
+
221
+ .lockup {
222
+ display: flex;
223
+ align-items: center;
224
+ gap: 13px;
225
+ }
226
+
227
+ .lockup .mark {
228
+ flex: none;
229
+ display: block;
230
+ width: 34px;
231
+ height: 34px;
232
+ object-fit: contain;
233
+ }
234
+
235
+ .lockup.large .mark {
236
+ width: 38px;
237
+ height: 38px;
238
+ }
239
+
240
+ .lockup .name {
241
+ font-size: 15px;
242
+ font-weight: 600;
243
+ color: var(--text-primary);
244
+ letter-spacing: -0.01em;
245
+ }
246
+
247
+ .lockup.large .name {
248
+ font-size: 17px;
249
+ }
250
+
251
+ .lockup .maker {
252
+ font-size: 11px;
253
+ color: var(--text-secondary);
254
+ letter-spacing: 0.04em;
255
+ }
256
+
257
+ .lockup.dim .mark {
258
+ opacity: 0.55;
259
+ filter: grayscale(1);
260
+ }
261
+
262
+ .header {
263
+ display: flex;
264
+ align-items: center;
265
+ justify-content: space-between;
266
+ gap: 12px;
267
+ margin-bottom: 26px;
268
+ }
269
+
270
+ /* -- Buttons ---------------------------------------------------------------- */
271
+
272
+ .btn {
273
+ display: flex;
274
+ align-items: center;
275
+ justify-content: center;
276
+ gap: 8px;
277
+ width: 100%;
278
+ height: 46px;
279
+ border-radius: 9px;
280
+ font-size: 14px;
281
+ font-weight: 600;
282
+ cursor: pointer;
283
+ transition: filter 150ms ease, background 150ms ease;
284
+ }
285
+
286
+ .btn.primary {
287
+ border: none;
288
+ background: var(--accent);
289
+ color: #fff;
290
+ box-shadow: 0 6px 20px -6px var(--accent);
291
+ }
292
+
293
+ .btn.primary:hover {
294
+ filter: brightness(1.1);
295
+ }
296
+
297
+ .btn.ghost {
298
+ border: 1px solid var(--ghost-border);
299
+ background: var(--ghost);
300
+ color: var(--text-primary);
301
+ font-weight: 500;
302
+ }
303
+
304
+ .btn.ghost:hover {
305
+ background: var(--ghost-hover);
306
+ }
307
+
308
+ .btn:disabled {
309
+ cursor: default;
310
+ filter: none;
311
+ opacity: 0.7;
312
+ }
313
+
314
+ .btn.short {
315
+ height: 44px;
316
+ }
317
+
318
+ .stack {
319
+ display: flex;
320
+ flex-direction: column;
321
+ gap: 12px;
322
+ max-width: 340px;
323
+ }
324
+
325
+ .narrow {
326
+ max-width: 320px;
327
+ margin: 0 auto;
328
+ }
329
+
330
+ .text-button {
331
+ padding: 0;
332
+ border: none;
333
+ background: none;
334
+ color: var(--text-secondary);
335
+ font-size: 12.5px;
336
+ cursor: pointer;
337
+ display: inline-flex;
338
+ align-items: center;
339
+ gap: 6px;
340
+ transition: color 150ms ease;
341
+ }
342
+
343
+ .text-button:hover {
344
+ color: var(--text-bright);
345
+ }
346
+
347
+ .text-button.link {
348
+ color: var(--link);
349
+ }
350
+
351
+ .text-button.link:hover {
352
+ color: var(--link-hover);
353
+ }
354
+
355
+ .links {
356
+ display: flex;
357
+ align-items: center;
358
+ justify-content: center;
359
+ gap: 18px;
360
+ margin-top: 14px;
361
+ }
362
+
363
+ .back {
364
+ margin-bottom: 20px;
365
+ }
366
+
367
+ /* -- Pills ------------------------------------------------------------------ */
368
+
369
+ .pill {
370
+ display: inline-flex;
371
+ align-items: center;
372
+ gap: 6px;
373
+ padding: 4px 11px;
374
+ border-radius: 9999px;
375
+ font-size: 11px;
376
+ font-weight: 600;
377
+ white-space: nowrap;
378
+ }
379
+
380
+ .pill .dot {
381
+ width: 6px;
382
+ height: 6px;
383
+ border-radius: 50%;
384
+ background: currentColor;
385
+ }
386
+
387
+ .pill.trial {
388
+ font-size: 10.5px;
389
+ font-weight: 700;
390
+ letter-spacing: 0.08em;
391
+ text-transform: uppercase;
392
+ color: #131519;
393
+ background: var(--trial);
394
+ padding: 4px 10px;
395
+ }
396
+
397
+ .pill.expired {
398
+ font-size: 10.5px;
399
+ font-weight: 700;
400
+ letter-spacing: 0.08em;
401
+ text-transform: uppercase;
402
+ color: var(--error);
403
+ background: rgba(220, 80, 80, 0.12);
404
+ border: 1px solid rgba(220, 80, 80, 0.32);
405
+ }
406
+
407
+ .pill.upgrade {
408
+ font-size: 10.5px;
409
+ font-weight: 700;
410
+ letter-spacing: 0.08em;
411
+ text-transform: uppercase;
412
+ color: var(--trial-bright);
413
+ background: rgba(234, 179, 8, 0.12);
414
+ border: 1px solid rgba(234, 179, 8, 0.32);
415
+ }
416
+
417
+ .pill.active {
418
+ color: var(--success);
419
+ background: rgba(22, 163, 74, 0.12);
420
+ border: 1px solid rgba(22, 163, 74, 0.3);
421
+ }
422
+
423
+ .pill.update {
424
+ color: var(--text-primary);
425
+ background: color-mix(in srgb, var(--accent) 16%, transparent);
426
+ border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
427
+ font-size: 11.5px;
428
+ letter-spacing: 0.02em;
429
+ padding: 5px 11px;
430
+ }
431
+
432
+ button.pill {
433
+ cursor: pointer;
434
+ font-family: inherit;
435
+ }
436
+
437
+ .pills {
438
+ display: flex;
439
+ gap: 8px;
440
+ }
441
+
442
+ /* -- Cards ------------------------------------------------------------------ */
443
+
444
+ .card {
445
+ border: 1px solid var(--card-border);
446
+ border-radius: 12px;
447
+ background: var(--card);
448
+ }
449
+
450
+ .rows {
451
+ overflow: hidden;
452
+ margin-bottom: 18px;
453
+ }
454
+
455
+ .row {
456
+ display: flex;
457
+ justify-content: space-between;
458
+ align-items: center;
459
+ gap: 16px;
460
+ padding: 13px 16px;
461
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05);
462
+ }
463
+
464
+ .row:last-child {
465
+ border-bottom: none;
466
+ }
467
+
468
+ .row .label {
469
+ flex: none;
470
+ font-size: 12.5px;
471
+ color: var(--text-secondary);
472
+ }
473
+
474
+ .row .value {
475
+ font-size: 13px;
476
+ color: var(--text-primary);
477
+ font-weight: 500;
478
+ text-align: right;
479
+ min-width: 0;
480
+ overflow: hidden;
481
+ text-overflow: ellipsis;
482
+ white-space: nowrap;
483
+ }
484
+
485
+ .row .value.soft {
486
+ color: var(--text-body);
487
+ font-weight: 400;
488
+ }
489
+
490
+ .row.id {
491
+ padding: 11px 12px 11px 16px;
492
+ }
493
+
494
+ .row .copy-group {
495
+ display: flex;
496
+ align-items: center;
497
+ gap: 8px;
498
+ min-width: 0;
499
+ }
500
+
501
+ .license-id {
502
+ font-size: 12.5px;
503
+ color: var(--glow);
504
+ font-family: var(--mono);
505
+ overflow: hidden;
506
+ text-overflow: ellipsis;
507
+ white-space: nowrap;
508
+ }
509
+
510
+ .small-button {
511
+ flex: none;
512
+ display: inline-flex;
513
+ align-items: center;
514
+ gap: 5px;
515
+ height: 30px;
516
+ padding: 0 10px;
517
+ border-radius: 7px;
518
+ border: 1px solid var(--ghost-border);
519
+ background: var(--ghost);
520
+ color: var(--text-body);
521
+ font-size: 11.5px;
522
+ font-weight: 500;
523
+ cursor: pointer;
524
+ transition: background 150ms ease;
525
+ }
526
+
527
+ .small-button:hover {
528
+ background: rgba(255, 255, 255, 0.09);
529
+ }
530
+
531
+ .mini {
532
+ text-align: left;
533
+ max-width: 380px;
534
+ margin: 0 auto 26px;
535
+ padding: 16px 18px;
536
+ }
537
+
538
+ .mini .row {
539
+ padding: 12px 0;
540
+ }
541
+
542
+ .mini .row:first-child {
543
+ padding-top: 0;
544
+ }
545
+
546
+ .mini .row:last-child {
547
+ padding-bottom: 0;
548
+ }
549
+
550
+ .seats {
551
+ display: flex;
552
+ align-items: center;
553
+ justify-content: space-between;
554
+ gap: 14px;
555
+ padding: 13px 16px;
556
+ margin-bottom: 22px;
557
+ }
558
+
559
+ .seats .title {
560
+ font-size: 12.5px;
561
+ color: var(--text-bright);
562
+ font-weight: 500;
563
+ }
564
+
565
+ .seats .pips {
566
+ display: flex;
567
+ gap: 6px;
568
+ margin-top: 7px;
569
+ }
570
+
571
+ .seats .pip {
572
+ width: 34px;
573
+ height: 6px;
574
+ border-radius: 9999px;
575
+ background: rgba(255, 255, 255, 0.1);
576
+ }
577
+
578
+ .seats .pip.used {
579
+ background: var(--accent);
580
+ }
581
+
582
+ .danger-button {
583
+ flex: none;
584
+ display: inline-flex;
585
+ align-items: center;
586
+ gap: 7px;
587
+ padding: 8px 12px;
588
+ border: 1px solid rgba(220, 80, 80, 0.3);
589
+ border-radius: 8px;
590
+ background: rgba(220, 80, 80, 0.08);
591
+ color: var(--error);
592
+ font-size: 12px;
593
+ font-weight: 500;
594
+ cursor: pointer;
595
+ transition: background 150ms ease;
596
+ }
597
+
598
+ .danger-button:hover {
599
+ background: rgba(220, 80, 80, 0.16);
600
+ }
601
+
602
+ .danger-button:disabled {
603
+ cursor: default;
604
+ opacity: 0.75;
605
+ }
606
+
607
+ .nav-card {
608
+ width: 100%;
609
+ display: flex;
610
+ align-items: center;
611
+ gap: 13px;
612
+ padding: 14px 16px;
613
+ cursor: pointer;
614
+ text-align: left;
615
+ transition: background 150ms ease;
616
+ }
617
+
618
+ .nav-card:hover {
619
+ background: rgba(255, 255, 255, 0.05);
620
+ }
621
+
622
+ .nav-card .grow,
623
+ .file .grow {
624
+ flex: 1;
625
+ min-width: 0;
626
+ }
627
+
628
+ .nav-card .title,
629
+ .file .title {
630
+ display: block;
631
+ font-size: 13px;
632
+ font-weight: 500;
633
+ color: var(--text-primary);
634
+ }
635
+
636
+ .nav-card .sub,
637
+ .file .sub {
638
+ display: block;
639
+ font-size: 11.5px;
640
+ color: var(--text-secondary);
641
+ margin-top: 2px;
642
+ }
643
+
644
+ /* -- Progress --------------------------------------------------------------- */
645
+
646
+ .bar {
647
+ height: 6px;
648
+ border-radius: 9999px;
649
+ background: rgba(255, 255, 255, 0.07);
650
+ overflow: hidden;
651
+ margin: 14px 0 24px;
652
+ }
653
+
654
+ .bar > div {
655
+ height: 100%;
656
+ border-radius: 9999px;
657
+ background: linear-gradient(90deg, var(--trial), var(--trial-bright));
658
+ transition: width 300ms var(--ease);
659
+ }
660
+
661
+ .bar.expired > div {
662
+ background: linear-gradient(90deg, var(--error-deep), var(--error-strong));
663
+ }
664
+
665
+ .bar.accent > div {
666
+ background: var(--accent);
667
+ }
668
+
669
+ /* -- Lists ------------------------------------------------------------------ */
670
+
671
+ .features {
672
+ display: flex;
673
+ flex-direction: column;
674
+ gap: 11px;
675
+ margin-bottom: 26px;
676
+ }
677
+
678
+ .feature {
679
+ display: flex;
680
+ align-items: center;
681
+ gap: 10px;
682
+ font-size: 13px;
683
+ color: var(--text-body);
684
+ }
685
+
686
+ .feature.excluded {
687
+ color: var(--text-muted);
688
+ }
689
+
690
+ .notes {
691
+ padding: 16px 18px;
692
+ margin-bottom: 22px;
693
+ }
694
+
695
+ .notes .heading {
696
+ font-size: 11px;
697
+ font-weight: 600;
698
+ letter-spacing: 0.08em;
699
+ text-transform: uppercase;
700
+ color: var(--text-secondary);
701
+ margin-bottom: 12px;
702
+ }
703
+
704
+ .notes .items {
705
+ display: flex;
706
+ flex-direction: column;
707
+ gap: 10px;
708
+ max-height: 190px;
709
+ overflow: auto;
710
+ }
711
+
712
+ .note {
713
+ display: flex;
714
+ gap: 10px;
715
+ font-size: 13px;
716
+ line-height: 1.45;
717
+ color: var(--text-body);
718
+ -webkit-user-select: text;
719
+ user-select: text;
720
+ }
721
+
722
+ .note svg {
723
+ flex: none;
724
+ margin-top: 1px;
725
+ }
726
+
727
+ /* -- Notices ---------------------------------------------------------------- */
728
+
729
+ .notice {
730
+ display: flex;
731
+ align-items: flex-start;
732
+ gap: 10px;
733
+ padding: 13px 15px;
734
+ margin-bottom: 24px;
735
+ border-radius: 10px;
736
+ background: rgba(220, 80, 80, 0.07);
737
+ border: 1px solid rgba(220, 80, 80, 0.22);
738
+ font-size: 13px;
739
+ line-height: 1.5;
740
+ color: var(--text-body);
741
+ }
742
+
743
+ .notice.upgrade {
744
+ background: rgba(234, 179, 8, 0.07);
745
+ border-color: rgba(234, 179, 8, 0.22);
746
+ }
747
+
748
+ .notice svg {
749
+ flex: none;
750
+ margin-top: 1px;
751
+ }
752
+
753
+ .error {
754
+ display: flex;
755
+ align-items: flex-start;
756
+ gap: 7px;
757
+ margin-top: 14px;
758
+ color: var(--warning-text);
759
+ font-size: 12.5px;
760
+ line-height: 1.45;
761
+ text-align: left;
762
+ -webkit-user-select: text;
763
+ user-select: text;
764
+ }
765
+
766
+ .error svg {
767
+ flex: none;
768
+ margin-top: 1px;
769
+ }
770
+
771
+ .center .error {
772
+ justify-content: center;
773
+ }
774
+
775
+ /* -- Activating ------------------------------------------------------------- */
776
+
777
+ .spinner {
778
+ position: relative;
779
+ width: 74px;
780
+ height: 74px;
781
+ margin: 8px auto 24px;
782
+ }
783
+
784
+ .spinner::before {
785
+ content: "";
786
+ position: absolute;
787
+ inset: 0;
788
+ border-radius: 50%;
789
+ background: radial-gradient(circle, rgba(24, 108, 220, 0.4) 0%, rgba(24, 108, 220, 0) 70%);
790
+ filter: blur(6px);
791
+ }
792
+
793
+ .spinner svg {
794
+ position: relative;
795
+ animation: mb-spin 1.1s linear infinite;
796
+ }
797
+
798
+ .spinner.small {
799
+ width: 46px;
800
+ height: 46px;
801
+ margin: 18px auto 18px;
802
+ }
803
+
804
+ .chip {
805
+ display: inline-flex;
806
+ align-items: center;
807
+ gap: 9px;
808
+ padding: 8px 14px;
809
+ border-radius: 9999px;
810
+ background: rgba(255, 255, 255, 0.04);
811
+ border: 1px solid rgba(255, 255, 255, 0.09);
812
+ margin-bottom: 26px;
813
+ font-size: 12.5px;
814
+ color: var(--text-bright);
815
+ font-family: var(--mono);
816
+ max-width: 100%;
817
+ }
818
+
819
+ .chip span {
820
+ overflow: hidden;
821
+ text-overflow: ellipsis;
822
+ white-space: nowrap;
823
+ }
824
+
825
+ /* -- Success ---------------------------------------------------------------- */
826
+
827
+ .check {
828
+ width: 66px;
829
+ height: 66px;
830
+ margin: 6px auto 22px;
831
+ border-radius: 50%;
832
+ background: rgba(22, 163, 74, 0.14);
833
+ border: 1px solid rgba(22, 163, 74, 0.35);
834
+ display: flex;
835
+ align-items: center;
836
+ justify-content: center;
837
+ animation: mb-pop 0.5s var(--ease);
838
+ }
839
+
840
+ .check path {
841
+ stroke-dasharray: 30;
842
+ stroke-dashoffset: 30;
843
+ animation: mb-dash 0.5s 0.2s ease forwards;
844
+ }
845
+
846
+ /* -- Offline ---------------------------------------------------------------- */
847
+
848
+ .step {
849
+ display: flex;
850
+ align-items: center;
851
+ gap: 10px;
852
+ margin-bottom: 11px;
853
+ }
854
+
855
+ .step .n {
856
+ display: flex;
857
+ align-items: center;
858
+ justify-content: center;
859
+ width: 20px;
860
+ height: 20px;
861
+ border-radius: 50%;
862
+ background: var(--accent);
863
+ color: #fff;
864
+ font-size: 11px;
865
+ font-weight: 700;
866
+ }
867
+
868
+ .step .label {
869
+ font-size: 12.5px;
870
+ font-weight: 500;
871
+ color: var(--text-bright);
872
+ }
873
+
874
+ .file {
875
+ width: 100%;
876
+ display: flex;
877
+ align-items: center;
878
+ gap: 12px;
879
+ padding: 13px 15px;
880
+ margin-bottom: 22px;
881
+ border-radius: 9px;
882
+ border: 1px solid rgba(255, 255, 255, 0.12);
883
+ background: var(--ghost);
884
+ cursor: pointer;
885
+ text-align: left;
886
+ transition: background 150ms ease;
887
+ }
888
+
889
+ .file:hover {
890
+ background: var(--ghost-hover);
891
+ }
892
+
893
+ .file .title {
894
+ font-family: var(--mono);
895
+ overflow: hidden;
896
+ text-overflow: ellipsis;
897
+ white-space: nowrap;
898
+ }
899
+
900
+ .file .action {
901
+ flex: none;
902
+ font-size: 12px;
903
+ font-weight: 500;
904
+ color: var(--glow);
905
+ }
906
+
907
+ .drop {
908
+ display: flex;
909
+ flex-direction: column;
910
+ align-items: center;
911
+ justify-content: center;
912
+ gap: 7px;
913
+ padding: 20px;
914
+ border-radius: 10px;
915
+ border: 1.5px dashed rgba(255, 255, 255, 0.16);
916
+ background: rgba(255, 255, 255, 0.02);
917
+ cursor: pointer;
918
+ text-align: center;
919
+ transition: border-color 150ms ease, background 150ms ease;
920
+ }
921
+
922
+ .drop:hover,
923
+ .drop.over {
924
+ border-color: var(--accent);
925
+ background: rgba(255, 255, 255, 0.04);
926
+ }
927
+
928
+ .drop input {
929
+ display: none;
930
+ }
931
+
932
+ .drop .title {
933
+ font-size: 13px;
934
+ color: var(--text-body);
935
+ font-weight: 500;
936
+ }
937
+
938
+ .drop .title.mono {
939
+ color: var(--text-primary);
940
+ }
941
+
942
+ .drop .sub {
943
+ font-size: 11.5px;
944
+ color: var(--text-secondary);
945
+ }
946
+
947
+ .offline-submit {
948
+ margin-top: 20px;
949
+ }
950
+
951
+ /* -- Add-ons ---------------------------------------------------------------- */
952
+
953
+ .addon-list {
954
+ display: flex;
955
+ flex-direction: column;
956
+ gap: 8px;
957
+ }
958
+
959
+ .addon {
960
+ display: flex;
961
+ align-items: center;
962
+ gap: 14px;
963
+ min-height: 64px;
964
+ padding: 12px 14px 12px 16px;
965
+ }
966
+
967
+ .addon .icon {
968
+ flex: none;
969
+ width: 38px;
970
+ height: 38px;
971
+ border-radius: 10px;
972
+ display: flex;
973
+ align-items: center;
974
+ justify-content: center;
975
+ background: rgba(255, 255, 255, 0.05);
976
+ color: var(--text-secondary);
977
+ }
978
+
979
+ .addon.success {
980
+ border-color: rgba(22, 163, 74, 0.28);
981
+ background: rgba(22, 163, 74, 0.05);
982
+ }
983
+
984
+ .addon.success .icon {
985
+ background: rgba(22, 163, 74, 0.12);
986
+ color: var(--success);
987
+ }
988
+
989
+ .addon.trial .icon {
990
+ background: rgba(234, 179, 8, 0.12);
991
+ color: var(--trial-bright);
992
+ }
993
+
994
+ .addon .grow {
995
+ flex: 1;
996
+ min-width: 0;
997
+ }
998
+
999
+ .addon .name {
1000
+ font-size: 14px;
1001
+ font-weight: 600;
1002
+ color: var(--text-primary);
1003
+ overflow: hidden;
1004
+ text-overflow: ellipsis;
1005
+ white-space: nowrap;
1006
+ }
1007
+
1008
+ .addon .status {
1009
+ margin-top: 3px;
1010
+ font-size: 12.5px;
1011
+ color: var(--text-secondary);
1012
+ overflow: hidden;
1013
+ text-overflow: ellipsis;
1014
+ white-space: nowrap;
1015
+ }
1016
+
1017
+ .addon.success .status {
1018
+ color: var(--success);
1019
+ }
1020
+
1021
+ .addon.trial .status {
1022
+ color: var(--trial-bright);
1023
+ }
1024
+
1025
+ .addon .actions {
1026
+ flex: none;
1027
+ display: flex;
1028
+ gap: 8px;
1029
+ }
1030
+
1031
+ .btn.small {
1032
+ width: auto;
1033
+ min-width: 76px;
1034
+ height: 34px;
1035
+ padding: 0 16px;
1036
+ border-radius: 8px;
1037
+ font-size: 13px;
1038
+ box-shadow: none;
1039
+ }
1040
+
1041
+ .addon.skeleton .icon {
1042
+ animation: mb-pulse 1.4s ease-in-out infinite;
1043
+ }
1044
+
1045
+ .addon.skeleton .grow span {
1046
+ display: block;
1047
+ height: 10px;
1048
+ width: 34%;
1049
+ border-radius: 5px;
1050
+ background: rgba(255, 255, 255, 0.07);
1051
+ animation: mb-pulse 1.4s ease-in-out infinite;
1052
+ }
1053
+
1054
+ .addon.skeleton .grow span + span {
1055
+ width: 52%;
1056
+ height: 8px;
1057
+ margin-top: 9px;
1058
+ }
1059
+
1060
+ @keyframes mb-pulse {
1061
+ 50% {
1062
+ opacity: 0.45;
1063
+ }
1064
+ }
1065
+
1066
+ .empty {
1067
+ margin: 6px 2px;
1068
+ font-size: 13.5px;
1069
+ }
1070
+
1071
+ .links.start {
1072
+ justify-content: flex-start;
1073
+ margin-top: 18px;
1074
+ }
1075
+
1076
+ .text-button:disabled {
1077
+ cursor: default;
1078
+ opacity: 0.55;
1079
+ }
1080
+
1081
+ .fine-print {
1082
+ margin: 16px 2px 0;
1083
+ font-size: 12px;
1084
+ line-height: 1.5;
1085
+ color: var(--text-muted);
1086
+ }
1087
+
1088
+ /* -- Footer ----------------------------------------------------------------- */
1089
+
1090
+ .badge {
1091
+ display: flex;
1092
+ align-items: center;
1093
+ justify-content: center;
1094
+ gap: 7px;
1095
+ margin-top: 30px;
1096
+ padding-top: 18px;
1097
+ border-top: 1px solid rgba(255, 255, 255, 0.06);
1098
+ color: var(--text-muted);
1099
+ font-size: 11px;
1100
+ }
1101
+
1102
+ .badge .moonbase-link {
1103
+ display: inline-flex;
1104
+ align-items: center;
1105
+ gap: 7px;
1106
+ margin-left: 1px;
1107
+ padding: 2px 0;
1108
+ border: 0;
1109
+ background: none;
1110
+ font: inherit;
1111
+ color: var(--text-bright);
1112
+ cursor: pointer;
1113
+ }
1114
+
1115
+ .badge .moon {
1116
+ display: inline-flex;
1117
+ opacity: 0.85;
1118
+ transition: opacity 0.15s ease;
1119
+ }
1120
+
1121
+ .badge .wordmark {
1122
+ font-size: 12px;
1123
+ letter-spacing: 0.06em;
1124
+ font-weight: 500;
1125
+ transition: color 0.15s ease;
1126
+ }
1127
+
1128
+ .badge .moonbase-link:hover .moon {
1129
+ opacity: 1;
1130
+ }
1131
+
1132
+ .badge .moonbase-link:hover .wordmark {
1133
+ color: var(--text-primary);
1134
+ }
1135
+
1136
+ .badge .moonbase-link:focus-visible {
1137
+ outline: 2px solid var(--accent);
1138
+ outline-offset: 3px;
1139
+ border-radius: 4px;
1140
+ }
1141
+
1142
+ /* -- Motion ----------------------------------------------------------------- */
1143
+
1144
+ @keyframes mb-spin {
1145
+ to {
1146
+ transform: rotate(360deg);
1147
+ }
1148
+ }
1149
+
1150
+ @keyframes mb-fade-up {
1151
+ from {
1152
+ opacity: 0;
1153
+ transform: translateY(8px);
1154
+ }
1155
+ to {
1156
+ opacity: 1;
1157
+ transform: translateY(0);
1158
+ }
1159
+ }
1160
+
1161
+ @keyframes mb-pop {
1162
+ 0% {
1163
+ transform: scale(0.4);
1164
+ opacity: 0;
1165
+ }
1166
+ 60% {
1167
+ transform: scale(1.08);
1168
+ }
1169
+ 100% {
1170
+ transform: scale(1);
1171
+ opacity: 1;
1172
+ }
1173
+ }
1174
+
1175
+ @keyframes mb-fade {
1176
+ from {
1177
+ opacity: 0;
1178
+ }
1179
+ }
1180
+
1181
+ @keyframes mb-rise {
1182
+ from {
1183
+ opacity: 0;
1184
+ transform: translateY(12px) scale(0.985);
1185
+ }
1186
+ }
1187
+
1188
+ @keyframes mb-glow-breathe {
1189
+ 0%,
1190
+ 100% {
1191
+ opacity: 0.85;
1192
+ }
1193
+ 50% {
1194
+ opacity: 1;
1195
+ }
1196
+ }
1197
+
1198
+ @keyframes mb-dash {
1199
+ to {
1200
+ stroke-dashoffset: 0;
1201
+ }
1202
+ }
1203
+
1204
+ .spin {
1205
+ animation: mb-spin 0.7s linear infinite;
1206
+ }
1207
+
1208
+ /* The activating spinner keeps turning: it is the one sign the wait is alive. */
1209
+ .reduce-motion .screen,
1210
+ .reduce-motion .check,
1211
+ .reduce-motion .check path,
1212
+ .reduce-motion .glow,
1213
+ .reduce-motion .mb-glow,
1214
+ .reduce-motion .mb-frame,
1215
+ .reduce-motion .addon.skeleton .icon,
1216
+ .reduce-motion .addon.skeleton .grow span,
1217
+ .reduce-motion.mb-scrim {
1218
+ animation: none !important;
1219
+ }
1220
+
1221
+ .reduce-motion .check path {
1222
+ stroke-dashoffset: 0;
1223
+ }
1224
+
1225
+ @media (prefers-reduced-motion: reduce) {
1226
+ .screen,
1227
+ .glow,
1228
+ .mb-glow,
1229
+ .mb-scrim,
1230
+ .mb-frame,
1231
+ .check,
1232
+ .check path,
1233
+ .addon.skeleton .icon,
1234
+ .addon.skeleton .grow span {
1235
+ animation: none !important;
1236
+ }
1237
+
1238
+ .check path {
1239
+ stroke-dashoffset: 0;
1240
+ }
1241
+ }