@drawback/ui 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.
Files changed (38) hide show
  1. package/README.md +22 -2
  2. package/dist/i18n-BZnCrD-C.d.mts +265 -0
  3. package/dist/index.d.mts +588 -0
  4. package/dist/index.mjs +4821 -0
  5. package/dist/locales/de.d.mts +3 -0
  6. package/dist/locales/de.mjs +231 -0
  7. package/package.json +69 -4
  8. package/src/app/default-editor.tsx +371 -0
  9. package/src/components/color-picker/color-picker.tsx +341 -0
  10. package/src/components/color-picker/colors.ts +135 -0
  11. package/src/components/font-picker/font-picker.tsx +298 -0
  12. package/src/components/icons.tsx +222 -0
  13. package/src/components/primitives.tsx +565 -0
  14. package/src/components/style-icons.tsx +172 -0
  15. package/src/features/canvas-commands/canvas-commands.tsx +173 -0
  16. package/src/features/context-menu/context-menu.tsx +354 -0
  17. package/src/features/controls/controls.tsx +281 -0
  18. package/src/features/export/export-dialog.tsx +164 -0
  19. package/src/features/layers/layers-tree.ts +335 -0
  20. package/src/features/layers/layers.tsx +858 -0
  21. package/src/features/links/links.tsx +268 -0
  22. package/src/features/main-menu/canvas-properties.tsx +121 -0
  23. package/src/features/main-menu/main-menu.tsx +215 -0
  24. package/src/features/minimap/minimap.tsx +69 -0
  25. package/src/features/properties/linear-properties.tsx +169 -0
  26. package/src/features/properties/properties.tsx +573 -0
  27. package/src/features/shortcuts/shortcuts-dialog.tsx +120 -0
  28. package/src/features/toolbar/toolbar.tsx +216 -0
  29. package/src/hooks/use-latest.ts +16 -0
  30. package/src/index.ts +138 -0
  31. package/src/lib/commands.ts +14 -0
  32. package/src/lib/download.ts +8 -0
  33. package/src/lib/i18n.ts +350 -0
  34. package/src/lib/locales/de.ts +231 -0
  35. package/src/lib/plugins.tsx +92 -0
  36. package/src/lib/registry.ts +140 -0
  37. package/src/stores/ui-context.tsx +253 -0
  38. package/src/styles.css +1366 -0
package/src/styles.css ADDED
@@ -0,0 +1,1366 @@
1
+ @layer drawback {
2
+ .nx-editor {
3
+ --nx-color-surface: #ffffff;
4
+ --nx-color-surface-muted: #f1f3f5;
5
+ --nx-color-surface-hover: #e9ecef;
6
+ --nx-color-text: #1b1b1f;
7
+ --nx-color-text-muted: #6c727f;
8
+ --nx-color-border: #e1e3e8;
9
+ --nx-color-primary: #4263eb;
10
+ /* Hover shades follow the primary color, so hosts that override it get matching hovers. */
11
+ --nx-color-primary-hover: color-mix(in srgb, var(--nx-color-primary) 82%, #000000);
12
+ --nx-color-primary-soft: #e0e7ff;
13
+ --nx-color-primary-soft-hover: color-mix(
14
+ in srgb,
15
+ var(--nx-color-primary-soft) 82%,
16
+ var(--nx-color-primary)
17
+ );
18
+ --nx-color-on-primary: #ffffff;
19
+ --nx-color-danger: #e03131;
20
+ --nx-color-link: #1971c2;
21
+ --nx-color-focus: #5c7cfa;
22
+ --nx-color-backdrop: rgba(18, 18, 22, 0.35);
23
+ --nx-color-bar: #ececf4;
24
+ --nx-color-bar-hover: #e0dfee;
25
+ --nx-color-bar-active: #e0dfff;
26
+ --nx-color-bar-outline: #a5c8ff;
27
+ --nx-shadow-island: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.08);
28
+ --nx-radius: 10px;
29
+ --nx-radius-small: 6px;
30
+ --nx-font-ui: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
31
+ --nx-font-size: 13px;
32
+ --nx-space-1: 4px;
33
+ --nx-space-2: 8px;
34
+ --nx-space-3: 12px;
35
+ --nx-space-4: 16px;
36
+ --nx-button-size: 34px;
37
+ --nx-panel-width: 228px;
38
+
39
+ position: relative;
40
+ width: 100%;
41
+ height: 100%;
42
+ overflow: hidden;
43
+ container-type: size;
44
+ container-name: nx-editor;
45
+ color: var(--nx-color-text);
46
+ font-family: var(--nx-font-ui);
47
+ font-size: var(--nx-font-size);
48
+ line-height: 1.4;
49
+ isolation: isolate;
50
+ }
51
+
52
+ .nx-editor[data-theme='dark'] {
53
+ --nx-color-surface: #232329;
54
+ --nx-color-surface-muted: #2e2e36;
55
+ --nx-color-surface-hover: #383842;
56
+ --nx-color-text: #e8e8ee;
57
+ --nx-color-text-muted: #9a9aa6;
58
+ --nx-color-border: #3a3a44;
59
+ --nx-color-primary: #91a7ff;
60
+ --nx-color-primary-hover: color-mix(in srgb, var(--nx-color-primary) 82%, #ffffff);
61
+ --nx-color-primary-soft: #343a5c;
62
+ --nx-color-primary-soft-hover: color-mix(
63
+ in srgb,
64
+ var(--nx-color-primary-soft) 82%,
65
+ var(--nx-color-primary)
66
+ );
67
+ --nx-color-on-primary: #121212;
68
+ --nx-color-danger: #ff8787;
69
+ --nx-color-link: #74c0fc;
70
+ --nx-color-focus: #91a7ff;
71
+ --nx-color-backdrop: rgba(0, 0, 0, 0.5);
72
+ --nx-color-bar: #2e2d39;
73
+ --nx-color-bar-hover: #3a3946;
74
+ --nx-color-bar-active: #403e6a;
75
+ --nx-color-bar-outline: #5c7cfa;
76
+ --nx-shadow-island: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.35);
77
+ color-scheme: dark;
78
+ }
79
+
80
+ .nx-editor *,
81
+ .nx-editor *::before,
82
+ .nx-editor *::after {
83
+ box-sizing: border-box;
84
+ }
85
+
86
+ .nx-editor .nx-canvas {
87
+ position: absolute;
88
+ inset: 0;
89
+ }
90
+
91
+ .nx-editor .nx-overlay {
92
+ position: absolute;
93
+ inset: 0;
94
+ z-index: 10;
95
+ display: flex;
96
+ flex-direction: column;
97
+ justify-content: space-between;
98
+ gap: var(--nx-space-2);
99
+ padding: var(--nx-space-3);
100
+ pointer-events: none;
101
+ }
102
+
103
+ .nx-editor .nx-overlay > * > * > *,
104
+ .nx-editor .nx-top > *,
105
+ .nx-editor .nx-island,
106
+ .nx-editor .nx-pill {
107
+ pointer-events: auto;
108
+ }
109
+
110
+ .nx-editor .nx-top-left > *,
111
+ .nx-editor .nx-top-right > *,
112
+ .nx-editor .nx-bottom-left > *,
113
+ .nx-editor .nx-bottom-right > *,
114
+ .nx-editor .nx-bottom-center > * {
115
+ pointer-events: auto;
116
+ }
117
+
118
+ .nx-editor .nx-top,
119
+ .nx-editor .nx-bottom {
120
+ display: grid;
121
+ grid-template-columns: 1fr auto 1fr;
122
+ align-items: flex-start;
123
+ gap: var(--nx-space-2);
124
+ pointer-events: none;
125
+ }
126
+
127
+ .nx-editor .nx-bottom {
128
+ align-items: flex-end;
129
+ }
130
+
131
+ .nx-editor .nx-top-left,
132
+ .nx-editor .nx-bottom-left {
133
+ display: flex;
134
+ gap: var(--nx-space-2);
135
+ align-items: flex-end;
136
+ justify-self: start;
137
+ }
138
+
139
+ .nx-editor .nx-top-left {
140
+ align-items: flex-start;
141
+ }
142
+
143
+ .nx-editor .nx-top-right,
144
+ .nx-editor .nx-bottom-right {
145
+ display: flex;
146
+ gap: var(--nx-space-2);
147
+ align-items: flex-start;
148
+ justify-self: end;
149
+ }
150
+
151
+ .nx-editor .nx-bottom-right {
152
+ align-items: flex-end;
153
+ }
154
+
155
+ .nx-editor .nx-bottom-center {
156
+ display: flex;
157
+ gap: var(--nx-space-2);
158
+ justify-content: center;
159
+ }
160
+
161
+ .nx-editor .nx-top-right > .nx-icon-button,
162
+ .nx-editor .nx-top-left > .nx-anchor .nx-icon-button {
163
+ background: var(--nx-color-surface);
164
+ box-shadow: var(--nx-shadow-island);
165
+ }
166
+
167
+ .nx-editor .nx-middle {
168
+ flex: 1;
169
+ min-height: 0;
170
+ display: flex;
171
+ justify-content: space-between;
172
+ gap: var(--nx-space-2);
173
+ pointer-events: none;
174
+ }
175
+
176
+ .nx-editor .nx-side {
177
+ display: flex;
178
+ min-height: 0;
179
+ max-height: 100%;
180
+ }
181
+
182
+ .nx-editor .nx-side > * {
183
+ pointer-events: auto;
184
+ }
185
+
186
+ .nx-editor .nx-island {
187
+ display: flex;
188
+ background: var(--nx-color-surface);
189
+ border-radius: var(--nx-radius);
190
+ box-shadow: var(--nx-shadow-island);
191
+ padding: var(--nx-space-1);
192
+ }
193
+
194
+ .nx-editor .nx-row {
195
+ display: flex;
196
+ align-items: center;
197
+ gap: 2px;
198
+ }
199
+
200
+ .nx-editor .nx-wrap {
201
+ flex-wrap: wrap;
202
+ }
203
+
204
+ .nx-editor button {
205
+ font: inherit;
206
+ color: inherit;
207
+ }
208
+
209
+ .nx-editor .nx-icon-button {
210
+ position: relative;
211
+ display: inline-grid;
212
+ place-items: center;
213
+ width: var(--nx-button-size);
214
+ height: var(--nx-button-size);
215
+ padding: 0;
216
+ border: 0;
217
+ border-radius: var(--nx-radius-small);
218
+ background: transparent;
219
+ cursor: pointer;
220
+ }
221
+
222
+ .nx-editor .nx-icon-button:hover:not(:disabled) {
223
+ background: var(--nx-color-surface-hover);
224
+ }
225
+
226
+ .nx-editor .nx-icon-button[aria-pressed='true'] {
227
+ background: var(--nx-color-primary-soft);
228
+ color: var(--nx-color-primary);
229
+ }
230
+
231
+ /* Hovering an active control darkens it, like Excalidraw. */
232
+ .nx-editor .nx-icon-button[aria-pressed='true']:hover:not(:disabled) {
233
+ background: var(--nx-color-primary-soft-hover);
234
+ }
235
+
236
+ .nx-editor .nx-icon-button:disabled {
237
+ opacity: 0.4;
238
+ cursor: default;
239
+ }
240
+
241
+ .nx-editor .nx-danger {
242
+ color: var(--nx-color-danger);
243
+ }
244
+
245
+ .nx-editor :focus-visible {
246
+ outline: 2px solid var(--nx-color-focus);
247
+ outline-offset: 1px;
248
+ }
249
+
250
+ /* Toolbar shortcut hints: intentionally shown (Excalidraw hides them); keep. See CLAUDE.md. */
251
+ .nx-editor .nx-tool-key {
252
+ position: absolute;
253
+ right: 3px;
254
+ bottom: 1px;
255
+ font-size: 9px;
256
+ color: var(--nx-color-text-muted);
257
+ pointer-events: none;
258
+ }
259
+
260
+ .nx-editor .nx-toolbar {
261
+ justify-self: center;
262
+ }
263
+
264
+ .nx-editor .nx-toolbar-items {
265
+ display: flex;
266
+ align-items: center;
267
+ gap: 2px;
268
+ flex-wrap: wrap;
269
+ justify-content: center;
270
+ }
271
+
272
+ .nx-editor .nx-separator {
273
+ flex: none;
274
+ height: 1px;
275
+ margin: var(--nx-space-1) 0;
276
+ background: var(--nx-color-border);
277
+ }
278
+
279
+ .nx-editor .nx-separator.nx-vertical {
280
+ width: 1px;
281
+ height: 20px;
282
+ margin: 0 var(--nx-space-1);
283
+ }
284
+
285
+ .nx-editor .nx-bottom-left > .nx-island,
286
+ .nx-editor .nx-zoom > .nx-island {
287
+ height: calc(var(--nx-button-size) + 2px);
288
+ padding: 1px;
289
+ gap: 0;
290
+ border-radius: 8px;
291
+ background: var(--nx-color-bar);
292
+ box-shadow: none;
293
+ }
294
+
295
+ .nx-editor .nx-bottom-left > .nx-island .nx-icon-button,
296
+ .nx-editor .nx-zoom > .nx-island .nx-icon-button {
297
+ border-radius: 7px;
298
+ }
299
+
300
+ .nx-editor .nx-bottom-left > .nx-island .nx-icon-button:hover:not(:disabled),
301
+ .nx-editor .nx-zoom > .nx-island .nx-icon-button:hover:not(:disabled) {
302
+ background: var(--nx-color-bar-hover);
303
+ }
304
+
305
+ .nx-editor .nx-zoom {
306
+ position: relative;
307
+ display: flex;
308
+ }
309
+
310
+ .nx-editor .nx-zoom-level {
311
+ min-width: 60px;
312
+ height: var(--nx-button-size);
313
+ padding: 0 var(--nx-space-2);
314
+ border: 0;
315
+ border-radius: 7px;
316
+ background: transparent;
317
+ cursor: pointer;
318
+ font-variant-numeric: tabular-nums;
319
+ }
320
+
321
+ .nx-editor .nx-zoom-level:hover,
322
+ .nx-editor .nx-zoom-level[aria-expanded='true'] {
323
+ background: var(--nx-color-bar-hover);
324
+ }
325
+
326
+ .nx-editor .nx-zoom-level[aria-expanded='true'] {
327
+ background: var(--nx-color-bar-active);
328
+ }
329
+
330
+ .nx-editor .nx-zoom .nx-minimap-toggle[aria-pressed='true'] {
331
+ background: var(--nx-color-bar-active);
332
+ color: inherit;
333
+ box-shadow: inset 0 0 0 1px var(--nx-color-bar-outline);
334
+ }
335
+
336
+ .nx-editor .nx-minimap-card {
337
+ position: absolute;
338
+ left: 0;
339
+ bottom: calc(100% + var(--nx-space-2));
340
+ }
341
+
342
+ .nx-editor .nx-pill,
343
+ .nx-editor .nx-primary {
344
+ padding: var(--nx-space-2) var(--nx-space-3);
345
+ border: 0;
346
+ border-radius: 999px;
347
+ background: var(--nx-color-surface);
348
+ box-shadow: var(--nx-shadow-island);
349
+ cursor: pointer;
350
+ }
351
+
352
+ .nx-editor .nx-primary {
353
+ border-radius: var(--nx-radius-small);
354
+ background: var(--nx-color-primary);
355
+ color: var(--nx-color-on-primary);
356
+ box-shadow: none;
357
+ }
358
+
359
+ .nx-editor .nx-link {
360
+ padding: 0;
361
+ border: 0;
362
+ background: none;
363
+ color: var(--nx-color-primary);
364
+ cursor: pointer;
365
+ text-decoration: underline;
366
+ font-size: 12px;
367
+ }
368
+
369
+ .nx-editor .nx-properties,
370
+ .nx-editor .nx-layers {
371
+ flex-direction: column;
372
+ width: var(--nx-panel-width);
373
+ max-height: 100%;
374
+ padding: var(--nx-space-2);
375
+ }
376
+
377
+ .nx-editor .nx-layers {
378
+ width: 260px;
379
+ }
380
+
381
+ .nx-editor .nx-scroll {
382
+ overflow: auto;
383
+ min-height: 0;
384
+ }
385
+
386
+ .nx-editor .nx-section {
387
+ padding: var(--nx-space-1) 0 var(--nx-space-2);
388
+ }
389
+
390
+ .nx-editor .nx-section-title {
391
+ margin: 0 0 var(--nx-space-1);
392
+ font-size: 11px;
393
+ font-weight: 600;
394
+ color: var(--nx-color-text-muted);
395
+ }
396
+
397
+ .nx-editor .nx-caption {
398
+ margin: 0 0 var(--nx-space-2);
399
+ color: var(--nx-color-text-muted);
400
+ font-size: 12px;
401
+ }
402
+
403
+ .nx-editor .nx-choice {
404
+ display: flex;
405
+ flex-wrap: wrap;
406
+ gap: 3px;
407
+ }
408
+
409
+ .nx-editor .nx-choice-option {
410
+ min-width: 30px;
411
+ height: 30px;
412
+ padding: 0 var(--nx-space-2);
413
+ border: 1px solid transparent;
414
+ border-radius: var(--nx-radius-small);
415
+ background: var(--nx-color-surface-muted);
416
+ cursor: pointer;
417
+ display: inline-grid;
418
+ place-items: center;
419
+ font-size: 12px;
420
+ }
421
+
422
+ .nx-editor .nx-choice-option:hover:not(:disabled, [aria-checked='true']) {
423
+ background: var(--nx-color-surface-hover);
424
+ }
425
+
426
+ .nx-editor .nx-choice-option[aria-checked='true'],
427
+ .nx-editor .nx-choice-option[aria-pressed='true'] {
428
+ border-color: var(--nx-color-primary);
429
+ background: var(--nx-color-primary-soft);
430
+ }
431
+
432
+ .nx-editor .nx-choice-option[aria-checked='true']:hover:not(:disabled),
433
+ .nx-editor .nx-choice-option[aria-pressed='true']:hover:not(:disabled) {
434
+ background: var(--nx-color-primary-soft-hover);
435
+ }
436
+
437
+ .nx-editor .nx-choice-option:disabled {
438
+ opacity: 0.5;
439
+ cursor: default;
440
+ }
441
+
442
+ .nx-editor .nx-swatch-option {
443
+ width: 26px;
444
+ min-width: 26px;
445
+ height: 26px;
446
+ padding: 0;
447
+ }
448
+
449
+ .nx-editor .nx-swatch {
450
+ width: 18px;
451
+ height: 18px;
452
+ border-radius: 4px;
453
+ border: 1px solid var(--nx-color-border);
454
+ }
455
+
456
+ /* Transparent: a checkerboard, like Excalidraw. */
457
+ .nx-editor .nx-swatch-none,
458
+ .nx-editor .nx-swatch-transparent {
459
+ background: repeating-conic-gradient(#d4d4d8 0 25%, #ffffff 0 50%) 0 0 / 8px 8px;
460
+ }
461
+
462
+ /* Mixed values across the selection. */
463
+ .nx-editor .nx-swatch-mixed {
464
+ background: repeating-linear-gradient(
465
+ 45deg,
466
+ var(--nx-color-surface-muted) 0 3px,
467
+ var(--nx-color-border) 3px 6px
468
+ );
469
+ }
470
+
471
+ .nx-editor .nx-color-field {
472
+ display: flex;
473
+ align-items: center;
474
+ gap: var(--nx-space-1);
475
+ }
476
+
477
+ .nx-editor .nx-color-divider {
478
+ align-self: stretch;
479
+ width: 1px;
480
+ margin: 4px 2px;
481
+ background: var(--nx-color-border);
482
+ }
483
+
484
+ /* Icon and glyph options (S, M, L, XL) are square, like the icon buttons. */
485
+ .nx-editor .nx-choice-square {
486
+ width: 30px;
487
+ padding: 0;
488
+ }
489
+
490
+ .nx-editor .nx-choice-glyph {
491
+ font-size: 13px;
492
+ font-weight: 500;
493
+ line-height: 1;
494
+ }
495
+
496
+ /* Font picker popover: quick search, fonts in the scene, then every other registered font. */
497
+ .nx-editor .nx-font-picker {
498
+ display: flex;
499
+ flex-direction: column;
500
+ width: 228px;
501
+ padding: 4px;
502
+ }
503
+
504
+ .nx-editor .nx-font-search {
505
+ display: flex;
506
+ align-items: center;
507
+ gap: var(--nx-space-2);
508
+ margin-bottom: var(--nx-space-1);
509
+ padding: 6px var(--nx-space-2) var(--nx-space-2);
510
+ border-bottom: 1px solid var(--nx-color-border);
511
+ color: var(--nx-color-text-muted);
512
+ }
513
+
514
+ .nx-editor .nx-font-search input {
515
+ flex: 1;
516
+ min-width: 0;
517
+ border: 0;
518
+ outline: 0;
519
+ background: transparent;
520
+ color: var(--nx-color-text);
521
+ font: inherit;
522
+ font-size: 14px;
523
+ }
524
+
525
+ .nx-editor .nx-font-search input::-webkit-search-cancel-button {
526
+ display: none;
527
+ }
528
+
529
+ .nx-editor .nx-font-list {
530
+ max-height: 280px;
531
+ overflow-y: auto;
532
+ overscroll-behavior: contain;
533
+ }
534
+
535
+ .nx-editor .nx-font-section {
536
+ padding: var(--nx-space-2) var(--nx-space-2) var(--nx-space-1);
537
+ color: var(--nx-color-text-muted);
538
+ font-size: 12px;
539
+ }
540
+
541
+ .nx-editor .nx-font-option {
542
+ display: flex;
543
+ align-items: center;
544
+ gap: var(--nx-space-2);
545
+ min-height: 32px;
546
+ padding: 0 var(--nx-space-2);
547
+ border-radius: var(--nx-radius-small);
548
+ cursor: pointer;
549
+ white-space: nowrap;
550
+ }
551
+
552
+ .nx-editor .nx-font-option > span {
553
+ overflow: hidden;
554
+ text-overflow: ellipsis;
555
+ }
556
+
557
+ .nx-editor .nx-font-option.nx-active {
558
+ background: var(--nx-color-surface-hover);
559
+ }
560
+
561
+ .nx-editor .nx-font-option.nx-selected {
562
+ background: var(--nx-color-primary-soft);
563
+ }
564
+
565
+ .nx-editor .nx-font-option.nx-selected.nx-active {
566
+ background: var(--nx-color-primary-soft-hover);
567
+ }
568
+
569
+ .nx-editor .nx-font-empty {
570
+ margin: 0;
571
+ padding: var(--nx-space-3) var(--nx-space-2);
572
+ color: var(--nx-color-text-muted);
573
+ }
574
+
575
+ /* Color picker popover (Excalidraw-style): grid with hotkeys, shades, hex code. */
576
+ .nx-editor .nx-color-picker {
577
+ display: flex;
578
+ flex-direction: column;
579
+ gap: 6px;
580
+ width: 196px;
581
+ padding: 6px;
582
+ }
583
+
584
+ .nx-editor .nx-color-picker-title {
585
+ margin: 0 0 2px;
586
+ font-size: 14px;
587
+ font-weight: 600;
588
+ }
589
+
590
+ .nx-editor .nx-color-grid,
591
+ .nx-editor .nx-color-shades {
592
+ display: grid;
593
+ grid-template-columns: repeat(5, 32px);
594
+ gap: 8px;
595
+ margin-bottom: 6px;
596
+ }
597
+
598
+ .nx-editor .nx-color-cell {
599
+ position: relative;
600
+ width: 32px;
601
+ height: 32px;
602
+ padding: 0;
603
+ border: 0;
604
+ border-radius: 6px;
605
+ background: none;
606
+ cursor: pointer;
607
+ }
608
+
609
+ .nx-editor .nx-color-cell .nx-swatch {
610
+ display: block;
611
+ width: 100%;
612
+ height: 100%;
613
+ border-radius: 6px;
614
+ }
615
+
616
+ .nx-editor .nx-color-cell[aria-checked='true'] {
617
+ box-shadow:
618
+ 0 0 0 2px var(--nx-color-surface),
619
+ 0 0 0 3px var(--nx-color-primary);
620
+ }
621
+
622
+ .nx-editor .nx-color-key {
623
+ position: absolute;
624
+ right: 3px;
625
+ bottom: 1px;
626
+ color: rgb(0 0 0 / 45%);
627
+ font-size: 9px;
628
+ pointer-events: none;
629
+ }
630
+
631
+ .nx-editor .nx-color-cell.nx-on-dark .nx-color-key {
632
+ color: rgb(255 255 255 / 75%);
633
+ }
634
+
635
+ .nx-editor .nx-color-no-shades {
636
+ margin: 0 0 6px;
637
+ padding: 8px 0;
638
+ color: var(--nx-color-text-muted);
639
+ font-size: 12px;
640
+ }
641
+
642
+ .nx-editor .nx-color-hex {
643
+ display: flex;
644
+ align-items: center;
645
+ gap: 4px;
646
+ padding: 0 2px 0 10px;
647
+ border: 1px solid var(--nx-color-border);
648
+ border-radius: var(--nx-radius-small);
649
+ color: var(--nx-color-text-muted);
650
+ }
651
+
652
+ .nx-editor .nx-color-hex input[type='text'] {
653
+ flex: 1;
654
+ min-width: 0;
655
+ padding: 7px 0;
656
+ border: 0;
657
+ outline: none;
658
+ background: transparent;
659
+ color: var(--nx-color-text);
660
+ font: inherit;
661
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
662
+ }
663
+
664
+ .nx-editor .nx-range {
665
+ display: flex;
666
+ align-items: center;
667
+ gap: var(--nx-space-2);
668
+ }
669
+
670
+ .nx-editor .nx-range input {
671
+ flex: 1;
672
+ accent-color: var(--nx-color-primary);
673
+ }
674
+
675
+ .nx-editor .nx-fields {
676
+ display: flex;
677
+ flex-direction: column;
678
+ gap: var(--nx-space-2);
679
+ }
680
+
681
+ .nx-editor .nx-field {
682
+ display: flex;
683
+ align-items: center;
684
+ justify-content: space-between;
685
+ gap: var(--nx-space-2);
686
+ }
687
+
688
+ .nx-editor .nx-field input,
689
+ .nx-editor .nx-field select,
690
+ .nx-editor .nx-search input,
691
+ .nx-editor .nx-rename {
692
+ font: inherit;
693
+ color: inherit;
694
+ padding: 4px 6px;
695
+ border: 1px solid var(--nx-color-border);
696
+ border-radius: var(--nx-radius-small);
697
+ background: var(--nx-color-surface);
698
+ }
699
+
700
+ .nx-editor .nx-field input[type='number'] {
701
+ width: 72px;
702
+ }
703
+
704
+ .nx-editor .nx-check {
705
+ display: flex;
706
+ align-items: center;
707
+ gap: var(--nx-space-2);
708
+ cursor: pointer;
709
+ }
710
+
711
+ .nx-editor .nx-check input {
712
+ accent-color: var(--nx-color-primary);
713
+ }
714
+
715
+ .nx-editor .nx-panel-header,
716
+ .nx-editor .nx-dialog-header {
717
+ display: flex;
718
+ align-items: center;
719
+ gap: var(--nx-space-1);
720
+ margin-bottom: var(--nx-space-2);
721
+ }
722
+
723
+ .nx-editor .nx-panel-header h2,
724
+ .nx-editor .nx-dialog-header h2 {
725
+ flex: 1;
726
+ margin: 0;
727
+ font-size: 14px;
728
+ font-weight: 600;
729
+ }
730
+
731
+ .nx-editor .nx-search {
732
+ display: flex;
733
+ align-items: center;
734
+ gap: var(--nx-space-1);
735
+ margin-bottom: var(--nx-space-2);
736
+ color: var(--nx-color-text-muted);
737
+ }
738
+
739
+ .nx-editor .nx-search input {
740
+ flex: 1;
741
+ min-width: 0;
742
+ }
743
+
744
+ .nx-editor .nx-tree {
745
+ flex: 1;
746
+ min-height: 120px;
747
+ overflow: auto;
748
+ position: relative;
749
+ }
750
+
751
+ .nx-editor .nx-row-item {
752
+ display: flex;
753
+ align-items: center;
754
+ gap: 4px;
755
+ padding-inline-end: 2px;
756
+ border-radius: var(--nx-radius-small);
757
+ cursor: default;
758
+ user-select: none;
759
+ }
760
+
761
+ .nx-editor .nx-row-item:hover {
762
+ background: var(--nx-color-surface-muted);
763
+ }
764
+
765
+ .nx-editor .nx-row-item.nx-selected {
766
+ background: var(--nx-color-primary-soft);
767
+ }
768
+
769
+ .nx-editor .nx-row-item.nx-selected:hover {
770
+ background: var(--nx-color-primary-soft-hover);
771
+ }
772
+
773
+ .nx-editor .nx-row-layer {
774
+ font-weight: 600;
775
+ }
776
+
777
+ .nx-editor .nx-dimmed .nx-row-name {
778
+ opacity: 0.5;
779
+ }
780
+
781
+ .nx-editor .nx-row-name {
782
+ flex: 1;
783
+ min-width: 0;
784
+ overflow: hidden;
785
+ text-overflow: ellipsis;
786
+ white-space: nowrap;
787
+ }
788
+
789
+ .nx-editor .nx-rename {
790
+ flex: 1;
791
+ min-width: 0;
792
+ padding: 2px 4px;
793
+ }
794
+
795
+ .nx-editor .nx-tree-toggle {
796
+ display: inline-grid;
797
+ place-items: center;
798
+ width: 16px;
799
+ height: 16px;
800
+ padding: 0;
801
+ border: 0;
802
+ background: none;
803
+ cursor: pointer;
804
+ color: var(--nx-color-text-muted);
805
+ }
806
+
807
+ .nx-editor .nx-row-actions {
808
+ display: flex;
809
+ }
810
+
811
+ .nx-editor .nx-row-action {
812
+ width: 24px;
813
+ height: 24px;
814
+ opacity: 0;
815
+ }
816
+
817
+ .nx-editor .nx-row-item:hover .nx-row-action,
818
+ .nx-editor .nx-row-item:focus-within .nx-row-action,
819
+ .nx-editor .nx-dimmed .nx-row-action,
820
+ .nx-editor .nx-row-action.nx-on {
821
+ opacity: 1;
822
+ }
823
+
824
+ .nx-editor .nx-tree-pinned {
825
+ position: sticky;
826
+ top: 0;
827
+ z-index: 2;
828
+ height: 0;
829
+ }
830
+
831
+ .nx-editor .nx-pinned-row {
832
+ position: absolute;
833
+ left: 0;
834
+ right: 0;
835
+ background: var(--nx-color-surface);
836
+ }
837
+
838
+ .nx-editor .nx-pinned-last {
839
+ box-shadow: 0 4px 4px -4px rgb(0 0 0 / 0.25);
840
+ }
841
+
842
+ .nx-editor .nx-drop-end {
843
+ position: absolute;
844
+ left: 0;
845
+ right: 0;
846
+ height: 0;
847
+ }
848
+
849
+ .nx-editor .nx-drag-badge {
850
+ position: fixed;
851
+ top: -1000px;
852
+ left: 0;
853
+ max-width: 200px;
854
+ padding: 2px 8px;
855
+ overflow: hidden;
856
+ border-radius: 999px;
857
+ background: var(--nx-color-primary);
858
+ color: var(--nx-color-on-primary);
859
+ font-size: 12px;
860
+ line-height: 18px;
861
+ text-overflow: ellipsis;
862
+ white-space: nowrap;
863
+ pointer-events: none;
864
+ }
865
+
866
+ .nx-editor .nx-tree-guide {
867
+ position: absolute;
868
+ top: -1px;
869
+ bottom: 0;
870
+ width: 1px;
871
+ background: var(--nx-color-border);
872
+ opacity: 0;
873
+ transition: opacity 0.15s;
874
+ pointer-events: none;
875
+ }
876
+
877
+ .nx-editor .nx-tree:hover .nx-tree-guide,
878
+ .nx-editor .nx-tree:focus-within .nx-tree-guide {
879
+ opacity: 1;
880
+ }
881
+
882
+ .nx-editor .nx-tree-guide.nx-active {
883
+ background: var(--nx-color-text-muted);
884
+ opacity: 1;
885
+ }
886
+
887
+ .nx-editor .nx-drop-above,
888
+ .nx-editor .nx-drop-below,
889
+ .nx-editor .nx-drop-inside {
890
+ z-index: 1;
891
+ }
892
+
893
+ .nx-editor .nx-drop-above::before,
894
+ .nx-editor .nx-drop-below::before {
895
+ content: '';
896
+ position: absolute;
897
+ inset-inline: var(--nx-row-indent, 4px) 4px;
898
+ height: 2px;
899
+ border-radius: 1px;
900
+ background: var(--nx-color-primary);
901
+ pointer-events: none;
902
+ }
903
+
904
+ .nx-editor .nx-drop-above::after,
905
+ .nx-editor .nx-drop-below::after {
906
+ content: '';
907
+ position: absolute;
908
+ inset-inline-start: calc(var(--nx-row-indent, 4px) - 3px);
909
+ box-sizing: border-box;
910
+ width: 8px;
911
+ height: 8px;
912
+ border: 2px solid var(--nx-color-primary);
913
+ border-radius: 50%;
914
+ background: var(--nx-color-surface);
915
+ pointer-events: none;
916
+ }
917
+
918
+ .nx-editor .nx-drop-above::before {
919
+ top: -2px;
920
+ }
921
+
922
+ .nx-editor .nx-drop-above::after {
923
+ top: -5px;
924
+ }
925
+
926
+ .nx-editor .nx-drop-below::before {
927
+ bottom: -1px;
928
+ }
929
+
930
+ .nx-editor .nx-drop-below::after {
931
+ bottom: -4px;
932
+ }
933
+
934
+ .nx-editor .nx-row-item.nx-drop-inside {
935
+ background: var(--nx-color-primary-soft);
936
+ box-shadow: inset 0 0 0 1px var(--nx-color-primary);
937
+ }
938
+
939
+ .nx-editor .nx-thumb {
940
+ width: 20px;
941
+ height: 20px;
942
+ object-fit: contain;
943
+ border-radius: 3px;
944
+ background: var(--nx-color-surface-muted);
945
+ }
946
+
947
+ .nx-editor .nx-popover {
948
+ position: absolute;
949
+ z-index: 45;
950
+ flex-direction: column;
951
+ min-width: 200px;
952
+ max-height: calc(100% - 16px);
953
+ overflow: auto;
954
+ }
955
+
956
+ .nx-editor .nx-menu-group {
957
+ display: contents;
958
+ }
959
+
960
+ /* Main menu settings: Excalidraw-style rows below the menu items. */
961
+ .nx-editor .nx-menu-settings {
962
+ display: flex;
963
+ flex-direction: column;
964
+ gap: var(--nx-space-2);
965
+ padding: var(--nx-space-1) var(--nx-space-2) var(--nx-space-2);
966
+ max-width: 280px;
967
+ }
968
+
969
+ .nx-editor .nx-menu-row {
970
+ display: flex;
971
+ align-items: center;
972
+ justify-content: space-between;
973
+ gap: var(--nx-space-3);
974
+ }
975
+
976
+ /* Trimmed to cap height, so the label's letters (not its line box) center on the control. */
977
+ .nx-editor .nx-menu-row > span {
978
+ text-box: trim-both cap alphabetic;
979
+ }
980
+
981
+ .nx-editor .nx-menu-row > .nx-choice {
982
+ flex-wrap: nowrap;
983
+ gap: 0;
984
+ padding: 2px;
985
+ border: 1px solid var(--nx-color-border);
986
+ border-radius: var(--nx-radius);
987
+ }
988
+
989
+ .nx-editor .nx-menu-row > .nx-choice .nx-choice-option {
990
+ min-width: 32px;
991
+ height: 26px;
992
+ border: 0;
993
+ background: none;
994
+ color: var(--nx-color-primary);
995
+ }
996
+
997
+ .nx-editor
998
+ .nx-menu-row
999
+ > .nx-choice
1000
+ .nx-choice-option:hover:not(:disabled, [aria-checked='true']) {
1001
+ background: var(--nx-color-primary-soft);
1002
+ }
1003
+
1004
+ .nx-editor .nx-menu-row > .nx-choice .nx-choice-option[aria-checked='true'] {
1005
+ background: var(--nx-color-primary);
1006
+ color: var(--nx-color-on-primary);
1007
+ }
1008
+
1009
+ .nx-editor .nx-menu-row > .nx-choice .nx-choice-option[aria-checked='true']:hover:not(:disabled) {
1010
+ background: var(--nx-color-primary-hover);
1011
+ }
1012
+
1013
+ /* Focus: an inset ring on plain segments, a ring around the filled (active) one. */
1014
+ .nx-editor .nx-menu-row > .nx-choice .nx-choice-option:focus-visible {
1015
+ outline: none;
1016
+ box-shadow: inset 0 0 0 2px var(--nx-color-focus);
1017
+ }
1018
+
1019
+ .nx-editor .nx-menu-row > .nx-choice .nx-choice-option[aria-checked='true']:focus-visible {
1020
+ position: relative;
1021
+ box-shadow:
1022
+ 0 0 0 2px var(--nx-color-surface),
1023
+ 0 0 0 4px var(--nx-color-focus);
1024
+ }
1025
+
1026
+ .nx-editor .nx-menu-settings .nx-canvas-properties {
1027
+ display: flex;
1028
+ flex-direction: column;
1029
+ gap: var(--nx-space-2);
1030
+ }
1031
+
1032
+ .nx-editor .nx-menu-settings .nx-canvas-properties .nx-section {
1033
+ padding: 0;
1034
+ }
1035
+
1036
+ .nx-editor .nx-menu-settings .nx-section-title {
1037
+ font-size: var(--nx-font-size);
1038
+ font-weight: 400;
1039
+ color: var(--nx-color-text);
1040
+ }
1041
+
1042
+ .nx-editor .nx-menu-item {
1043
+ display: flex;
1044
+ align-items: center;
1045
+ gap: var(--nx-space-2);
1046
+ width: 100%;
1047
+ padding: 6px var(--nx-space-2);
1048
+ border: 0;
1049
+ border-radius: var(--nx-radius-small);
1050
+ background: none;
1051
+ text-align: start;
1052
+ cursor: pointer;
1053
+ }
1054
+
1055
+ .nx-editor .nx-menu-item:hover:not(:disabled),
1056
+ .nx-editor .nx-menu-item:focus-visible {
1057
+ background: var(--nx-color-surface-hover);
1058
+ }
1059
+
1060
+ .nx-editor .nx-menu-item:disabled {
1061
+ opacity: 0.4;
1062
+ cursor: default;
1063
+ }
1064
+
1065
+ .nx-editor .nx-menu-icon {
1066
+ width: 16px;
1067
+ }
1068
+
1069
+ .nx-editor .nx-menu-label {
1070
+ flex: 1;
1071
+ }
1072
+
1073
+ /* At 16px, lucide's grid lines land on whole pixels, so 1px strokes straddle two pixel columns
1074
+ and blur. On 1x screens, nudging icons half a pixel puts them on pixel centers instead;
1075
+ higher densities already draw them crisply. */
1076
+ @media (max-resolution: 1dppx) {
1077
+ .nx-editor svg.lucide {
1078
+ transform: translate(0.5px, 0.5px);
1079
+ }
1080
+ }
1081
+
1082
+ /* Link editor: a single-row popover above the selected element, like Excalidraw's. */
1083
+ .nx-editor .nx-link-popover {
1084
+ position: absolute;
1085
+ z-index: 11;
1086
+ align-items: center;
1087
+ gap: 2px;
1088
+ width: 320px;
1089
+ max-width: calc(100% - 16px);
1090
+ min-height: 42px;
1091
+ padding: 4px 4px 4px 12px;
1092
+ border-radius: var(--nx-radius-small);
1093
+ pointer-events: auto;
1094
+ }
1095
+
1096
+ .nx-editor .nx-link-url {
1097
+ flex: 1;
1098
+ min-width: 0;
1099
+ overflow: hidden;
1100
+ color: var(--nx-color-link);
1101
+ text-decoration: none;
1102
+ text-overflow: ellipsis;
1103
+ white-space: nowrap;
1104
+ }
1105
+
1106
+ .nx-editor a.nx-link-url:hover {
1107
+ text-decoration: underline;
1108
+ }
1109
+
1110
+ .nx-editor .nx-link-url.nx-inert {
1111
+ color: var(--nx-color-text-muted);
1112
+ }
1113
+
1114
+ .nx-editor .nx-link-input {
1115
+ flex: 1;
1116
+ min-width: 0;
1117
+ padding: 6px 0;
1118
+ border: 0;
1119
+ outline: none;
1120
+ background: transparent;
1121
+ color: inherit;
1122
+ font: inherit;
1123
+ }
1124
+
1125
+ .nx-editor .nx-link-input::placeholder {
1126
+ color: var(--nx-color-text-muted);
1127
+ }
1128
+
1129
+ .nx-editor .nx-link-input.nx-invalid {
1130
+ color: var(--nx-color-danger);
1131
+ }
1132
+
1133
+ .nx-editor .nx-link-error {
1134
+ position: absolute;
1135
+ top: 100%;
1136
+ left: 12px;
1137
+ margin: 4px 0 0;
1138
+ color: var(--nx-color-danger);
1139
+ font-size: 12px;
1140
+ }
1141
+
1142
+ /* Context menu: a compact list like Excalidraw's, with full-width rows, thin dividers, a check
1143
+ mark column for toggles and shortcuts as plain muted text. */
1144
+ .nx-editor .nx-context-menu {
1145
+ min-width: 230px;
1146
+ padding: 6px 0;
1147
+ border: 1px solid var(--nx-color-border);
1148
+ border-radius: var(--nx-radius-small);
1149
+ }
1150
+
1151
+ .nx-editor .nx-context-menu:focus {
1152
+ outline: none;
1153
+ }
1154
+
1155
+ .nx-editor .nx-context-menu .nx-menu-item {
1156
+ gap: 6px;
1157
+ min-height: 28px;
1158
+ padding: 4px 14px 4px 4px;
1159
+ border-radius: 0;
1160
+ }
1161
+
1162
+ .nx-editor .nx-context-menu .nx-menu-item > svg,
1163
+ .nx-editor .nx-context-menu .nx-menu-icon {
1164
+ flex: none;
1165
+ width: 16px;
1166
+ height: 16px;
1167
+ }
1168
+
1169
+ .nx-editor .nx-context-menu .nx-separator {
1170
+ margin: 6px 0;
1171
+ }
1172
+
1173
+ .nx-editor .nx-context-menu kbd {
1174
+ margin-inline-start: 24px;
1175
+ padding: 0;
1176
+ border: 0;
1177
+ background: none;
1178
+ font-size: 11px;
1179
+ }
1180
+
1181
+ .nx-editor kbd {
1182
+ padding: 1px 5px;
1183
+ border: 1px solid var(--nx-color-border);
1184
+ border-radius: 4px;
1185
+ background: var(--nx-color-surface-muted);
1186
+ color: var(--nx-color-text-muted);
1187
+ font-family: inherit;
1188
+ font-size: 11px;
1189
+ white-space: nowrap;
1190
+ }
1191
+
1192
+ .nx-editor .nx-dialog-backdrop {
1193
+ position: absolute;
1194
+ inset: 0;
1195
+ z-index: 40;
1196
+ display: grid;
1197
+ place-items: center;
1198
+ padding: var(--nx-space-4);
1199
+ background: var(--nx-color-backdrop);
1200
+ }
1201
+
1202
+ .nx-editor .nx-dialog {
1203
+ flex-direction: column;
1204
+ width: min(420px, 100%);
1205
+ max-height: 100%;
1206
+ padding: var(--nx-space-4);
1207
+ }
1208
+
1209
+ .nx-editor .nx-dialog-wide {
1210
+ width: min(720px, 100%);
1211
+ }
1212
+
1213
+ .nx-editor .nx-dialog-body {
1214
+ overflow: auto;
1215
+ min-height: 0;
1216
+ }
1217
+
1218
+ .nx-editor .nx-export {
1219
+ display: grid;
1220
+ grid-template-columns: minmax(0, 1fr) 220px;
1221
+ gap: var(--nx-space-4);
1222
+ }
1223
+
1224
+ .nx-editor .nx-export-preview {
1225
+ display: grid;
1226
+ place-items: center;
1227
+ min-height: 220px;
1228
+ border-radius: var(--nx-radius-small);
1229
+ background: repeating-conic-gradient(var(--nx-color-surface-muted) 0 25%, transparent 0 50%) 0
1230
+ 0 / 16px 16px;
1231
+ }
1232
+
1233
+ .nx-editor .nx-export-preview img {
1234
+ max-width: 100%;
1235
+ max-height: 320px;
1236
+ }
1237
+
1238
+ .nx-editor .nx-shortcuts {
1239
+ columns: 2 240px;
1240
+ gap: var(--nx-space-4);
1241
+ }
1242
+
1243
+ .nx-editor .nx-shortcuts dl {
1244
+ margin: 0 0 var(--nx-space-3);
1245
+ }
1246
+
1247
+ .nx-editor .nx-shortcut-row {
1248
+ display: flex;
1249
+ justify-content: space-between;
1250
+ gap: var(--nx-space-2);
1251
+ padding: 3px 0;
1252
+ break-inside: avoid;
1253
+ }
1254
+
1255
+ .nx-editor .nx-shortcut-row dt {
1256
+ min-width: 0;
1257
+ }
1258
+
1259
+ .nx-editor .nx-shortcut-row dd {
1260
+ display: flex;
1261
+ flex-wrap: wrap;
1262
+ justify-content: flex-end;
1263
+ gap: 3px;
1264
+ margin: 0;
1265
+ max-width: 60%;
1266
+ }
1267
+
1268
+ .nx-editor .nx-minimap {
1269
+ flex-shrink: 0;
1270
+ align-self: flex-start;
1271
+ padding: var(--nx-space-1);
1272
+ overflow: hidden;
1273
+ border: 1px solid var(--nx-color-border);
1274
+ border-radius: var(--nx-radius);
1275
+ }
1276
+
1277
+ .nx-editor .nx-toast {
1278
+ position: absolute;
1279
+ left: 50%;
1280
+ bottom: 64px;
1281
+ z-index: 50;
1282
+ display: flex;
1283
+ align-items: center;
1284
+ gap: var(--nx-space-2);
1285
+ padding: var(--nx-space-2) var(--nx-space-3);
1286
+ transform: translateX(-50%);
1287
+ border-radius: var(--nx-radius);
1288
+ background: var(--nx-color-danger);
1289
+ color: #ffffff;
1290
+ box-shadow: var(--nx-shadow-island);
1291
+ }
1292
+
1293
+ .nx-editor .nx-toast-info {
1294
+ background: var(--nx-color-text);
1295
+ color: var(--nx-color-surface);
1296
+ }
1297
+
1298
+ .nx-editor .nx-anchor {
1299
+ display: inline-flex;
1300
+ }
1301
+
1302
+ .nx-editor .nx-custom-editor {
1303
+ padding-top: var(--nx-space-2);
1304
+ border-top: 1px solid var(--nx-color-border);
1305
+ }
1306
+
1307
+ @container nx-editor (max-width: 640px) {
1308
+ .nx-editor .nx-overlay {
1309
+ --nx-button-size: 40px;
1310
+ }
1311
+
1312
+ .nx-editor .nx-overlay .nx-top {
1313
+ grid-template-columns: auto 1fr;
1314
+ }
1315
+
1316
+ .nx-editor .nx-overlay .nx-toolbar {
1317
+ position: absolute;
1318
+ left: var(--nx-space-2);
1319
+ right: var(--nx-space-2);
1320
+ bottom: var(--nx-space-2);
1321
+ justify-content: center;
1322
+ overflow-x: auto;
1323
+ }
1324
+
1325
+ .nx-editor .nx-overlay .nx-toolbar-items {
1326
+ flex-wrap: nowrap;
1327
+ }
1328
+
1329
+ .nx-editor .nx-overlay .nx-bottom {
1330
+ margin-bottom: calc(var(--nx-button-size) + var(--nx-space-4));
1331
+ }
1332
+
1333
+ .nx-editor .nx-overlay .nx-minimap,
1334
+ .nx-editor .nx-overlay .nx-minimap-toggle,
1335
+ .nx-editor .nx-overlay .nx-tool-key {
1336
+ display: none;
1337
+ }
1338
+
1339
+ .nx-editor .nx-overlay .nx-middle {
1340
+ position: absolute;
1341
+ left: var(--nx-space-2);
1342
+ right: var(--nx-space-2);
1343
+ bottom: calc(var(--nx-button-size) * 2 + var(--nx-space-4) * 2);
1344
+ max-height: 45%;
1345
+ align-items: flex-end;
1346
+ }
1347
+
1348
+ .nx-editor .nx-overlay .nx-properties,
1349
+ .nx-editor .nx-overlay .nx-layers {
1350
+ width: 100%;
1351
+ max-height: 100%;
1352
+ }
1353
+
1354
+ .nx-editor .nx-overlay .nx-side:empty {
1355
+ display: none;
1356
+ }
1357
+
1358
+ .nx-editor .nx-overlay .nx-side {
1359
+ flex: 1;
1360
+ }
1361
+
1362
+ .nx-editor .nx-export {
1363
+ grid-template-columns: 1fr;
1364
+ }
1365
+ }
1366
+ }