@yudaocode/univer-slides-ui 0.0.0-stage → 1.6.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.css ADDED
@@ -0,0 +1,1344 @@
1
+ /* @yudaocode/univer-slides-ui — Presentation Workbench Styles */
2
+
3
+ .univer-slides-left-sidebar {
4
+ width: 248px;
5
+ height: 100%;
6
+ display: flex;
7
+ flex-direction: column;
8
+ background: #f8fafc;
9
+ border-right: 1px solid #e2e8f0;
10
+ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
11
+ color: #0f172a;
12
+ box-sizing: border-box;
13
+ user-select: none;
14
+ }
15
+
16
+ .univer-slides-sorter-header {
17
+ display: flex;
18
+ align-items: center;
19
+ gap: 6px;
20
+ padding: 10px;
21
+ border-bottom: 1px solid #e2e8f0;
22
+ background: #ffffff;
23
+ }
24
+
25
+ .univer-slides-new-btn-group {
26
+ display: inline-flex;
27
+ flex: 1;
28
+ }
29
+
30
+ .univer-slides-primary-btn {
31
+ display: inline-flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ gap: 5px;
35
+ height: 30px;
36
+ padding: 0 10px;
37
+ border: 1px solid #1d4ed8;
38
+ border-radius: 6px;
39
+ background: #2563eb;
40
+ color: #ffffff;
41
+ font-size: 12px;
42
+ font-weight: 600;
43
+ cursor: pointer;
44
+ }
45
+
46
+ .univer-slides-new-btn-group .univer-slides-primary-btn {
47
+ flex: 1;
48
+ border-top-right-radius: 0;
49
+ border-bottom-right-radius: 0;
50
+ }
51
+
52
+ .univer-slides-primary-btn.is-block {
53
+ width: 100%;
54
+ }
55
+
56
+ .univer-slides-primary-btn:disabled {
57
+ opacity: 0.5;
58
+ cursor: not-allowed;
59
+ }
60
+
61
+ .univer-slides-split-caret {
62
+ width: 24px;
63
+ height: 30px;
64
+ border: 1px solid #1d4ed8;
65
+ border-left: 1px solid rgba(255, 255, 255, 0.28);
66
+ border-top-right-radius: 6px;
67
+ border-bottom-right-radius: 6px;
68
+ background: #1d4ed8;
69
+ color: #ffffff;
70
+ cursor: pointer;
71
+ display: inline-flex;
72
+ align-items: center;
73
+ justify-content: center;
74
+ }
75
+
76
+ .univer-slides-sec-add-btn,
77
+ .univer-slides-secondary-btn {
78
+ display: inline-flex;
79
+ align-items: center;
80
+ justify-content: center;
81
+ gap: 4px;
82
+ height: 30px;
83
+ padding: 0 8px;
84
+ border: 1px solid #cbd5e1;
85
+ border-radius: 6px;
86
+ background: #ffffff;
87
+ color: #334155;
88
+ font-size: 12px;
89
+ cursor: pointer;
90
+ }
91
+
92
+ .univer-slides-secondary-btn {
93
+ width: 100%;
94
+ margin-top: 6px;
95
+ }
96
+
97
+ .univer-slides-layout-chooser {
98
+ margin: 6px 10px;
99
+ padding: 6px;
100
+ background: #ffffff;
101
+ border: 1px solid #cbd5e1;
102
+ border-radius: 8px;
103
+ box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
104
+ display: grid;
105
+ grid-template-columns: 1fr 1fr;
106
+ gap: 6px;
107
+ }
108
+
109
+ .univer-slides-layout-option {
110
+ display: flex;
111
+ flex-direction: column;
112
+ align-items: flex-start;
113
+ padding: 6px 8px;
114
+ border: 1px solid #e2e8f0;
115
+ border-radius: 6px;
116
+ background: #f8fafc;
117
+ cursor: pointer;
118
+ text-align: left;
119
+ }
120
+
121
+ .univer-slides-layout-option:hover {
122
+ border-color: #3b82f6;
123
+ background: #eff6ff;
124
+ }
125
+
126
+ .univer-slides-layout-option-title {
127
+ font-size: 12px;
128
+ font-weight: 600;
129
+ color: #0f172a;
130
+ }
131
+
132
+ .univer-slides-layout-option-desc {
133
+ font-size: 10px;
134
+ color: #64748b;
135
+ }
136
+
137
+ .univer-slides-sorter-scroll {
138
+ flex: 1;
139
+ overflow-y: auto;
140
+ padding: 8px 10px 16px;
141
+ }
142
+
143
+ .univer-slides-section-group {
144
+ margin-bottom: 10px;
145
+ }
146
+
147
+ .univer-slides-section-bar {
148
+ display: flex;
149
+ align-items: center;
150
+ gap: 4px;
151
+ padding: 4px 6px;
152
+ border-radius: 6px;
153
+ background: #e2e8f0;
154
+ margin-bottom: 6px;
155
+ }
156
+
157
+ .univer-slides-section-toggle {
158
+ border: none;
159
+ background: transparent;
160
+ padding: 2px;
161
+ cursor: pointer;
162
+ color: #334155;
163
+ display: inline-flex;
164
+ }
165
+
166
+ .univer-slides-section-title {
167
+ flex: 1;
168
+ font-size: 12px;
169
+ font-weight: 600;
170
+ color: #1e293b;
171
+ overflow: hidden;
172
+ text-overflow: ellipsis;
173
+ white-space: nowrap;
174
+ }
175
+
176
+ .univer-slides-sec-input {
177
+ flex: 1;
178
+ height: 22px;
179
+ border: 1px solid #3b82f6;
180
+ border-radius: 4px;
181
+ padding: 0 4px;
182
+ font-size: 12px;
183
+ }
184
+
185
+ .univer-slides-section-count {
186
+ font-size: 11px;
187
+ color: #475569;
188
+ padding: 0 5px;
189
+ border-radius: 10px;
190
+ background: rgba(255, 255, 255, 0.7);
191
+ }
192
+
193
+ .univer-slides-section-cards {
194
+ display: flex;
195
+ flex-direction: column;
196
+ gap: 8px;
197
+ }
198
+
199
+ .univer-slides-thumb-card {
200
+ background: #ffffff;
201
+ border: 1.5px solid #cbd5e1;
202
+ border-radius: 8px;
203
+ padding: 6px;
204
+ cursor: pointer;
205
+ transition: border-color 0.15s, box-shadow 0.15s;
206
+ }
207
+
208
+ .univer-slides-thumb-card:hover {
209
+ border-color: #93c5fd;
210
+ }
211
+
212
+ .univer-slides-thumb-card.is-active {
213
+ border-color: #2563eb;
214
+ box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18);
215
+ }
216
+
217
+ .univer-slides-thumb-card.is-hidden {
218
+ opacity: 0.62;
219
+ }
220
+
221
+ .univer-slides-thumb-top {
222
+ display: flex;
223
+ align-items: center;
224
+ gap: 5px;
225
+ margin-bottom: 5px;
226
+ }
227
+
228
+ .univer-slides-thumb-index {
229
+ min-width: 18px;
230
+ height: 18px;
231
+ border-radius: 4px;
232
+ background: #eff6ff;
233
+ color: #1d4ed8;
234
+ font-size: 11px;
235
+ font-weight: 700;
236
+ display: inline-flex;
237
+ align-items: center;
238
+ justify-content: center;
239
+ }
240
+
241
+ .univer-slides-thumb-title {
242
+ flex: 1;
243
+ font-size: 11.5px;
244
+ font-weight: 600;
245
+ color: #1e293b;
246
+ overflow: hidden;
247
+ text-overflow: ellipsis;
248
+ white-space: nowrap;
249
+ }
250
+
251
+ .univer-slides-thumb-badges {
252
+ display: flex;
253
+ gap: 3px;
254
+ }
255
+
256
+ .univer-slides-badge {
257
+ font-size: 9.5px;
258
+ padding: 1px 4px;
259
+ border-radius: 3px;
260
+ font-weight: 600;
261
+ }
262
+
263
+ .univer-slides-badge.is-muted {
264
+ background: #e2e8f0;
265
+ color: #475569;
266
+ }
267
+
268
+ .univer-slides-badge.is-accent {
269
+ background: #dbeafe;
270
+ color: #1d4ed8;
271
+ }
272
+
273
+ .univer-slides-badge.is-violet {
274
+ background: #ede9fe;
275
+ color: #6d28d9;
276
+ }
277
+
278
+ .univer-slides-badge.is-emerald {
279
+ background: #d1fae5;
280
+ color: #047857;
281
+ }
282
+
283
+ .univer-slides-thumb-preview {
284
+ width: 100%;
285
+ aspect-ratio: 16 / 9;
286
+ border-radius: 4px;
287
+ overflow: hidden;
288
+ border: 1px solid #e2e8f0;
289
+ background: #ffffff;
290
+ }
291
+
292
+ .univer-slides-thumb-preview svg {
293
+ width: 100%;
294
+ height: 100%;
295
+ display: block;
296
+ }
297
+
298
+ .univer-slides-thumb-actions {
299
+ display: flex;
300
+ justify-content: flex-end;
301
+ gap: 4px;
302
+ margin-top: 5px;
303
+ }
304
+
305
+ .univer-slides-icon-btn {
306
+ width: 22px;
307
+ height: 22px;
308
+ border: 1px solid transparent;
309
+ border-radius: 4px;
310
+ background: transparent;
311
+ color: #475569;
312
+ display: inline-flex;
313
+ align-items: center;
314
+ justify-content: center;
315
+ cursor: pointer;
316
+ }
317
+
318
+ .univer-slides-icon-btn:hover:not(:disabled) {
319
+ background: #f1f5f9;
320
+ color: #0f172a;
321
+ }
322
+
323
+ .univer-slides-icon-btn.is-danger:hover:not(:disabled) {
324
+ background: #fef2f2;
325
+ color: #dc2626;
326
+ }
327
+
328
+ .univer-slides-icon-btn:disabled {
329
+ opacity: 0.35;
330
+ cursor: not-allowed;
331
+ }
332
+
333
+ /* Center Stage + Quick Toolbar + Speaker Notes */
334
+ .univer-slides-workbench-center {
335
+ width: 100%;
336
+ height: 100%;
337
+ display: flex;
338
+ flex-direction: column;
339
+ background: #e2e8f0;
340
+ outline: none;
341
+ overflow: hidden;
342
+ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
343
+ }
344
+
345
+ .univer-slides-quick-toolbar {
346
+ display: flex;
347
+ align-items: center;
348
+ flex-wrap: wrap;
349
+ gap: 6px;
350
+ padding: 6px 12px;
351
+ background: #ffffff;
352
+ border-bottom: 1px solid #cbd5e1;
353
+ z-index: 15;
354
+ }
355
+
356
+ .univer-slides-toolbar-group {
357
+ display: flex;
358
+ align-items: center;
359
+ gap: 4px;
360
+ }
361
+
362
+ .univer-slides-toolbar-sep {
363
+ width: 1px;
364
+ height: 20px;
365
+ background: #cbd5e1;
366
+ margin: 0 2px;
367
+ }
368
+
369
+ .univer-slides-tool-btn {
370
+ display: inline-flex;
371
+ align-items: center;
372
+ gap: 4px;
373
+ height: 28px;
374
+ padding: 0 8px;
375
+ border: 1px solid #e2e8f0;
376
+ border-radius: 5px;
377
+ background: #f8fafc;
378
+ color: #1e293b;
379
+ font-size: 12px;
380
+ cursor: pointer;
381
+ }
382
+
383
+ .univer-slides-tool-btn:hover,
384
+ .univer-slides-tool-btn.is-active {
385
+ background: #eff6ff;
386
+ border-color: #93c5fd;
387
+ color: #1d4ed8;
388
+ }
389
+
390
+ .univer-slides-tool-btn.is-accent {
391
+ background: #ecfdf5;
392
+ border-color: #6ee7b7;
393
+ color: #047857;
394
+ font-weight: 600;
395
+ }
396
+
397
+ .univer-slides-tool-btn.is-primary {
398
+ background: #2563eb;
399
+ border-color: #1d4ed8;
400
+ color: #ffffff;
401
+ font-weight: 600;
402
+ }
403
+
404
+ .univer-slides-dropdown-anchor {
405
+ position: relative;
406
+ }
407
+
408
+ .univer-slides-popover {
409
+ position: absolute;
410
+ top: calc(100% + 4px);
411
+ left: 0;
412
+ min-width: 176px;
413
+ padding: 6px;
414
+ background: #ffffff;
415
+ border: 1px solid #cbd5e1;
416
+ border-radius: 8px;
417
+ box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
418
+ z-index: 40;
419
+ display: flex;
420
+ flex-direction: column;
421
+ gap: 2px;
422
+ }
423
+
424
+ .univer-slides-popover.is-grid {
425
+ width: 240px;
426
+ display: grid;
427
+ grid-template-columns: 1fr 1fr;
428
+ gap: 4px;
429
+ }
430
+
431
+ .univer-slides-popover-item {
432
+ padding: 6px 8px;
433
+ border: none;
434
+ border-radius: 5px;
435
+ background: transparent;
436
+ color: #1e293b;
437
+ font-size: 12px;
438
+ text-align: left;
439
+ cursor: pointer;
440
+ }
441
+
442
+ .univer-slides-popover-item:hover {
443
+ background: #eff6ff;
444
+ color: #1d4ed8;
445
+ }
446
+
447
+ .univer-slides-find-bar {
448
+ display: flex;
449
+ align-items: center;
450
+ gap: 8px;
451
+ padding: 6px 14px;
452
+ background: #f8fafc;
453
+ border-bottom: 1px solid #cbd5e1;
454
+ }
455
+
456
+ .univer-slides-find-count {
457
+ font-size: 12px;
458
+ color: #475569;
459
+ min-width: 64px;
460
+ }
461
+
462
+ .univer-slides-canvas-viewport {
463
+ flex: 1;
464
+ overflow: auto;
465
+ display: flex;
466
+ align-items: center;
467
+ justify-content: center;
468
+ padding: 28px;
469
+ }
470
+
471
+ .univer-slides-canvas-scaler {
472
+ position: relative;
473
+ flex-shrink: 0;
474
+ }
475
+
476
+ .univer-slides-canvas-surface {
477
+ position: relative;
478
+ box-shadow: 0 12px 36px rgba(15, 23, 42, 0.18);
479
+ border-radius: 3px;
480
+ overflow: hidden;
481
+ user-select: none;
482
+ }
483
+
484
+ .univer-slides-canvas-surface.has-grid::before {
485
+ content: '';
486
+ position: absolute;
487
+ inset: 0;
488
+ background-image:
489
+ linear-gradient(to right, rgba(148, 163, 184, 0.22) 1px, transparent 1px),
490
+ linear-gradient(to bottom, rgba(148, 163, 184, 0.22) 1px, transparent 1px);
491
+ background-size: 24px 24px;
492
+ pointer-events: none;
493
+ z-index: 0;
494
+ }
495
+
496
+ .univer-slides-master-bar {
497
+ position: absolute;
498
+ top: 0;
499
+ left: 0;
500
+ right: 0;
501
+ height: 4px;
502
+ pointer-events: none;
503
+ }
504
+
505
+ .univer-slides-element-box.is-selected {
506
+ outline: 1.5px solid #2563eb;
507
+ }
508
+
509
+ .univer-slides-vector-host svg {
510
+ width: 100%;
511
+ height: 100%;
512
+ display: block;
513
+ }
514
+
515
+ .univer-slides-inline-textarea {
516
+ width: 100%;
517
+ height: 100%;
518
+ border: 1.5px solid #2563eb;
519
+ border-radius: 4px;
520
+ background: rgba(255, 255, 255, 0.92);
521
+ padding: 6px;
522
+ resize: none;
523
+ outline: none;
524
+ box-sizing: border-box;
525
+ font-family: inherit;
526
+ }
527
+
528
+ .univer-slides-cell-input {
529
+ width: 100%;
530
+ border: 1px solid #2563eb;
531
+ border-radius: 3px;
532
+ padding: 2px 4px;
533
+ font-size: inherit;
534
+ box-sizing: border-box;
535
+ }
536
+
537
+ .univer-slides-resize-handle {
538
+ position: absolute;
539
+ width: 8px;
540
+ height: 8px;
541
+ background: #ffffff;
542
+ border: 1.5px solid #2563eb;
543
+ border-radius: 2px;
544
+ z-index: 10;
545
+ }
546
+
547
+ .univer-slides-resize-handle.is-nw { top: -5px; left: -5px; cursor: nwse-resize; }
548
+ .univer-slides-resize-handle.is-n { top: -5px; left: calc(50% - 4px); cursor: ns-resize; }
549
+ .univer-slides-resize-handle.is-ne { top: -5px; right: -5px; cursor: nesw-resize; }
550
+ .univer-slides-resize-handle.is-e { top: calc(50% - 4px); right: -5px; cursor: ew-resize; }
551
+ .univer-slides-resize-handle.is-se { bottom: -5px; right: -5px; cursor: nwse-resize; }
552
+ .univer-slides-resize-handle.is-s { bottom: -5px; left: calc(50% - 4px); cursor: ns-resize; }
553
+ .univer-slides-resize-handle.is-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
554
+ .univer-slides-resize-handle.is-w { top: calc(50% - 4px); left: -5px; cursor: ew-resize; }
555
+
556
+ .univer-slides-rotate-handle {
557
+ position: absolute;
558
+ top: -22px;
559
+ left: calc(50% - 5px);
560
+ width: 10px;
561
+ height: 10px;
562
+ border-radius: 50%;
563
+ background: #2563eb;
564
+ border: 2px solid #ffffff;
565
+ cursor: grab;
566
+ z-index: 10;
567
+ }
568
+
569
+ .univer-slides-snap-guide {
570
+ position: absolute;
571
+ background: #ec4899;
572
+ pointer-events: none;
573
+ z-index: 25;
574
+ }
575
+
576
+ .univer-slides-snap-guide.is-vertical {
577
+ top: 0;
578
+ bottom: 0;
579
+ width: 1px;
580
+ }
581
+
582
+ .univer-slides-snap-guide.is-horizontal {
583
+ left: 0;
584
+ right: 0;
585
+ height: 1px;
586
+ }
587
+
588
+ .univer-slides-page-number {
589
+ position: absolute;
590
+ right: 18px;
591
+ bottom: 12px;
592
+ font-size: 11px;
593
+ color: #64748b;
594
+ pointer-events: none;
595
+ }
596
+
597
+ .univer-slides-master-footer {
598
+ position: absolute;
599
+ left: 20px;
600
+ bottom: 12px;
601
+ font-size: 11px;
602
+ color: #64748b;
603
+ pointer-events: none;
604
+ }
605
+
606
+ .univer-slides-master-banner {
607
+ display: flex;
608
+ align-items: center;
609
+ justify-content: space-between;
610
+ gap: 12px;
611
+ padding: 6px 14px;
612
+ background: #eff6ff;
613
+ border-bottom: 1px solid #93c5fd;
614
+ color: #1e3a8a;
615
+ font-size: 12px;
616
+ font-weight: 500;
617
+ }
618
+
619
+ .univer-slides-master-banner-info {
620
+ display: flex;
621
+ align-items: center;
622
+ gap: 8px;
623
+ }
624
+
625
+ .univer-slides-master-layout-list {
626
+ display: flex;
627
+ flex-direction: column;
628
+ gap: 8px;
629
+ margin-top: 8px;
630
+ padding-left: 12px;
631
+ border-left: 2px solid #cbd5e1;
632
+ }
633
+
634
+ .univer-slides-layout-slot-box {
635
+ border: 1.5px dashed #3b82f6;
636
+ border-radius: 6px;
637
+ background: rgba(59, 130, 246, 0.06);
638
+ color: #1d4ed8;
639
+ padding: 8px 10px;
640
+ box-sizing: border-box;
641
+ cursor: move;
642
+ display: flex;
643
+ flex-direction: column;
644
+ gap: 4px;
645
+ font-size: 12px;
646
+ }
647
+
648
+ .univer-slides-layout-slot-tag {
649
+ align-self: flex-start;
650
+ font-size: 10px;
651
+ font-weight: 700;
652
+ padding: 1px 6px;
653
+ border-radius: 4px;
654
+ background: #dbeafe;
655
+ color: #1e40af;
656
+ }
657
+
658
+ .univer-slides-action-indicator {
659
+ position: absolute;
660
+ top: 4px;
661
+ right: 4px;
662
+ width: 18px;
663
+ height: 18px;
664
+ border-radius: 4px;
665
+ background: rgba(37, 99, 235, 0.9);
666
+ color: #ffffff;
667
+ display: inline-flex;
668
+ align-items: center;
669
+ justify-content: center;
670
+ pointer-events: none;
671
+ z-index: 6;
672
+ }
673
+
674
+ /* Speaker Notes Pane */
675
+ .univer-slides-notes-pane {
676
+ background: #ffffff;
677
+ border-top: 1px solid #cbd5e1;
678
+ display: flex;
679
+ flex-direction: column;
680
+ }
681
+
682
+ .univer-slides-notes-resizer {
683
+ height: 5px;
684
+ cursor: ns-resize;
685
+ background: linear-gradient(to bottom, #e2e8f0, #ffffff);
686
+ }
687
+
688
+ .univer-slides-notes-header {
689
+ display: flex;
690
+ align-items: center;
691
+ justify-content: space-between;
692
+ padding: 4px 12px;
693
+ background: #f8fafc;
694
+ border-bottom: 1px solid #e2e8f0;
695
+ }
696
+
697
+ .univer-slides-notes-label {
698
+ font-size: 11.5px;
699
+ font-weight: 600;
700
+ color: #334155;
701
+ }
702
+
703
+ .univer-slides-notes-toggle {
704
+ border: none;
705
+ background: transparent;
706
+ color: #2563eb;
707
+ font-size: 11.5px;
708
+ cursor: pointer;
709
+ }
710
+
711
+ .univer-slides-notes-textarea {
712
+ width: 100%;
713
+ border: none;
714
+ padding: 8px 14px;
715
+ font-size: 13px;
716
+ line-height: 1.5;
717
+ color: #1e293b;
718
+ resize: none;
719
+ outline: none;
720
+ box-sizing: border-box;
721
+ font-family: inherit;
722
+ }
723
+
724
+ /* Right Inspector */
725
+ .univer-slides-inspector {
726
+ width: 100%;
727
+ height: 100%;
728
+ display: flex;
729
+ flex-direction: column;
730
+ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
731
+ color: #0f172a;
732
+ }
733
+
734
+ .univer-slides-inspector-tabs {
735
+ display: grid;
736
+ grid-template-columns: repeat(3, 1fr);
737
+ border-bottom: 1px solid #e2e8f0;
738
+ background: #f8fafc;
739
+ }
740
+
741
+ .univer-slides-inspector-tab {
742
+ height: 36px;
743
+ border: none;
744
+ border-bottom: 2px solid transparent;
745
+ background: transparent;
746
+ font-size: 12px;
747
+ font-weight: 600;
748
+ color: #64748b;
749
+ cursor: pointer;
750
+ }
751
+
752
+ .univer-slides-inspector-tab.is-active {
753
+ color: #2563eb;
754
+ border-bottom-color: #2563eb;
755
+ background: #ffffff;
756
+ }
757
+
758
+ .univer-slides-inspector-body {
759
+ flex: 1;
760
+ overflow-y: auto;
761
+ padding: 12px;
762
+ display: flex;
763
+ flex-direction: column;
764
+ gap: 14px;
765
+ }
766
+
767
+ .univer-slides-field-section {
768
+ border: 1px solid #e2e8f0;
769
+ border-radius: 8px;
770
+ padding: 10px;
771
+ background: #ffffff;
772
+ display: flex;
773
+ flex-direction: column;
774
+ gap: 8px;
775
+ }
776
+
777
+ .univer-slides-section-heading {
778
+ font-size: 12px;
779
+ font-weight: 700;
780
+ color: #0f172a;
781
+ }
782
+
783
+ .univer-slides-field-row {
784
+ display: flex;
785
+ align-items: center;
786
+ justify-content: space-between;
787
+ gap: 8px;
788
+ font-size: 12px;
789
+ color: #475569;
790
+ }
791
+
792
+ .univer-slides-input,
793
+ .univer-slides-select {
794
+ height: 28px;
795
+ border: 1px solid #cbd5e1;
796
+ border-radius: 5px;
797
+ padding: 0 8px;
798
+ font-size: 12px;
799
+ color: #0f172a;
800
+ background: #ffffff;
801
+ min-width: 0;
802
+ flex: 1;
803
+ }
804
+
805
+ .univer-slides-grid-2 {
806
+ display: grid;
807
+ grid-template-columns: 1fr 1fr;
808
+ gap: 8px;
809
+ }
810
+
811
+ .univer-slides-size-pills,
812
+ .univer-slides-align-row {
813
+ display: flex;
814
+ flex-wrap: wrap;
815
+ gap: 5px;
816
+ }
817
+
818
+ .univer-slides-pill-btn,
819
+ .univer-slides-mini-btn {
820
+ padding: 4px 8px;
821
+ border: 1px solid #cbd5e1;
822
+ border-radius: 5px;
823
+ background: #f8fafc;
824
+ font-size: 11.5px;
825
+ color: #334155;
826
+ cursor: pointer;
827
+ }
828
+
829
+ .univer-slides-pill-btn.is-active,
830
+ .univer-slides-mini-btn.is-active {
831
+ border-color: #2563eb;
832
+ background: #eff6ff;
833
+ color: #1d4ed8;
834
+ font-weight: 600;
835
+ }
836
+
837
+ .univer-slides-mini-btn.is-danger {
838
+ color: #dc2626;
839
+ border-color: #fecaca;
840
+ }
841
+
842
+ .univer-slides-theme-list {
843
+ display: flex;
844
+ flex-direction: column;
845
+ gap: 6px;
846
+ }
847
+
848
+ .univer-slides-theme-card {
849
+ display: flex;
850
+ align-items: center;
851
+ justify-content: space-between;
852
+ padding: 6px 8px;
853
+ border: 1px solid #e2e8f0;
854
+ border-radius: 6px;
855
+ background: #f8fafc;
856
+ cursor: pointer;
857
+ }
858
+
859
+ .univer-slides-theme-card.is-active {
860
+ border-color: #2563eb;
861
+ background: #eff6ff;
862
+ }
863
+
864
+ .univer-slides-theme-name {
865
+ font-size: 11.5px;
866
+ font-weight: 600;
867
+ color: #1e293b;
868
+ }
869
+
870
+ .univer-slides-theme-swatches {
871
+ display: inline-flex;
872
+ gap: 3px;
873
+ }
874
+
875
+ .univer-slides-theme-swatches i {
876
+ width: 12px;
877
+ height: 12px;
878
+ border-radius: 3px;
879
+ display: inline-block;
880
+ }
881
+
882
+ .univer-slides-code-textarea {
883
+ width: 100%;
884
+ border: 1px solid #cbd5e1;
885
+ border-radius: 6px;
886
+ padding: 6px 8px;
887
+ font-family: Menlo, Monaco, Consolas, monospace;
888
+ font-size: 11px;
889
+ box-sizing: border-box;
890
+ }
891
+
892
+ .univer-slides-hint {
893
+ font-size: 11.5px;
894
+ color: #64748b;
895
+ line-height: 1.45;
896
+ }
897
+
898
+ .univer-slides-error-msg {
899
+ font-size: 11.5px;
900
+ color: #dc2626;
901
+ }
902
+
903
+ .univer-slides-checkbox-label {
904
+ display: inline-flex;
905
+ align-items: center;
906
+ gap: 6px;
907
+ font-size: 12px;
908
+ color: #334155;
909
+ cursor: pointer;
910
+ }
911
+
912
+ .univer-slides-smartart-row {
913
+ display: grid;
914
+ grid-template-columns: 1fr 1fr;
915
+ gap: 6px;
916
+ }
917
+
918
+ .univer-slides-anim-list {
919
+ display: flex;
920
+ flex-direction: column;
921
+ gap: 8px;
922
+ }
923
+
924
+ .univer-slides-anim-card {
925
+ border: 1px solid #e2e8f0;
926
+ border-radius: 6px;
927
+ padding: 8px;
928
+ background: #f8fafc;
929
+ display: flex;
930
+ flex-direction: column;
931
+ gap: 6px;
932
+ }
933
+
934
+ .univer-slides-anim-card-top {
935
+ display: flex;
936
+ align-items: center;
937
+ gap: 6px;
938
+ }
939
+
940
+ .univer-slides-anim-target {
941
+ flex: 1;
942
+ font-size: 12px;
943
+ font-weight: 600;
944
+ }
945
+
946
+ /* Status Bar */
947
+ .univer-slides-status-bar {
948
+ height: 28px;
949
+ padding: 0 12px;
950
+ background: #ffffff;
951
+ border-top: 1px solid #e2e8f0;
952
+ display: flex;
953
+ align-items: center;
954
+ justify-content: space-between;
955
+ font-size: 11.5px;
956
+ color: #475569;
957
+ }
958
+
959
+ .univer-slides-status-left,
960
+ .univer-slides-status-right,
961
+ .univer-slides-zoom-controls {
962
+ display: flex;
963
+ align-items: center;
964
+ gap: 8px;
965
+ }
966
+
967
+ .univer-slides-status-item.is-strong {
968
+ font-weight: 600;
969
+ color: #0f172a;
970
+ }
971
+
972
+ .univer-slides-status-divider {
973
+ width: 1px;
974
+ height: 12px;
975
+ background: #cbd5e1;
976
+ }
977
+
978
+ .univer-slides-status-toggle {
979
+ border: 1px solid transparent;
980
+ border-radius: 4px;
981
+ background: transparent;
982
+ padding: 2px 6px;
983
+ font-size: 11px;
984
+ color: #475569;
985
+ cursor: pointer;
986
+ }
987
+
988
+ .univer-slides-status-toggle.is-active {
989
+ background: #eff6ff;
990
+ color: #1d4ed8;
991
+ font-weight: 600;
992
+ }
993
+
994
+ .univer-slides-status-toggle.is-highlight {
995
+ background: #0f172a;
996
+ color: #ffffff;
997
+ }
998
+
999
+ .univer-slides-zoom-btn,
1000
+ .univer-slides-zoom-pct {
1001
+ border: 1px solid #e2e8f0;
1002
+ border-radius: 4px;
1003
+ background: #f8fafc;
1004
+ height: 20px;
1005
+ padding: 0 6px;
1006
+ font-size: 11px;
1007
+ cursor: pointer;
1008
+ }
1009
+
1010
+ /* Full-Screen Presenter & Dual-Pane Teleprompter Overlay */
1011
+ .univer-slides-presenter-overlay {
1012
+ position: fixed;
1013
+ inset: 0;
1014
+ z-index: 9999;
1015
+ background: #090d16;
1016
+ color: #f8fafc;
1017
+ display: flex;
1018
+ flex-direction: column;
1019
+ font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
1020
+ }
1021
+
1022
+ .univer-slides-presenter-topbar {
1023
+ height: 48px;
1024
+ padding: 0 18px;
1025
+ background: #0f172a;
1026
+ border-bottom: 1px solid #1e293b;
1027
+ display: flex;
1028
+ align-items: center;
1029
+ justify-content: space-between;
1030
+ gap: 12px;
1031
+ }
1032
+
1033
+ .univer-slides-presenter-left,
1034
+ .univer-slides-presenter-tools,
1035
+ .univer-slides-pen-colors,
1036
+ .univer-slides-font-btns {
1037
+ display: flex;
1038
+ align-items: center;
1039
+ gap: 8px;
1040
+ }
1041
+
1042
+ .univer-slides-presenter-title {
1043
+ font-size: 13px;
1044
+ font-weight: 700;
1045
+ color: #f8fafc;
1046
+ }
1047
+
1048
+ .univer-slides-presenter-counter {
1049
+ font-size: 12px;
1050
+ padding: 2px 8px;
1051
+ border-radius: 12px;
1052
+ background: #1e293b;
1053
+ color: #93c5fd;
1054
+ }
1055
+
1056
+ .univer-slides-timer-pill {
1057
+ display: inline-flex;
1058
+ align-items: center;
1059
+ gap: 6px;
1060
+ padding: 3px 8px;
1061
+ border-radius: 6px;
1062
+ background: #1e293b;
1063
+ font-variant-numeric: tabular-nums;
1064
+ }
1065
+
1066
+ .univer-slides-timer-digits {
1067
+ font-family: Menlo, Monaco, Consolas, monospace;
1068
+ font-size: 13px;
1069
+ font-weight: 700;
1070
+ color: #34d399;
1071
+ }
1072
+
1073
+ .univer-slides-presenter-btn {
1074
+ display: inline-flex;
1075
+ align-items: center;
1076
+ gap: 5px;
1077
+ height: 28px;
1078
+ padding: 0 10px;
1079
+ border: 1px solid #334155;
1080
+ border-radius: 5px;
1081
+ background: #1e293b;
1082
+ color: #e2e8f0;
1083
+ font-size: 12px;
1084
+ cursor: pointer;
1085
+ }
1086
+
1087
+ .univer-slides-presenter-btn.is-active {
1088
+ background: #2563eb;
1089
+ border-color: #3b82f6;
1090
+ color: #ffffff;
1091
+ }
1092
+
1093
+ .univer-slides-presenter-btn.is-laser {
1094
+ background: rgba(239, 68, 68, 0.2);
1095
+ border-color: #ef4444;
1096
+ color: #fca5a5;
1097
+ }
1098
+
1099
+ .univer-slides-presenter-exit {
1100
+ height: 28px;
1101
+ padding: 0 12px;
1102
+ border: 1px solid #dc2626;
1103
+ border-radius: 5px;
1104
+ background: #dc2626;
1105
+ color: #ffffff;
1106
+ font-size: 12px;
1107
+ font-weight: 600;
1108
+ cursor: pointer;
1109
+ }
1110
+
1111
+ .univer-slides-color-dot {
1112
+ width: 16px;
1113
+ height: 16px;
1114
+ border-radius: 50%;
1115
+ border: 2px solid transparent;
1116
+ cursor: pointer;
1117
+ }
1118
+
1119
+ .univer-slides-color-dot.is-active {
1120
+ border-color: #ffffff;
1121
+ }
1122
+
1123
+ .univer-slides-presenter-main {
1124
+ flex: 1;
1125
+ display: grid;
1126
+ gap: 18px;
1127
+ padding: 18px;
1128
+ overflow: hidden;
1129
+ }
1130
+
1131
+ .univer-slides-presenter-main.is-presenter {
1132
+ grid-template-columns: 1fr 360px;
1133
+ }
1134
+
1135
+ .univer-slides-presenter-main.is-fullscreen {
1136
+ grid-template-columns: 1fr;
1137
+ }
1138
+
1139
+ .univer-slides-presenter-stage-col {
1140
+ display: flex;
1141
+ flex-direction: column;
1142
+ align-items: center;
1143
+ justify-content: center;
1144
+ min-height: 0;
1145
+ }
1146
+
1147
+ .univer-slides-presenter-stage {
1148
+ position: relative;
1149
+ width: 100%;
1150
+ max-height: calc(100vh - 132px);
1151
+ border-radius: 6px;
1152
+ overflow: hidden;
1153
+ box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
1154
+ }
1155
+
1156
+ .univer-slides-presenter-svg-wrap,
1157
+ .univer-slides-presenter-svg-wrap svg {
1158
+ width: 100%;
1159
+ height: 100%;
1160
+ display: block;
1161
+ }
1162
+
1163
+ .univer-slides-ink-overlay {
1164
+ position: absolute;
1165
+ inset: 0;
1166
+ width: 100%;
1167
+ height: 100%;
1168
+ pointer-events: none;
1169
+ }
1170
+
1171
+ .univer-slides-presenter-interactive-layer {
1172
+ position: absolute;
1173
+ inset: 0;
1174
+ width: 100%;
1175
+ height: 100%;
1176
+ pointer-events: none;
1177
+ z-index: 4;
1178
+ }
1179
+
1180
+ .univer-slides-presenter-action-hotspot {
1181
+ pointer-events: auto;
1182
+ cursor: pointer;
1183
+ border-radius: 4px;
1184
+ transition: box-shadow 0.15s ease;
1185
+ }
1186
+
1187
+ .univer-slides-presenter-action-hotspot:hover {
1188
+ box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.65);
1189
+ }
1190
+
1191
+ .univer-slides-presenter-media-slot {
1192
+ pointer-events: auto;
1193
+ border-radius: 6px;
1194
+ overflow: hidden;
1195
+ display: flex;
1196
+ align-items: center;
1197
+ justify-content: center;
1198
+ }
1199
+
1200
+ .univer-slides-presenter-audio-wrap {
1201
+ width: 100%;
1202
+ height: 100%;
1203
+ background: rgba(15, 23, 42, 0.85);
1204
+ border: 1px solid #334155;
1205
+ border-radius: 8px;
1206
+ padding: 0 8px;
1207
+ box-sizing: border-box;
1208
+ display: flex;
1209
+ align-items: center;
1210
+ }
1211
+
1212
+ .univer-slides-presenter-nav {
1213
+ display: flex;
1214
+ align-items: center;
1215
+ gap: 16px;
1216
+ margin-top: 12px;
1217
+ }
1218
+
1219
+ .univer-slides-presenter-progress {
1220
+ font-size: 13px;
1221
+ color: #cbd5e1;
1222
+ }
1223
+
1224
+ .univer-slides-presenter-side-col {
1225
+ display: flex;
1226
+ flex-direction: column;
1227
+ gap: 14px;
1228
+ min-height: 0;
1229
+ }
1230
+
1231
+ .univer-slides-next-card,
1232
+ .univer-slides-teleprompter-card {
1233
+ background: #0f172a;
1234
+ border: 1px solid #1e293b;
1235
+ border-radius: 8px;
1236
+ padding: 12px;
1237
+ }
1238
+
1239
+ .univer-slides-teleprompter-card {
1240
+ flex: 1;
1241
+ display: flex;
1242
+ flex-direction: column;
1243
+ min-height: 0;
1244
+ }
1245
+
1246
+ .univer-slides-next-label,
1247
+ .univer-slides-teleprompter-header {
1248
+ display: flex;
1249
+ align-items: center;
1250
+ justify-content: space-between;
1251
+ font-size: 12px;
1252
+ font-weight: 600;
1253
+ color: #94a3b8;
1254
+ margin-bottom: 8px;
1255
+ }
1256
+
1257
+ .univer-slides-next-preview svg {
1258
+ width: 100%;
1259
+ height: auto;
1260
+ border-radius: 4px;
1261
+ display: block;
1262
+ }
1263
+
1264
+ .univer-slides-next-end {
1265
+ padding: 28px 0;
1266
+ text-align: center;
1267
+ font-size: 12px;
1268
+ color: #64748b;
1269
+ }
1270
+
1271
+ .univer-slides-teleprompter-body {
1272
+ flex: 1;
1273
+ overflow-y: auto;
1274
+ line-height: 1.65;
1275
+ color: #f1f5f9;
1276
+ white-space: pre-wrap;
1277
+ }
1278
+
1279
+ .univer-slides-jump-modal {
1280
+ position: fixed;
1281
+ inset: 48px 0 0 0;
1282
+ background: rgba(9, 13, 22, 0.88);
1283
+ padding: 24px;
1284
+ overflow-y: auto;
1285
+ z-index: 20;
1286
+ }
1287
+
1288
+ .univer-slides-jump-grid {
1289
+ display: grid;
1290
+ grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
1291
+ gap: 16px;
1292
+ }
1293
+
1294
+ .univer-slides-jump-item {
1295
+ background: #0f172a;
1296
+ border: 1.5px solid #334155;
1297
+ border-radius: 8px;
1298
+ padding: 8px;
1299
+ color: #e2e8f0;
1300
+ cursor: pointer;
1301
+ text-align: left;
1302
+ }
1303
+
1304
+ .univer-slides-jump-item.is-active {
1305
+ border-color: #3b82f6;
1306
+ }
1307
+
1308
+ .univer-slides-jump-thumb svg {
1309
+ width: 100%;
1310
+ height: auto;
1311
+ border-radius: 4px;
1312
+ margin-bottom: 6px;
1313
+ display: block;
1314
+ }
1315
+
1316
+ @keyframes univerSlideFade {
1317
+ from { opacity: 0.15; }
1318
+ to { opacity: 1; }
1319
+ }
1320
+
1321
+ @keyframes univerSlidePush {
1322
+ from { transform: translateX(6%); opacity: 0.4; }
1323
+ to { transform: translateX(0); opacity: 1; }
1324
+ }
1325
+
1326
+ @keyframes univerSlideZoom {
1327
+ from { transform: scale(0.92); opacity: 0.3; }
1328
+ to { transform: scale(1); opacity: 1; }
1329
+ }
1330
+
1331
+ .anim-transition-fade,
1332
+ .anim-transition-wipe,
1333
+ .anim-transition-split {
1334
+ animation: univerSlideFade 0.38s ease-out;
1335
+ }
1336
+
1337
+ .anim-transition-push {
1338
+ animation: univerSlidePush 0.38s cubic-bezier(0.22, 1, 0.36, 1);
1339
+ }
1340
+
1341
+ .anim-transition-zoom,
1342
+ .anim-transition-morph {
1343
+ animation: univerSlideZoom 0.4s cubic-bezier(0.22, 1, 0.36, 1);
1344
+ }