@univerjs-pro/slides-ui 1.0.0-alpha.2 → 1.0.0-alpha.4
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/README.md +5 -2
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +155 -120
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/components/canvas-view/CanvasView.d.ts +141 -3
- package/lib/types/components/editor-content/EditorContent.d.ts +4 -1
- package/lib/types/components/embed-child-workbench/SlideEmbedChildWorkbench.d.ts +7 -0
- package/lib/types/components/embed-floating-menu/SlideEmbedFloatingMenu.d.ts +33 -0
- package/lib/types/components/embed-floating-preview/SlideEmbedFloatingPreview.d.ts +24 -0
- package/lib/types/components/embed-floating-preview/SlideEmbedFloatingPreview.spec.d.ts +4 -0
- package/lib/types/components/host-ui/SlideHostUiParts.d.ts +7 -0
- package/lib/types/components/insert-toolbar/ShapePicker.d.ts +1 -5
- package/lib/types/components/object-list-panel/slide-object-list-state.d.ts +1 -0
- package/lib/types/components/presentation/SlidePresentationEmbedLayer.d.ts +34 -0
- package/lib/types/components/table-size/SlideTableSizePicker.d.ts +2 -12
- package/lib/types/components/thumbnail-bar/ThumbnailBar.d.ts +21 -0
- package/lib/types/controllers/slide-connector-endpoint.controller.d.ts +1 -1
- package/lib/types/controllers/slide-contextual-ribbon.controller.d.ts +10 -1
- package/lib/types/controllers/slide-drawing-selection.controller.d.ts +15 -3
- package/lib/types/controllers/slide-drawing-transform.controller.d.ts +3 -0
- package/lib/types/controllers/slide-drawing-transformer-config.util.d.ts +3 -1
- package/lib/types/controllers/slide-image-cropper.controller.d.ts +20 -1
- package/lib/types/controllers/slide-render.controller.d.ts +2 -0
- package/lib/types/default-config.d.ts +2 -2
- package/lib/types/embed-active-page.d.ts +5 -0
- package/lib/types/embed-floating-menu-stage.d.ts +14 -0
- package/lib/types/embed-focus-owner.d.ts +40 -0
- package/lib/types/index.d.ts +30 -7
- package/lib/types/locale/en-US.d.ts +25 -0
- package/lib/types/quick-styles/presets.d.ts +4 -3
- package/lib/types/render-objects/document-text-render.util.d.ts +7 -0
- package/lib/types/render-objects/index.d.ts +1 -0
- package/lib/types/render-objects/placeholder-object/index.d.ts +1 -0
- package/lib/types/render-objects/placeholder-object/placeholder-text-rect.util.d.ts +7 -0
- package/lib/types/render-objects/slide-drawing-base.d.ts +1 -3
- package/lib/types/render-objects/slide-image-object.d.ts +7 -2
- package/lib/types/render-objects/slide-page-background-object.d.ts +6 -3
- package/lib/types/render-objects/slide-shape-object.d.ts +2 -2
- package/lib/types/render-objects/slide-table-object.d.ts +11 -6
- package/lib/types/services/slide-canvas-pop-manager.service.d.ts +2 -1
- package/lib/types/services/slide-embed-integration.service.d.ts +51 -0
- package/lib/types/services/slide-embed-runtime.service.d.ts +50 -0
- package/lib/types/services/slide-hit-test.service.d.ts +2 -0
- package/lib/types/services/slide-insert.service.d.ts +8 -6
- package/lib/types/slide-editor/const.d.ts +1 -0
- package/lib/types/slide-editor/controllers/shape-text-float-menu.render-controller.d.ts +1 -2
- package/lib/types/slide-editor/editor-ui/index.d.ts +1 -1
- package/lib/types/slide-editor/editor-ui/utils/render.d.ts +13 -3
- package/lib/types/slide-editor/services/slide-text-editing.service.d.ts +3 -1
- package/lib/types/utils/shape-text-style.util.d.ts +8 -6
- package/lib/types/views/render/adaptors/image-adaptor.d.ts +4 -4
- package/lib/types/views/render/adaptors/placeholder-adaptor.d.ts +3 -4
- package/lib/types/views/render/adaptors/shape-adaptor.d.ts +3 -4
- package/lib/types/views/render/adaptors/table-adaptor.d.ts +4 -4
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -19
- package/lib/types/slide-editor/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +0 -1
package/lib/index.css
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
pointer-events: none;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
.univer-pointer-events-auto {
|
|
6
|
+
pointer-events: auto;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.univer-static {
|
|
10
|
+
position: static;
|
|
11
|
+
}
|
|
12
|
+
|
|
5
13
|
.univer-fixed {
|
|
6
14
|
position: fixed;
|
|
7
15
|
}
|
|
@@ -38,6 +46,10 @@
|
|
|
38
46
|
top: -.25rem;
|
|
39
47
|
}
|
|
40
48
|
|
|
49
|
+
.-univer-top-9 {
|
|
50
|
+
top: -2.25rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
41
53
|
.univer-bottom-0 {
|
|
42
54
|
bottom: 0;
|
|
43
55
|
}
|
|
@@ -46,6 +58,10 @@
|
|
|
46
58
|
bottom: .5rem;
|
|
47
59
|
}
|
|
48
60
|
|
|
61
|
+
.univer-bottom-24 {
|
|
62
|
+
bottom: 6rem;
|
|
63
|
+
}
|
|
64
|
+
|
|
49
65
|
.univer-bottom-4 {
|
|
50
66
|
bottom: 1rem;
|
|
51
67
|
}
|
|
@@ -54,10 +70,18 @@
|
|
|
54
70
|
bottom: 1.5rem;
|
|
55
71
|
}
|
|
56
72
|
|
|
73
|
+
.univer-bottom-\[22px\] {
|
|
74
|
+
bottom: 22px;
|
|
75
|
+
}
|
|
76
|
+
|
|
57
77
|
.univer-left-0 {
|
|
58
78
|
left: 0;
|
|
59
79
|
}
|
|
60
80
|
|
|
81
|
+
.univer-left-1 {
|
|
82
|
+
left: .25rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
61
85
|
.univer-left-1\/2 {
|
|
62
86
|
left: 50%;
|
|
63
87
|
}
|
|
@@ -66,14 +90,30 @@
|
|
|
66
90
|
left: .5rem;
|
|
67
91
|
}
|
|
68
92
|
|
|
93
|
+
.univer-left-3 {
|
|
94
|
+
left: .75rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
69
97
|
.univer-right-0 {
|
|
70
98
|
right: 0;
|
|
71
99
|
}
|
|
72
100
|
|
|
101
|
+
.univer-right-3 {
|
|
102
|
+
right: .75rem;
|
|
103
|
+
}
|
|
104
|
+
|
|
73
105
|
.univer-top-0 {
|
|
74
106
|
top: 0;
|
|
75
107
|
}
|
|
76
108
|
|
|
109
|
+
.univer-top-1 {
|
|
110
|
+
top: .25rem;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.univer-top-2 {
|
|
114
|
+
top: .5rem;
|
|
115
|
+
}
|
|
116
|
+
|
|
77
117
|
.univer-top-\[calc\(100\%\+6px\)\] {
|
|
78
118
|
top: calc(100% + 6px);
|
|
79
119
|
}
|
|
@@ -90,6 +130,10 @@
|
|
|
90
130
|
z-index: 20;
|
|
91
131
|
}
|
|
92
132
|
|
|
133
|
+
.univer-z-\[1000\] {
|
|
134
|
+
z-index: 1000;
|
|
135
|
+
}
|
|
136
|
+
|
|
93
137
|
.univer-z-\[1001\] {
|
|
94
138
|
z-index: 1001;
|
|
95
139
|
}
|
|
@@ -102,14 +146,26 @@
|
|
|
102
146
|
z-index: 1;
|
|
103
147
|
}
|
|
104
148
|
|
|
105
|
-
.univer-
|
|
106
|
-
|
|
107
|
-
margin-right: .25rem;
|
|
149
|
+
.univer-z-\[2\] {
|
|
150
|
+
z-index: 2;
|
|
108
151
|
}
|
|
109
152
|
|
|
110
|
-
.univer-
|
|
111
|
-
|
|
112
|
-
|
|
153
|
+
.univer-z-\[30\] {
|
|
154
|
+
z-index: 30;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.univer-col-span-2 {
|
|
158
|
+
grid-column: span 2 / span 2;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.univer-mx-auto {
|
|
162
|
+
margin-left: auto;
|
|
163
|
+
margin-right: auto;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.univer-my-1\.5 {
|
|
167
|
+
margin-top: .375rem;
|
|
168
|
+
margin-bottom: .375rem;
|
|
113
169
|
}
|
|
114
170
|
|
|
115
171
|
.univer-mb-0\.5 {
|
|
@@ -164,6 +220,13 @@
|
|
|
164
220
|
box-sizing: border-box;
|
|
165
221
|
}
|
|
166
222
|
|
|
223
|
+
.univer-line-clamp-2 {
|
|
224
|
+
-webkit-line-clamp: 2;
|
|
225
|
+
-webkit-box-orient: vertical;
|
|
226
|
+
display: -webkit-box;
|
|
227
|
+
overflow: hidden;
|
|
228
|
+
}
|
|
229
|
+
|
|
167
230
|
.univer-block {
|
|
168
231
|
display: block;
|
|
169
232
|
}
|
|
@@ -213,6 +276,11 @@
|
|
|
213
276
|
height: 1.25rem;
|
|
214
277
|
}
|
|
215
278
|
|
|
279
|
+
.univer-size-6 {
|
|
280
|
+
width: 1.5rem;
|
|
281
|
+
height: 1.5rem;
|
|
282
|
+
}
|
|
283
|
+
|
|
216
284
|
.univer-size-7 {
|
|
217
285
|
width: 1.75rem;
|
|
218
286
|
height: 1.75rem;
|
|
@@ -228,10 +296,6 @@
|
|
|
228
296
|
height: 100%;
|
|
229
297
|
}
|
|
230
298
|
|
|
231
|
-
.\!univer-h-7 {
|
|
232
|
-
height: 1.75rem !important;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
299
|
.\!univer-h-8 {
|
|
236
300
|
height: 2rem !important;
|
|
237
301
|
}
|
|
@@ -260,18 +324,10 @@
|
|
|
260
324
|
height: 7rem;
|
|
261
325
|
}
|
|
262
326
|
|
|
263
|
-
.univer-h-5 {
|
|
264
|
-
height: 1.25rem;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
327
|
.univer-h-6 {
|
|
268
328
|
height: 1.5rem;
|
|
269
329
|
}
|
|
270
330
|
|
|
271
|
-
.univer-h-7 {
|
|
272
|
-
height: 1.75rem;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
331
|
.univer-h-8 {
|
|
276
332
|
height: 2rem;
|
|
277
333
|
}
|
|
@@ -292,12 +348,16 @@
|
|
|
292
348
|
min-height: 0;
|
|
293
349
|
}
|
|
294
350
|
|
|
351
|
+
.univer-min-h-2 {
|
|
352
|
+
min-height: .5rem;
|
|
353
|
+
}
|
|
354
|
+
|
|
295
355
|
.univer-min-h-40 {
|
|
296
356
|
min-height: 10rem;
|
|
297
357
|
}
|
|
298
358
|
|
|
299
|
-
.univer-
|
|
300
|
-
|
|
359
|
+
.univer-min-h-9 {
|
|
360
|
+
min-height: 2.25rem;
|
|
301
361
|
}
|
|
302
362
|
|
|
303
363
|
.univer-w-1\.5 {
|
|
@@ -340,6 +400,14 @@
|
|
|
340
400
|
width: 154px;
|
|
341
401
|
}
|
|
342
402
|
|
|
403
|
+
.univer-w-\[18px\] {
|
|
404
|
+
width: 18px;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.univer-w-\[300px\] {
|
|
408
|
+
width: 300px;
|
|
409
|
+
}
|
|
410
|
+
|
|
343
411
|
.univer-w-\[360px\] {
|
|
344
412
|
width: 360px;
|
|
345
413
|
}
|
|
@@ -368,10 +436,6 @@
|
|
|
368
436
|
width: max-content;
|
|
369
437
|
}
|
|
370
438
|
|
|
371
|
-
.univer-w-px {
|
|
372
|
-
width: 1px;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
439
|
.\!univer-min-w-10 {
|
|
376
440
|
min-width: 2.5rem !important;
|
|
377
441
|
}
|
|
@@ -418,6 +482,12 @@
|
|
|
418
482
|
transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
|
|
419
483
|
}
|
|
420
484
|
|
|
485
|
+
.univer-translate-x-0 {
|
|
486
|
+
--univer-tw-translate-x: 0px;
|
|
487
|
+
transform: translate(0px, var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
|
|
488
|
+
transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(var(--univer-tw-rotate)) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
|
|
489
|
+
}
|
|
490
|
+
|
|
421
491
|
.univer-rotate-180 {
|
|
422
492
|
--univer-tw-rotate: 180deg;
|
|
423
493
|
transform: translate(var(--univer-tw-translate-x), var(--univer-tw-translate-y)) rotate(180deg) skewX(var(--univer-tw-skew-x)) skewY(var(--univer-tw-skew-y)) scaleX(var(--univer-tw-scale-x)) scaleY(var(--univer-tw-scale-y));
|
|
@@ -432,10 +502,6 @@
|
|
|
432
502
|
cursor: default;
|
|
433
503
|
}
|
|
434
504
|
|
|
435
|
-
.univer-cursor-not-allowed {
|
|
436
|
-
cursor: not-allowed;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
505
|
.univer-cursor-pointer {
|
|
440
506
|
cursor: pointer;
|
|
441
507
|
}
|
|
@@ -468,6 +534,14 @@
|
|
|
468
534
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
469
535
|
}
|
|
470
536
|
|
|
537
|
+
.univer-grid-cols-\[auto_minmax\(0\,1fr\)\] {
|
|
538
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.univer-grid-rows-\[minmax\(0\,1fr\)_auto\] {
|
|
542
|
+
grid-template-rows: minmax(0, 1fr) auto;
|
|
543
|
+
}
|
|
544
|
+
|
|
471
545
|
.univer-flex-col {
|
|
472
546
|
flex-direction: column;
|
|
473
547
|
}
|
|
@@ -476,6 +550,10 @@
|
|
|
476
550
|
flex-wrap: wrap;
|
|
477
551
|
}
|
|
478
552
|
|
|
553
|
+
.univer-items-start {
|
|
554
|
+
align-items: flex-start;
|
|
555
|
+
}
|
|
556
|
+
|
|
479
557
|
.univer-items-center {
|
|
480
558
|
align-items: center;
|
|
481
559
|
}
|
|
@@ -532,6 +610,10 @@
|
|
|
532
610
|
overflow: hidden;
|
|
533
611
|
}
|
|
534
612
|
|
|
613
|
+
.univer-overflow-visible {
|
|
614
|
+
overflow: visible;
|
|
615
|
+
}
|
|
616
|
+
|
|
535
617
|
.univer-overflow-y-auto {
|
|
536
618
|
overflow-y: auto;
|
|
537
619
|
}
|
|
@@ -558,18 +640,10 @@
|
|
|
558
640
|
white-space: pre-wrap;
|
|
559
641
|
}
|
|
560
642
|
|
|
561
|
-
.\!univer-rounded {
|
|
562
|
-
border-radius: .25rem !important;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
643
|
.univer-rounded {
|
|
566
644
|
border-radius: .25rem;
|
|
567
645
|
}
|
|
568
646
|
|
|
569
|
-
.univer-rounded-\[1px\] {
|
|
570
|
-
border-radius: 1px;
|
|
571
|
-
}
|
|
572
|
-
|
|
573
647
|
.univer-rounded-full {
|
|
574
648
|
border-radius: 9999px;
|
|
575
649
|
}
|
|
@@ -634,10 +708,6 @@
|
|
|
634
708
|
border-style: none;
|
|
635
709
|
}
|
|
636
710
|
|
|
637
|
-
.\!univer-border-transparent {
|
|
638
|
-
border-color: #0000 !important;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
711
|
.univer-border-gray-100 {
|
|
642
712
|
border-color: var(--univer-gray-100);
|
|
643
713
|
}
|
|
@@ -680,10 +750,6 @@
|
|
|
680
750
|
border-left-color: var(--univer-gray-200);
|
|
681
751
|
}
|
|
682
752
|
|
|
683
|
-
.\!univer-bg-transparent {
|
|
684
|
-
background-color: #0000 !important;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
753
|
.univer-bg-black {
|
|
688
754
|
background-color: var(--univer-black);
|
|
689
755
|
}
|
|
@@ -692,10 +758,6 @@
|
|
|
692
758
|
background-color: var(--univer-blue-50);
|
|
693
759
|
}
|
|
694
760
|
|
|
695
|
-
.univer-bg-gray-100 {
|
|
696
|
-
background-color: var(--univer-gray-100);
|
|
697
|
-
}
|
|
698
|
-
|
|
699
761
|
.univer-bg-gray-200 {
|
|
700
762
|
background-color: var(--univer-gray-200);
|
|
701
763
|
}
|
|
@@ -710,6 +772,10 @@
|
|
|
710
772
|
background-color: rgba(10, 10, 10, var(--univer-tw-bg-opacity, 1));
|
|
711
773
|
}
|
|
712
774
|
|
|
775
|
+
.univer-bg-primary-100 {
|
|
776
|
+
background-color: var(--univer-primary-100);
|
|
777
|
+
}
|
|
778
|
+
|
|
713
779
|
.univer-bg-primary-50 {
|
|
714
780
|
background-color: var(--univer-primary-50);
|
|
715
781
|
}
|
|
@@ -728,12 +794,6 @@
|
|
|
728
794
|
background-color: rgba(241, 245, 249, var(--univer-tw-bg-opacity, 1));
|
|
729
795
|
}
|
|
730
796
|
|
|
731
|
-
.univer-bg-slate-200 {
|
|
732
|
-
--univer-tw-bg-opacity: 1;
|
|
733
|
-
background-color: #e2e8f0;
|
|
734
|
-
background-color: rgba(226, 232, 240, var(--univer-tw-bg-opacity, 1));
|
|
735
|
-
}
|
|
736
|
-
|
|
737
797
|
.univer-bg-transparent {
|
|
738
798
|
background-color: #0000;
|
|
739
799
|
}
|
|
@@ -742,6 +802,16 @@
|
|
|
742
802
|
background-color: var(--univer-white);
|
|
743
803
|
}
|
|
744
804
|
|
|
805
|
+
.univer-object-cover {
|
|
806
|
+
-o-object-fit: cover;
|
|
807
|
+
object-fit: cover;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
.univer-object-fill {
|
|
811
|
+
-o-object-fit: fill;
|
|
812
|
+
object-fit: fill;
|
|
813
|
+
}
|
|
814
|
+
|
|
745
815
|
.univer-p-0 {
|
|
746
816
|
padding: 0;
|
|
747
817
|
}
|
|
@@ -770,9 +840,9 @@
|
|
|
770
840
|
padding: 1.5rem;
|
|
771
841
|
}
|
|
772
842
|
|
|
773
|
-
|
|
774
|
-
padding-left: .25rem
|
|
775
|
-
padding-right: .25rem
|
|
843
|
+
.univer-px-1 {
|
|
844
|
+
padding-left: .25rem;
|
|
845
|
+
padding-right: .25rem;
|
|
776
846
|
}
|
|
777
847
|
|
|
778
848
|
.univer-px-1\.5 {
|
|
@@ -845,11 +915,6 @@
|
|
|
845
915
|
padding-bottom: 1rem;
|
|
846
916
|
}
|
|
847
917
|
|
|
848
|
-
.univer-py-6 {
|
|
849
|
-
padding-top: 1.5rem;
|
|
850
|
-
padding-bottom: 1.5rem;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
918
|
.univer-pb-2 {
|
|
854
919
|
padding-bottom: .5rem;
|
|
855
920
|
}
|
|
@@ -862,8 +927,8 @@
|
|
|
862
927
|
padding-left: .75rem;
|
|
863
928
|
}
|
|
864
929
|
|
|
865
|
-
.univer-
|
|
866
|
-
padding-
|
|
930
|
+
.univer-pl-7 {
|
|
931
|
+
padding-left: 1.75rem;
|
|
867
932
|
}
|
|
868
933
|
|
|
869
934
|
.univer-pt-2 {
|
|
@@ -896,6 +961,10 @@
|
|
|
896
961
|
line-height: 2.25rem;
|
|
897
962
|
}
|
|
898
963
|
|
|
964
|
+
.univer-text-\[10px\] {
|
|
965
|
+
font-size: 10px;
|
|
966
|
+
}
|
|
967
|
+
|
|
899
968
|
.univer-text-base {
|
|
900
969
|
font-size: 1rem;
|
|
901
970
|
line-height: 1.5rem;
|
|
@@ -940,6 +1009,10 @@
|
|
|
940
1009
|
line-height: 1.75rem;
|
|
941
1010
|
}
|
|
942
1011
|
|
|
1012
|
+
.univer-leading-none {
|
|
1013
|
+
line-height: 1;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
943
1016
|
.\!univer-text-slate-700 {
|
|
944
1017
|
--univer-tw-text-opacity: 1 !important;
|
|
945
1018
|
color: rgba(51, 65, 85, var(--univer-tw-text-opacity, 1)) !important;
|
|
@@ -985,6 +1058,10 @@
|
|
|
985
1058
|
color: var(--univer-primary-600);
|
|
986
1059
|
}
|
|
987
1060
|
|
|
1061
|
+
.univer-text-red-500 {
|
|
1062
|
+
color: var(--univer-red-500);
|
|
1063
|
+
}
|
|
1064
|
+
|
|
988
1065
|
.univer-text-red-600 {
|
|
989
1066
|
color: var(--univer-red-600);
|
|
990
1067
|
}
|
|
@@ -1012,13 +1089,6 @@
|
|
|
1012
1089
|
opacity: .5;
|
|
1013
1090
|
}
|
|
1014
1091
|
|
|
1015
|
-
.\!univer-shadow-none {
|
|
1016
|
-
--univer-tw-shadow: 0 0 #0000 !important;
|
|
1017
|
-
--univer-tw-shadow-colored: 0 0 #0000 !important;
|
|
1018
|
-
box-shadow: 0 0 #0000, 0 0 #0000, 0 0 #0000 !important;
|
|
1019
|
-
box-shadow: var(--univer-tw-ring-offset-shadow, 0 0 #0000), var(--univer-tw-ring-shadow, 0 0 #0000), var(--univer-tw-shadow) !important;
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
1092
|
.univer-shadow {
|
|
1023
1093
|
--univer-tw-shadow: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
|
1024
1094
|
--univer-tw-shadow-colored: 0 1px 3px 0 var(--univer-tw-shadow-color), 0 1px 2px -1px var(--univer-tw-shadow-color);
|
|
@@ -1158,33 +1228,18 @@
|
|
|
1158
1228
|
color: var(--univer-primary-600);
|
|
1159
1229
|
}
|
|
1160
1230
|
|
|
1161
|
-
.hover\:univer-text-
|
|
1162
|
-
color: var(--univer-
|
|
1231
|
+
.hover\:univer-text-red-600:hover {
|
|
1232
|
+
color: var(--univer-red-600);
|
|
1163
1233
|
}
|
|
1164
1234
|
|
|
1165
|
-
.
|
|
1166
|
-
|
|
1235
|
+
.hover\:univer-text-white:hover {
|
|
1236
|
+
color: var(--univer-white);
|
|
1167
1237
|
}
|
|
1168
1238
|
|
|
1169
1239
|
.focus\:univer-border-primary-500:focus {
|
|
1170
1240
|
border-color: var(--univer-primary-500);
|
|
1171
1241
|
}
|
|
1172
1242
|
|
|
1173
|
-
.focus\:\!univer-bg-white:focus {
|
|
1174
|
-
background-color: var(--univer-white) !important;
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
.focus\:\!univer-ring-1:focus {
|
|
1178
|
-
--univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color) !important;
|
|
1179
|
-
--univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(1px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color) !important;
|
|
1180
|
-
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000 !important;
|
|
1181
|
-
box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000) !important;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
.focus\:\!univer-ring-primary-100:focus {
|
|
1185
|
-
--univer-tw-ring-color: var(--univer-primary-100) !important;
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
1243
|
.active\:univer-bg-primary-300:active {
|
|
1189
1244
|
background-color: var(--univer-primary-300);
|
|
1190
1245
|
}
|
|
@@ -1201,10 +1256,6 @@
|
|
|
1201
1256
|
border-color: var(--univer-gray-200);
|
|
1202
1257
|
}
|
|
1203
1258
|
|
|
1204
|
-
.disabled\:\!univer-bg-transparent:disabled {
|
|
1205
|
-
background-color: #0000 !important;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
1259
|
.disabled\:univer-bg-gray-100:disabled {
|
|
1209
1260
|
background-color: var(--univer-gray-100);
|
|
1210
1261
|
}
|
|
@@ -1213,10 +1264,6 @@
|
|
|
1213
1264
|
color: var(--univer-gray-400);
|
|
1214
1265
|
}
|
|
1215
1266
|
|
|
1216
|
-
.disabled\:univer-opacity-100:disabled {
|
|
1217
|
-
opacity: 1;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
1267
|
.disabled\:univer-opacity-40:disabled {
|
|
1221
1268
|
opacity: .4;
|
|
1222
1269
|
}
|
|
@@ -1235,6 +1282,10 @@
|
|
|
1235
1282
|
}
|
|
1236
1283
|
}
|
|
1237
1284
|
|
|
1285
|
+
.rtl\:univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
|
|
1286
|
+
text-align: right;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1238
1289
|
.dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
|
|
1239
1290
|
border-color: var(--univer-gray-600) !important;
|
|
1240
1291
|
}
|
|
@@ -1255,10 +1306,6 @@
|
|
|
1255
1306
|
border-left-color: var(--univer-gray-600) !important;
|
|
1256
1307
|
}
|
|
1257
1308
|
|
|
1258
|
-
.dark\:\!univer-bg-gray-700:where(.univer-dark, .univer-dark *) {
|
|
1259
|
-
background-color: var(--univer-gray-700) !important;
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
1309
|
.dark\:\!univer-bg-gray-800:where(.univer-dark, .univer-dark *) {
|
|
1263
1310
|
background-color: var(--univer-gray-800) !important;
|
|
1264
1311
|
}
|
|
@@ -1289,8 +1336,12 @@
|
|
|
1289
1336
|
color: var(--univer-gray-400) !important;
|
|
1290
1337
|
}
|
|
1291
1338
|
|
|
1292
|
-
.dark\:\!univer-text-
|
|
1293
|
-
color: var(--univer-
|
|
1339
|
+
.dark\:\!univer-text-primary-400:where(.univer-dark, .univer-dark *) {
|
|
1340
|
+
color: var(--univer-primary-400) !important;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
.dark\:\!univer-text-white:where(.univer-dark, .univer-dark *) {
|
|
1344
|
+
color: var(--univer-white) !important;
|
|
1294
1345
|
}
|
|
1295
1346
|
|
|
1296
1347
|
.dark\:\!univer-ring-primary-900:where(.univer-dark, .univer-dark *) {
|
|
@@ -1317,10 +1368,6 @@
|
|
|
1317
1368
|
background-color: var(--univer-gray-700) !important;
|
|
1318
1369
|
}
|
|
1319
1370
|
|
|
1320
|
-
.dark\:hover\:\!univer-bg-gray-800:hover:where(.univer-dark, .univer-dark *) {
|
|
1321
|
-
background-color: var(--univer-gray-800) !important;
|
|
1322
|
-
}
|
|
1323
|
-
|
|
1324
1371
|
.dark\:hover\:\!univer-bg-primary-500:hover:where(.univer-dark, .univer-dark *) {
|
|
1325
1372
|
background-color: var(--univer-primary-500) !important;
|
|
1326
1373
|
}
|
|
@@ -1329,22 +1376,10 @@
|
|
|
1329
1376
|
background-color: var(--univer-primary-700) !important;
|
|
1330
1377
|
}
|
|
1331
1378
|
|
|
1332
|
-
.dark\:hover\:\!univer-text-gray-100:hover:where(.univer-dark, .univer-dark *) {
|
|
1333
|
-
color: var(--univer-gray-100) !important;
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
1379
|
.dark\:focus\:\!univer-border-primary-500:focus:where(.univer-dark, .univer-dark *) {
|
|
1337
1380
|
border-color: var(--univer-primary-500) !important;
|
|
1338
1381
|
}
|
|
1339
1382
|
|
|
1340
|
-
.dark\:focus\:\!univer-bg-gray-900:focus:where(.univer-dark, .univer-dark *) {
|
|
1341
|
-
background-color: var(--univer-gray-900) !important;
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
.dark\:focus\:\!univer-ring-primary-900:focus:where(.univer-dark, .univer-dark *) {
|
|
1345
|
-
--univer-tw-ring-color: var(--univer-primary-900) !important;
|
|
1346
|
-
}
|
|
1347
|
-
|
|
1348
1383
|
.dark\:active\:\!univer-bg-primary-600:active:where(.univer-dark, .univer-dark *) {
|
|
1349
1384
|
background-color: var(--univer-primary-600) !important;
|
|
1350
1385
|
}
|