@wikex/admin-kit 0.2.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.
@@ -0,0 +1,3032 @@
1
+ @use './wikex-fonts';
2
+
3
+ /* Minimal UI 7.6.1 skin for Payload. Payload keeps all application behaviour. */
4
+
5
+ :root {
6
+ --minimal-primary-lighter: #f8ebc9;
7
+ --minimal-primary-light: #ead29b;
8
+ --minimal-primary: #d6b56f;
9
+ --minimal-primary-dark: #ae8744;
10
+ --minimal-primary-darker: #72552a;
11
+ --minimal-secondary: #8e33ff;
12
+ --minimal-info: #00b8d9;
13
+ --minimal-success: #22c55e;
14
+ --minimal-warning: #ffab00;
15
+ --minimal-error: #ff5630;
16
+ --minimal-grey-50: #fcfdfd;
17
+ --minimal-grey-100: #f9fafb;
18
+ --minimal-grey-200: #f4f6f8;
19
+ --minimal-grey-300: #dfe3e8;
20
+ --minimal-grey-400: #c4cdd5;
21
+ --minimal-grey-500: #919eab;
22
+ --minimal-grey-600: #637381;
23
+ --minimal-grey-700: #454f5b;
24
+ --minimal-grey-800: #1c252e;
25
+ --minimal-grey-900: #141a21;
26
+ --minimal-background: #fff;
27
+ --minimal-paper: #fff;
28
+ --minimal-neutral: #f4f6f8;
29
+ --minimal-text-primary: #1c252e;
30
+ --minimal-text-secondary: #637381;
31
+ --minimal-text-disabled: #919eab;
32
+ --minimal-divider: rgb(145 158 171 / 20%);
33
+ --minimal-action-hover: rgb(145 158 171 / 8%);
34
+ --minimal-action-selected: rgb(145 158 171 / 16%);
35
+ --minimal-focus-ring: 0 0 0 3px rgb(214 181 111 / 22%);
36
+ --minimal-shadow-z1: 0 1px 2px rgb(145 158 171 / 16%);
37
+ --minimal-shadow-z4: 0 4px 8px -4px rgb(145 158 171 / 24%);
38
+ --minimal-shadow-z12: 0 12px 24px -4px rgb(145 158 171 / 24%);
39
+ --minimal-shadow-card: 0 0 2px rgb(145 158 171 / 20%), 0 12px 24px -4px rgb(145 158 171 / 12%);
40
+ --minimal-radius-sm: 8px;
41
+ --minimal-radius-md: 12px;
42
+ --minimal-radius-lg: 16px;
43
+ --minimal-header-height: 64px;
44
+ --nav-width: 280px;
45
+ --gutter-h: clamp(20px, 2.2vw, 32px);
46
+ --base: 18px;
47
+ --doc-controls-height: 56px;
48
+ --app-header-height: 64px;
49
+ --z-nav: 30;
50
+ --z-modal: 100;
51
+
52
+ /* Map Payload surfaces to one palette so nested controls cannot drift. */
53
+ --theme-bg: var(--minimal-background);
54
+ --theme-input-bg: var(--minimal-paper);
55
+ --theme-text: var(--minimal-text-primary);
56
+ --theme-elevation-0: #fff;
57
+ --theme-elevation-50: #fcfdfd;
58
+ --theme-elevation-100: #f9fafb;
59
+ --theme-elevation-150: #f4f6f8;
60
+ --theme-elevation-200: #dfe3e8;
61
+ --theme-elevation-250: #d3d9df;
62
+ --theme-elevation-300: #c4cdd5;
63
+ --theme-elevation-350: #aab4bf;
64
+ --theme-elevation-400: #919eab;
65
+ --theme-elevation-450: #7c8a99;
66
+ --theme-elevation-500: #637381;
67
+ --theme-elevation-550: #566571;
68
+ --theme-elevation-600: #454f5b;
69
+ --theme-elevation-650: #36414c;
70
+ --theme-elevation-700: #28323d;
71
+ --theme-elevation-750: #222d37;
72
+ --theme-elevation-800: #1c252e;
73
+ --theme-elevation-850: #182028;
74
+ --theme-elevation-900: #141a21;
75
+ --theme-elevation-950: #0f1419;
76
+ --theme-elevation-1000: #080b0e;
77
+ --theme-success-500: var(--minimal-success);
78
+ --theme-error-500: var(--minimal-error);
79
+ --theme-warning-500: var(--minimal-warning);
80
+ --theme-text-warning: #7a4100;
81
+ --aurea-admin-accent: var(--minimal-primary);
82
+ --aurea-admin-accent-soft: rgb(214 181 111 / 16%);
83
+ --font-body: var(--font-geist-sans), 'Public Sans Variable', 'Public Sans', Arial, sans-serif;
84
+ --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
85
+ }
86
+
87
+ html[data-theme='dark'] {
88
+ --minimal-background: #090a0c;
89
+ --minimal-paper: #111317;
90
+ --minimal-neutral: #181b20;
91
+ --minimal-text-primary: #f5f2eb;
92
+ --minimal-text-secondary: #a49f94;
93
+ --minimal-text-disabled: #706c64;
94
+ --minimal-divider: rgb(214 181 111 / 16%);
95
+ --minimal-action-hover: rgb(214 181 111 / 8%);
96
+ --minimal-action-selected: rgb(214 181 111 / 14%);
97
+ --minimal-shadow-z1: 0 1px 2px rgb(0 0 0 / 28%);
98
+ --minimal-shadow-z4: 0 4px 8px -4px rgb(0 0 0 / 36%);
99
+ --minimal-shadow-z12: 0 12px 24px -4px rgb(0 0 0 / 44%);
100
+ --minimal-shadow-card: 0 0 2px rgb(0 0 0 / 32%), 0 12px 24px -4px rgb(0 0 0 / 24%);
101
+ --theme-bg: var(--minimal-background);
102
+ --theme-input-bg: var(--minimal-paper);
103
+ --theme-text: var(--minimal-text-primary);
104
+ --theme-elevation-0: #090a0c;
105
+ --theme-elevation-50: #0d0f12;
106
+ --theme-elevation-100: #111317;
107
+ --theme-elevation-150: #181b20;
108
+ --theme-elevation-200: #202329;
109
+ --theme-elevation-250: #292c32;
110
+ --theme-elevation-300: #33363c;
111
+ --theme-elevation-350: #41444a;
112
+ --theme-elevation-400: #52545a;
113
+ --theme-elevation-450: #62646a;
114
+ --theme-elevation-500: #74767b;
115
+ --theme-elevation-550: #86888d;
116
+ --theme-elevation-600: #999ba0;
117
+ --theme-elevation-650: #aaaeb2;
118
+ --theme-elevation-700: #bec0c4;
119
+ --theme-elevation-750: #ced0d3;
120
+ --theme-elevation-800: #dddedf;
121
+ --theme-elevation-850: #e7e7e7;
122
+ --theme-elevation-900: #eeeeec;
123
+ --theme-elevation-950: #f5f2eb;
124
+ --theme-elevation-1000: #fff;
125
+ --theme-text-warning: #ead29b;
126
+ }
127
+
128
+ html,
129
+ body {
130
+ background: var(--minimal-background);
131
+ color: var(--minimal-text-primary);
132
+ font-family: var(--font-body);
133
+ font-size: 13px;
134
+ line-height: 1.53846;
135
+ }
136
+
137
+ html {
138
+ scrollbar-gutter: stable;
139
+ }
140
+
141
+ body,
142
+ button,
143
+ input,
144
+ select,
145
+ textarea {
146
+ font-family: var(--font-body);
147
+ }
148
+
149
+ *,
150
+ *::before,
151
+ *::after {
152
+ box-sizing: border-box;
153
+ }
154
+
155
+ ::selection {
156
+ background: rgb(214 181 111 / 24%);
157
+ }
158
+
159
+ a,
160
+ button,
161
+ input,
162
+ select,
163
+ textarea {
164
+ -webkit-tap-highlight-color: transparent;
165
+ }
166
+
167
+ a:focus-visible,
168
+ button:focus-visible,
169
+ input:focus-visible,
170
+ select:focus-visible,
171
+ textarea:focus-visible {
172
+ outline: none;
173
+ }
174
+
175
+ /* Application frame */
176
+ .template-default {
177
+ background: var(--minimal-background);
178
+ grid-template-columns: var(--nav-width) minmax(0, 1fr) !important;
179
+ min-height: 100vh;
180
+ overflow-x: clip;
181
+ transition: grid-template-columns 160ms ease;
182
+ }
183
+
184
+ .template-default__nav-toggler-wrapper,
185
+ .template-default__wrap > .app-header {
186
+ display: none !important;
187
+ }
188
+
189
+ .template-default__wrap {
190
+ background: var(--minimal-background);
191
+ min-width: 0;
192
+ padding-top: var(--minimal-header-height);
193
+ }
194
+
195
+ .gutter--left {
196
+ padding-left: var(--gutter-h);
197
+ }
198
+ .gutter--right {
199
+ padding-right: var(--gutter-h);
200
+ }
201
+
202
+ /* Sidebar */
203
+ .minimal-nav {
204
+ align-self: start;
205
+ background: var(--minimal-paper);
206
+ border-right: 1px solid var(--minimal-divider);
207
+ color: var(--minimal-text-primary);
208
+ height: 100vh;
209
+ opacity: 0;
210
+ overflow: visible;
211
+ position: sticky;
212
+ top: 0;
213
+ transition:
214
+ opacity 120ms ease,
215
+ transform 160ms ease,
216
+ width 160ms ease;
217
+ width: var(--nav-width);
218
+ z-index: var(--z-nav);
219
+
220
+ &--hydrated {
221
+ opacity: 1;
222
+ }
223
+
224
+ &__scroll {
225
+ display: flex;
226
+ flex-direction: column;
227
+ height: 100%;
228
+ overflow-x: hidden;
229
+ overflow-y: auto;
230
+ padding: 16px;
231
+ scrollbar-color: var(--minimal-grey-400) transparent;
232
+ scrollbar-width: thin;
233
+ }
234
+
235
+ &__scroll::-webkit-scrollbar {
236
+ width: 5px;
237
+ }
238
+ &__scroll::-webkit-scrollbar-thumb {
239
+ background: var(--minimal-grey-400);
240
+ border-radius: 999px;
241
+ }
242
+
243
+ &__brand-row {
244
+ align-items: center;
245
+ display: flex;
246
+ flex: 0 0 auto;
247
+ justify-content: space-between;
248
+ min-height: 48px;
249
+ padding: 0 8px 8px;
250
+ }
251
+
252
+ &__brand {
253
+ align-items: center;
254
+ display: inline-flex;
255
+ min-height: 40px;
256
+ min-width: 40px;
257
+ text-decoration: none;
258
+ }
259
+ &__brand-full {
260
+ display: inline-flex;
261
+ }
262
+ &__brand-icon {
263
+ display: none;
264
+ }
265
+
266
+ &__mobile-close {
267
+ align-items: center;
268
+ background: transparent;
269
+ border: 0;
270
+ border-radius: 50%;
271
+ color: var(--minimal-text-secondary);
272
+ cursor: pointer;
273
+ display: none;
274
+ height: 36px;
275
+ justify-content: center;
276
+ padding: 0;
277
+ width: 36px;
278
+
279
+ &:hover {
280
+ background: var(--minimal-action-hover);
281
+ color: var(--minimal-text-primary);
282
+ }
283
+ svg {
284
+ height: 20px;
285
+ width: 20px;
286
+ }
287
+ }
288
+
289
+ &__workspace {
290
+ align-items: center;
291
+ background: var(--minimal-neutral);
292
+ border: 1px solid transparent;
293
+ border-radius: var(--minimal-radius-md);
294
+ display: grid;
295
+ flex: 0 0 auto;
296
+ gap: 12px;
297
+ grid-template-columns: 40px minmax(0, 1fr) 18px;
298
+ margin: 8px 0 20px;
299
+ min-height: 64px;
300
+ padding: 11px;
301
+ text-decoration: none;
302
+ transition:
303
+ background-color 160ms ease,
304
+ border-color 160ms ease;
305
+
306
+ &:hover {
307
+ background: var(--minimal-action-selected);
308
+ border-color: var(--minimal-divider);
309
+ }
310
+ }
311
+
312
+ &__workspace-icon {
313
+ align-items: center;
314
+ background: var(--minimal-primary);
315
+ border-radius: 10px;
316
+ box-shadow: 0 8px 16px rgb(214 181 111 / 20%);
317
+ color: #16120b;
318
+ display: flex;
319
+ height: 40px;
320
+ justify-content: center;
321
+ width: 40px;
322
+
323
+ svg {
324
+ height: 20px;
325
+ width: 20px;
326
+ }
327
+ }
328
+
329
+ &__workspace-copy,
330
+ &__account-copy {
331
+ display: flex;
332
+ flex-direction: column;
333
+ min-width: 0;
334
+
335
+ small,
336
+ strong {
337
+ overflow: hidden;
338
+ text-overflow: ellipsis;
339
+ white-space: nowrap;
340
+ }
341
+ small {
342
+ color: var(--minimal-text-secondary);
343
+ font-size: 11px;
344
+ line-height: 16px;
345
+ }
346
+ strong {
347
+ color: var(--minimal-text-primary);
348
+ font-size: 13px;
349
+ font-weight: 600;
350
+ line-height: 20px;
351
+ }
352
+ }
353
+
354
+ &__workspace-menu {
355
+ color: var(--minimal-text-disabled);
356
+ height: 17px;
357
+ width: 17px;
358
+ }
359
+ &__menu {
360
+ display: flex;
361
+ flex: 1 1 auto;
362
+ flex-direction: column;
363
+ }
364
+
365
+ &__group {
366
+ border-bottom: 1px dashed var(--minimal-divider);
367
+ display: flex;
368
+ flex-direction: column;
369
+ gap: 4px;
370
+ padding: 12px 0;
371
+
372
+ &:first-child {
373
+ padding-top: 0;
374
+ }
375
+ &:last-child {
376
+ border-bottom: 0;
377
+ }
378
+ }
379
+
380
+ &__group-label {
381
+ color: var(--minimal-text-disabled);
382
+ font-size: 11px;
383
+ font-weight: 700;
384
+ letter-spacing: 0.06em;
385
+ line-height: 18px;
386
+ padding: 6px 12px;
387
+ text-transform: uppercase;
388
+ }
389
+
390
+ &__item {
391
+ align-items: center;
392
+ border-radius: var(--minimal-radius-sm);
393
+ color: var(--minimal-text-secondary) !important;
394
+ display: flex;
395
+ font-size: 14px;
396
+ font-weight: 600;
397
+ gap: 14px;
398
+ min-height: 44px;
399
+ padding: 10px 12px;
400
+ text-decoration: none;
401
+ transition:
402
+ background-color 160ms ease,
403
+ color 160ms ease;
404
+
405
+ > svg {
406
+ flex: 0 0 auto;
407
+ height: 22px;
408
+ opacity: 0.82;
409
+ width: 22px;
410
+ }
411
+ > span {
412
+ overflow: hidden;
413
+ text-overflow: ellipsis;
414
+ white-space: nowrap;
415
+ }
416
+ &:hover {
417
+ background: var(--minimal-action-hover);
418
+ color: var(--minimal-text-primary) !important;
419
+ }
420
+ &:focus-visible {
421
+ box-shadow: var(--minimal-focus-ring);
422
+ }
423
+ &--active {
424
+ background: rgb(214 181 111 / 12%);
425
+ color: var(--minimal-primary-dark) !important;
426
+ font-weight: 700;
427
+ }
428
+ }
429
+
430
+ &__footer {
431
+ border-top: 1px dashed var(--minimal-divider);
432
+ flex: 0 0 auto;
433
+ margin-top: 16px;
434
+ padding-top: 12px;
435
+ }
436
+
437
+ &__account {
438
+ align-items: center;
439
+ border-radius: 10px;
440
+ display: grid;
441
+ gap: 12px;
442
+ grid-template-columns: 38px minmax(0, 1fr);
443
+ min-height: 56px;
444
+ padding: 8px;
445
+ text-decoration: none;
446
+
447
+ &:hover {
448
+ background: var(--minimal-action-hover);
449
+ }
450
+ }
451
+
452
+ &__avatar {
453
+ align-items: center;
454
+ background: linear-gradient(135deg, var(--minimal-primary), var(--minimal-primary-light));
455
+ border-radius: 50%;
456
+ color: #16120b;
457
+ display: flex;
458
+ font-size: 11px;
459
+ font-weight: 800;
460
+ height: 36px;
461
+ justify-content: center;
462
+ width: 36px;
463
+ }
464
+
465
+ &__logout {
466
+ margin-top: 4px;
467
+ }
468
+
469
+ &__collapse {
470
+ align-items: center;
471
+ background: var(--minimal-paper);
472
+ border: 1px solid var(--minimal-divider);
473
+ border-radius: 50%;
474
+ box-shadow: var(--minimal-shadow-z4);
475
+ color: var(--minimal-text-secondary);
476
+ cursor: pointer;
477
+ display: flex;
478
+ height: 28px;
479
+ justify-content: center;
480
+ padding: 0;
481
+ position: absolute;
482
+ right: -14px;
483
+ top: 50%;
484
+ margin-top: -14px;
485
+ width: 28px;
486
+ z-index: 3;
487
+
488
+ &:hover {
489
+ color: var(--minimal-primary);
490
+ }
491
+ &:focus-visible {
492
+ box-shadow: var(--minimal-focus-ring);
493
+ }
494
+ svg {
495
+ height: 15px;
496
+ width: 15px;
497
+ }
498
+ }
499
+
500
+ &--mini {
501
+ .minimal-nav__scroll {
502
+ padding-inline: 12px;
503
+ }
504
+ .minimal-nav__brand-row {
505
+ justify-content: center;
506
+ padding-inline: 0;
507
+ }
508
+ .minimal-nav__brand-full,
509
+ .minimal-nav__workspace-copy,
510
+ .minimal-nav__workspace-menu,
511
+ .minimal-nav__group-label,
512
+ .minimal-nav__item > span,
513
+ .minimal-nav__account-copy,
514
+ .minimal-nav__logout {
515
+ display: none;
516
+ }
517
+ .minimal-nav__brand-icon {
518
+ display: inline-flex;
519
+ }
520
+ .minimal-nav__workspace,
521
+ .minimal-nav__account {
522
+ display: flex;
523
+ justify-content: center;
524
+ padding-inline: 0;
525
+ }
526
+ .minimal-nav__item {
527
+ justify-content: center;
528
+ padding-inline: 0;
529
+ }
530
+ .minimal-nav__group {
531
+ gap: 5px;
532
+ padding-block: 9px;
533
+ }
534
+ }
535
+ }
536
+
537
+ html[data-theme='dark'] .minimal-nav__item--active {
538
+ color: var(--minimal-primary-light) !important;
539
+ }
540
+
541
+ html[data-theme='dark'] .minimal-nav__item--active {
542
+ background: rgb(214 181 111 / 13%);
543
+ }
544
+
545
+ .aurea-brand {
546
+ align-items: center;
547
+ display: inline-flex;
548
+ }
549
+ .aurea-brand__image {
550
+ display: block;
551
+ height: auto;
552
+ max-height: 42px;
553
+ max-width: 190px;
554
+ width: auto;
555
+ }
556
+ .aurea-brand--icon .aurea-brand__image {
557
+ height: 32px;
558
+ max-width: 32px;
559
+ width: 32px;
560
+ }
561
+
562
+ .admin-sign-out {
563
+ align-items: center;
564
+ border-radius: var(--minimal-radius-sm);
565
+ color: var(--minimal-text-secondary) !important;
566
+ display: flex;
567
+ font-size: 13px;
568
+ font-weight: 600;
569
+ gap: 12px;
570
+ min-height: 40px;
571
+ padding: 8px;
572
+ text-decoration: none;
573
+
574
+ &:hover {
575
+ background: rgb(255 86 48 / 10%);
576
+ color: var(--minimal-error) !important;
577
+ }
578
+ &__icon {
579
+ align-items: center;
580
+ display: flex;
581
+ height: 36px;
582
+ justify-content: center;
583
+ width: 36px;
584
+ }
585
+ svg {
586
+ height: 19px;
587
+ width: 19px;
588
+ }
589
+ }
590
+
591
+ /* Top app bar */
592
+ .minimal-admin-header {
593
+ align-items: center;
594
+ backdrop-filter: blur(18px);
595
+ background: color-mix(in srgb, var(--minimal-background) 82%, transparent);
596
+ display: flex;
597
+ height: var(--minimal-header-height);
598
+ justify-content: space-between;
599
+ left: var(--nav-width);
600
+ padding: 8px var(--gutter-h);
601
+ position: fixed;
602
+ right: 0;
603
+ top: 0;
604
+ transition: left 160ms ease;
605
+ z-index: calc(var(--z-nav) - 1);
606
+
607
+ &__left,
608
+ &__actions,
609
+ &__account {
610
+ align-items: center;
611
+ display: flex;
612
+ }
613
+ &__left {
614
+ min-width: 0;
615
+ }
616
+ &__actions {
617
+ gap: 8px;
618
+ margin-left: auto;
619
+ }
620
+
621
+ &__menu,
622
+ &__settings,
623
+ &__account {
624
+ align-items: center;
625
+ background: transparent;
626
+ border: 0;
627
+ border-radius: 50%;
628
+ color: var(--minimal-text-secondary) !important;
629
+ cursor: pointer;
630
+ display: flex;
631
+ height: 40px;
632
+ justify-content: center;
633
+ padding: 0;
634
+ text-decoration: none;
635
+ width: 40px;
636
+
637
+ &:hover {
638
+ background: var(--minimal-action-hover);
639
+ color: var(--minimal-text-primary) !important;
640
+ }
641
+ &:focus-visible {
642
+ box-shadow: var(--minimal-focus-ring);
643
+ }
644
+ svg {
645
+ height: 20px;
646
+ width: 20px;
647
+ }
648
+ }
649
+
650
+ &__menu,
651
+ &__mobile-brand {
652
+ display: none;
653
+ }
654
+
655
+ &__account > span {
656
+ align-items: center;
657
+ background: linear-gradient(135deg, var(--minimal-primary), var(--minimal-primary-light));
658
+ border: 2px solid var(--minimal-paper);
659
+ border-radius: 50%;
660
+ box-shadow: 0 0 0 2px rgb(214 181 111 / 14%);
661
+ color: #16120b;
662
+ display: flex;
663
+ font-size: 11px;
664
+ font-weight: 800;
665
+ height: 34px;
666
+ justify-content: center;
667
+ width: 34px;
668
+ }
669
+ }
670
+
671
+ .admin-view-site {
672
+ align-items: center;
673
+ background: transparent !important;
674
+ border: 1px solid var(--minimal-divider) !important;
675
+ border-radius: var(--minimal-radius-sm) !important;
676
+ box-shadow: none !important;
677
+ color: var(--minimal-text-primary) !important;
678
+ display: inline-flex;
679
+ font-size: 13px !important;
680
+ font-weight: 700 !important;
681
+ gap: 7px;
682
+ height: 36px !important;
683
+ padding: 6px 12px !important;
684
+ text-decoration: none;
685
+
686
+ &:hover {
687
+ background: var(--minimal-action-hover) !important;
688
+ }
689
+ &:focus-visible {
690
+ box-shadow: var(--minimal-focus-ring) !important;
691
+ }
692
+ svg {
693
+ height: 16px;
694
+ width: 16px;
695
+ }
696
+ }
697
+
698
+ .admin-theme-toggle {
699
+ background: transparent;
700
+ border: 0;
701
+ border-radius: 20px;
702
+ cursor: pointer;
703
+ height: 40px;
704
+ padding: 7px 5px;
705
+ width: 54px;
706
+
707
+ &:hover {
708
+ background: var(--minimal-action-hover);
709
+ }
710
+ &:focus-visible {
711
+ box-shadow: var(--minimal-focus-ring);
712
+ }
713
+
714
+ &__track {
715
+ align-items: center;
716
+ background: var(--minimal-grey-300);
717
+ border-radius: 999px;
718
+ display: flex;
719
+ height: 24px;
720
+ padding: 2px;
721
+ width: 44px;
722
+ }
723
+
724
+ &__thumb {
725
+ align-items: center;
726
+ background: #fff;
727
+ border-radius: 50%;
728
+ box-shadow: 0 1px 4px rgb(20 26 33 / 24%);
729
+ color: var(--minimal-warning);
730
+ display: flex;
731
+ height: 20px;
732
+ justify-content: center;
733
+ transform: translateX(0);
734
+ transition: transform 160ms ease;
735
+ width: 20px;
736
+
737
+ svg {
738
+ height: 12px;
739
+ width: 12px;
740
+ }
741
+ }
742
+ }
743
+
744
+ html[data-theme='dark'] {
745
+ .admin-theme-toggle__track {
746
+ background: var(--minimal-primary-darker);
747
+ }
748
+ .admin-theme-toggle__thumb {
749
+ color: var(--minimal-primary-dark);
750
+ transform: translateX(20px);
751
+ }
752
+ }
753
+
754
+ /* Page headings */
755
+ .list-header,
756
+ .doc-header {
757
+ align-items: center;
758
+ display: flex;
759
+ }
760
+ .list-header {
761
+ margin: 0;
762
+ min-height: 76px;
763
+ padding-bottom: 18px;
764
+ padding-top: 18px;
765
+ }
766
+ .doc-header {
767
+ margin: 0;
768
+ min-height: 72px;
769
+ padding-bottom: 14px;
770
+ padding-top: 14px;
771
+ }
772
+
773
+ .list-header__title,
774
+ .doc-header__title,
775
+ .render-title,
776
+ .dashboard__label,
777
+ .account__title {
778
+ color: var(--minimal-text-primary);
779
+ font-size: clamp(22px, 1.8vw, 28px);
780
+ font-weight: 700;
781
+ letter-spacing: -0.025em;
782
+ line-height: 1.35;
783
+ margin: 0;
784
+ }
785
+
786
+ .list-header__content,
787
+ .doc-header__wrapper {
788
+ align-items: center;
789
+ gap: 12px;
790
+ }
791
+ .list-header__content {
792
+ display: flex;
793
+ justify-content: space-between;
794
+ width: 100%;
795
+ }
796
+ .list-header__title-and-actions {
797
+ flex: 1 1 auto;
798
+ justify-content: space-between;
799
+ min-width: 0;
800
+ width: 100%;
801
+ }
802
+ .list-header__actions,
803
+ .default-list-view-tabs {
804
+ align-items: center;
805
+ flex: 0 0 auto;
806
+ flex-wrap: nowrap;
807
+ min-width: max-content;
808
+ }
809
+ .default-list-view-tabs__button {
810
+ align-items: center;
811
+ display: inline-flex !important;
812
+ flex: 0 0 auto;
813
+ height: 36px;
814
+ justify-content: center;
815
+ margin: 0;
816
+ min-height: 36px;
817
+ padding: 5px 12px;
818
+ white-space: nowrap;
819
+
820
+ .btn__content,
821
+ .btn__label {
822
+ align-items: center;
823
+ display: inline-flex;
824
+ line-height: 20px;
825
+ white-space: nowrap;
826
+ }
827
+ }
828
+ .list-create-new-doc__create-new-button {
829
+ align-items: center;
830
+ background: var(--minimal-primary) !important;
831
+ border-color: var(--minimal-primary) !important;
832
+ color: #16120b !important;
833
+ display: inline-flex !important;
834
+ margin-left: auto;
835
+ min-height: 36px;
836
+ padding-inline: 13px;
837
+ }
838
+ .list-create-new-doc__create-new-button::before {
839
+ content: '+';
840
+ font-size: 18px;
841
+ font-weight: 500;
842
+ line-height: 1;
843
+ margin-right: 7px;
844
+ }
845
+ .list-create-new-doc__create-new-button:hover {
846
+ background: var(--minimal-primary-dark) !important;
847
+ border-color: var(--minimal-primary-dark) !important;
848
+ }
849
+ .doc-header__tabs {
850
+ align-items: flex-end;
851
+ align-self: stretch;
852
+ display: flex;
853
+ }
854
+
855
+ .doc-header__tab {
856
+ align-items: center;
857
+ border-bottom: 2px solid transparent;
858
+ color: var(--minimal-text-secondary) !important;
859
+ display: inline-flex;
860
+ font-size: 13px;
861
+ font-weight: 600;
862
+ min-height: 36px;
863
+ padding: 6px 10px;
864
+ text-decoration: none;
865
+ }
866
+
867
+ .doc-header__tab--active {
868
+ background: var(--minimal-action-selected);
869
+ border-bottom-color: var(--minimal-primary);
870
+ border-radius: 7px;
871
+ color: var(--minimal-primary-light) !important;
872
+ }
873
+
874
+ /* Buttons */
875
+ .btn {
876
+ border-radius: var(--minimal-radius-sm);
877
+ font-size: 14px;
878
+ font-weight: 700;
879
+ line-height: 24px;
880
+ min-height: 34px;
881
+ padding: 5px 11px;
882
+ transition:
883
+ background-color 160ms ease,
884
+ border-color 160ms ease,
885
+ box-shadow 160ms ease;
886
+
887
+ &:focus-visible {
888
+ box-shadow: var(--minimal-focus-ring);
889
+ }
890
+ &--style-primary {
891
+ background: var(--minimal-primary);
892
+ border-color: var(--minimal-primary);
893
+ color: #16120b;
894
+ }
895
+ &--style-primary:hover {
896
+ background: var(--minimal-primary-dark);
897
+ border-color: var(--minimal-primary-dark);
898
+ }
899
+ &--style-secondary,
900
+ &--style-pill {
901
+ background: transparent;
902
+ border-color: var(--minimal-divider);
903
+ color: var(--minimal-text-primary);
904
+ }
905
+ &--style-secondary:hover,
906
+ &--style-pill:hover {
907
+ background: var(--minimal-action-hover);
908
+ }
909
+ }
910
+
911
+ /* Collection lists */
912
+ .collection-list {
913
+ padding-bottom: 72px;
914
+
915
+ .list-controls {
916
+ align-items: center;
917
+ background: var(--minimal-paper);
918
+ border: 1px solid var(--minimal-divider);
919
+ border-radius: var(--minimal-radius-md);
920
+ box-shadow: var(--minimal-shadow-z1);
921
+ display: block;
922
+ min-height: 48px;
923
+ padding: 5px 8px;
924
+ }
925
+
926
+ .list-controls__wrap,
927
+ .list-controls__search,
928
+ .search-filter {
929
+ align-items: center;
930
+ min-height: 36px;
931
+ }
932
+ .search-filter {
933
+ display: flex;
934
+ }
935
+ .search-filter__input {
936
+ color: var(--minimal-text-primary);
937
+ font-size: 14px;
938
+ line-height: 22px;
939
+ }
940
+ .list-controls__columns,
941
+ .list-controls__where,
942
+ .list-controls__columns > div,
943
+ .list-controls__where > div,
944
+ .where-builder {
945
+ max-width: none;
946
+ width: 100% !important;
947
+ }
948
+ .where-builder {
949
+ background: var(--minimal-neutral);
950
+ border-top: 1px dashed var(--minimal-divider);
951
+ border-radius: 8px;
952
+ margin-top: 5px;
953
+ padding: 10px 12px;
954
+ }
955
+ .where-builder:has(.where-builder__no-filters) {
956
+ min-height: 48px;
957
+ }
958
+ .where-builder__no-filters {
959
+ align-items: center;
960
+ display: flex;
961
+ flex-direction: row;
962
+ gap: 12px;
963
+ justify-content: space-between;
964
+ width: 100%;
965
+ }
966
+ .where-builder__label {
967
+ color: var(--minimal-text-secondary);
968
+ font-size: 13px;
969
+ }
970
+ .where-builder__add-first-filter {
971
+ background: var(--minimal-primary);
972
+ border-color: var(--minimal-primary);
973
+ color: #16120b;
974
+ margin: 0;
975
+ min-height: 32px;
976
+ }
977
+
978
+ .table {
979
+ background: var(--minimal-paper);
980
+ border: 1px solid var(--minimal-divider);
981
+ border-radius: var(--minimal-radius-lg);
982
+ box-shadow: var(--minimal-shadow-card);
983
+ margin-top: 16px;
984
+ overflow: hidden;
985
+ }
986
+
987
+ table {
988
+ border-collapse: collapse;
989
+ width: 100%;
990
+ }
991
+ thead {
992
+ background: var(--minimal-neutral);
993
+ }
994
+
995
+ th,
996
+ td {
997
+ border-bottom: 1px dashed var(--minimal-divider);
998
+ padding: 12px 14px;
999
+ text-align: left;
1000
+ vertical-align: middle;
1001
+ }
1002
+
1003
+ th {
1004
+ color: var(--minimal-text-secondary);
1005
+ font-size: 14px;
1006
+ font-weight: 600;
1007
+ height: 48px;
1008
+ line-height: 20px;
1009
+ }
1010
+ td {
1011
+ background: var(--minimal-paper) !important;
1012
+ color: var(--minimal-text-primary);
1013
+ font-size: 14px;
1014
+ height: 52px;
1015
+ line-height: 20px;
1016
+ }
1017
+ tbody tr:last-child td {
1018
+ border-bottom: 0;
1019
+ }
1020
+ tbody tr:hover td {
1021
+ background: var(--minimal-action-hover) !important;
1022
+ }
1023
+ td a {
1024
+ color: var(--minimal-text-primary);
1025
+ font-weight: 600;
1026
+ text-underline-offset: 3px;
1027
+ }
1028
+ td a:hover {
1029
+ color: var(--minimal-primary);
1030
+ }
1031
+ .paginator {
1032
+ align-items: center;
1033
+ color: var(--minimal-text-secondary);
1034
+ display: flex;
1035
+ font-size: 13px;
1036
+ min-height: 52px;
1037
+ padding-top: 12px;
1038
+ }
1039
+ }
1040
+
1041
+ input[type='checkbox'] {
1042
+ accent-color: var(--minimal-primary);
1043
+ }
1044
+
1045
+ .radio-group ul {
1046
+ gap: 16px;
1047
+ }
1048
+ .radio-group--layout-horizontal li {
1049
+ padding: 0 !important;
1050
+ }
1051
+ .radio-input {
1052
+ align-items: center;
1053
+ font-size: 13px;
1054
+ gap: 10px;
1055
+ line-height: 20px;
1056
+ }
1057
+ .radio-input__styled-radio,
1058
+ .checkbox-input__input {
1059
+ background: var(--minimal-paper);
1060
+ border-color: var(--minimal-divider);
1061
+ height: 20px;
1062
+ min-height: 20px;
1063
+ width: 20px;
1064
+ }
1065
+ .radio-input__styled-radio {
1066
+ display: grid;
1067
+ flex: 0 0 20px;
1068
+ place-items: center;
1069
+ }
1070
+ .radio-input__styled-radio::before {
1071
+ background: var(--minimal-primary);
1072
+ border: 0;
1073
+ height: 8px;
1074
+ margin: 0;
1075
+ width: 8px;
1076
+ }
1077
+ .radio-input input[type='radio']:focus + .radio-input__styled-radio,
1078
+ .radio-input input[type='radio']:focus-visible + .radio-input__styled-radio {
1079
+ border-color: var(--minimal-primary);
1080
+ box-shadow: 0 0 0 3px rgb(214 181 111 / 18%);
1081
+ }
1082
+ .radio-input--is-selected .radio-input__styled-radio {
1083
+ border-color: var(--minimal-primary);
1084
+ }
1085
+ .radio-input--is-selected .radio-input__styled-radio::before {
1086
+ background: var(--minimal-primary);
1087
+ border: 0;
1088
+ height: 8px;
1089
+ margin: 0;
1090
+ width: 8px;
1091
+ }
1092
+ .radio-input__label,
1093
+ .checkbox-input .field-label {
1094
+ color: var(--minimal-text-primary);
1095
+ font-size: 13px;
1096
+ line-height: 20px;
1097
+ }
1098
+ .checkbox-input .field-label {
1099
+ margin: 0;
1100
+ min-height: 20px;
1101
+ padding-left: 0;
1102
+ }
1103
+ .checkbox-input {
1104
+ --theme-success-400: rgb(214 181 111 / 24%);
1105
+
1106
+ align-items: center;
1107
+ gap: 10px;
1108
+ }
1109
+ .checkbox-input__input {
1110
+ flex: 0 0 20px;
1111
+ }
1112
+ .checkbox-input__input input {
1113
+ height: 20px;
1114
+ inset: 0;
1115
+ margin: 0;
1116
+ width: 20px;
1117
+ }
1118
+ .checkbox-input__icon {
1119
+ align-items: center;
1120
+ display: flex;
1121
+ height: 14px;
1122
+ justify-content: center;
1123
+ left: 50%;
1124
+ top: 50%;
1125
+ transform: translate(-50%, -50%);
1126
+ width: 14px;
1127
+ }
1128
+ .checkbox-input__icon svg,
1129
+ .checkbox-input__icon .icon--line {
1130
+ display: block;
1131
+ height: 14px !important;
1132
+ width: 14px !important;
1133
+ }
1134
+ .checkbox-input__icon .stroke {
1135
+ fill: none;
1136
+ stroke: currentColor;
1137
+ stroke-linecap: round;
1138
+ stroke-linejoin: round;
1139
+ stroke-width: 2;
1140
+ }
1141
+ html[data-theme] .checkbox-input:not(.checkbox-input--read-only):active .checkbox-input__input,
1142
+ html[data-theme] .checkbox-input:not(.checkbox-input--read-only):focus .checkbox-input__input,
1143
+ html[data-theme]
1144
+ .checkbox-input:not(.checkbox-input--read-only):focus-within
1145
+ .checkbox-input__input {
1146
+ border-color: var(--minimal-primary);
1147
+ box-shadow: 0 0 0 3px rgb(214 181 111 / 18%) !important;
1148
+ }
1149
+ html[data-theme] .checkbox-input:not(.checkbox-input--read-only):active input[type='checkbox'],
1150
+ html[data-theme] .checkbox-input:not(.checkbox-input--read-only):focus input[type='checkbox'],
1151
+ html[data-theme]
1152
+ .checkbox-input:not(.checkbox-input--read-only):focus-within
1153
+ input[type='checkbox'] {
1154
+ border: 0 !important;
1155
+ box-shadow: none !important;
1156
+ }
1157
+ .checkbox-input--checked .checkbox-input__input {
1158
+ background: var(--minimal-primary);
1159
+ border-color: var(--minimal-primary);
1160
+ color: #16120b;
1161
+ }
1162
+
1163
+ /* Edit view */
1164
+ .doc-controls {
1165
+ background: color-mix(in srgb, var(--minimal-paper) 92%, transparent);
1166
+ border-bottom: 1px solid var(--minimal-divider);
1167
+ box-shadow: none;
1168
+ min-height: var(--doc-controls-height);
1169
+ padding-bottom: 0;
1170
+ padding-top: 0;
1171
+ top: var(--minimal-header-height);
1172
+ z-index: calc(var(--z-nav) - 2);
1173
+ }
1174
+
1175
+ .doc-controls__wrapper,
1176
+ .doc-controls__content,
1177
+ .doc-controls__controls-wrapper,
1178
+ .doc-controls__controls {
1179
+ align-items: center;
1180
+ }
1181
+ .doc-controls__wrapper {
1182
+ gap: 12px;
1183
+ height: var(--doc-controls-height);
1184
+ }
1185
+ .doc-controls__content {
1186
+ gap: 10px;
1187
+ padding-block: 6px;
1188
+ }
1189
+ .doc-controls__controls,
1190
+ .doc-controls__controls-wrapper {
1191
+ gap: 8px;
1192
+ }
1193
+ .doc-controls__meta {
1194
+ align-items: center;
1195
+ color: var(--minimal-text-secondary);
1196
+ display: flex;
1197
+ font-size: 12px;
1198
+ line-height: 18px;
1199
+ }
1200
+ .doc-controls__list-item p {
1201
+ line-height: 18px;
1202
+ margin: 0;
1203
+ }
1204
+ .doc-controls__divider {
1205
+ background: var(--minimal-divider);
1206
+ }
1207
+
1208
+ .doc-controls .form-submit .btn--style-primary,
1209
+ .doc-controls .form-submit > .btn--style-primary,
1210
+ .doc-controls .form-submit .btn--style-primary > button {
1211
+ background: var(--minimal-primary);
1212
+ border-color: var(--minimal-primary);
1213
+ color: #16120b;
1214
+ }
1215
+
1216
+ .doc-controls .form-submit .popup-button {
1217
+ background: color-mix(in srgb, var(--minimal-primary) 88%, #fff);
1218
+ border-color: var(--minimal-primary);
1219
+ color: #16120b;
1220
+ }
1221
+
1222
+ .doc-controls .form-submit,
1223
+ .doc-controls .form-submit > .btn--withPopup,
1224
+ .doc-controls .form-submit > .btn--withPopup > .btn,
1225
+ .doc-controls .form-submit > .btn--withPopup > .popup,
1226
+ .doc-controls .form-submit > .btn--withPopup > .popup .popup__trigger-wrap,
1227
+ .doc-controls .form-submit > .btn--withPopup > .popup .popup-button {
1228
+ align-items: center;
1229
+ height: 36px;
1230
+ min-height: 36px;
1231
+ }
1232
+ .doc-controls .form-submit > .btn--withPopup {
1233
+ display: inline-flex;
1234
+ margin: 0;
1235
+ }
1236
+ .doc-controls .form-submit > .btn--withPopup > .btn,
1237
+ .doc-controls .form-submit > .btn--withPopup > .popup .popup-button {
1238
+ display: inline-flex;
1239
+ justify-content: center;
1240
+ margin: 0;
1241
+ padding-block: 0;
1242
+ }
1243
+ .doc-controls .form-submit > .btn--withPopup > .popup {
1244
+ display: flex;
1245
+ }
1246
+
1247
+ .doc-controls__dots {
1248
+ border-color: var(--minimal-divider);
1249
+ flex: 0 0 36px;
1250
+ height: 36px;
1251
+ margin: 0;
1252
+ width: 36px;
1253
+ }
1254
+
1255
+ .collection-edit,
1256
+ .global-edit,
1257
+ .document-fields {
1258
+ background: var(--minimal-background);
1259
+ }
1260
+ .document-fields--has-sidebar .document-fields__main {
1261
+ width: 72%;
1262
+ }
1263
+ .document-fields--has-sidebar .document-fields__sidebar-wrap {
1264
+ min-width: 300px;
1265
+ --sidebar-wrap-height: calc(100dvh - var(--minimal-header-height) - var(--doc-controls-height));
1266
+ --sidebar-wrap-top: calc(var(--minimal-header-height) + var(--doc-controls-height));
1267
+ width: 28%;
1268
+ }
1269
+ .collection-edit__main-wrapper {
1270
+ position: relative;
1271
+ }
1272
+ .document-fields {
1273
+ align-items: stretch;
1274
+ --doc-sidebar-width: 300px;
1275
+ --main-width: min(72%, calc(100% - 360px));
1276
+ }
1277
+ .document-fields__edit {
1278
+ max-width: none;
1279
+ padding-bottom: 56px;
1280
+ padding-top: 24px;
1281
+ }
1282
+ .document-fields__sidebar {
1283
+ background: var(--minimal-paper);
1284
+ border-left: 1px solid var(--minimal-divider);
1285
+ padding-bottom: 40px;
1286
+ padding-top: 24px;
1287
+ }
1288
+
1289
+ /* Fields */
1290
+ .field-type {
1291
+ margin-bottom: 18px;
1292
+ }
1293
+ .field-label,
1294
+ .field-label__label,
1295
+ .field-type > label {
1296
+ align-items: center;
1297
+ color: var(--minimal-text-primary);
1298
+ display: flex;
1299
+ font-size: 13px;
1300
+ font-weight: 600;
1301
+ line-height: 20px;
1302
+ margin-bottom: 6px;
1303
+ min-height: 20px;
1304
+ padding: 0;
1305
+ }
1306
+ .field-description {
1307
+ color: var(--minimal-text-secondary);
1308
+ font-size: 12px;
1309
+ line-height: 18px;
1310
+ margin-top: 6px;
1311
+ }
1312
+
1313
+ .text-input,
1314
+ .textarea-outer,
1315
+ .date-time-field__input,
1316
+ .react-select .rs__control,
1317
+ .upload__wrap,
1318
+ .relationship--single-value .rs__control {
1319
+ background: var(--minimal-paper);
1320
+ border: 1px solid var(--minimal-divider);
1321
+ border-radius: var(--minimal-radius-sm);
1322
+ box-shadow: none;
1323
+ transition:
1324
+ border-color 160ms ease,
1325
+ box-shadow 160ms ease;
1326
+ }
1327
+
1328
+ .text-input:focus-within,
1329
+ .textarea-outer:focus-within,
1330
+ .date-time-field__input:focus-within,
1331
+ .react-select .rs__control--is-focused,
1332
+ .upload__wrap:focus-within {
1333
+ border-color: var(--minimal-primary);
1334
+ box-shadow: 0 0 0 1px var(--minimal-primary);
1335
+ }
1336
+
1337
+ .field-type
1338
+ input:not([type='checkbox']):not([type='radio']):not([type='color']):not(
1339
+ .section-title__input
1340
+ ):not(.rs__input),
1341
+ .field-type textarea,
1342
+ .date-time-field input {
1343
+ background: transparent;
1344
+ color: var(--minimal-text-primary);
1345
+ font-size: 14px;
1346
+ line-height: 20px;
1347
+ }
1348
+ .field-type
1349
+ input:not([type='checkbox']):not([type='radio']):not([type='color']):not(
1350
+ .section-title__input
1351
+ ):not(.rs__input),
1352
+ .date-time-field input {
1353
+ min-height: 40px;
1354
+ padding: 9px 12px;
1355
+ }
1356
+ .field-type textarea {
1357
+ min-height: 88px;
1358
+ padding: 10px 12px;
1359
+ }
1360
+ .field-type input::placeholder,
1361
+ .field-type textarea::placeholder {
1362
+ color: var(--minimal-text-disabled);
1363
+ opacity: 1;
1364
+ }
1365
+ .field-type input:disabled,
1366
+ .field-type textarea:disabled {
1367
+ background: var(--minimal-action-hover);
1368
+ color: var(--minimal-text-disabled);
1369
+ }
1370
+
1371
+ .section-background-field,
1372
+ .wikex-color-field {
1373
+ --color-control-height: 40px;
1374
+ }
1375
+ .section-background-field__hex input,
1376
+ .wikex-color-field__custom input[type='text'] {
1377
+ height: var(--color-control-height);
1378
+ min-height: var(--color-control-height);
1379
+ padding: 0 10px;
1380
+ }
1381
+
1382
+ /* Minimal UI select system -------------------------------------------------
1383
+ * Payload uses both native selects and React Select. They intentionally share
1384
+ * the same 40px outlined shell, compact menu rows and 18px chevron used by the
1385
+ * Minimal UI theme in next-ts. Behaviour remains owned by Payload.
1386
+ */
1387
+ select:not([multiple]) {
1388
+ appearance: none;
1389
+ background-color: var(--minimal-paper);
1390
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%23919eab' d='M12 16a1 1 0 0 1-.64-.23l-6-5a1 1 0 1 1 1.28-1.54L12 13.71l5.36-4.32a1 1 0 0 1 1.41.15a1 1 0 0 1-.14 1.46l-6 4.83A1 1 0 0 1 12 16'/%3E%3C/svg%3E");
1391
+ background-position: right 10px center;
1392
+ background-repeat: no-repeat;
1393
+ background-size: 18px 18px;
1394
+ border: 1px solid var(--minimal-divider);
1395
+ border-radius: var(--minimal-radius-sm);
1396
+ color: var(--minimal-text-primary);
1397
+ cursor: pointer;
1398
+ font: inherit;
1399
+ font-size: 14px;
1400
+ height: 40px;
1401
+ line-height: 20px;
1402
+ min-width: 0;
1403
+ padding: 9px 38px 9px 12px;
1404
+ transition:
1405
+ background-color 160ms ease,
1406
+ border-color 160ms ease,
1407
+ box-shadow 160ms ease;
1408
+ }
1409
+ select:not([multiple]):hover:not(:disabled) {
1410
+ border-color: rgb(214 181 111 / 48%);
1411
+ }
1412
+ select:not([multiple]):focus-visible {
1413
+ border-color: var(--minimal-primary);
1414
+ box-shadow: var(--minimal-focus-ring);
1415
+ }
1416
+ select:not([multiple]):disabled {
1417
+ background-color: var(--minimal-action-hover);
1418
+ color: var(--minimal-text-disabled);
1419
+ cursor: not-allowed;
1420
+ opacity: 0.72;
1421
+ }
1422
+ select option,
1423
+ select optgroup {
1424
+ background: var(--minimal-paper);
1425
+ color: var(--minimal-text-primary);
1426
+ }
1427
+
1428
+ /* These two controls already render a swatch and their own chevron wrapper. */
1429
+ .section-background-field__preset-select select,
1430
+ .wikex-color-field__preset-select select {
1431
+ background-color: transparent;
1432
+ background-image: none;
1433
+ border: 0;
1434
+ border-radius: 0;
1435
+ box-shadow: none;
1436
+ height: 100%;
1437
+ padding: 0 28px 0 0;
1438
+ }
1439
+ .section-background-field__preset-select,
1440
+ .wikex-color-field__preset-select {
1441
+ border-radius: var(--minimal-radius-sm);
1442
+ }
1443
+ .section-background-field__preset-select select,
1444
+ .wikex-color-field__preset-select select {
1445
+ font-size: 14px;
1446
+ line-height: 20px;
1447
+ }
1448
+
1449
+ .wikex-typography-selects {
1450
+ align-items: center;
1451
+ display: flex;
1452
+ gap: 6px;
1453
+ min-width: 0;
1454
+ padding-inline: 4px;
1455
+ }
1456
+ .wikex-minimal-select {
1457
+ font-size: 12px !important;
1458
+ height: 32px !important;
1459
+ line-height: 18px !important;
1460
+ padding-block: 6px !important;
1461
+ }
1462
+ .wikex-minimal-select--font {
1463
+ width: 124px;
1464
+ }
1465
+ .wikex-minimal-select--line-height {
1466
+ width: 136px;
1467
+ }
1468
+
1469
+ .react-select {
1470
+ color: var(--minimal-text-primary);
1471
+ max-width: 100%;
1472
+ min-width: 0;
1473
+ width: 100%;
1474
+ }
1475
+ .react-select .rs__control {
1476
+ background: var(--minimal-paper);
1477
+ border: 1px solid var(--minimal-divider);
1478
+ border-radius: var(--minimal-radius-sm);
1479
+ box-shadow: none;
1480
+ cursor: pointer;
1481
+ min-height: 40px;
1482
+ min-width: 0;
1483
+ padding: 0 !important;
1484
+ transition:
1485
+ background-color 160ms ease,
1486
+ border-color 160ms ease,
1487
+ box-shadow 160ms ease;
1488
+ }
1489
+ .react-select .rs__control:hover {
1490
+ border-color: rgb(214 181 111 / 48%);
1491
+ }
1492
+ .react-select .rs__control--is-focused,
1493
+ .react-select .rs__control--menu-is-open {
1494
+ border-color: var(--minimal-primary);
1495
+ box-shadow: var(--minimal-focus-ring);
1496
+ }
1497
+ .react-select .rs__control--is-disabled {
1498
+ background: var(--minimal-action-hover);
1499
+ cursor: not-allowed;
1500
+ opacity: 0.72;
1501
+ }
1502
+ .react-select .rs__value-container {
1503
+ flex-wrap: wrap;
1504
+ min-height: 38px;
1505
+ min-width: 0;
1506
+ overflow: hidden;
1507
+ padding: 4px 6px 4px 12px;
1508
+ }
1509
+ .react-select .rs__single-value,
1510
+ .react-select .rs__placeholder,
1511
+ .react-select .rs__input-container {
1512
+ color: var(--minimal-text-primary);
1513
+ font-size: 14px;
1514
+ line-height: 20px;
1515
+ margin: 0;
1516
+ padding: 0;
1517
+ }
1518
+ .react-select .rs__single-value {
1519
+ max-width: 100%;
1520
+ overflow: hidden;
1521
+ text-overflow: ellipsis;
1522
+ }
1523
+ .react-select .rs__placeholder {
1524
+ color: var(--minimal-text-disabled);
1525
+ }
1526
+ .react-select .rs__input {
1527
+ color: var(--minimal-text-primary) !important;
1528
+ height: auto;
1529
+ line-height: 20px;
1530
+ min-height: 0;
1531
+ padding: 0;
1532
+ }
1533
+ .react-select .rs__indicators {
1534
+ align-items: center;
1535
+ align-self: stretch;
1536
+ gap: 0;
1537
+ }
1538
+ .react-select .rs__indicator-separator {
1539
+ display: none;
1540
+ }
1541
+ .react-select .clear-indicator,
1542
+ .react-select .dropdown-indicator,
1543
+ .react-select .rs__indicator {
1544
+ align-items: center;
1545
+ background: transparent;
1546
+ border: 0;
1547
+ color: var(--minimal-text-secondary);
1548
+ display: flex;
1549
+ height: 38px;
1550
+ justify-content: center;
1551
+ margin: 0;
1552
+ padding: 0;
1553
+ transition:
1554
+ background-color 160ms ease,
1555
+ color 160ms ease;
1556
+ width: 32px;
1557
+ }
1558
+ .react-select .clear-indicator:hover,
1559
+ .react-select .dropdown-indicator:hover {
1560
+ background: var(--minimal-action-hover);
1561
+ color: var(--minimal-primary);
1562
+ }
1563
+ .react-select .clear-indicator__icon,
1564
+ .react-select .dropdown-indicator__icon,
1565
+ .react-select .rs__indicator svg {
1566
+ height: 18px;
1567
+ width: 18px;
1568
+ }
1569
+ .react-select .rs__control--menu-is-open .dropdown-indicator__icon {
1570
+ transform: rotate(180deg);
1571
+ }
1572
+ .react-select .rs__menu {
1573
+ background: var(--minimal-paper);
1574
+ border: 1px solid var(--minimal-divider);
1575
+ border-radius: 10px;
1576
+ box-shadow: var(--minimal-shadow-z12);
1577
+ margin-block: 6px;
1578
+ max-width: 100%;
1579
+ min-width: 0 !important;
1580
+ overflow: hidden;
1581
+ padding: 0;
1582
+ z-index: calc(var(--z-modal) + 2);
1583
+ width: 100%;
1584
+ }
1585
+ .react-select .rs__menu-list {
1586
+ max-height: min(240px, 36vh);
1587
+ overflow-x: hidden;
1588
+ padding: 6px;
1589
+ }
1590
+ .react-select .rs__group-heading {
1591
+ color: var(--minimal-text-secondary);
1592
+ font-size: 11px;
1593
+ font-weight: 700;
1594
+ letter-spacing: 0.04em;
1595
+ margin: 8px 10px 6px;
1596
+ padding: 0;
1597
+ text-transform: uppercase;
1598
+ }
1599
+ .react-select .rs__menu-notice {
1600
+ color: var(--minimal-text-secondary);
1601
+ font-size: 13px;
1602
+ line-height: 20px;
1603
+ padding: 10px;
1604
+ }
1605
+ .react-select .rs__option {
1606
+ align-items: center;
1607
+ background: transparent;
1608
+ border-radius: 7px;
1609
+ color: var(--minimal-text-primary);
1610
+ cursor: pointer;
1611
+ display: flex;
1612
+ font-size: 14px;
1613
+ line-height: 20px;
1614
+ min-height: 36px;
1615
+ padding: 8px 10px;
1616
+ }
1617
+ .react-select .rs__option:not(:last-child) {
1618
+ margin-bottom: 4px;
1619
+ }
1620
+ .react-select .rs__option--is-focused {
1621
+ background: var(--minimal-action-hover);
1622
+ }
1623
+ .react-select .rs__option--is-selected {
1624
+ background: var(--minimal-action-selected);
1625
+ color: var(--minimal-primary);
1626
+ font-weight: 600;
1627
+ }
1628
+ .react-select .rs__option--is-disabled {
1629
+ color: var(--minimal-text-disabled);
1630
+ cursor: not-allowed;
1631
+ }
1632
+ .react-select .rs__multi-value {
1633
+ align-items: center;
1634
+ background: var(--minimal-action-selected);
1635
+ border-radius: 6px;
1636
+ color: var(--minimal-text-primary);
1637
+ margin: 2px 4px 2px 0;
1638
+ max-width: 100%;
1639
+ min-width: 0;
1640
+ min-height: 26px;
1641
+ }
1642
+ .react-select .rs__multi-value__label {
1643
+ color: inherit;
1644
+ font-size: 12px;
1645
+ line-height: 18px;
1646
+ padding: 4px 2px 4px 7px;
1647
+ overflow: hidden;
1648
+ text-overflow: ellipsis;
1649
+ white-space: nowrap;
1650
+ }
1651
+
1652
+ .field-type.relationship,
1653
+ .field-type.upload,
1654
+ .relationship__wrap,
1655
+ .relationship__wrap > :first-child {
1656
+ max-width: 100%;
1657
+ min-width: 0;
1658
+ }
1659
+
1660
+ .relationship__wrap {
1661
+ align-items: start;
1662
+ display: grid;
1663
+ gap: 8px;
1664
+ grid-template-columns: minmax(0, 1fr) auto;
1665
+ }
1666
+
1667
+ .relationship__wrap .react-select {
1668
+ grid-column: 1;
1669
+ }
1670
+
1671
+ .relationship__wrap > button,
1672
+ .relationship__wrap > .relationship-add-new {
1673
+ grid-column: 2;
1674
+ }
1675
+ .react-select .rs__multi-value__remove {
1676
+ border-radius: 5px;
1677
+ color: var(--minimal-text-secondary);
1678
+ margin: 2px;
1679
+ padding: 2px;
1680
+ }
1681
+ .react-select .rs__multi-value__remove:hover {
1682
+ background: rgb(214 181 111 / 18%);
1683
+ color: var(--minimal-primary);
1684
+ }
1685
+ .react-select .rs__loading-indicator,
1686
+ .react-select .rs__no-options-message,
1687
+ .react-select .rs__loading-message {
1688
+ color: var(--minimal-text-secondary);
1689
+ font-size: 13px;
1690
+ }
1691
+ .react-select--error .rs__control,
1692
+ .field-type.error .react-select .rs__control {
1693
+ border-color: var(--minimal-error);
1694
+ }
1695
+ .react-select--error .rs__control--is-focused,
1696
+ .field-type.error .react-select .rs__control--is-focused {
1697
+ box-shadow: 0 0 0 3px rgb(255 86 48 / 18%);
1698
+ }
1699
+
1700
+ select[multiple] {
1701
+ background: var(--minimal-paper);
1702
+ border: 1px solid var(--minimal-divider);
1703
+ border-radius: var(--minimal-radius-sm);
1704
+ color: var(--minimal-text-primary);
1705
+ font: inherit;
1706
+ font-size: 14px;
1707
+ min-height: 120px;
1708
+ padding: 6px;
1709
+ }
1710
+ select[multiple]:focus-visible {
1711
+ border-color: var(--minimal-primary);
1712
+ box-shadow: var(--minimal-focus-ring);
1713
+ }
1714
+ select[multiple] option {
1715
+ border-radius: 7px;
1716
+ padding: 8px 10px;
1717
+ }
1718
+
1719
+ /* Tabs, arrays and blocks */
1720
+ .tabs-field {
1721
+ margin-top: 20px !important;
1722
+ margin-inline: 0 !important;
1723
+ width: 100%;
1724
+ }
1725
+ .tabs-field__tabs {
1726
+ align-items: center;
1727
+ background: transparent;
1728
+ border-bottom: 1px solid var(--minimal-divider);
1729
+ display: flex;
1730
+ gap: 18px;
1731
+ margin-bottom: 10px;
1732
+ padding: 0;
1733
+ }
1734
+ .tabs-field__tabs::before,
1735
+ .tabs-field__tabs::after {
1736
+ content: none;
1737
+ display: none;
1738
+ }
1739
+ .tabs-field__content-wrap {
1740
+ padding-inline: 0 !important;
1741
+ }
1742
+ .tabs-field__tab-button {
1743
+ align-items: center;
1744
+ background: transparent;
1745
+ border: 0;
1746
+ border-bottom: 2px solid transparent;
1747
+ color: var(--minimal-text-secondary);
1748
+ display: inline-flex;
1749
+ font-size: 13px;
1750
+ font-weight: 600;
1751
+ height: 42px;
1752
+ justify-content: center;
1753
+ line-height: 22px;
1754
+ margin-bottom: -1px;
1755
+ padding: 0 2px;
1756
+
1757
+ &:hover {
1758
+ color: var(--minimal-text-primary);
1759
+ }
1760
+ &--active {
1761
+ border-bottom-color: var(--minimal-primary);
1762
+ color: var(--minimal-text-primary);
1763
+ }
1764
+ }
1765
+
1766
+ .array-field__header,
1767
+ .blocks-field__header {
1768
+ align-items: center;
1769
+ margin-bottom: 8px;
1770
+ }
1771
+ .blocks-field__header-actions {
1772
+ align-items: center;
1773
+ height: 32px;
1774
+ }
1775
+ .blocks-field__header-action,
1776
+ .blocks-field__header-actions .popup,
1777
+ .blocks-field__header-actions .popup__trigger-wrap,
1778
+ .blocks-field__header-actions .popup-button {
1779
+ align-items: center;
1780
+ display: flex;
1781
+ height: 32px;
1782
+ justify-content: center;
1783
+ min-height: 32px;
1784
+ }
1785
+ .blocks-field__header-actions .popup,
1786
+ .blocks-field__header-actions .popup__trigger-wrap,
1787
+ .blocks-field__header-actions .popup-button {
1788
+ padding: 0;
1789
+ width: 32px;
1790
+ }
1791
+ .array-field__title,
1792
+ .blocks-field__title,
1793
+ .blocks-field h3 {
1794
+ color: var(--minimal-text-primary);
1795
+ font-size: 18px;
1796
+ font-weight: 700;
1797
+ line-height: 28px;
1798
+ margin: 0;
1799
+ }
1800
+
1801
+ .array-field__row,
1802
+ .blocks-field__row,
1803
+ .collapsible--style-default {
1804
+ background: var(--minimal-paper);
1805
+ border: 1px solid var(--minimal-divider);
1806
+ border-radius: var(--minimal-radius-md);
1807
+ box-shadow: var(--minimal-shadow-z1);
1808
+ margin-bottom: 0;
1809
+ overflow: hidden;
1810
+ }
1811
+
1812
+ .collapsible__toggle-wrap {
1813
+ align-items: center;
1814
+ background: var(--minimal-neutral);
1815
+ border-bottom: 1px solid transparent;
1816
+ display: flex;
1817
+ height: 44px;
1818
+ min-height: 44px;
1819
+ padding: 4px 8px;
1820
+ }
1821
+ .collapsible--open .collapsible__toggle-wrap {
1822
+ border-bottom-color: var(--minimal-divider);
1823
+ }
1824
+ .collapsible__toggle {
1825
+ align-items: center;
1826
+ height: 44px;
1827
+ min-height: 44px;
1828
+ }
1829
+ .collapsible__content {
1830
+ background: var(--minimal-paper);
1831
+ padding: 18px;
1832
+ }
1833
+
1834
+ // React Select renders its menu inside the current field. Open rows must be
1835
+ // allowed to paint above the next block instead of clipping the menu at the
1836
+ // rounded card boundary.
1837
+ .array-field__row:has(.rs__menu),
1838
+ .blocks-field__row:has(.rs__menu),
1839
+ .collapsible--style-default:has(.rs__menu) {
1840
+ overflow: visible;
1841
+ position: relative;
1842
+ z-index: 20;
1843
+ }
1844
+
1845
+ .array-field__row:has(.rs__menu) .collapsible__content,
1846
+ .blocks-field__row:has(.rs__menu) .collapsible__content,
1847
+ .collapsible--style-default:has(.rs__menu) .collapsible__content {
1848
+ overflow: visible;
1849
+ }
1850
+ .blocks-field__block-number {
1851
+ color: var(--minimal-text-disabled);
1852
+ font-size: 12px;
1853
+ font-weight: 700;
1854
+ }
1855
+ .blocks-field__block-header {
1856
+ align-items: center;
1857
+ color: var(--minimal-text-primary);
1858
+ font-size: 13px;
1859
+ font-weight: 700;
1860
+ gap: 8px;
1861
+ line-height: 20px;
1862
+ min-width: 0;
1863
+ }
1864
+ .blocks-field__rows,
1865
+ .array-field__rows {
1866
+ gap: 6px;
1867
+ }
1868
+ .blocks-field__block-pill {
1869
+ line-height: 18px;
1870
+ max-width: min(42%, 240px);
1871
+ }
1872
+ .blocks-field__block-pill .pill__label {
1873
+ overflow: hidden;
1874
+ text-overflow: ellipsis;
1875
+ white-space: nowrap;
1876
+ }
1877
+ .blocks-field .section-title {
1878
+ align-items: center;
1879
+ flex: 1 1 auto;
1880
+ height: 24px;
1881
+ min-height: 24px;
1882
+ min-width: 72px;
1883
+ overflow: hidden;
1884
+ }
1885
+ .blocks-field .section-title::after,
1886
+ .blocks-field .section-title__input {
1887
+ font-size: 13px;
1888
+ font-weight: 600;
1889
+ height: 24px;
1890
+ line-height: 20px;
1891
+ min-height: 24px;
1892
+ padding: 2px 0;
1893
+ }
1894
+ .blocks-field .section-title__input {
1895
+ background: transparent;
1896
+ border: 0;
1897
+ inset: 0;
1898
+ overflow: hidden;
1899
+ text-overflow: ellipsis;
1900
+ white-space: nowrap;
1901
+ }
1902
+ .blocks-field .section-title__input:focus {
1903
+ border-bottom: 1px solid var(--minimal-primary);
1904
+ box-shadow: none;
1905
+ }
1906
+ .collapsible__header-wrap,
1907
+ .collapsible__actions-wrap,
1908
+ .collapsible__actions,
1909
+ .collapsible__indicator,
1910
+ .collapsible__drag {
1911
+ align-items: center;
1912
+ }
1913
+ .collapsible__actions-wrap {
1914
+ display: flex;
1915
+ gap: 2px;
1916
+ height: 32px;
1917
+ }
1918
+ .collapsible__actions,
1919
+ .collapsible__indicator {
1920
+ display: flex;
1921
+ flex: 0 0 32px;
1922
+ height: 32px;
1923
+ justify-content: center;
1924
+ width: 32px;
1925
+ }
1926
+ .collapsible__actions .popup,
1927
+ .collapsible__actions .popup__trigger-wrap,
1928
+ .collapsible__actions .popup-button {
1929
+ align-items: center;
1930
+ display: flex;
1931
+ height: 32px;
1932
+ justify-content: center;
1933
+ min-height: 32px;
1934
+ padding: 0;
1935
+ width: 32px;
1936
+ }
1937
+ .array-field__add-row,
1938
+ .blocks-field__add-block {
1939
+ margin-top: 12px;
1940
+ }
1941
+
1942
+ /* Rich text */
1943
+ .lexical-rich-text-field {
1944
+ border: 1px solid var(--minimal-divider);
1945
+ border-radius: var(--minimal-radius-md);
1946
+ overflow: hidden;
1947
+ }
1948
+ .lexical-rich-text-field .toolbar-popup__wrapper,
1949
+ .lexical-rich-text-field .fixed-toolbar {
1950
+ background: var(--minimal-neutral);
1951
+ border-bottom: 1px solid var(--minimal-divider);
1952
+ }
1953
+ .ContentEditable__root {
1954
+ background: var(--minimal-paper);
1955
+ color: var(--minimal-text-primary);
1956
+ font-size: 14px;
1957
+ line-height: 1.65;
1958
+ min-height: 112px;
1959
+ padding: 14px;
1960
+ }
1961
+
1962
+ /* Common surfaces */
1963
+ .upload__wrap,
1964
+ .file-details {
1965
+ background: var(--minimal-paper);
1966
+ border-color: var(--minimal-divider);
1967
+ }
1968
+ .file-details {
1969
+ border-radius: var(--minimal-radius-md);
1970
+ overflow: hidden;
1971
+ }
1972
+ .pill,
1973
+ .status {
1974
+ align-items: center;
1975
+ border: 0;
1976
+ border-radius: 8px;
1977
+ display: inline-flex;
1978
+ font-size: 12px;
1979
+ font-weight: 700;
1980
+ line-height: 18px;
1981
+ min-height: 26px;
1982
+ padding: 4px 8px;
1983
+ }
1984
+
1985
+ .popup__content,
1986
+ .drawer__content,
1987
+ .modal__content,
1988
+ .confirmation-modal__wrapper {
1989
+ background: var(--minimal-paper);
1990
+ border: 1px solid var(--minimal-divider);
1991
+ border-radius: var(--minimal-radius-md);
1992
+ box-shadow: var(--minimal-shadow-z12);
1993
+ color: var(--minimal-text-primary);
1994
+ }
1995
+ .popup__content {
1996
+ border-radius: 10px;
1997
+ padding: 6px;
1998
+ }
1999
+ .confirmation-modal {
2000
+ min-height: 100dvh;
2001
+ padding: clamp(16px, 2vw, 24px);
2002
+ }
2003
+ .confirmation-modal__wrapper {
2004
+ gap: 16px;
2005
+ max-width: 480px;
2006
+ padding: 24px;
2007
+ width: min(100%, 480px);
2008
+ }
2009
+ .confirmation-modal__content {
2010
+ gap: 8px;
2011
+ }
2012
+ .confirmation-modal__content > * {
2013
+ margin: 0;
2014
+ }
2015
+ .confirmation-modal__content h1,
2016
+ .confirmation-modal__content h2,
2017
+ .confirmation-modal__content h3 {
2018
+ font-size: 20px;
2019
+ letter-spacing: -0.02em;
2020
+ line-height: 1.35;
2021
+ }
2022
+ .confirmation-modal__controls {
2023
+ gap: 12px;
2024
+ justify-content: flex-end;
2025
+ padding-top: 4px;
2026
+ }
2027
+ .confirmation-modal__controls .btn {
2028
+ margin: 0;
2029
+ min-width: 88px;
2030
+ }
2031
+ .drawer__content {
2032
+ border-radius: 16px;
2033
+ box-shadow: 0 32px 80px -12px rgb(0 0 0 / 42%);
2034
+ }
2035
+ .drawer {
2036
+ align-items: center;
2037
+ height: 100dvh;
2038
+ inset: 0;
2039
+ justify-content: center;
2040
+ padding: clamp(12px, 1.5vw, 24px);
2041
+ width: 100vw !important;
2042
+ }
2043
+ .drawer__blur-bg,
2044
+ .drawer__close {
2045
+ inset: 0;
2046
+ position: absolute;
2047
+ }
2048
+ .drawer__close {
2049
+ height: 100%;
2050
+ width: 100%;
2051
+ }
2052
+ .drawer__content {
2053
+ flex: 0 1 auto;
2054
+ height: calc(100dvh - clamp(24px, 3vw, 48px));
2055
+ max-height: calc(100dvh - clamp(24px, 3vw, 48px));
2056
+ max-width: calc(100vw - clamp(24px, 3vw, 48px));
2057
+ min-width: 0;
2058
+ overflow-x: hidden;
2059
+ width: calc(100vw - clamp(24px, 3vw, 48px)) !important;
2060
+ }
2061
+ .drawer__content > *,
2062
+ .drawer__content .document-fields,
2063
+ .drawer__content .document-fields__main,
2064
+ .drawer__content .document-fields__sidebar-wrap {
2065
+ max-width: 100%;
2066
+ min-width: 0;
2067
+ }
2068
+ .drawer .document-fields__sidebar-wrap {
2069
+ --sidebar-wrap-height: calc(100dvh - var(--doc-controls-height) - clamp(24px, 3vw, 48px));
2070
+ --sidebar-wrap-top: var(--doc-controls-height);
2071
+ }
2072
+ .drawer__header {
2073
+ border-bottom: 1px dashed var(--minimal-divider);
2074
+ margin: 0;
2075
+ padding: 24px;
2076
+ }
2077
+ .drawer__blur-bg::after {
2078
+ backdrop-filter: blur(8px);
2079
+ }
2080
+ .popup-button,
2081
+ .popup__button-list button,
2082
+ .popup__button-list a {
2083
+ border-radius: 7px;
2084
+ color: var(--minimal-text-primary);
2085
+ font-size: 14px;
2086
+ min-height: 40px;
2087
+ }
2088
+ .popup-button:hover,
2089
+ .popup__button-list button:hover,
2090
+ .popup__button-list a:hover {
2091
+ background: var(--minimal-action-hover);
2092
+ }
2093
+
2094
+ /* Auth and account */
2095
+ .login,
2096
+ .forgot-password,
2097
+ .reset-password {
2098
+ background: var(--minimal-background);
2099
+ min-height: 100vh;
2100
+ }
2101
+ .login__wrap,
2102
+ .forgot-password__wrap,
2103
+ .reset-password__wrap {
2104
+ background: var(--minimal-paper);
2105
+ border: 1px solid var(--minimal-divider);
2106
+ border-radius: var(--minimal-radius-lg);
2107
+ box-shadow: var(--minimal-shadow-card);
2108
+ margin: auto;
2109
+ max-width: 460px;
2110
+ padding: 40px;
2111
+ }
2112
+ .account {
2113
+ padding-bottom: 72px;
2114
+ }
2115
+ .account__form {
2116
+ max-width: 900px;
2117
+ }
2118
+ .dashboard > .dashboard__wrap {
2119
+ padding-inline: var(--gutter-h);
2120
+ }
2121
+
2122
+ /* BeforeDashboard supplies the complete workspace; remove Payload's legacy cards below it. */
2123
+ .dashboard > .admin-dashboard + div {
2124
+ display: none;
2125
+ }
2126
+
2127
+ /* Live Preview remains functional inside the new shell. */
2128
+ .collection-edit__main-wrapper {
2129
+ --live-preview-edit-width: 40%;
2130
+ }
2131
+
2132
+ /* Switching preview used to animate grid width, sidebar width and the whole
2133
+ * document transform at the same time. Keep layout changes atomic and animate
2134
+ * only the newly visible surface on the compositor. */
2135
+ html.wikex-live-preview-switching .template-default,
2136
+ html.wikex-live-preview-switching .minimal-admin-header {
2137
+ transition: none !important;
2138
+ }
2139
+ html.wikex-live-preview-switching .minimal-nav {
2140
+ transition:
2141
+ opacity 140ms ease,
2142
+ transform 140ms ease !important;
2143
+ }
2144
+ html.wikex-live-preview-switching[data-wikex-live-preview-target='preview']
2145
+ .collection-edit--is-live-previewing[data-wikex-visual-editor='true']
2146
+ .live-preview-window__wrapper,
2147
+ html.wikex-live-preview-switching[data-wikex-live-preview-target='edit']
2148
+ .collection-edit:not(.collection-edit--is-live-previewing)
2149
+ .collection-edit__main {
2150
+ animation: wikex-live-preview-enter 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
2151
+ will-change: opacity;
2152
+ }
2153
+
2154
+ @keyframes wikex-live-preview-enter {
2155
+ from {
2156
+ opacity: 0.88;
2157
+ }
2158
+ to {
2159
+ opacity: 1;
2160
+ }
2161
+ }
2162
+
2163
+ .collection-edit--is-live-previewing .collection-edit__main {
2164
+ flex: 0 0 var(--live-preview-edit-width);
2165
+ min-width: 0;
2166
+ order: 0;
2167
+ width: var(--live-preview-edit-width);
2168
+ }
2169
+ .live-preview-resizer {
2170
+ align-items: center;
2171
+ align-self: flex-start;
2172
+ background: var(--minimal-paper);
2173
+ border-left: 1px solid var(--minimal-divider);
2174
+ border-right: 1px solid var(--minimal-divider);
2175
+ cursor: col-resize;
2176
+ display: none;
2177
+ flex: 0 0 12px;
2178
+ height: calc(100vh - 64px);
2179
+ justify-content: center;
2180
+ order: 1;
2181
+ position: sticky;
2182
+ top: 64px;
2183
+ touch-action: none;
2184
+ user-select: none;
2185
+ z-index: 5;
2186
+
2187
+ &__grip {
2188
+ background: var(--minimal-grey-400);
2189
+ border-radius: 999px;
2190
+ height: 64px;
2191
+ transition: 160ms ease;
2192
+ width: 3px;
2193
+ }
2194
+ &:hover &__grip,
2195
+ &:focus-visible &__grip,
2196
+ &--dragging &__grip {
2197
+ background: var(--minimal-primary);
2198
+ height: 84px;
2199
+ }
2200
+ }
2201
+ .collection-edit--is-live-previewing .live-preview-resizer {
2202
+ display: flex;
2203
+ }
2204
+ .live-preview-window {
2205
+ flex: 1 1 0;
2206
+ min-width: 0;
2207
+ order: 2;
2208
+ width: auto;
2209
+ }
2210
+ .live-preview-window__main {
2211
+ min-height: 0;
2212
+ overflow: auto;
2213
+ overscroll-behavior: contain;
2214
+ scrollbar-color: var(--minimal-primary) var(--minimal-neutral);
2215
+ scrollbar-gutter: stable;
2216
+ scrollbar-width: thin;
2217
+ }
2218
+
2219
+ .collection-edit--is-live-previewing[data-wikex-visual-editor='true'] {
2220
+ --wikex-inspector-width: clamp(560px, 42vw, 760px);
2221
+
2222
+ > .doc-controls .doc-controls__meta {
2223
+ display: none;
2224
+ }
2225
+ > .doc-controls .doc-controls__content {
2226
+ justify-content: flex-end;
2227
+ }
2228
+ .collection-edit__main-wrapper {
2229
+ display: block;
2230
+ min-width: 100%;
2231
+ width: 100%;
2232
+ }
2233
+ .collection-edit__main,
2234
+ .live-preview-resizer {
2235
+ display: none;
2236
+ }
2237
+ .live-preview-window {
2238
+ display: block;
2239
+ max-width: 100vw;
2240
+ min-width: 100%;
2241
+ width: 100% !important;
2242
+ }
2243
+ .live-preview-window__wrapper {
2244
+ background: var(--minimal-neutral);
2245
+ contain: layout paint;
2246
+ display: grid;
2247
+ grid-template-columns: 68px minmax(0, 1fr);
2248
+ grid-template-rows: 48px minmax(0, 1fr);
2249
+ min-width: 100%;
2250
+ width: 100%;
2251
+ }
2252
+ .live-preview-toolbar {
2253
+ background: var(--minimal-paper);
2254
+ border-bottom: 1px solid var(--minimal-divider);
2255
+ grid-column: 2;
2256
+ grid-row: 1;
2257
+ display: grid;
2258
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
2259
+ min-height: 48px;
2260
+ padding-inline: 16px;
2261
+ }
2262
+ .live-preview-toolbar-controls {
2263
+ align-items: center;
2264
+ grid-column: 2;
2265
+ height: 32px;
2266
+ }
2267
+ .live-preview-toolbar-controls__breakpoint,
2268
+ .live-preview-toolbar-controls__device-size,
2269
+ .live-preview-toolbar-controls__zoom,
2270
+ .live-preview-toolbar-controls__external {
2271
+ align-items: center;
2272
+ display: flex;
2273
+ height: 32px;
2274
+ min-height: 32px;
2275
+ }
2276
+ .live-preview-toolbar-controls__breakpoint .popup__trigger-wrap,
2277
+ .live-preview-toolbar-controls__zoom .popup__trigger-wrap,
2278
+ .live-preview-toolbar-controls__breakpoint .popup-button,
2279
+ .live-preview-toolbar-controls__zoom .popup-button {
2280
+ align-items: center;
2281
+ display: flex;
2282
+ height: 32px;
2283
+ justify-content: center;
2284
+ min-height: 32px;
2285
+ }
2286
+ .live-preview-toolbar-controls__device-size {
2287
+ gap: 6px;
2288
+ width: auto;
2289
+ }
2290
+ .live-preview-toolbar-controls__device-size > span {
2291
+ align-items: center;
2292
+ display: flex;
2293
+ height: 32px;
2294
+ justify-content: center;
2295
+ }
2296
+ .live-preview-toolbar-controls .toolbar-input {
2297
+ appearance: textfield;
2298
+ border-color: var(--minimal-divider);
2299
+ border-radius: 6px;
2300
+ color: var(--minimal-text-primary);
2301
+ font-size: 13px;
2302
+ height: 32px;
2303
+ line-height: 20px;
2304
+ min-height: 32px;
2305
+ padding: 5px 8px;
2306
+ width: 64px;
2307
+ }
2308
+ .live-preview-toolbar-controls .toolbar-input::-webkit-inner-spin-button,
2309
+ .live-preview-toolbar-controls .toolbar-input::-webkit-outer-spin-button {
2310
+ appearance: none;
2311
+ margin: 0;
2312
+ }
2313
+ .live-preview-toolbar-controls__external {
2314
+ justify-content: center;
2315
+ padding: 0;
2316
+ width: 32px;
2317
+ }
2318
+ .live-preview-window__main {
2319
+ background: var(--minimal-neutral);
2320
+ grid-column: 2;
2321
+ grid-row: 2;
2322
+ min-width: 0;
2323
+ padding: 12px;
2324
+ width: 100%;
2325
+ }
2326
+ .live-preview-window:not(.live-preview-window--has-breakpoint) .live-preview-window__main {
2327
+ padding: 0;
2328
+ }
2329
+
2330
+ &[data-wikex-inspecting='true'] .collection-edit__main {
2331
+ background: var(--minimal-paper);
2332
+ border-left: 1px solid var(--minimal-divider);
2333
+ box-shadow: -18px 0 48px rgb(0 0 0 / 22%);
2334
+ display: block;
2335
+ height: 100%;
2336
+ max-width: calc(100vw - 88px);
2337
+ overflow-x: hidden;
2338
+ overflow-y: auto;
2339
+ overscroll-behavior: contain;
2340
+ position: absolute;
2341
+ right: 0;
2342
+ top: 0;
2343
+ width: var(--wikex-inspector-width);
2344
+ z-index: 24;
2345
+ }
2346
+ &[data-wikex-inspecting='true'] .document-fields,
2347
+ &[data-wikex-inspecting='true'] .document-fields__main,
2348
+ &[data-wikex-inspecting='true'] .document-fields__edit,
2349
+ &[data-wikex-inspecting='true'] .document-fields__fields,
2350
+ &[data-wikex-inspecting='true'] .document-fields__sidebar-wrap,
2351
+ &[data-wikex-inspecting='true'] .document-fields__sidebar {
2352
+ max-width: 100%;
2353
+ min-width: 0;
2354
+ width: 100% !important;
2355
+ }
2356
+ &[data-wikex-inspecting='true'] .document-fields {
2357
+ display: block;
2358
+ }
2359
+ &[data-wikex-inspecting='true'] .document-fields__sidebar-wrap {
2360
+ height: auto;
2361
+ position: static;
2362
+ }
2363
+ &[data-wikex-inspecting='true'] .document-fields__main {
2364
+ display: block;
2365
+ }
2366
+ &[data-wikex-inspecting='true'] .document-fields__sidebar {
2367
+ border-left: 0;
2368
+ border-top: 1px solid var(--minimal-divider);
2369
+ height: auto;
2370
+ min-height: 0;
2371
+ overflow: visible;
2372
+ }
2373
+ &[data-wikex-inspecting='true'] .render-fields,
2374
+ &[data-wikex-inspecting='true'] .field-type,
2375
+ &[data-wikex-inspecting='true'] .tabs-field,
2376
+ &[data-wikex-inspecting='true'] .collapsible-field {
2377
+ max-width: 100%;
2378
+ min-width: 0;
2379
+ }
2380
+ }
2381
+
2382
+ .wikex-editor-rail {
2383
+ align-items: stretch;
2384
+ background: var(--minimal-paper);
2385
+ border-right: 1px solid var(--minimal-divider);
2386
+ display: none;
2387
+ grid-column: 1;
2388
+ grid-row: 1 / -1;
2389
+ padding: 7px 5px;
2390
+ z-index: 4;
2391
+
2392
+ &__brand {
2393
+ align-items: center;
2394
+ align-self: center;
2395
+ background: var(--minimal-primary);
2396
+ border-radius: 10px;
2397
+ color: #fff;
2398
+ display: flex;
2399
+ font-size: 17px;
2400
+ font-weight: 800;
2401
+ height: 36px;
2402
+ justify-content: center;
2403
+ margin-bottom: 8px;
2404
+ width: 36px;
2405
+ }
2406
+ }
2407
+ .collection-edit--is-live-previewing[data-wikex-visual-editor='true'] .wikex-editor-rail {
2408
+ display: flex;
2409
+ flex-direction: column;
2410
+ }
2411
+ .wikex-editor-tool {
2412
+ align-items: center;
2413
+ background: transparent;
2414
+ border: 0;
2415
+ border-radius: 10px;
2416
+ color: var(--minimal-text-secondary);
2417
+ cursor: pointer;
2418
+ display: flex;
2419
+ flex-direction: column;
2420
+ font-size: 11px;
2421
+ gap: 5px;
2422
+ justify-content: center;
2423
+ min-height: 58px;
2424
+ padding: 6px 3px;
2425
+ text-align: center;
2426
+ text-decoration: none;
2427
+
2428
+ &:hover,
2429
+ &:focus-visible {
2430
+ background: var(--minimal-action-hover);
2431
+ color: var(--minimal-text-primary);
2432
+ }
2433
+ svg {
2434
+ fill: none;
2435
+ height: 20px;
2436
+ stroke: currentColor;
2437
+ width: 20px;
2438
+ }
2439
+ }
2440
+
2441
+ .wikex-editor-canvas-title {
2442
+ align-items: baseline;
2443
+ display: none;
2444
+ gap: 10px;
2445
+ left: 84px;
2446
+ pointer-events: none;
2447
+ position: absolute;
2448
+ top: 15px;
2449
+ z-index: 3;
2450
+ }
2451
+ .wikex-editor-canvas-title strong {
2452
+ color: var(--minimal-text-primary);
2453
+ font-size: 12px;
2454
+ }
2455
+ .wikex-editor-canvas-title span {
2456
+ color: var(--minimal-text-secondary);
2457
+ font-size: 11px;
2458
+ }
2459
+ .wikex-editor-canvas-title__hint {
2460
+ border-left: 1px solid var(--minimal-divider);
2461
+ margin-left: 2px;
2462
+ padding-left: 10px;
2463
+ }
2464
+ .collection-edit--is-live-previewing[data-wikex-visual-editor='true'] .wikex-editor-canvas-title {
2465
+ display: flex;
2466
+ }
2467
+
2468
+ .wikex-block-picker {
2469
+ align-items: center;
2470
+ background: rgb(0 0 0 / 78%);
2471
+ display: flex;
2472
+ inset: 0;
2473
+ justify-content: center;
2474
+ padding: clamp(12px, 1.5vw, 24px);
2475
+ position: fixed;
2476
+ overscroll-behavior: contain;
2477
+ z-index: calc(var(--z-modal, 100) + 10);
2478
+
2479
+ &__dialog {
2480
+ background: var(--minimal-paper);
2481
+ border: 1px solid var(--minimal-divider);
2482
+ border-radius: 16px;
2483
+ box-shadow: 0 32px 80px -12px rgb(0 0 0 / 52%);
2484
+ color: var(--minimal-text-primary);
2485
+ display: grid;
2486
+ grid-template-rows: auto minmax(0, 1fr);
2487
+ height: calc(100dvh - clamp(24px, 3vw, 48px));
2488
+ max-height: calc(100dvh - clamp(24px, 3vw, 48px));
2489
+ max-width: 1440px;
2490
+ overflow: hidden;
2491
+ width: calc(100vw - clamp(24px, 3vw, 48px));
2492
+ }
2493
+
2494
+ &__header {
2495
+ align-items: center;
2496
+ border-bottom: 1px dashed var(--minimal-divider);
2497
+ display: flex;
2498
+ justify-content: space-between;
2499
+ padding: 22px 24px;
2500
+ }
2501
+ &__header > div {
2502
+ display: grid;
2503
+ gap: 4px;
2504
+ }
2505
+ &__header span {
2506
+ color: var(--minimal-primary);
2507
+ font-size: 11px;
2508
+ font-weight: 700;
2509
+ letter-spacing: 0.06em;
2510
+ text-transform: uppercase;
2511
+ }
2512
+ &__header h2 {
2513
+ font-size: clamp(22px, 2vw, 30px);
2514
+ line-height: 1.25;
2515
+ margin: 0;
2516
+ }
2517
+ &__header button {
2518
+ align-items: center;
2519
+ background: transparent;
2520
+ border: 1px solid var(--minimal-divider);
2521
+ border-radius: 50%;
2522
+ color: var(--minimal-text-primary);
2523
+ cursor: pointer;
2524
+ display: flex;
2525
+ flex: 0 0 auto;
2526
+ height: 40px;
2527
+ justify-content: center;
2528
+ padding: 0;
2529
+ width: 40px;
2530
+ }
2531
+ &__header button:hover,
2532
+ &__header button:focus-visible {
2533
+ background: var(--minimal-primary);
2534
+ border-color: var(--minimal-primary);
2535
+ color: #fff;
2536
+ outline: 0;
2537
+ }
2538
+ &__header svg {
2539
+ height: 18px;
2540
+ width: 18px;
2541
+ }
2542
+ &__header path {
2543
+ fill: none;
2544
+ stroke: currentColor;
2545
+ stroke-linecap: round;
2546
+ stroke-width: 2;
2547
+ }
2548
+
2549
+ &__grid {
2550
+ align-content: start;
2551
+ display: grid;
2552
+ gap: 16px;
2553
+ grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
2554
+ overflow-x: hidden;
2555
+ overflow-y: auto;
2556
+ padding: 24px;
2557
+ scrollbar-gutter: stable;
2558
+ }
2559
+ &__card {
2560
+ background: var(--minimal-neutral);
2561
+ border: 1px solid var(--minimal-divider);
2562
+ border-radius: 12px;
2563
+ color: var(--minimal-text-primary);
2564
+ cursor: pointer;
2565
+ display: grid;
2566
+ grid-template-rows: auto 1fr;
2567
+ min-width: 0;
2568
+ overflow: hidden;
2569
+ padding: 0;
2570
+ text-align: left;
2571
+ transition:
2572
+ border-color 160ms ease,
2573
+ box-shadow 160ms ease,
2574
+ transform 160ms ease;
2575
+ }
2576
+ &__card:hover,
2577
+ &__card:focus-visible {
2578
+ border-color: var(--minimal-primary);
2579
+ box-shadow: 0 12px 32px rgb(0 0 0 / 24%);
2580
+ outline: 0;
2581
+ transform: translateY(-2px);
2582
+ }
2583
+ &__thumbnail {
2584
+ aspect-ratio: 16 / 9;
2585
+ background-color: var(--minimal-background);
2586
+ background-position: center;
2587
+ background-repeat: no-repeat;
2588
+ background-size: cover;
2589
+ border-bottom: 1px solid var(--minimal-divider);
2590
+ display: block;
2591
+ width: 100%;
2592
+ }
2593
+ &__thumbnail--empty {
2594
+ background-image:
2595
+ linear-gradient(135deg, transparent 0 47%, var(--minimal-primary) 47% 53%, transparent 53%),
2596
+ linear-gradient(var(--minimal-action-hover), var(--minimal-action-hover));
2597
+ background-position: center;
2598
+ background-size:
2599
+ 44px 44px,
2600
+ 100% 100%;
2601
+ }
2602
+ &__copy {
2603
+ display: grid;
2604
+ gap: 6px;
2605
+ padding: 15px 16px 17px;
2606
+ }
2607
+ &__copy strong {
2608
+ font-size: 15px;
2609
+ line-height: 1.35;
2610
+ }
2611
+ &__copy span {
2612
+ color: var(--minimal-text-secondary);
2613
+ font-size: 12px;
2614
+ line-height: 1.5;
2615
+ }
2616
+ }
2617
+
2618
+ body:has(.wikex-block-picker) {
2619
+ overflow: hidden;
2620
+ }
2621
+
2622
+ html[data-wikex-forwarding-block='true'] .drawer:has(.blocks-drawer__blocks) {
2623
+ opacity: 0;
2624
+ pointer-events: none;
2625
+ }
2626
+
2627
+ .wikex-inspector-close {
2628
+ align-items: center;
2629
+ background: var(--minimal-paper);
2630
+ border: 1px solid var(--minimal-divider);
2631
+ border-radius: 50%;
2632
+ box-shadow: var(--minimal-shadow-z12);
2633
+ color: var(--minimal-text-primary);
2634
+ cursor: pointer;
2635
+ display: flex;
2636
+ height: 38px;
2637
+ justify-content: center;
2638
+ padding: 0;
2639
+ position: absolute;
2640
+ right: calc(var(--wikex-inspector-width, 560px) - 19px);
2641
+ top: 62px;
2642
+ width: 38px;
2643
+ z-index: 26;
2644
+ }
2645
+ .wikex-inspector-close svg {
2646
+ display: block;
2647
+ height: 18px;
2648
+ width: 18px;
2649
+ }
2650
+ .wikex-inspector-close path {
2651
+ fill: none;
2652
+ stroke: currentColor;
2653
+ stroke-linecap: round;
2654
+ stroke-width: 2;
2655
+ vector-effect: non-scaling-stroke;
2656
+ }
2657
+ .wikex-inspector-close:hover {
2658
+ background: var(--minimal-primary);
2659
+ border-color: var(--minimal-primary);
2660
+ color: #fff;
2661
+ }
2662
+
2663
+ .wikex-global-inspector {
2664
+ background: var(--minimal-paper);
2665
+ border-left: 1px solid var(--minimal-divider);
2666
+ box-shadow: -18px 0 48px rgb(0 0 0 / 18%);
2667
+ color: var(--minimal-text-primary);
2668
+ height: 100%;
2669
+ max-width: calc(100vw - 88px);
2670
+ overflow-x: hidden;
2671
+ overflow-y: auto;
2672
+ padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px);
2673
+ position: absolute;
2674
+ right: 0;
2675
+ top: 0;
2676
+ width: var(--wikex-inspector-width, 560px);
2677
+ z-index: 25;
2678
+
2679
+ &__eyebrow {
2680
+ color: var(--minimal-primary);
2681
+ font-size: 11px;
2682
+ font-weight: 700;
2683
+ text-transform: uppercase;
2684
+ }
2685
+ h2 {
2686
+ font-size: 32px;
2687
+ font-weight: 700;
2688
+ line-height: 1.3;
2689
+ margin: 8px 0;
2690
+ }
2691
+ &__path {
2692
+ color: var(--minimal-text-secondary);
2693
+ font-family: var(--font-mono);
2694
+ font-size: 11px;
2695
+ margin: 0 0 32px;
2696
+ overflow-wrap: anywhere;
2697
+ }
2698
+ &__field {
2699
+ display: grid;
2700
+ gap: 8px;
2701
+ margin-bottom: 20px;
2702
+ min-width: 0;
2703
+ }
2704
+ &__field > span {
2705
+ font-size: 13px;
2706
+ font-weight: 600;
2707
+ }
2708
+ &__field input[type='text'],
2709
+ &__field textarea,
2710
+ &__field select {
2711
+ appearance: none;
2712
+ background-color: var(--minimal-paper);
2713
+ border: 1px solid var(--minimal-divider);
2714
+ border-radius: var(--minimal-radius-sm);
2715
+ color: var(--minimal-text-primary);
2716
+ font: inherit;
2717
+ min-height: 48px;
2718
+ padding: 12px 14px;
2719
+ width: 100%;
2720
+ }
2721
+ &__field select {
2722
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%23919eab' d='M12 16a1 1 0 0 1-.64-.23l-6-5a1 1 0 1 1 1.28-1.54L12 13.71l5.36-4.32a1 1 0 0 1 1.41.15a1 1 0 0 1-.14 1.46l-6 4.83A1 1 0 0 1 12 16'/%3E%3C/svg%3E");
2723
+ background-position: right 10px center;
2724
+ background-repeat: no-repeat;
2725
+ background-size: 18px 18px;
2726
+ height: 40px;
2727
+ min-height: 40px;
2728
+ padding-block: 9px;
2729
+ padding-right: 38px;
2730
+ }
2731
+ &__field input:focus,
2732
+ &__field textarea:focus,
2733
+ &__field select:focus {
2734
+ border-color: var(--minimal-primary);
2735
+ box-shadow: var(--minimal-focus-ring);
2736
+ outline: 0;
2737
+ }
2738
+ &__colors {
2739
+ display: grid;
2740
+ gap: 14px;
2741
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2742
+ }
2743
+ &__actions {
2744
+ display: flex;
2745
+ gap: 10px;
2746
+ margin-top: 8px;
2747
+ }
2748
+ &__actions button {
2749
+ background: var(--minimal-primary);
2750
+ border: 0;
2751
+ border-radius: var(--minimal-radius-sm);
2752
+ color: #fff;
2753
+ cursor: pointer;
2754
+ font-weight: 700;
2755
+ min-height: 40px;
2756
+ padding: 8px 14px;
2757
+ }
2758
+ &__actions .wikex-global-inspector__reset {
2759
+ background: transparent;
2760
+ border: 1px solid var(--minimal-divider);
2761
+ color: var(--minimal-text-primary);
2762
+ }
2763
+ &__status {
2764
+ color: var(--minimal-text-secondary);
2765
+ font-size: 12px;
2766
+ }
2767
+ &__status.is-error {
2768
+ color: var(--minimal-error);
2769
+ }
2770
+ &__status.is-success {
2771
+ color: var(--minimal-success);
2772
+ }
2773
+ }
2774
+
2775
+ .wikex-text-inspector__hint {
2776
+ color: var(--minimal-text-secondary);
2777
+ font-size: 11px;
2778
+ line-height: 1.5;
2779
+ }
2780
+
2781
+ html:has(.live-preview-resizer--dragging),
2782
+ html:has(.live-preview-resizer--dragging) body {
2783
+ cursor: col-resize;
2784
+ user-select: none;
2785
+ }
2786
+
2787
+ @media (min-width: 1025px) {
2788
+ html.wikex-visual-preview-active body {
2789
+ --nav-width: 0px;
2790
+
2791
+ .template-default {
2792
+ grid-template-columns: 0 minmax(0, 1fr) !important;
2793
+ }
2794
+ .minimal-nav {
2795
+ opacity: 0;
2796
+ pointer-events: none;
2797
+ transform: translateX(-16px);
2798
+ width: 0;
2799
+ }
2800
+ .minimal-admin-header {
2801
+ display: none;
2802
+ }
2803
+ .template-default__wrap {
2804
+ padding-top: 0;
2805
+ }
2806
+ .doc-controls {
2807
+ top: 0;
2808
+ }
2809
+ }
2810
+ }
2811
+
2812
+ @media (max-width: 1024px) {
2813
+ .collection-edit--is-live-previewing .collection-edit__main-wrapper {
2814
+ flex-direction: column;
2815
+ }
2816
+ .collection-edit--is-live-previewing .collection-edit__main,
2817
+ .collection-edit--is-live-previewing .live-preview-window {
2818
+ flex-basis: auto;
2819
+ width: 100%;
2820
+ }
2821
+ .live-preview-resizer {
2822
+ display: none;
2823
+ }
2824
+ .collection-edit--is-live-previewing[data-wikex-visual-editor='true'] {
2825
+ --wikex-inspector-width: min(560px, calc(100vw - 88px));
2826
+ }
2827
+ .wikex-editor-canvas-title {
2828
+ display: none !important;
2829
+ }
2830
+ }
2831
+
2832
+ @media (max-width: 768px) {
2833
+ :root {
2834
+ --minimal-header-height: 64px;
2835
+ --gutter-h: 20px;
2836
+ }
2837
+ .template-default {
2838
+ display: block;
2839
+ }
2840
+ .minimal-admin-header {
2841
+ left: 0;
2842
+ padding-inline: 16px;
2843
+ }
2844
+ .minimal-admin-header__menu,
2845
+ .minimal-admin-header__mobile-brand {
2846
+ display: flex;
2847
+ }
2848
+ .minimal-admin-header__mobile-brand {
2849
+ align-items: center;
2850
+ height: 36px;
2851
+ justify-content: center;
2852
+ margin-left: 4px;
2853
+ width: 36px;
2854
+ }
2855
+
2856
+ .minimal-nav {
2857
+ box-shadow: 40px 0 80px -16px rgb(20 26 33 / 36%);
2858
+ left: 0;
2859
+ max-width: min(88vw, 320px);
2860
+ position: fixed;
2861
+ transform: translateX(-105%);
2862
+ width: min(88vw, 320px) !important;
2863
+ z-index: calc(var(--z-modal) + 1);
2864
+
2865
+ &--open {
2866
+ transform: translateX(0);
2867
+ }
2868
+ &__mobile-close {
2869
+ display: flex;
2870
+ }
2871
+ &__collapse {
2872
+ display: none;
2873
+ }
2874
+
2875
+ &--mini {
2876
+ .minimal-nav__scroll {
2877
+ padding-inline: 16px;
2878
+ }
2879
+ .minimal-nav__brand-row {
2880
+ justify-content: space-between;
2881
+ padding-inline: 8px;
2882
+ }
2883
+ .minimal-nav__brand-full {
2884
+ display: inline-flex;
2885
+ }
2886
+ .minimal-nav__brand-icon {
2887
+ display: none;
2888
+ }
2889
+ .minimal-nav__workspace {
2890
+ display: grid;
2891
+ justify-content: initial;
2892
+ padding: 11px;
2893
+ }
2894
+ .minimal-nav__workspace-copy,
2895
+ .minimal-nav__group-label,
2896
+ .minimal-nav__item > span,
2897
+ .minimal-nav__account-copy,
2898
+ .minimal-nav__logout {
2899
+ display: flex;
2900
+ }
2901
+ .minimal-nav__workspace-menu {
2902
+ display: block;
2903
+ }
2904
+ .minimal-nav__item {
2905
+ justify-content: flex-start;
2906
+ padding-inline: 12px;
2907
+ }
2908
+ .minimal-nav__account {
2909
+ display: grid;
2910
+ justify-content: initial;
2911
+ padding: 8px;
2912
+ }
2913
+ }
2914
+ }
2915
+
2916
+ .doc-header {
2917
+ align-items: flex-start;
2918
+ flex-direction: column;
2919
+ gap: 8px;
2920
+ }
2921
+ .doc-controls__meta {
2922
+ max-width: 45vw;
2923
+ overflow: hidden;
2924
+ }
2925
+ .document-fields {
2926
+ display: block;
2927
+ }
2928
+ .document-fields--has-sidebar .document-fields__main,
2929
+ .document-fields--has-sidebar .document-fields__sidebar-wrap {
2930
+ min-width: 0;
2931
+ width: 100%;
2932
+ }
2933
+ .document-fields--has-sidebar .document-fields__sidebar-wrap {
2934
+ height: auto;
2935
+ position: static;
2936
+ }
2937
+ .document-fields__sidebar {
2938
+ border-left: 0;
2939
+ border-top: 1px solid var(--minimal-divider);
2940
+ }
2941
+ .collection-list .table {
2942
+ border-radius: var(--minimal-radius-md);
2943
+ overflow-x: auto;
2944
+ }
2945
+ .collection-list th,
2946
+ .collection-list td {
2947
+ min-width: 160px;
2948
+ }
2949
+ }
2950
+
2951
+ @media (max-width: 560px) {
2952
+ :root {
2953
+ --gutter-h: 16px;
2954
+ }
2955
+ .minimal-admin-header .admin-view-site,
2956
+ .minimal-admin-header__settings {
2957
+ display: none;
2958
+ }
2959
+ .doc-controls__meta {
2960
+ display: none;
2961
+ }
2962
+ .list-header {
2963
+ align-items: flex-start;
2964
+ flex-direction: column;
2965
+ gap: 12px;
2966
+ }
2967
+ .list-header__content {
2968
+ flex-wrap: wrap;
2969
+ }
2970
+ .list-header__title-and-actions {
2971
+ align-items: flex-start;
2972
+ flex-direction: column;
2973
+ gap: 10px;
2974
+ }
2975
+ .list-create-new-doc__create-new-button {
2976
+ margin-left: 0;
2977
+ }
2978
+ .login__wrap,
2979
+ .forgot-password__wrap,
2980
+ .reset-password__wrap {
2981
+ border: 0;
2982
+ box-shadow: none;
2983
+ padding: 24px;
2984
+ }
2985
+
2986
+ .collection-edit--is-live-previewing[data-wikex-visual-editor='true'] {
2987
+ --wikex-inspector-width: calc(100vw - 12px);
2988
+ .live-preview-window__wrapper {
2989
+ display: flex;
2990
+ flex-direction: column;
2991
+ }
2992
+ .live-preview-window__main {
2993
+ padding: 8px;
2994
+ }
2995
+ &[data-wikex-inspecting='true'] .collection-edit__main {
2996
+ max-width: none;
2997
+ width: calc(100% - 12px);
2998
+ }
2999
+ }
3000
+
3001
+ .wikex-editor-rail {
3002
+ border-bottom: 1px solid var(--minimal-divider);
3003
+ border-right: 0;
3004
+ flex-direction: row !important;
3005
+ min-height: 64px;
3006
+ overflow-x: auto;
3007
+ padding: 5px 8px;
3008
+ }
3009
+ .wikex-editor-tool {
3010
+ flex: 0 0 64px;
3011
+ min-height: 52px;
3012
+ }
3013
+ .wikex-inspector-close {
3014
+ left: 4px;
3015
+ right: auto;
3016
+ top: 66px;
3017
+ }
3018
+ .wikex-global-inspector__colors {
3019
+ grid-template-columns: 1fr;
3020
+ }
3021
+ }
3022
+
3023
+ @media (prefers-reduced-motion: reduce) {
3024
+ *,
3025
+ *::before,
3026
+ *::after {
3027
+ animation-duration: 0.01ms !important;
3028
+ animation-iteration-count: 1 !important;
3029
+ scroll-behavior: auto !important;
3030
+ transition-duration: 0.01ms !important;
3031
+ }
3032
+ }