promptslide 0.3.17 → 0.3.19

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