promptslide 0.3.16 → 0.3.18

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,1004 @@
1
+ /* Editor chrome lives in sibling portals. No selector reaches slide content.
2
+ CSS updates must remain independent of the editor's buffered source draft. */
3
+ .ps-edit-action {
4
+ display: inline-flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ gap: 6px;
8
+ height: 32px;
9
+ padding: 0 10px;
10
+ border: 1px solid transparent;
11
+ border-radius: 6px;
12
+ font: 500 13px/1 system-ui;
13
+ color: #a3a3a3;
14
+ background: transparent;
15
+ cursor: pointer;
16
+ }
17
+ .ps-edit-action:hover {
18
+ color: #fafafa;
19
+ background: #262626;
20
+ }
21
+ .ps-edit-action.active {
22
+ padding: 0 8px;
23
+ border-color: #ff6b3560;
24
+ background: #ff6b351a;
25
+ color: #ff8b60;
26
+ }
27
+ [data-ps-viewer-toolbar] button:disabled {
28
+ opacity: 0.35;
29
+ cursor: default;
30
+ }
31
+ .ps-panel {
32
+ width: 100%;
33
+ height: 100%;
34
+ display: flex;
35
+ flex-direction: column;
36
+ background: #0a0a0a;
37
+ border-left: 1px solid #262626;
38
+ color: #e5e5e5;
39
+ font-family: inherit;
40
+ font-size: 12px;
41
+ line-height: 1.5;
42
+ text-align: left;
43
+ color-scheme: dark;
44
+ }
45
+ .ps-panel *,
46
+ .ps-edit-overlay * {
47
+ box-sizing: border-box;
48
+ }
49
+ .ps-panel-heading {
50
+ display: flex;
51
+ align-items: center;
52
+ justify-content: space-between;
53
+ padding: 12px 16px;
54
+ border-bottom: 1px solid #262626;
55
+ }
56
+ .ps-overline {
57
+ font-size: 9px;
58
+ letter-spacing: 0.14em;
59
+ font-weight: 600;
60
+ color: #737373;
61
+ }
62
+ .ps-panel h2 {
63
+ font:
64
+ 600 14px/1.5 Inter,
65
+ ui-sans-serif,
66
+ system-ui,
67
+ sans-serif;
68
+ letter-spacing: -0.025em;
69
+ margin: 3px 0 0;
70
+ color: #f5f5f5;
71
+ }
72
+ .ps-panel h3 {
73
+ font:
74
+ 600 12px/1.5 Inter,
75
+ ui-sans-serif,
76
+ system-ui,
77
+ sans-serif;
78
+ margin: 0 0 12px;
79
+ color: #e5e5e5;
80
+ }
81
+ .ps-panel button {
82
+ font: inherit;
83
+ cursor: pointer;
84
+ transition:
85
+ background-color 0.12s,
86
+ color 0.12s;
87
+ }
88
+ .ps-panel button:disabled {
89
+ opacity: 0.32;
90
+ cursor: default;
91
+ }
92
+ .ps-panel button:focus-visible,
93
+ .ps-panel input:focus-visible,
94
+ .ps-panel select:focus-visible,
95
+ .ps-panel textarea:focus-visible,
96
+ .ps-edit-action:focus-visible {
97
+ outline: 2px solid #ff6b35;
98
+ outline-offset: 2px;
99
+ }
100
+ .ps-panel-tools {
101
+ display: flex;
102
+ gap: 5px;
103
+ align-items: center;
104
+ padding: 12px 16px;
105
+ border-bottom: 1px solid #262626;
106
+ }
107
+ .ps-tabs {
108
+ display: flex;
109
+ gap: 3px;
110
+ padding: 3px;
111
+ background: #171717;
112
+ border-radius: 7px;
113
+ flex: 1;
114
+ margin-right: 8px;
115
+ }
116
+ .ps-tabs button {
117
+ flex: 1;
118
+ border: 0;
119
+ border-radius: 5px;
120
+ padding: 5px 8px;
121
+ font-weight: 500;
122
+ background: transparent;
123
+ color: #a3a3a3;
124
+ }
125
+ .ps-tabs button[aria-selected="true"] {
126
+ background: #262626;
127
+ color: #fafafa;
128
+ }
129
+ .ps-icon-button {
130
+ display: inline-flex;
131
+ align-items: center;
132
+ justify-content: center;
133
+ flex-shrink: 0;
134
+ width: 30px;
135
+ height: 30px;
136
+ padding: 0;
137
+ border: 1px solid transparent;
138
+ border-radius: 5px;
139
+ background: transparent;
140
+ color: #a3a3a3;
141
+ }
142
+ .ps-icon-button:hover:not(:disabled) {
143
+ background: #262626;
144
+ color: #fff;
145
+ }
146
+ .ps-icon-button[aria-pressed="true"] {
147
+ background: #ff6b3526;
148
+ color: #ff6b35;
149
+ }
150
+ .ps-panel-body {
151
+ flex: 1;
152
+ min-height: 0;
153
+ overflow: auto;
154
+ scrollbar-width: thin;
155
+ scrollbar-color: #3a3a3a transparent;
156
+ padding: 12px 16px;
157
+ }
158
+ .ps-section {
159
+ padding: 18px 0;
160
+ border-bottom: 1px solid #262626;
161
+ }
162
+ .ps-panel-body > .ps-section:last-child {
163
+ border-bottom: 0;
164
+ }
165
+ .ps-section-heading {
166
+ display: flex;
167
+ justify-content: space-between;
168
+ align-items: baseline;
169
+ gap: 10px;
170
+ }
171
+ .ps-section-heading > span {
172
+ font-size: 9px;
173
+ color: #737373;
174
+ }
175
+ .ps-panel .ps-text-input {
176
+ display: block;
177
+ width: 100%;
178
+ min-height: 80px;
179
+ max-height: 160px;
180
+ resize: vertical;
181
+ font:
182
+ 400 13px/1.55 Inter,
183
+ ui-sans-serif,
184
+ system-ui,
185
+ sans-serif;
186
+ padding: 10px 12px;
187
+ border: 1px solid #404040;
188
+ border-radius: 7px;
189
+ background: #171717;
190
+ color: #e5e5e5;
191
+ }
192
+ .ps-field {
193
+ display: block;
194
+ min-width: 0;
195
+ margin: 0 0 12px;
196
+ }
197
+ .ps-field > span {
198
+ display: block;
199
+ font-size: 10px;
200
+ font-weight: 500;
201
+ color: #a3a3a3;
202
+ margin-bottom: 5px;
203
+ }
204
+ .ps-field input,
205
+ .ps-field select {
206
+ display: block;
207
+ width: 100%;
208
+ min-width: 0;
209
+ height: 34px;
210
+ border: 1px solid #404040;
211
+ border-radius: 6px;
212
+ background: #171717;
213
+ color: #e5e5e5;
214
+ font:
215
+ 400 12px/1.4 Inter,
216
+ ui-sans-serif,
217
+ system-ui,
218
+ sans-serif;
219
+ padding: 6px 9px;
220
+ }
221
+ .ps-field select {
222
+ cursor: pointer;
223
+ }
224
+ .ps-number-field > div {
225
+ position: relative;
226
+ }
227
+ .ps-number-field > div > span {
228
+ position: absolute;
229
+ right: 24px;
230
+ top: 8px;
231
+ color: #737373;
232
+ pointer-events: none;
233
+ }
234
+ .ps-font-row {
235
+ display: grid;
236
+ grid-template-columns: minmax(0, 1fr) 70px;
237
+ gap: 8px;
238
+ align-items: end;
239
+ }
240
+ .ps-font-row > .ps-field:first-child {
241
+ padding-top: 20px;
242
+ }
243
+ .ps-two-col {
244
+ display: grid;
245
+ grid-template-columns: 1fr 1fr;
246
+ gap: 8px;
247
+ }
248
+ .ps-format-row {
249
+ display: flex;
250
+ justify-content: space-between;
251
+ gap: 12px;
252
+ margin: 0 0 14px;
253
+ }
254
+ .ps-segments {
255
+ display: flex;
256
+ gap: 2px;
257
+ padding: 3px;
258
+ border: 1px solid #404040;
259
+ background: #171717;
260
+ border-radius: 6px;
261
+ }
262
+ .ps-segments .ps-icon-button {
263
+ width: 34px;
264
+ height: 27px;
265
+ }
266
+ .ps-color-field {
267
+ display: flex;
268
+ gap: 4px;
269
+ align-items: center;
270
+ margin: 10px 0 14px;
271
+ }
272
+ .ps-color-field > label {
273
+ display: flex;
274
+ flex: 1;
275
+ align-items: center;
276
+ justify-content: space-between;
277
+ gap: 12px;
278
+ font-size: 11px;
279
+ color: #a3a3a3;
280
+ }
281
+ .ps-color-value {
282
+ display: flex;
283
+ align-items: center;
284
+ position: relative;
285
+ gap: 8px;
286
+ min-width: 118px;
287
+ background: #171717;
288
+ border: 1px solid #404040;
289
+ border-radius: 6px;
290
+ padding: 6px 8px;
291
+ font-size: 10px;
292
+ font-variant-numeric: tabular-nums;
293
+ color: #a3a3a3;
294
+ cursor: pointer;
295
+ }
296
+ .ps-color-value:focus-within {
297
+ outline: 2px solid #ff8858;
298
+ outline-offset: 2px;
299
+ }
300
+ .ps-color-value input {
301
+ position: absolute;
302
+ inset: 0;
303
+ width: 100%;
304
+ height: 100%;
305
+ opacity: 0;
306
+ cursor: pointer;
307
+ }
308
+ .ps-color-preview {
309
+ display: block;
310
+ width: 18px;
311
+ height: 18px;
312
+ border: 1px solid #ffffff30;
313
+ border-radius: 4px;
314
+ }
315
+ .ps-color-preview.empty {
316
+ background: repeating-conic-gradient(#555 0% 25%, #404040 0% 50%) 50%/8px 8px;
317
+ }
318
+ .ps-palette {
319
+ display: flex;
320
+ align-items: center;
321
+ gap: 8px;
322
+ }
323
+ .ps-palette > span {
324
+ color: #737373;
325
+ font-size: 10px;
326
+ flex: 1;
327
+ }
328
+ .ps-swatch {
329
+ width: 19px;
330
+ height: 19px;
331
+ border-radius: 50%;
332
+ border: 1px solid #ffffff26;
333
+ padding: 0;
334
+ }
335
+ .ps-swatch:hover {
336
+ outline: 2px solid #888;
337
+ outline-offset: 2px;
338
+ }
339
+ .ps-details > summary {
340
+ display: flex;
341
+ justify-content: space-between;
342
+ align-items: center;
343
+ gap: 8px;
344
+ list-style: none;
345
+ cursor: pointer;
346
+ font-size: 11px;
347
+ color: #a3a3a3;
348
+ }
349
+ .ps-details > summary::-webkit-details-marker {
350
+ display: none;
351
+ }
352
+ .ps-details[open] > summary {
353
+ margin-bottom: 14px;
354
+ color: #e5e5e5;
355
+ }
356
+ .ps-details > summary svg {
357
+ transition: transform 0.15s;
358
+ }
359
+ .ps-details[open] > summary > svg.lucide-chevron-down {
360
+ transform: rotate(180deg);
361
+ }
362
+ .ps-section > .ps-details {
363
+ margin-top: 16px;
364
+ }
365
+ .ps-range {
366
+ display: block;
367
+ margin: 6px 0 0;
368
+ }
369
+ .ps-range > span {
370
+ display: flex;
371
+ justify-content: space-between;
372
+ font-size: 11px;
373
+ color: #a3a3a3;
374
+ margin-bottom: 8px;
375
+ }
376
+ .ps-range strong {
377
+ color: #c8c8c8;
378
+ font-weight: 400;
379
+ font-variant-numeric: tabular-nums;
380
+ }
381
+ .ps-range input {
382
+ display: block;
383
+ width: 100%;
384
+ height: 4px;
385
+ accent-color: #ff6b35;
386
+ margin: 12px 0 8px;
387
+ cursor: pointer;
388
+ }
389
+ .ps-note {
390
+ color: #737373;
391
+ font-size: 10px;
392
+ line-height: 1.65;
393
+ margin: 12px 0 0;
394
+ }
395
+ .ps-soft-button {
396
+ display: flex;
397
+ align-items: center;
398
+ justify-content: center;
399
+ gap: 6px;
400
+ border: 1px solid #404040;
401
+ border-radius: 6px;
402
+ padding: 8px 6px;
403
+ background: #171717;
404
+ color: #a3a3a3;
405
+ font-size: 10px !important;
406
+ }
407
+ .ps-soft-button:hover:not(:disabled) {
408
+ background: #262626;
409
+ color: #fafafa;
410
+ }
411
+ .ps-danger:hover:not(:disabled) {
412
+ color: #ff9c9c;
413
+ }
414
+ .ps-text-button {
415
+ border: 0;
416
+ background: transparent;
417
+ color: #a3a3a3;
418
+ padding: 7px 0;
419
+ }
420
+ .ps-text-button:hover:not(:disabled) {
421
+ color: #fff;
422
+ }
423
+ .ps-object-actions {
424
+ display: grid;
425
+ grid-template-columns: 1fr 1fr;
426
+ gap: 8px;
427
+ }
428
+ .ps-object-actions > .ps-text-button {
429
+ grid-column: 1/-1;
430
+ text-align: center;
431
+ font-size: 10px;
432
+ }
433
+ .ps-align-buttons {
434
+ display: flex;
435
+ justify-content: space-between;
436
+ margin-bottom: 12px;
437
+ }
438
+ .ps-align-buttons .ps-icon-button {
439
+ width: 39px;
440
+ height: 34px;
441
+ background: #171717;
442
+ border-color: #262626;
443
+ }
444
+ .ps-insert-options {
445
+ display: flex;
446
+ gap: 8px;
447
+ }
448
+ .ps-insert-options button {
449
+ flex: 1;
450
+ display: flex;
451
+ flex-direction: column;
452
+ align-items: center;
453
+ gap: 6px;
454
+ padding: 12px 5px;
455
+ border: 1px solid #404040;
456
+ border-radius: 6px;
457
+ background: #171717;
458
+ color: #a3a3a3;
459
+ font-size: 10px;
460
+ }
461
+ .ps-insert-options button:hover {
462
+ border-color: #555;
463
+ color: #fff;
464
+ }
465
+ .ps-layer-list {
466
+ display: flex;
467
+ flex-direction: column;
468
+ gap: 3px;
469
+ }
470
+ .ps-layer-list button {
471
+ display: flex;
472
+ align-items: center;
473
+ gap: 9px;
474
+ padding: 7px 8px;
475
+ border: 1px solid transparent;
476
+ border-radius: 5px;
477
+ background: transparent;
478
+ color: #a3a3a3;
479
+ text-align: left;
480
+ min-width: 0;
481
+ }
482
+ .ps-layer-list button span {
483
+ overflow: hidden;
484
+ white-space: nowrap;
485
+ text-overflow: ellipsis;
486
+ font-size: 11px;
487
+ }
488
+ .ps-layer-list button svg {
489
+ flex-shrink: 0;
490
+ }
491
+ .ps-layer-list button:hover {
492
+ background: #171717;
493
+ }
494
+ .ps-layer-list button[aria-pressed="true"] {
495
+ border-color: #ff6b3533;
496
+ background: #ff6b351a;
497
+ color: #ff6b35;
498
+ }
499
+ .ps-linked-item {
500
+ display: block;
501
+ text-align: left;
502
+ width: 100%;
503
+ padding: 8px;
504
+ border: 1px solid #404040;
505
+ border-radius: 5px;
506
+ background: #171717;
507
+ color: #a3a3a3;
508
+ margin-top: 6px;
509
+ }
510
+ .ps-shared {
511
+ padding: 16px;
512
+ margin-top: 16px;
513
+ border: 1px solid #303030;
514
+ border-radius: 10px;
515
+ background: #171717;
516
+ }
517
+ .ps-shared-heading {
518
+ display: flex;
519
+ align-items: center;
520
+ gap: 9px;
521
+ margin-bottom: 12px;
522
+ }
523
+ .ps-shared-icon {
524
+ display: flex;
525
+ align-items: center;
526
+ justify-content: center;
527
+ width: 28px;
528
+ height: 28px;
529
+ flex-shrink: 0;
530
+ border-radius: 7px;
531
+ background: #ff6b351a;
532
+ color: #ff6b35;
533
+ }
534
+ .ps-panel .ps-shared h3 {
535
+ margin: 0;
536
+ color: #fafafa;
537
+ font-size: 12px;
538
+ font-weight: 600;
539
+ }
540
+ .ps-shared-badge {
541
+ margin-left: auto;
542
+ padding: 2px 6px;
543
+ border: 1px solid #404040;
544
+ border-radius: 4px;
545
+ font-size: 9px;
546
+ color: #a3a3a3;
547
+ }
548
+ .ps-shared p {
549
+ margin: 0;
550
+ color: #a3a3a3;
551
+ font-size: 12px;
552
+ line-height: 1.6;
553
+ }
554
+ .ps-shared-action {
555
+ display: flex;
556
+ align-items: center;
557
+ justify-content: center;
558
+ gap: 8px;
559
+ width: 100%;
560
+ margin-top: 16px;
561
+ padding: 9px 10px;
562
+ border: 1px solid #ff6b3550;
563
+ border-radius: 6px;
564
+ background: #ff6b351a;
565
+ color: #ff8b60;
566
+ font-weight: 500 !important;
567
+ }
568
+ .ps-shared-action:hover {
569
+ border-color: #ff6b35;
570
+ background: #ff6b3526;
571
+ color: #ff6b35;
572
+ }
573
+ .ps-panel-footer {
574
+ flex-shrink: 0;
575
+ padding: 12px 16px;
576
+ border-top: 1px solid #262626;
577
+ background: #0a0a0a;
578
+ }
579
+ .ps-save-status {
580
+ display: flex;
581
+ gap: 7px;
582
+ align-items: center;
583
+ font-size: 10px;
584
+ color: #a3a3a3;
585
+ margin-bottom: 11px;
586
+ }
587
+ .ps-status-dot {
588
+ width: 5px;
589
+ height: 5px;
590
+ border-radius: 50%;
591
+ background: #f49b53;
592
+ }
593
+ .ps-status-dot.saved {
594
+ background: #679c78;
595
+ }
596
+ .ps-save-status > svg {
597
+ margin-left: auto;
598
+ color: #679c78;
599
+ }
600
+ .ps-save-actions {
601
+ display: flex;
602
+ gap: 16px;
603
+ align-items: center;
604
+ justify-content: space-between;
605
+ }
606
+ .ps-panel .ps-save {
607
+ display: inline-flex;
608
+ align-items: center;
609
+ justify-content: center;
610
+ gap: 6px;
611
+ height: 32px;
612
+ border: 1px solid #ff6b3580;
613
+ border-radius: 6px;
614
+ padding: 0 12px;
615
+ background: #ff6b3526;
616
+ color: #ff6b35;
617
+ font-weight: 600 !important;
618
+ font-size: 14px;
619
+ line-height: 20px;
620
+ transition:
621
+ border-color 150ms,
622
+ background-color 150ms;
623
+ }
624
+ .ps-save > svg {
625
+ display: block;
626
+ flex-shrink: 0;
627
+ transform: translateY(1px);
628
+ }
629
+ .ps-save > span {
630
+ display: block;
631
+ }
632
+ .ps-save:hover:not(:disabled) {
633
+ border-color: #ff6b35;
634
+ background: #ff6b3540;
635
+ }
636
+ .ps-error {
637
+ font-size: 11px;
638
+ color: #ecb38f;
639
+ margin: 10px 0;
640
+ }
641
+ .ps-error button {
642
+ display: block;
643
+ color: #ff6b35;
644
+ border: 0;
645
+ background: transparent;
646
+ padding: 6px 0;
647
+ text-decoration: underline;
648
+ }
649
+ .ps-empty {
650
+ text-align: center;
651
+ padding: 42px 0 36px;
652
+ }
653
+ .ps-empty-art {
654
+ position: relative;
655
+ width: 120px;
656
+ height: 86px;
657
+ border: 1px solid #262626;
658
+ border-radius: 8px;
659
+ background: #171717;
660
+ margin: 0 auto 25px;
661
+ padding: 17px;
662
+ }
663
+ .ps-empty-art > div {
664
+ height: 6px;
665
+ background: #444;
666
+ border-radius: 2px;
667
+ margin-bottom: 8px;
668
+ }
669
+ .ps-empty-art > div:first-child {
670
+ width: 65%;
671
+ height: 11px;
672
+ background: #626262;
673
+ outline: 1px solid #ff6b35;
674
+ outline-offset: 4px;
675
+ margin-bottom: 13px;
676
+ }
677
+ .ps-empty-art > div:last-of-type {
678
+ width: 75%;
679
+ }
680
+ .ps-empty-art > svg {
681
+ position: absolute;
682
+ right: 18px;
683
+ top: 32px;
684
+ color: #ff6b35;
685
+ fill: #171717;
686
+ }
687
+ .ps-empty h3 {
688
+ font-size: 17px;
689
+ letter-spacing: -0.02em;
690
+ line-height: 1.45;
691
+ margin: 0 0 10px;
692
+ }
693
+ .ps-empty p {
694
+ color: #737373;
695
+ font-size: 12px;
696
+ line-height: 1.7;
697
+ margin: 0 0 22px;
698
+ }
699
+ .ps-shortcut {
700
+ font-size: 10px;
701
+ color: #737373;
702
+ }
703
+ .ps-shortcut kbd {
704
+ font: 10px system-ui;
705
+ background: #171717;
706
+ color: #a3a3a3;
707
+ border: 1px solid #404040;
708
+ border-radius: 4px;
709
+ padding: 2px 5px;
710
+ margin: 0 3px;
711
+ }
712
+ .ps-sr-only {
713
+ position: absolute !important;
714
+ width: 1px;
715
+ height: 1px;
716
+ padding: 0;
717
+ margin: -1px;
718
+ overflow: hidden;
719
+ clip: rect(0, 0, 0, 0);
720
+ white-space: nowrap;
721
+ border: 0;
722
+ }
723
+ .ps-edit-overlay {
724
+ position: absolute;
725
+ inset: 0;
726
+ pointer-events: none;
727
+ }
728
+ .ps-selection {
729
+ position: absolute;
730
+ border: 1.5px solid #ff8858;
731
+ cursor: move;
732
+ touch-action: none;
733
+ pointer-events: auto;
734
+ }
735
+ .ps-selection::before,
736
+ .ps-selection::after {
737
+ content: "";
738
+ position: absolute;
739
+ width: 5px;
740
+ height: 5px;
741
+ border: 1px solid #ff8858;
742
+ background: #fff;
743
+ left: -3px;
744
+ pointer-events: none;
745
+ }
746
+ .ps-selection::before {
747
+ top: -3px;
748
+ }
749
+ .ps-selection::after {
750
+ bottom: -3px;
751
+ }
752
+ .ps-resize,
753
+ .ps-rotate {
754
+ position: absolute;
755
+ display: flex;
756
+ align-items: center;
757
+ justify-content: center;
758
+ padding: 0;
759
+ background: #fff;
760
+ color: #222;
761
+ border: 1px solid #ff8858;
762
+ touch-action: none;
763
+ }
764
+ .ps-resize {
765
+ right: -4px;
766
+ bottom: -4px;
767
+ width: 8px;
768
+ height: 8px;
769
+ border-radius: 1px;
770
+ cursor: nwse-resize;
771
+ }
772
+ .ps-rotate {
773
+ left: calc(50% - 8px);
774
+ top: -25px;
775
+ width: 16px;
776
+ height: 16px;
777
+ border-radius: 50%;
778
+ cursor: grab;
779
+ }
780
+ .ps-inline-frame {
781
+ position: absolute;
782
+ pointer-events: auto;
783
+ z-index: 5;
784
+ padding: 8px;
785
+ background: #0a0a0a;
786
+ border-radius: 8px;
787
+ outline: 1px solid #ff6b35;
788
+ }
789
+ .ps-inline-hint {
790
+ position: absolute;
791
+ bottom: calc(100% + 8px);
792
+ left: 0;
793
+ display: flex;
794
+ align-items: center;
795
+ gap: 6px;
796
+ padding: 6px 8px;
797
+ border: 1px solid #404040;
798
+ border-radius: 6px;
799
+ background: #171717;
800
+ color: #ff8b60;
801
+ font: 500 11px/16px system-ui;
802
+ white-space: nowrap;
803
+ pointer-events: none;
804
+ }
805
+ .ps-inline-hint.below {
806
+ top: calc(100% + 8px);
807
+ bottom: auto;
808
+ }
809
+ .ps-inline-hint-detail {
810
+ margin-left: 4px;
811
+ color: #a3a3a3;
812
+ font-weight: 400;
813
+ }
814
+ .ps-inline {
815
+ display: block;
816
+ overflow: hidden;
817
+ width: 100%;
818
+ margin: 0;
819
+ padding: 0;
820
+ resize: none;
821
+ background: transparent;
822
+ border: 0;
823
+ outline: 0;
824
+ caret-color: #ff6b35;
825
+ }
826
+ .ps-inline::selection {
827
+ background: #ff6b3540;
828
+ }
829
+ .ps-guide {
830
+ position: absolute;
831
+ background: #cf77e9;
832
+ pointer-events: none;
833
+ }
834
+ .ps-guide.vertical {
835
+ top: 0;
836
+ bottom: 0;
837
+ width: 1px;
838
+ }
839
+ .ps-guide.horizontal {
840
+ left: 0;
841
+ right: 0;
842
+ height: 1px;
843
+ }
844
+ @media (max-width: 850px) {
845
+ .ps-panel-heading,
846
+ .ps-panel-body,
847
+ .ps-panel-footer {
848
+ padding-left: 16px;
849
+ padding-right: 16px;
850
+ }
851
+ .ps-panel-tools {
852
+ padding-left: 16px;
853
+ padding-right: 16px;
854
+ }
855
+ }
856
+
857
+ .ps-close-dialog {
858
+ margin: auto;
859
+ width: min(460px, calc(100vw - 32px));
860
+ padding: 28px;
861
+ border: 1px solid #363636;
862
+ border-radius: 16px;
863
+ background: #191919;
864
+ color: #f5f5f5;
865
+ font:
866
+ 14px/1.5 Inter,
867
+ sans-serif;
868
+ }
869
+ .ps-close-dialog::backdrop {
870
+ background: rgb(0 0 0 / 65%);
871
+ }
872
+ .ps-close-dialog h2 {
873
+ margin: 0 0 10px;
874
+ font-size: 22px;
875
+ font-weight: 600;
876
+ }
877
+ .ps-close-dialog p {
878
+ margin: 0;
879
+ color: #aaa;
880
+ }
881
+ .ps-close-actions {
882
+ display: flex;
883
+ flex-wrap: wrap;
884
+ gap: 8px;
885
+ justify-content: flex-end;
886
+ margin-top: 26px;
887
+ }
888
+ .ps-close-actions button {
889
+ padding: 9px 12px;
890
+ border: 1px solid #424242;
891
+ border-radius: 7px;
892
+ background: #262626;
893
+ color: #eee;
894
+ cursor: pointer;
895
+ }
896
+ .ps-close-actions button:hover {
897
+ background: #363636;
898
+ }
899
+ .ps-close-actions button:focus-visible {
900
+ outline: 2px solid #ff8858;
901
+ outline-offset: 3px;
902
+ }
903
+ .ps-close-actions .ps-close-save {
904
+ display: inline-flex;
905
+ align-items: center;
906
+ gap: 6px;
907
+ background: #ff8858;
908
+ border-color: #ff8858;
909
+ color: #171717;
910
+ }
911
+ .ps-close-actions button:disabled {
912
+ opacity: 0.5;
913
+ cursor: wait;
914
+ }
915
+ .ps-close-dialog .ps-close-error {
916
+ color: #ff9a87;
917
+ margin-top: 14px;
918
+ }
919
+
920
+ [data-ps-editor-panel] > .ps-panel {
921
+ opacity: 0;
922
+ transition: opacity 75ms ease-out;
923
+ }
924
+ [data-ps-editor-panel][data-open="true"] > .ps-panel {
925
+ opacity: 1;
926
+ transition: opacity 100ms ease-out 100ms;
927
+ @starting-style {
928
+ opacity: 0;
929
+ }
930
+ }
931
+ @media (prefers-reduced-motion: reduce) {
932
+ [data-ps-editor-panel] > .ps-panel {
933
+ transition: none;
934
+ }
935
+ }
936
+
937
+ .ps-selection-notice {
938
+ flex-shrink: 0;
939
+ margin: 16px;
940
+ padding: 14px;
941
+ border: 1px solid #ff6b3550;
942
+ border-radius: 8px;
943
+ background: #ff6b351a;
944
+ }
945
+ .ps-selection-notice h3 {
946
+ margin-bottom: 6px;
947
+ color: #ff6b35;
948
+ }
949
+ .ps-selection-notice p {
950
+ margin: 0;
951
+ color: #d4d4d4;
952
+ font-size: 12px;
953
+ line-height: 1.5;
954
+ }
955
+ .ps-selection-notice .ps-text-button {
956
+ margin-top: 8px;
957
+ color: #fafafa;
958
+ }
959
+
960
+ /* One dimming layer keeps every locked control, label, and section heading consistent. */
961
+ .ps-panel fieldset:disabled {
962
+ opacity: 0.4;
963
+ filter: grayscale(1);
964
+ }
965
+ .ps-panel fieldset:disabled button:disabled {
966
+ opacity: 1;
967
+ }
968
+ .ps-panel fieldset:disabled input,
969
+ .ps-panel fieldset:disabled select,
970
+ .ps-panel fieldset:disabled textarea,
971
+ .ps-panel fieldset:disabled button,
972
+ .ps-panel fieldset:disabled summary,
973
+ .ps-panel fieldset:disabled .ps-color-value {
974
+ cursor: not-allowed;
975
+ }
976
+ .ps-panel fieldset:disabled input[type="range"] {
977
+ accent-color: #737373;
978
+ }
979
+ .ps-selection-locked {
980
+ cursor: default;
981
+ }
982
+ .ps-selection-locked .ps-resize:disabled,
983
+ .ps-selection-locked .ps-rotate:disabled {
984
+ background: #737373;
985
+ color: #262626;
986
+ border-color: #525252;
987
+ cursor: not-allowed;
988
+ }
989
+
990
+ .ps-panel fieldset:disabled input,
991
+ .ps-panel fieldset:disabled select,
992
+ .ps-panel fieldset:disabled textarea {
993
+ background-color: #101010;
994
+ border-color: #303030;
995
+ color: #737373;
996
+ -webkit-text-fill-color: #737373;
997
+ }
998
+ .ps-panel fieldset:disabled input::placeholder,
999
+ .ps-panel fieldset:disabled textarea::placeholder {
1000
+ color: #525252;
1001
+ }
1002
+ .ps-panel fieldset:disabled select {
1003
+ color-scheme: dark;
1004
+ }