@vivix-labs/media-tools 1.0.0-beta.2 → 1.0.0-beta.21
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 +38 -12
- package/dist/assets/1-1-WUUPNDJP.svg +7 -0
- package/dist/assets/16-9-BAFQTZK7.svg +9 -0
- package/dist/assets/2-3-WPG3UQBV.svg +7 -0
- package/dist/assets/3-2-YZTSUZ37.svg +7 -0
- package/dist/assets/3-4-7YROL4JU.svg +7 -0
- package/dist/assets/4-3-YG4LTLGD.svg +7 -0
- package/dist/assets/9-16-CYXX6QAR.svg +9 -0
- package/dist/assets/add-circle-RPMXNTWW.svg +4 -0
- package/dist/assets/captions-16-55I6JRWY.svg +5 -0
- package/dist/assets/captions-24-4YNDEZZX.svg +5 -0
- package/dist/assets/chevrons-up-down-KDZMS6DI.svg +3 -0
- package/dist/assets/collapse-diagonal-16-2IRQGCLB.svg +6 -0
- package/dist/assets/collapse-diagonal-24-GHD6Z54K.svg +6 -0
- package/dist/assets/copy-document-EF4PHM7F.svg +10 -0
- package/dist/assets/crop-5JXWHIPN.svg +6 -0
- package/dist/assets/delete-4Y3OUMEL.svg +8 -0
- package/dist/assets/download-16-QVS2YNPN.svg +4 -0
- package/dist/assets/download-24-ARCWU2MF.svg +4 -0
- package/dist/assets/download-VTKCEAZG.svg +6 -0
- package/dist/assets/expand-diagonal-16-QUIZSPJN.svg +10 -0
- package/dist/assets/expand-diagonal-24-XPK72ILY.svg +10 -0
- package/dist/assets/favorite-6GMNHJCN.svg +5 -0
- package/dist/assets/favorite-filled-FR74TEBM.svg +3 -0
- package/dist/assets/filter-JSDZZVGN.svg +5 -0
- package/dist/assets/freeform-E5MLUKDE.svg +18 -0
- package/dist/assets/fullscreen-exit-ADYOPBYH.svg +3 -0
- package/dist/assets/grid-16-POIO22HZ.svg +6 -0
- package/dist/assets/grid-24-U6IRT56K.svg +6 -0
- package/dist/assets/inria-serif-latin-400-italic-ZCFRMMVP.woff2 +0 -0
- package/dist/assets/inria-serif-latin-700-italic-UNRIXGAH.woff2 +0 -0
- package/dist/assets/inter-latin-900-normal-FKACR3DR.woff2 +0 -0
- package/dist/assets/list-16-YAVTLHXZ.svg +8 -0
- package/dist/assets/list-24-O6WDB6WJ.svg +8 -0
- package/dist/assets/original-LBKLUQVV.svg +18 -0
- package/dist/assets/pause-16-444PD7SY.svg +4 -0
- package/dist/assets/pause-24-WQXRNLW3.svg +4 -0
- package/dist/assets/play-16-5B2LZITW.svg +3 -0
- package/dist/assets/play-24-3IPXXAC4.svg +3 -0
- package/dist/assets/refresh-WQ3CTB57.svg +3 -0
- package/dist/assets/replace-PJXDOQDX.svg +3 -0
- package/dist/assets/{search-JUOSGQRM.svg → search-FMYQZJWA.svg} +1 -1
- package/dist/assets/select-items-GJZIVO37.svg +6 -0
- package/dist/assets/trim-LQMHHN2M.svg +9 -0
- package/dist/assets/upload-U5RZT5QI.svg +5 -0
- package/dist/assets/volume-16-ENYWJAGG.svg +5 -0
- package/dist/assets/volume-24-MVQ6CAXW.svg +5 -0
- package/dist/assets/volume-off-16-ALKG7632.svg +4 -0
- package/dist/assets/volume-off-24-2R4VED3N.svg +4 -0
- package/dist/client.bundle.js +1517 -262
- package/dist/client.css +2368 -181
- package/dist/server.d.ts +2 -1
- package/dist/server.js +1463 -259
- package/dist/shared.d.ts +513 -3
- package/dist/shared.js +230 -7
- package/{skills/SKILL.md → docs/operations.md} +7 -7
- package/package.json +5 -4
- package/studio-plugin.json +2 -5
- package/dist/assets/player-cover-shade-LLH6KOCQ.png +0 -0
- /package/{skills/references → docs}/processing.md +0 -0
package/dist/client.css
CHANGED
|
@@ -1,4 +1,81 @@
|
|
|
1
|
+
/* packages/ui-system/dist/script-cover.css */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: "Vivix Inria Serif";
|
|
4
|
+
src: url("./assets/inria-serif-latin-700-italic-UNRIXGAH.woff2") format("woff2");
|
|
5
|
+
font-style: italic;
|
|
6
|
+
font-weight: 700;
|
|
7
|
+
font-display: swap;
|
|
8
|
+
}
|
|
9
|
+
@font-face {
|
|
10
|
+
font-family: "Vivix Inria Serif";
|
|
11
|
+
src: url("./assets/inria-serif-latin-400-italic-ZCFRMMVP.woff2") format("woff2");
|
|
12
|
+
font-style: italic;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
}
|
|
16
|
+
.vx-script-cover {
|
|
17
|
+
display: block;
|
|
18
|
+
position: relative;
|
|
19
|
+
width: 100%;
|
|
20
|
+
aspect-ratio: 16 / 9;
|
|
21
|
+
container-type: inline-size;
|
|
22
|
+
background: #eff3f1;
|
|
23
|
+
border-radius: 8px;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
text-align: left;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
.vx-script-cover > .vx-script-sheet {
|
|
29
|
+
display: block;
|
|
30
|
+
position: absolute;
|
|
31
|
+
left: 8.37%;
|
|
32
|
+
right: 8.2%;
|
|
33
|
+
top: 10.5%;
|
|
34
|
+
bottom: -55%;
|
|
35
|
+
padding: 4.55cqw 4.7cqw;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
border-radius: 2.28cqw 2.28cqw 0 0;
|
|
38
|
+
background: white;
|
|
39
|
+
color: rgb(0 0 0 / 50%);
|
|
40
|
+
white-space: normal;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
font:
|
|
43
|
+
italic 400 4.44cqw/1.5 "Vivix Inria Serif",
|
|
44
|
+
Georgia,
|
|
45
|
+
serif;
|
|
46
|
+
overflow-wrap: anywhere;
|
|
47
|
+
}
|
|
48
|
+
.vx-script-sheet > strong {
|
|
49
|
+
display: block;
|
|
50
|
+
margin-bottom: 1.9cqw;
|
|
51
|
+
font:
|
|
52
|
+
italic 700 5.91cqw/1.5 "Vivix Inria Serif",
|
|
53
|
+
Georgia,
|
|
54
|
+
serif;
|
|
55
|
+
}
|
|
56
|
+
.vx-script-cover::after {
|
|
57
|
+
content: "";
|
|
58
|
+
position: absolute;
|
|
59
|
+
inset: 68.5% 0 0;
|
|
60
|
+
background: linear-gradient(transparent, #eff3f1);
|
|
61
|
+
}
|
|
62
|
+
:is(.vx-media, .vx-tile-preview, .sd-list-cover, .ad-list-cover, .ad-asset-cover) > .vx-script-cover {
|
|
63
|
+
border-radius: inherit;
|
|
64
|
+
}
|
|
65
|
+
.vx-media > .vx-script-cover {
|
|
66
|
+
position: absolute;
|
|
67
|
+
inset: 0;
|
|
68
|
+
height: 100%;
|
|
69
|
+
}
|
|
70
|
+
|
|
1
71
|
/* packages/ui-system/dist/tokens.css */
|
|
72
|
+
:root,
|
|
73
|
+
[data-vx-theme] {
|
|
74
|
+
--vx-warm-neutral-06: #ddd8d3;
|
|
75
|
+
--vx-dark-neutral-06: #51483f;
|
|
76
|
+
--vx-warm-neutral-07: #ada5a0;
|
|
77
|
+
--vx-dark-neutral-07: #9d8f82;
|
|
78
|
+
}
|
|
2
79
|
[data-vx-theme] {
|
|
3
80
|
--vx-font-inter:
|
|
4
81
|
"Vivix Studio Inter",
|
|
@@ -54,6 +131,7 @@
|
|
|
54
131
|
--vx-tabs-secondary-height: 44px;
|
|
55
132
|
--vx-segment-medium-height: 32px;
|
|
56
133
|
--vx-segment-large-height: 36px;
|
|
134
|
+
--vx-cover-background: var(--vx-black-black);
|
|
57
135
|
--vx-media-selection-color: var(--vx-green-dark);
|
|
58
136
|
--vx-tag-height: 16px;
|
|
59
137
|
--vx-dialog-small-width: 480px;
|
|
@@ -72,8 +150,6 @@
|
|
|
72
150
|
--vx-warm-neutral-03: #f1eeea;
|
|
73
151
|
--vx-warm-neutral-04: #ede8e0;
|
|
74
152
|
--vx-warm-neutral-05: #e9e6e0;
|
|
75
|
-
--vx-warm-neutral-06: #ddd8d3;
|
|
76
|
-
--vx-warm-neutral-07: #ada5a0;
|
|
77
153
|
--vx-warm-neutral-08: #938c88;
|
|
78
154
|
--vx-warm-neutral-09: #736e67;
|
|
79
155
|
--vx-black-black: #000000;
|
|
@@ -91,8 +167,6 @@
|
|
|
91
167
|
--vx-dark-neutral-03: #282420;
|
|
92
168
|
--vx-dark-neutral-04: #322d28;
|
|
93
169
|
--vx-dark-neutral-05: #3c352f;
|
|
94
|
-
--vx-dark-neutral-06: #51483f;
|
|
95
|
-
--vx-dark-neutral-07: #9d8f82;
|
|
96
170
|
--vx-dark-neutral-08: #b6aaa0;
|
|
97
171
|
--vx-dark-neutral-09: #f0e9e3;
|
|
98
172
|
--vx-white-white: #ffffff;
|
|
@@ -162,6 +236,7 @@
|
|
|
162
236
|
--vx-button-48-line-height: 21px;
|
|
163
237
|
--vx-typography-inter-14-medium: normal 500 14px/18px var(--vx-font-inter);
|
|
164
238
|
--vx-typography-inter-14-medium-tracking: 0px;
|
|
239
|
+
--vx-typography-inter-10-regular: normal 400 10px/13px var(--vx-font-inter);
|
|
165
240
|
--vx-typography-inter-10-semi-bold: normal 600 10px/13px var(--vx-font-inter);
|
|
166
241
|
--vx-typography-inter-12-regular: normal 400 12px/16px var(--vx-font-inter);
|
|
167
242
|
--vx-typography-inter-12-semi-bold: normal 600 12px/16px var(--vx-font-inter);
|
|
@@ -174,7 +249,7 @@
|
|
|
174
249
|
--vx-typography-inter-16-medium: normal 500 16px/21px var(--vx-font-inter);
|
|
175
250
|
--vx-typography-inter-16-medium-tracking: 0px;
|
|
176
251
|
--vx-typography-inter-18-regular: normal 400 18px/23px var(--vx-font-inter);
|
|
177
|
-
--vx-typography-inter-18-bold: normal
|
|
252
|
+
--vx-typography-inter-18-bold: normal 600 18px/23px var(--vx-font-inter);
|
|
178
253
|
--vx-typography-inter-18-semi-bold: normal 600 18px/23px var(--vx-font-inter);
|
|
179
254
|
--vx-typography-inter-18-medium: normal 500 18px/23px var(--vx-font-inter);
|
|
180
255
|
--vx-typography-inter-18-medium-tracking: 0px;
|
|
@@ -301,7 +376,8 @@
|
|
|
301
376
|
--vx-button-font-size: var(--vx-button-40-font-size);
|
|
302
377
|
--vx-button-line-height: var(--vx-button-40-line-height);
|
|
303
378
|
}
|
|
304
|
-
.vx-button[data-size="44"]
|
|
379
|
+
.vx-button[data-size="44"],
|
|
380
|
+
.vx-dialog > footer .vx-button[data-shape=text] {
|
|
305
381
|
--vx-button-height: var(--vx-button-44-height);
|
|
306
382
|
--vx-button-icon-size: var(--vx-button-44-icon-size);
|
|
307
383
|
--vx-button-radius: var(--vx-button-44-radius);
|
|
@@ -321,6 +397,33 @@
|
|
|
321
397
|
}
|
|
322
398
|
}
|
|
323
399
|
|
|
400
|
+
/* packages/ui-system/dist/scrollbars.css */
|
|
401
|
+
:root:has([data-vx-theme]) {
|
|
402
|
+
--vx-scrollbar-root-thumb: var(--vx-warm-neutral-06);
|
|
403
|
+
scrollbar-gutter: stable;
|
|
404
|
+
}
|
|
405
|
+
:root:has(#app > [data-vx-theme=dark]) {
|
|
406
|
+
--vx-scrollbar-root-thumb: var(--vx-dark-neutral-06);
|
|
407
|
+
}
|
|
408
|
+
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar {
|
|
409
|
+
width: 4px;
|
|
410
|
+
height: 4px;
|
|
411
|
+
background: transparent;
|
|
412
|
+
}
|
|
413
|
+
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar-thumb {
|
|
414
|
+
background: var(--vx-border-primary, var(--vx-scrollbar-root-thumb));
|
|
415
|
+
border-radius: 999px;
|
|
416
|
+
}
|
|
417
|
+
:where(:root:has([data-vx-theme]), :root:has([data-vx-theme]) *, [data-vx-theme], [data-vx-theme] *)::-webkit-scrollbar-corner {
|
|
418
|
+
background: transparent;
|
|
419
|
+
}
|
|
420
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
421
|
+
:where(:root:has([data-vx-theme]), [data-vx-theme], [data-vx-theme] *) {
|
|
422
|
+
scrollbar-width: thin;
|
|
423
|
+
scrollbar-color: var(--vx-border-primary, var(--vx-scrollbar-root-thumb)) transparent;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
|
|
324
427
|
/* packages/ui-system/dist/button.css */
|
|
325
428
|
@scope ([data-vx-theme]) {
|
|
326
429
|
.vx-button {
|
|
@@ -358,8 +461,16 @@
|
|
|
358
461
|
.vx-button-label {
|
|
359
462
|
overflow: hidden;
|
|
360
463
|
text-overflow: ellipsis;
|
|
464
|
+
white-space: var(--vx-button-label-wrap, nowrap);
|
|
465
|
+
overflow-wrap: var(--vx-button-label-overflow-wrap, normal);
|
|
466
|
+
}
|
|
467
|
+
.vx-button-content:has(> .vx-icon:is([data-icon=trim], [data-icon=crop])) {
|
|
468
|
+
--vx-button-icon-size: var(--vx-space-16);
|
|
469
|
+
gap: var(--vx-space-4);
|
|
361
470
|
}
|
|
362
471
|
.vx-button-trailing {
|
|
472
|
+
display: inline-flex;
|
|
473
|
+
align-items: center;
|
|
363
474
|
margin-left: calc(var(--vx-button-trailing-gap) - var(--vx-button-gap));
|
|
364
475
|
}
|
|
365
476
|
.vx-button[data-width=full] {
|
|
@@ -375,6 +486,11 @@
|
|
|
375
486
|
.vx-button[data-appearance=tonal] {
|
|
376
487
|
--vx-button-background: var(--vx-surface-input);
|
|
377
488
|
}
|
|
489
|
+
.vx-button[data-appearance=link] {
|
|
490
|
+
--vx-button-background: transparent;
|
|
491
|
+
--vx-button-foreground: var(--vx-state-success);
|
|
492
|
+
font-weight: 600;
|
|
493
|
+
}
|
|
378
494
|
.vx-button[data-appearance=on-content] {
|
|
379
495
|
--vx-button-background: var(--vx-overlay-tag);
|
|
380
496
|
--vx-button-foreground: var(--vx-text-on-content-primary);
|
|
@@ -423,8 +539,8 @@
|
|
|
423
539
|
.vx-button:hover:not(:disabled):is([data-appearance=filled], [data-variant=text-tonal-md], [data-variant=text-tonal-lg]) {
|
|
424
540
|
background-image: linear-gradient(var(--vx-white-white-1a), var(--vx-white-white-1a));
|
|
425
541
|
}
|
|
426
|
-
.vx-button[data-appearance=ghost]:hover:not(:disabled) {
|
|
427
|
-
--vx-button-background:
|
|
542
|
+
button.vx-button[data-appearance=ghost]:hover:not(:disabled) {
|
|
543
|
+
--vx-button-background: transparent;
|
|
428
544
|
}
|
|
429
545
|
.vx-button:focus-visible {
|
|
430
546
|
outline: var(--vx-button-focus-width) solid var(--vx-state-assistance);
|
|
@@ -433,6 +549,19 @@
|
|
|
433
549
|
.vx-button:active:not(:disabled) {
|
|
434
550
|
filter: brightness(0.96);
|
|
435
551
|
}
|
|
552
|
+
.vx-button-badge {
|
|
553
|
+
display: inline-grid;
|
|
554
|
+
place-items: center;
|
|
555
|
+
flex: none;
|
|
556
|
+
min-width: 16px;
|
|
557
|
+
height: 16px;
|
|
558
|
+
padding-inline: 3px;
|
|
559
|
+
box-sizing: border-box;
|
|
560
|
+
border-radius: var(--vx-radius-full);
|
|
561
|
+
background: var(--vx-green-dark);
|
|
562
|
+
color: var(--vx-text-on-content-primary);
|
|
563
|
+
font: var(--vx-typography-inter-10-semi-bold);
|
|
564
|
+
}
|
|
436
565
|
.vx-button:disabled {
|
|
437
566
|
cursor: not-allowed;
|
|
438
567
|
}
|
|
@@ -591,7 +720,8 @@
|
|
|
591
720
|
background: var(--vx-surface-input);
|
|
592
721
|
color: var(--vx-checkbox-ink);
|
|
593
722
|
}
|
|
594
|
-
.vx-checkbox[data-appearance=on-content] .vx-checkbox-mark
|
|
723
|
+
.vx-checkbox[data-appearance=on-content] .vx-checkbox-mark,
|
|
724
|
+
.vx-checkbox[data-appearance=on-content-outline] .vx-checkbox-mark {
|
|
595
725
|
--vx-checkbox-active: var(--vx-border-on-content);
|
|
596
726
|
--vx-checkbox-ink: var(--vx-icon-subtle-black);
|
|
597
727
|
background: var(--vx-black-black-4a);
|
|
@@ -601,6 +731,31 @@
|
|
|
601
731
|
background: var(--vx-checkbox-active);
|
|
602
732
|
border-color: var(--vx-checkbox-active);
|
|
603
733
|
}
|
|
734
|
+
.vx-checkbox[data-appearance=on-content-outline] .vx-checkbox-input:checked + .vx-checkbox-mark {
|
|
735
|
+
background: transparent;
|
|
736
|
+
border-color: var(--vx-white-white);
|
|
737
|
+
color: var(--vx-white-white);
|
|
738
|
+
}
|
|
739
|
+
.vx-checkbox[data-reveal-on-hover=true] .vx-checkbox-input:not(:checked) + .vx-checkbox-mark {
|
|
740
|
+
opacity: 0;
|
|
741
|
+
}
|
|
742
|
+
:is([data-checkbox-hover-scope]:focus-within, .vx-checkbox[data-reveal-on-hover=true]:focus-within) .vx-checkbox-mark {
|
|
743
|
+
opacity: 1;
|
|
744
|
+
}
|
|
745
|
+
@media (hover: hover) {
|
|
746
|
+
:is([data-checkbox-hover-scope]:hover .vx-checkbox[data-reveal-on-hover=true], .vx-checkbox[data-reveal-on-hover=true]:hover) .vx-checkbox-mark {
|
|
747
|
+
opacity: 1;
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
.vx-checkbox[data-appearance=outline] .vx-checkbox-mark {
|
|
751
|
+
--vx-checkbox-active: transparent;
|
|
752
|
+
--vx-checkbox-ink: var(--vx-text-primary);
|
|
753
|
+
background: transparent;
|
|
754
|
+
border-color: var(--vx-text-primary);
|
|
755
|
+
}
|
|
756
|
+
.vx-checkbox[data-appearance=outline] input:checked + .vx-checkbox-mark {
|
|
757
|
+
border-color: var(--vx-text-primary);
|
|
758
|
+
}
|
|
604
759
|
.vx-checkbox-mark > .vx-icon {
|
|
605
760
|
--vx-icon-size: var(--vx-icon-slot-small);
|
|
606
761
|
}
|
|
@@ -643,9 +798,10 @@
|
|
|
643
798
|
.vx-search-input[data-size=large]:has(.vx-search-clear) {
|
|
644
799
|
padding-inline-end: var(--vx-space-8);
|
|
645
800
|
}
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
801
|
+
@media (forced-colors: active) {
|
|
802
|
+
.vx-search-input:has(input:focus-visible) {
|
|
803
|
+
outline: var(--vx-focus-ring-width) solid Highlight;
|
|
804
|
+
}
|
|
649
805
|
}
|
|
650
806
|
.vx-search-input:has(input:disabled) {
|
|
651
807
|
opacity: 0.5;
|
|
@@ -653,9 +809,6 @@
|
|
|
653
809
|
.vx-search-input:is(:hover, :focus-within):not(:has(input:disabled)) {
|
|
654
810
|
background: var(--vx-surface-selected);
|
|
655
811
|
}
|
|
656
|
-
.vx-search-input > [data-icon=search] {
|
|
657
|
-
transform: scaleY(-1);
|
|
658
|
-
}
|
|
659
812
|
.vx-search-input > input {
|
|
660
813
|
appearance: none;
|
|
661
814
|
flex: 1;
|
|
@@ -668,6 +821,9 @@
|
|
|
668
821
|
font: var(--vx-typography-inter-14-regular);
|
|
669
822
|
caret-color: var(--vx-state-success);
|
|
670
823
|
}
|
|
824
|
+
.vx-search-input[data-size=compact] > input {
|
|
825
|
+
font: var(--vx-typography-inter-12-regular);
|
|
826
|
+
}
|
|
671
827
|
.vx-search-input[data-size=large] > input {
|
|
672
828
|
font: var(--vx-typography-inter-16-regular);
|
|
673
829
|
}
|
|
@@ -735,7 +891,7 @@
|
|
|
735
891
|
}
|
|
736
892
|
.vx-dropdown[data-size=large] .vx-dropdown-trigger {
|
|
737
893
|
height: var(--vx-dropdown-large-height);
|
|
738
|
-
padding-inline: var(--vx-space-12)
|
|
894
|
+
padding-inline: var(--vx-space-12);
|
|
739
895
|
border-radius: var(--vx-radius-lg);
|
|
740
896
|
font: var(--vx-typography-inter-16-semi-bold);
|
|
741
897
|
}
|
|
@@ -761,10 +917,47 @@
|
|
|
761
917
|
padding: 0 var(--vx-space-10);
|
|
762
918
|
background: var(--vx-surface-input);
|
|
763
919
|
font: var(--vx-typography-inter-14-regular);
|
|
920
|
+
justify-content: space-between;
|
|
921
|
+
}
|
|
922
|
+
.vx-dropdown[data-size=large][data-appearance=field] .vx-dropdown-trigger {
|
|
923
|
+
padding-inline: var(--vx-space-12);
|
|
924
|
+
font: var(--vx-typography-inter-16-regular);
|
|
925
|
+
}
|
|
926
|
+
.vx-dropdown[data-text-size="12"] .vx-dropdown-trigger {
|
|
927
|
+
font: var(--vx-typography-inter-12-regular);
|
|
928
|
+
}
|
|
929
|
+
.vx-dropdown[data-size=chat][data-appearance=field] .vx-dropdown-trigger {
|
|
930
|
+
min-height: var(--vx-chat-field-height, var(--vx-input-medium-height));
|
|
931
|
+
height: var(--vx-chat-field-height, var(--vx-input-medium-height));
|
|
932
|
+
padding-inline: var(--vx-chat-field-padding, var(--vx-space-8));
|
|
933
|
+
padding-block: 0;
|
|
934
|
+
font: var(--vx-chat-field-font, var(--vx-typography-inter-12-regular));
|
|
935
|
+
border-radius: var(--vx-radius-md);
|
|
936
|
+
background: var(--vx-surface-input-transparency);
|
|
764
937
|
}
|
|
765
938
|
.vx-dropdown[data-appearance=field] .vx-dropdown-trigger:is(:hover:not(:disabled), :focus-visible, [aria-expanded=true]) {
|
|
766
939
|
background: var(--vx-surface-selected);
|
|
767
940
|
}
|
|
941
|
+
.vx-dropdown[data-appearance=heading] .vx-dropdown-trigger {
|
|
942
|
+
gap: var(--vx-space-4);
|
|
943
|
+
padding-inline: 0;
|
|
944
|
+
font: var(--vx-typography-inter-16-semi-bold);
|
|
945
|
+
}
|
|
946
|
+
.vx-dropdown[data-appearance=heading][data-width=hug] [role=listbox],
|
|
947
|
+
.vx-dropdown[data-floating=true] [role=listbox] {
|
|
948
|
+
box-sizing: border-box;
|
|
949
|
+
position: fixed;
|
|
950
|
+
inset: auto;
|
|
951
|
+
margin: 0;
|
|
952
|
+
}
|
|
953
|
+
.vx-dropdown[data-appearance=heading] .vx-dropdown-trigger:is(:hover, :focus-visible, [aria-expanded=true]),
|
|
954
|
+
.vx-dropdown[data-appearance=heading][data-width=hug] [role=option]:is([aria-selected=true], [data-active=true]):not(:hover) {
|
|
955
|
+
background: transparent;
|
|
956
|
+
}
|
|
957
|
+
.vx-dropdown[data-appearance=heading]:has(.vx-dropdown-trigger:focus-visible) [role=option][data-active=true] {
|
|
958
|
+
outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
|
|
959
|
+
outline-offset: calc(-1 * var(--vx-focus-ring-width));
|
|
960
|
+
}
|
|
768
961
|
.vx-dropdown-value {
|
|
769
962
|
display: inline-flex;
|
|
770
963
|
align-items: center;
|
|
@@ -776,13 +969,16 @@
|
|
|
776
969
|
white-space: nowrap;
|
|
777
970
|
text-overflow: ellipsis;
|
|
778
971
|
}
|
|
972
|
+
.vx-dropdown[data-appearance=field] .vx-dropdown-value[data-placeholder] {
|
|
973
|
+
color: var(--vx-text-placeholder);
|
|
974
|
+
}
|
|
779
975
|
.vx-dropdown [role=listbox] {
|
|
780
976
|
position: absolute;
|
|
781
977
|
z-index: 1;
|
|
782
978
|
inset-inline: 0;
|
|
783
979
|
margin: var(--vx-space-4) 0 0;
|
|
784
980
|
max-height: min(15rem, 50vh);
|
|
785
|
-
overflow: auto;
|
|
981
|
+
overflow: hidden auto;
|
|
786
982
|
padding: var(--vx-space-4);
|
|
787
983
|
border: var(--vx-border-width) solid var(--vx-border-secondary);
|
|
788
984
|
border-radius: var(--vx-radius-xl);
|
|
@@ -800,6 +996,13 @@
|
|
|
800
996
|
overflow-wrap: anywhere;
|
|
801
997
|
cursor: pointer;
|
|
802
998
|
}
|
|
999
|
+
.vx-dropdown [role=option] + [role=option] {
|
|
1000
|
+
margin-block-start: var(--vx-space-2);
|
|
1001
|
+
}
|
|
1002
|
+
.vx-dropdown[data-size=large] [role=option] {
|
|
1003
|
+
padding-inline: var(--vx-space-12);
|
|
1004
|
+
font: var(--vx-typography-inter-16-regular);
|
|
1005
|
+
}
|
|
803
1006
|
.vx-dropdown [role=option][aria-selected=true] {
|
|
804
1007
|
font-weight: 600;
|
|
805
1008
|
}
|
|
@@ -831,24 +1034,30 @@
|
|
|
831
1034
|
}
|
|
832
1035
|
.vx-tab-list {
|
|
833
1036
|
flex: 1;
|
|
834
|
-
|
|
1037
|
+
min-width: 0;
|
|
1038
|
+
max-width: 100%;
|
|
1039
|
+
overflow-x: var(--vx-tab-list-overflow-x, auto);
|
|
1040
|
+
gap: var(--vx-tab-list-gap, var(--vx-space-20));
|
|
835
1041
|
scrollbar-width: none;
|
|
836
1042
|
}
|
|
837
1043
|
.vx-tabs [role=tab] {
|
|
838
1044
|
flex: none;
|
|
839
1045
|
padding: var(--vx-space-16) 0 var(--vx-space-12);
|
|
840
1046
|
border: 0;
|
|
841
|
-
border-bottom: var(--vx-space-2) solid transparent;
|
|
842
1047
|
background: transparent;
|
|
843
|
-
color: var(--vx-text-secondary
|
|
1048
|
+
color: var(--vx-text-secondary);
|
|
844
1049
|
font: var(--vx-typography-inter-16-semi-bold);
|
|
845
1050
|
cursor: pointer;
|
|
846
1051
|
white-space: nowrap;
|
|
847
1052
|
}
|
|
848
1053
|
.vx-tabs [role=tab][aria-selected=true] {
|
|
849
|
-
|
|
1054
|
+
padding-block-start: 18px;
|
|
1055
|
+
border-bottom: 2px solid var(--vx-state-success);
|
|
850
1056
|
color: var(--vx-state-success);
|
|
851
1057
|
}
|
|
1058
|
+
.vx-tabs [role=tab]:not([aria-selected=true], :disabled):hover {
|
|
1059
|
+
color: var(--vx-text-primary);
|
|
1060
|
+
}
|
|
852
1061
|
.vx-tabs [role=tab]:disabled {
|
|
853
1062
|
opacity: 0.5;
|
|
854
1063
|
cursor: not-allowed;
|
|
@@ -866,6 +1075,125 @@
|
|
|
866
1075
|
.vx-tabs[data-variant=secondary] [role=tab][aria-selected=true] {
|
|
867
1076
|
color: var(--vx-text-primary);
|
|
868
1077
|
}
|
|
1078
|
+
.vx-tabs[data-variant=secondary-compact] {
|
|
1079
|
+
box-sizing: border-box;
|
|
1080
|
+
height: 18px;
|
|
1081
|
+
padding: 0;
|
|
1082
|
+
}
|
|
1083
|
+
.vx-tabs[data-variant=secondary-compact] [role=tab] {
|
|
1084
|
+
padding: 0;
|
|
1085
|
+
border: 0;
|
|
1086
|
+
font: var(--vx-typography-inter-14-regular);
|
|
1087
|
+
color: var(--vx-text-secondary);
|
|
1088
|
+
}
|
|
1089
|
+
.vx-tabs[data-variant=secondary-compact] [role=tab][aria-selected=true] {
|
|
1090
|
+
font-weight: 600;
|
|
1091
|
+
color: var(--vx-text-primary);
|
|
1092
|
+
}
|
|
1093
|
+
.vx-tabs[data-variant=pill] {
|
|
1094
|
+
height: auto;
|
|
1095
|
+
min-height: 34px;
|
|
1096
|
+
padding: var(--vx-space-8) var(--vx-space-16);
|
|
1097
|
+
}
|
|
1098
|
+
.vx-tabs[data-variant=pill][data-inset=horizontal] {
|
|
1099
|
+
padding-block: 0;
|
|
1100
|
+
padding-inline: var(--vx-space-16);
|
|
1101
|
+
}
|
|
1102
|
+
.vx-tabs[data-variant=pill][data-inset=none] {
|
|
1103
|
+
padding: 0;
|
|
1104
|
+
}
|
|
1105
|
+
.vx-tabs[data-variant=pill] .vx-tab-list {
|
|
1106
|
+
gap: var(--vx-tab-list-gap, var(--vx-space-8));
|
|
1107
|
+
}
|
|
1108
|
+
.vx-tabs[data-variant=pill][data-inset=none] .vx-tab-list {
|
|
1109
|
+
gap: var(--vx-tab-list-gap, var(--vx-space-4));
|
|
1110
|
+
}
|
|
1111
|
+
.vx-tabs[data-variant=pill] [role=tab] {
|
|
1112
|
+
box-sizing: border-box;
|
|
1113
|
+
height: 34px;
|
|
1114
|
+
padding: var(--vx-space-8) var(--vx-space-12);
|
|
1115
|
+
border: 0;
|
|
1116
|
+
border-radius: var(--vx-radius-md);
|
|
1117
|
+
color: var(--vx-text-primary);
|
|
1118
|
+
font: var(--vx-typography-inter-14-medium);
|
|
1119
|
+
}
|
|
1120
|
+
.vx-tabs[data-variant=pill] [role=tab][aria-selected=true] {
|
|
1121
|
+
background: var(--vx-surface-selected);
|
|
1122
|
+
}
|
|
1123
|
+
.vx-choice-tile-grid {
|
|
1124
|
+
display: grid;
|
|
1125
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1126
|
+
gap: var(--vx-space-4);
|
|
1127
|
+
padding-top: var(--vx-space-12);
|
|
1128
|
+
min-width: 0;
|
|
1129
|
+
}
|
|
1130
|
+
.vx-choice-tile-grid[data-compact=true] {
|
|
1131
|
+
padding-top: 0;
|
|
1132
|
+
}
|
|
1133
|
+
@container vx-tier (min-width: 501px) {
|
|
1134
|
+
.vx-choice-tile-grid[data-columns="3"] {
|
|
1135
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
@container (min-width: 468px) {
|
|
1139
|
+
:scope:not([data-vx-tier-container]) .vx-choice-tile-grid[data-columns="3"] {
|
|
1140
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
.vx-choice-tile {
|
|
1144
|
+
box-sizing: border-box;
|
|
1145
|
+
min-width: 0;
|
|
1146
|
+
min-height: 34px;
|
|
1147
|
+
padding: var(--vx-space-6) var(--vx-space-8);
|
|
1148
|
+
border-radius: var(--vx-radius-md);
|
|
1149
|
+
font: var(--vx-typography-inter-12-regular);
|
|
1150
|
+
text-align: center;
|
|
1151
|
+
justify-content: center;
|
|
1152
|
+
align-content: center;
|
|
1153
|
+
}
|
|
1154
|
+
.vx-choice-tile[data-choice-style=outline] {
|
|
1155
|
+
display: grid;
|
|
1156
|
+
gap: var(--vx-space-6);
|
|
1157
|
+
border: var(--vx-border-width) solid var(--vx-border-secondary);
|
|
1158
|
+
background: transparent;
|
|
1159
|
+
color: var(--vx-text-primary);
|
|
1160
|
+
cursor: pointer;
|
|
1161
|
+
}
|
|
1162
|
+
.vx-choice-tile[data-choice-style=outline]:hover:not(:disabled) {
|
|
1163
|
+
background: var(--vx-surface-hover);
|
|
1164
|
+
}
|
|
1165
|
+
.vx-choice-tile[data-choice-style=outline][aria-pressed=true] {
|
|
1166
|
+
border-color: var(--vx-text-primary);
|
|
1167
|
+
background: var(--vx-surface-selected);
|
|
1168
|
+
}
|
|
1169
|
+
.vx-choice-tile[data-choice-style=outline]:disabled {
|
|
1170
|
+
opacity: 0.5;
|
|
1171
|
+
cursor: not-allowed;
|
|
1172
|
+
}
|
|
1173
|
+
.vx-choice-tile[data-choice-style=outline]:focus-visible {
|
|
1174
|
+
outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
|
|
1175
|
+
outline-offset: var(--vx-space-2);
|
|
1176
|
+
}
|
|
1177
|
+
.vx-choice-tile[data-choice-style=tonal] {
|
|
1178
|
+
height: auto;
|
|
1179
|
+
white-space: normal;
|
|
1180
|
+
overflow-wrap: anywhere;
|
|
1181
|
+
}
|
|
1182
|
+
.vx-choice-tile[data-choice-style=tonal] .vx-button-label {
|
|
1183
|
+
white-space: normal;
|
|
1184
|
+
overflow-wrap: anywhere;
|
|
1185
|
+
}
|
|
1186
|
+
.vx-choice-tile[data-choice-style=tonal][aria-pressed=false] {
|
|
1187
|
+
border-color: var(--vx-border-primary);
|
|
1188
|
+
background: var(--vx-background-page);
|
|
1189
|
+
}
|
|
1190
|
+
.vx-choice-tile[data-choice-style=tonal][aria-pressed=true] {
|
|
1191
|
+
border-color: transparent;
|
|
1192
|
+
background: var(--vx-surface-selected);
|
|
1193
|
+
}
|
|
1194
|
+
.vx-choice-tile[data-choice-style=tonal]:hover:not(:disabled) {
|
|
1195
|
+
background: var(--vx-surface-hover);
|
|
1196
|
+
}
|
|
869
1197
|
.vx-segment {
|
|
870
1198
|
display: inline-flex;
|
|
871
1199
|
box-sizing: border-box;
|
|
@@ -960,48 +1288,345 @@
|
|
|
960
1288
|
font: var(--vx-typography-inter-12-medium);
|
|
961
1289
|
padding: 3px;
|
|
962
1290
|
}
|
|
963
|
-
|
|
964
|
-
/* packages/ui-system/dist/field.css */
|
|
965
1291
|
@scope ([data-vx-theme]) {
|
|
966
|
-
.vx-
|
|
967
|
-
|
|
968
|
-
display: grid;
|
|
969
|
-
gap: var(--vx-space-4);
|
|
970
|
-
min-width: 0;
|
|
971
|
-
color: var(--vx-text-primary);
|
|
1292
|
+
.vx-checkbox[data-appearance=outline] input:focus-visible + .vx-checkbox-mark {
|
|
1293
|
+
outline-color: var(--vx-state-assistance);
|
|
972
1294
|
}
|
|
973
|
-
|
|
1295
|
+
}
|
|
1296
|
+
@scope ([data-vx-theme]) {
|
|
1297
|
+
.vx-asset-library-toolbar {
|
|
1298
|
+
display: flex;
|
|
1299
|
+
align-items: center;
|
|
1300
|
+
gap: var(--vx-space-8);
|
|
1301
|
+
height: var(--vx-tabs-primary-height);
|
|
1302
|
+
flex-shrink: 0;
|
|
1303
|
+
padding-block: 0;
|
|
1304
|
+
padding-inline: var(--vx-space-16) var(--vx-space-12);
|
|
1305
|
+
border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
|
|
974
1306
|
box-sizing: border-box;
|
|
975
|
-
width: 100%;
|
|
976
|
-
min-height: var(--vx-input-medium-height);
|
|
977
|
-
padding: var(--vx-space-4) var(--vx-space-8);
|
|
978
|
-
border: var(--vx-border-width) solid var(--vx-control-border);
|
|
979
|
-
border-radius: var(--vx-radius-md);
|
|
980
|
-
background: var(--vx-surface-input);
|
|
981
|
-
color: inherit;
|
|
982
|
-
font: inherit;
|
|
983
1307
|
}
|
|
984
|
-
.vx-
|
|
985
|
-
|
|
1308
|
+
.vx-asset-library-toolbar > :first-child {
|
|
1309
|
+
flex: 1;
|
|
1310
|
+
min-width: 0;
|
|
986
1311
|
}
|
|
987
|
-
.vx-
|
|
988
|
-
display:
|
|
989
|
-
|
|
990
|
-
|
|
1312
|
+
.vx-asset-library-controls {
|
|
1313
|
+
display: flex;
|
|
1314
|
+
flex: none;
|
|
1315
|
+
align-items: center;
|
|
1316
|
+
gap: var(--vx-space-8);
|
|
991
1317
|
max-width: 100%;
|
|
992
1318
|
}
|
|
993
|
-
|
|
1319
|
+
@media (max-width: 760px) {
|
|
1320
|
+
.vx-asset-library-toolbar,
|
|
1321
|
+
.vx-asset-library-controls {
|
|
1322
|
+
flex-wrap: wrap;
|
|
1323
|
+
}
|
|
1324
|
+
.vx-asset-library-toolbar {
|
|
1325
|
+
height: auto;
|
|
1326
|
+
padding-block: 0 var(--vx-space-8);
|
|
1327
|
+
}
|
|
1328
|
+
.vx-asset-library-toolbar > :first-child,
|
|
1329
|
+
.vx-asset-library-controls {
|
|
1330
|
+
flex-basis: 100%;
|
|
1331
|
+
}
|
|
1332
|
+
.vx-asset-library-controls {
|
|
1333
|
+
gap: 6px;
|
|
1334
|
+
}
|
|
1335
|
+
}
|
|
1336
|
+
@media (640px < width <= 760px) {
|
|
1337
|
+
.vx-asset-library-toolbar[data-project-assets] {
|
|
1338
|
+
flex-wrap: nowrap;
|
|
1339
|
+
height: var(--vx-tabs-primary-height);
|
|
1340
|
+
padding-block: 0;
|
|
1341
|
+
}
|
|
1342
|
+
.vx-asset-library-toolbar[data-project-assets] > :first-child {
|
|
1343
|
+
flex-basis: 0;
|
|
1344
|
+
}
|
|
1345
|
+
.vx-asset-library-toolbar[data-project-assets] .vx-asset-library-controls {
|
|
1346
|
+
flex-wrap: nowrap;
|
|
1347
|
+
flex-basis: auto;
|
|
1348
|
+
gap: var(--vx-space-8);
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
.vx-asset-selection {
|
|
994
1352
|
display: flex;
|
|
995
|
-
|
|
1353
|
+
flex: 0 1 auto;
|
|
1354
|
+
max-width: 100%;
|
|
1355
|
+
align-items: center;
|
|
1356
|
+
flex-wrap: wrap;
|
|
1357
|
+
gap: var(--vx-space-8);
|
|
996
1358
|
}
|
|
997
|
-
.vx-
|
|
998
|
-
|
|
1359
|
+
.vx-asset-selection > [role=status] {
|
|
1360
|
+
padding-inline: var(--vx-space-16);
|
|
1361
|
+
white-space: nowrap;
|
|
1362
|
+
color: var(--vx-text-primary);
|
|
1363
|
+
font: var(--vx-typography-inter-14-regular);
|
|
999
1364
|
}
|
|
1000
|
-
.vx-
|
|
1001
|
-
|
|
1365
|
+
.vx-asset-selection > i {
|
|
1366
|
+
display: grid;
|
|
1367
|
+
place-items: center;
|
|
1368
|
+
width: 8px;
|
|
1369
|
+
height: 8px;
|
|
1370
|
+
}
|
|
1371
|
+
.vx-asset-selection > i::after {
|
|
1372
|
+
content: "";
|
|
1373
|
+
height: 8px;
|
|
1374
|
+
width: 1px;
|
|
1375
|
+
background: var(--vx-border-secondary);
|
|
1376
|
+
}
|
|
1377
|
+
.vx-asset-selection .vx-button-content {
|
|
1378
|
+
gap: 6px;
|
|
1379
|
+
}
|
|
1380
|
+
.vx-asset-selection .vx-icon {
|
|
1381
|
+
--vx-icon-size: 16px;
|
|
1382
|
+
}
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/* packages/ui-system/dist/field.css */
|
|
1386
|
+
@scope ([data-vx-theme]) {
|
|
1387
|
+
.vx-slider[data-appearance=neutral] {
|
|
1388
|
+
position: relative;
|
|
1389
|
+
}
|
|
1390
|
+
.vx-slider[data-appearance=neutral] > input {
|
|
1391
|
+
--vx-neutral-slider-progress: calc( var(--vx-neutral-slider-thumb-size, 14px) / 2 + (100% - var(--vx-neutral-slider-thumb-size, 14px)) * var(--vx-slider-fraction) );
|
|
1392
|
+
appearance: none;
|
|
1393
|
+
width: 100%;
|
|
1394
|
+
height: 16px;
|
|
1395
|
+
margin: 0;
|
|
1396
|
+
padding: 0;
|
|
1397
|
+
border: 0;
|
|
1398
|
+
border-radius: var(--vx-radius-full);
|
|
1399
|
+
background:
|
|
1400
|
+
linear-gradient(
|
|
1401
|
+
to right,
|
|
1402
|
+
var(--vx-text-secondary) 0 var(--vx-neutral-slider-progress),
|
|
1403
|
+
var(--vx-slider-track-surface, var(--vx-surface-input)) var(--vx-neutral-slider-progress) 100%);
|
|
1404
|
+
}
|
|
1405
|
+
.vx-slider[data-appearance=neutral] > input::-webkit-slider-thumb {
|
|
1406
|
+
appearance: none;
|
|
1407
|
+
box-sizing: border-box;
|
|
1408
|
+
width: var(--vx-neutral-slider-thumb-size, 14px);
|
|
1409
|
+
height: var(--vx-neutral-slider-thumb-size, 14px);
|
|
1410
|
+
background: var(--vx-background-dialog);
|
|
1411
|
+
border: var(--vx-neutral-slider-thumb-border, 1px) solid var(--vx-text-secondary);
|
|
1412
|
+
border-radius: 50%;
|
|
1413
|
+
}
|
|
1414
|
+
.vx-slider[data-appearance=neutral] > input::-moz-range-thumb {
|
|
1415
|
+
box-sizing: border-box;
|
|
1416
|
+
width: var(--vx-neutral-slider-thumb-size, 14px);
|
|
1417
|
+
height: var(--vx-neutral-slider-thumb-size, 14px);
|
|
1418
|
+
background: var(--vx-background-dialog);
|
|
1419
|
+
border: var(--vx-neutral-slider-thumb-border, 1px) solid var(--vx-text-secondary);
|
|
1420
|
+
border-radius: 50%;
|
|
1421
|
+
}
|
|
1422
|
+
.vx-slider-markers {
|
|
1423
|
+
position: absolute;
|
|
1424
|
+
left: 8px;
|
|
1425
|
+
right: 8px;
|
|
1426
|
+
bottom: 7px;
|
|
1427
|
+
height: 2px;
|
|
1428
|
+
pointer-events: none;
|
|
1429
|
+
}
|
|
1430
|
+
.vx-slider-markers > span {
|
|
1431
|
+
position: absolute;
|
|
1432
|
+
width: 2px;
|
|
1433
|
+
height: 2px;
|
|
1434
|
+
border-radius: 50%;
|
|
1435
|
+
background: var(--vx-text-secondary-readable);
|
|
1436
|
+
}
|
|
1437
|
+
.vx-slider[data-thumb-size=large] {
|
|
1438
|
+
--vx-neutral-slider-thumb-size: 16px;
|
|
1439
|
+
--vx-neutral-slider-thumb-border: 2px;
|
|
1440
|
+
gap: var(--vx-space-8);
|
|
1441
|
+
}
|
|
1442
|
+
.vx-slider[data-heading-weight=semibold] .vx-slider-heading > :first-child {
|
|
1443
|
+
font-weight: 600;
|
|
1444
|
+
}
|
|
1445
|
+
.vx-slider[data-hide-covered-markers=true] .vx-slider-markers {
|
|
1446
|
+
--vx-visible-markers: calc(var(--vx-slider-fraction) * 100% + 7px);
|
|
1447
|
+
mask-image:
|
|
1448
|
+
linear-gradient(
|
|
1449
|
+
to right,
|
|
1450
|
+
transparent var(--vx-visible-markers),
|
|
1451
|
+
black var(--vx-visible-markers));
|
|
1452
|
+
}
|
|
1453
|
+
.vx-source-slider {
|
|
1454
|
+
--vx-neutral-slider-thumb-size: 16px;
|
|
1455
|
+
--vx-neutral-slider-thumb-border: 2px;
|
|
1456
|
+
--vx-source-fill: calc( var(--vx-neutral-slider-thumb-size) / 2 + (100% - var(--vx-neutral-slider-thumb-size)) * var(--vx-source-fraction) );
|
|
1457
|
+
position: relative;
|
|
1458
|
+
height: 16px;
|
|
1459
|
+
border-radius: var(--vx-radius-full);
|
|
1460
|
+
background:
|
|
1461
|
+
linear-gradient(
|
|
1462
|
+
to right,
|
|
1463
|
+
var(--vx-text-secondary) 0 var(--vx-source-fill),
|
|
1464
|
+
var(--vx-slider-track-surface, var(--vx-surface-input)) var(--vx-source-fill) 100%);
|
|
1465
|
+
}
|
|
1466
|
+
.vx-slider-group {
|
|
1467
|
+
display: grid;
|
|
1468
|
+
gap: var(--vx-space-4);
|
|
1469
|
+
min-width: 0;
|
|
1470
|
+
}
|
|
1471
|
+
.vx-source-slider > .vx-slider {
|
|
1472
|
+
position: absolute;
|
|
1473
|
+
top: 0;
|
|
1474
|
+
left: calc(var(--vx-source-start) * (100% - var(--vx-neutral-slider-thumb-size)));
|
|
1475
|
+
width: calc(var(--vx-neutral-slider-thumb-size) + var(--vx-source-span) * (100% - var(--vx-neutral-slider-thumb-size)));
|
|
1476
|
+
}
|
|
1477
|
+
.vx-source-slider .vx-slider[data-appearance=neutral] > input {
|
|
1478
|
+
background: transparent;
|
|
1479
|
+
}
|
|
1480
|
+
.vx-slider-endpoints {
|
|
1481
|
+
display: flex;
|
|
1482
|
+
justify-content: space-between;
|
|
1483
|
+
color: var(--vx-text-secondary);
|
|
1484
|
+
font: var(--vx-typography-inter-10-regular);
|
|
1485
|
+
}
|
|
1486
|
+
.vx-slider-endpoints[data-size="12"] {
|
|
1487
|
+
font: var(--vx-typography-inter-12-regular);
|
|
1488
|
+
}
|
|
1489
|
+
:is(input, textarea, [contenteditable]:not([contenteditable=false]), [role=textbox]) {
|
|
1490
|
+
scrollbar-width: none;
|
|
1491
|
+
&::-webkit-scrollbar {
|
|
1492
|
+
display: none;
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
:is(input:not([type]), input[type=text], input[type=search], input[type=email], input[type=url], input[type=tel], input[type=password], input[type=number], textarea) {
|
|
1496
|
+
border: 0;
|
|
1497
|
+
&:not([readonly], [type=search]) {
|
|
1498
|
+
font: var(--vx-field-font, var(--vx-typography-inter-16-regular)) !important;
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
:is(input:not([type]), input[type=text], input[type=email], input[type=url], input[type=tel], input[type=password], input[type=number], textarea):focus-visible {
|
|
1502
|
+
outline: none;
|
|
1503
|
+
background-color: var(--vx-surface-selected);
|
|
1504
|
+
@media (forced-colors: active) {
|
|
1505
|
+
outline: var(--vx-focus-ring-width) solid Highlight;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
:where(input, textarea)::placeholder {
|
|
1509
|
+
color: var(--vx-field-placeholder-color, var(--vx-text-secondary-readable));
|
|
1510
|
+
opacity: 1;
|
|
1511
|
+
}
|
|
1512
|
+
textarea {
|
|
1513
|
+
border-radius: var(--vx-input-radius);
|
|
1514
|
+
background: var(--vx-surface-input);
|
|
1515
|
+
resize: vertical;
|
|
1516
|
+
}
|
|
1517
|
+
.vx-field,
|
|
1518
|
+
.vx-slider {
|
|
1519
|
+
display: grid;
|
|
1520
|
+
gap: var(--vx-space-4);
|
|
1521
|
+
min-width: 0;
|
|
1522
|
+
color: var(--vx-text-primary);
|
|
1523
|
+
}
|
|
1524
|
+
.vx-field > :is(input, textarea) {
|
|
1525
|
+
box-sizing: border-box;
|
|
1526
|
+
width: 100%;
|
|
1527
|
+
min-height: var(--vx-input-medium-height);
|
|
1528
|
+
padding: var(--vx-space-4) var(--vx-space-8);
|
|
1529
|
+
border: 0;
|
|
1530
|
+
border-radius: var(--vx-input-radius);
|
|
1531
|
+
background: var(--vx-surface-input);
|
|
1532
|
+
color: inherit;
|
|
1533
|
+
font: inherit;
|
|
1534
|
+
}
|
|
1535
|
+
.vx-field[data-size=large] > input {
|
|
1536
|
+
min-height: var(--vx-input-large-height);
|
|
1537
|
+
padding: var(--vx-space-8) var(--vx-space-12);
|
|
1538
|
+
}
|
|
1539
|
+
.vx-field > textarea {
|
|
1540
|
+
padding: var(--vx-space-8) var(--vx-space-12);
|
|
1541
|
+
}
|
|
1542
|
+
.vx-field[data-appearance=filled] > input {
|
|
1543
|
+
font: var(--vx-typography-inter-12-regular);
|
|
1544
|
+
}
|
|
1545
|
+
.vx-field[data-size=chat] {
|
|
1546
|
+
--vx-field-font: var(--vx-chat-field-font, var(--vx-typography-inter-12-regular));
|
|
1547
|
+
--vx-field-placeholder-color: var(--vx-text-placeholder);
|
|
1548
|
+
gap: var(--vx-space-8);
|
|
1549
|
+
}
|
|
1550
|
+
.vx-field[data-size=chat] > span {
|
|
1551
|
+
font: var(--vx-typography-inter-12-semi-bold);
|
|
1552
|
+
}
|
|
1553
|
+
.vx-field[data-size=chat] > span:empty {
|
|
1554
|
+
display: none;
|
|
1555
|
+
}
|
|
1556
|
+
.vx-field[data-size=chat] > input[type=text] {
|
|
1557
|
+
min-height: var(--vx-chat-field-height, var(--vx-input-medium-height));
|
|
1558
|
+
height: var(--vx-chat-field-height, var(--vx-input-medium-height));
|
|
1559
|
+
padding-inline: var(--vx-chat-field-padding, var(--vx-space-8));
|
|
1560
|
+
padding-block: 0;
|
|
1561
|
+
font: var(--vx-chat-field-font, var(--vx-typography-inter-12-regular));
|
|
1562
|
+
border-radius: var(--vx-radius-md);
|
|
1563
|
+
--vx-surface-input: var(--vx-surface-input-transparency);
|
|
1564
|
+
}
|
|
1565
|
+
.vx-field[data-size=chat] > input[type=number] {
|
|
1566
|
+
min-height: var(--vx-input-medium-height);
|
|
1567
|
+
padding: var(--vx-space-8);
|
|
1568
|
+
border-radius: var(--vx-radius-md);
|
|
1569
|
+
}
|
|
1570
|
+
.vx-field[data-size=chat] > textarea {
|
|
1571
|
+
height: var(--vx-input-large-height);
|
|
1572
|
+
min-height: var(--vx-input-large-height);
|
|
1573
|
+
padding: var(--vx-space-8) var(--vx-chat-field-padding, var(--vx-space-8));
|
|
1574
|
+
font: var(--vx-chat-field-font, var(--vx-typography-inter-12-regular));
|
|
1575
|
+
border-radius: var(--vx-radius-md);
|
|
1576
|
+
field-sizing: fixed;
|
|
1577
|
+
resize: vertical;
|
|
1578
|
+
}
|
|
1579
|
+
.vx-field[data-size=chat][data-variant=voice] > textarea {
|
|
1580
|
+
height: var(--vx-chat-field-height, var(--vx-input-medium-height));
|
|
1581
|
+
min-height: var(--vx-chat-field-height, var(--vx-input-medium-height));
|
|
1582
|
+
padding-block: calc((var(--vx-chat-field-height, var(--vx-input-medium-height)) - 1lh) / 2);
|
|
1583
|
+
}
|
|
1584
|
+
.vx-field[data-variant=instruction] {
|
|
1585
|
+
--vx-field-font: var(--vx-typography-inter-14-regular);
|
|
1586
|
+
--vx-field-placeholder-color: var(--vx-text-placeholder);
|
|
1587
|
+
}
|
|
1588
|
+
.vx-field[data-variant=instruction] > span {
|
|
1589
|
+
font: var(--vx-typography-inter-12-semi-bold);
|
|
1590
|
+
}
|
|
1591
|
+
.vx-field[data-variant=instruction] > textarea {
|
|
1592
|
+
min-height: var(--vx-input-large-height);
|
|
1593
|
+
padding: var(--vx-space-8) var(--vx-space-12);
|
|
1594
|
+
border-color: transparent;
|
|
1595
|
+
field-sizing: content;
|
|
1596
|
+
resize: vertical;
|
|
1597
|
+
}
|
|
1598
|
+
.vx-field[data-variant=instruction] > textarea:placeholder-shown {
|
|
1599
|
+
field-sizing: fixed;
|
|
1600
|
+
}
|
|
1601
|
+
.vx-field > textarea[data-resize=none] {
|
|
1602
|
+
resize: none;
|
|
1603
|
+
}
|
|
1604
|
+
.vx-field > :is(input, textarea)[readonly] {
|
|
1605
|
+
background: var(--vx-surface-tool-result);
|
|
1606
|
+
}
|
|
1607
|
+
.vx-field-error {
|
|
1608
|
+
color: var(--vx-state-danger);
|
|
1609
|
+
font: var(--vx-typography-inter-12-regular);
|
|
1610
|
+
}
|
|
1611
|
+
.vx-date-picker {
|
|
1612
|
+
display: inline-flex;
|
|
1613
|
+
align-items: flex-start;
|
|
1614
|
+
gap: var(--vx-space-4);
|
|
1615
|
+
max-width: 100%;
|
|
1616
|
+
}
|
|
1617
|
+
.vx-date-picker[data-variant=dropdown] {
|
|
1618
|
+
display: flex;
|
|
1619
|
+
width: 100%;
|
|
1620
|
+
}
|
|
1621
|
+
.vx-date-picker .vx-field > span:empty {
|
|
1622
|
+
display: none;
|
|
1623
|
+
}
|
|
1624
|
+
.vx-date-calendar {
|
|
1625
|
+
box-sizing: border-box;
|
|
1002
1626
|
width: min(320px, calc(100vw - 16px));
|
|
1003
1627
|
max-height: calc(100dvh - 16px);
|
|
1004
|
-
|
|
1628
|
+
scrollbar-gutter: stable;
|
|
1629
|
+
overflow: scroll auto;
|
|
1005
1630
|
inset: auto;
|
|
1006
1631
|
position-area: bottom span-right;
|
|
1007
1632
|
position-try-fallbacks:
|
|
@@ -1064,12 +1689,11 @@
|
|
|
1064
1689
|
outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
|
|
1065
1690
|
outline-offset: calc(-1 * var(--vx-focus-ring-width));
|
|
1066
1691
|
}
|
|
1067
|
-
.vx-field > input:disabled,
|
|
1692
|
+
.vx-field > :is(input, textarea):disabled,
|
|
1068
1693
|
.vx-slider > input:disabled {
|
|
1069
1694
|
cursor: not-allowed;
|
|
1070
1695
|
opacity: 0.5;
|
|
1071
1696
|
}
|
|
1072
|
-
.vx-field > input:focus-visible,
|
|
1073
1697
|
.vx-slider > input:focus-visible {
|
|
1074
1698
|
outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
|
|
1075
1699
|
outline-offset: var(--vx-space-2);
|
|
@@ -1078,6 +1702,55 @@
|
|
|
1078
1702
|
display: flex;
|
|
1079
1703
|
justify-content: space-between;
|
|
1080
1704
|
gap: var(--vx-space-8);
|
|
1705
|
+
font: var(--vx-typography-inter-14-medium);
|
|
1706
|
+
}
|
|
1707
|
+
.vx-slider[data-appearance=default] > input {
|
|
1708
|
+
--vx-slider-progress: calc(8px + (100% - 16px) * var(--vx-slider-fraction));
|
|
1709
|
+
appearance: none;
|
|
1710
|
+
box-sizing: border-box;
|
|
1711
|
+
width: 100%;
|
|
1712
|
+
height: 24px;
|
|
1713
|
+
padding: 0;
|
|
1714
|
+
border: 0;
|
|
1715
|
+
border-radius: 0;
|
|
1716
|
+
background: transparent;
|
|
1717
|
+
cursor: pointer;
|
|
1718
|
+
}
|
|
1719
|
+
.vx-slider[data-appearance=default] > input::-webkit-slider-runnable-track {
|
|
1720
|
+
height: 8px;
|
|
1721
|
+
border: 0;
|
|
1722
|
+
border-radius: var(--vx-radius-full);
|
|
1723
|
+
background:
|
|
1724
|
+
linear-gradient(
|
|
1725
|
+
to right,
|
|
1726
|
+
var(--vx-state-success) var(--vx-slider-progress),
|
|
1727
|
+
var(--vx-surface-input) var(--vx-slider-progress));
|
|
1728
|
+
}
|
|
1729
|
+
.vx-slider[data-appearance=default] > input::-webkit-slider-thumb {
|
|
1730
|
+
appearance: none;
|
|
1731
|
+
width: 16px;
|
|
1732
|
+
height: 16px;
|
|
1733
|
+
margin-top: -4px;
|
|
1734
|
+
border: 0;
|
|
1735
|
+
border-radius: 50%;
|
|
1736
|
+
background: var(--vx-state-success);
|
|
1737
|
+
}
|
|
1738
|
+
.vx-slider[data-appearance=default] > input::-moz-range-track,
|
|
1739
|
+
.vx-slider[data-appearance=default] > input::-moz-range-progress {
|
|
1740
|
+
height: 8px;
|
|
1741
|
+
border: 0;
|
|
1742
|
+
border-radius: var(--vx-radius-full);
|
|
1743
|
+
background: var(--vx-surface-input);
|
|
1744
|
+
}
|
|
1745
|
+
.vx-slider[data-appearance=default] > input::-moz-range-progress,
|
|
1746
|
+
.vx-slider[data-appearance=default] > input::-moz-range-thumb {
|
|
1747
|
+
background: var(--vx-state-success);
|
|
1748
|
+
}
|
|
1749
|
+
.vx-slider[data-appearance=default] > input::-moz-range-thumb {
|
|
1750
|
+
width: 16px;
|
|
1751
|
+
height: 16px;
|
|
1752
|
+
border: 0;
|
|
1753
|
+
border-radius: 50%;
|
|
1081
1754
|
}
|
|
1082
1755
|
.vx-slider > input,
|
|
1083
1756
|
.vx-playback-controls > input {
|
|
@@ -1086,6 +1759,14 @@
|
|
|
1086
1759
|
margin: 0;
|
|
1087
1760
|
}
|
|
1088
1761
|
}
|
|
1762
|
+
@scope ([data-vx-theme]) {
|
|
1763
|
+
.vx-slider[data-appearance=neutral] .vx-slider-heading {
|
|
1764
|
+
font: var(--vx-typography-inter-12-regular);
|
|
1765
|
+
}
|
|
1766
|
+
.vx-slider[data-appearance=neutral][data-thumb-size=large] .vx-slider-heading {
|
|
1767
|
+
font: var(--vx-typography-inter-12-medium);
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1089
1770
|
|
|
1090
1771
|
/* packages/ui-system/dist/inline-text.css */
|
|
1091
1772
|
@scope ([data-vx-theme]) {
|
|
@@ -1117,6 +1798,38 @@
|
|
|
1117
1798
|
|
|
1118
1799
|
/* packages/ui-system/dist/media.css */
|
|
1119
1800
|
@scope ([data-vx-theme]) {
|
|
1801
|
+
.vx-aspect-ratio-icon {
|
|
1802
|
+
display: inline-grid;
|
|
1803
|
+
place-items: center;
|
|
1804
|
+
flex: none;
|
|
1805
|
+
width: 14px;
|
|
1806
|
+
height: 14px;
|
|
1807
|
+
}
|
|
1808
|
+
.vx-aspect-ratio-icon > span {
|
|
1809
|
+
box-sizing: border-box;
|
|
1810
|
+
border: 1px solid currentColor;
|
|
1811
|
+
border-radius: 1.75px;
|
|
1812
|
+
}
|
|
1813
|
+
.vx-frame-filmstrip {
|
|
1814
|
+
position: absolute;
|
|
1815
|
+
inset: 0;
|
|
1816
|
+
display: flex;
|
|
1817
|
+
overflow: hidden;
|
|
1818
|
+
opacity: 0.6;
|
|
1819
|
+
}
|
|
1820
|
+
.vx-frame-filmstrip > img {
|
|
1821
|
+
min-width: 0;
|
|
1822
|
+
width: 0;
|
|
1823
|
+
flex: 1;
|
|
1824
|
+
object-fit: cover;
|
|
1825
|
+
}
|
|
1826
|
+
.vx-playback-controls[data-appearance=surface] {
|
|
1827
|
+
background: var(--vx-background-page);
|
|
1828
|
+
color: var(--vx-text-secondary-readable);
|
|
1829
|
+
}
|
|
1830
|
+
.vx-playback-controls[data-appearance=surface] > .vx-button {
|
|
1831
|
+
--vx-button-foreground: var(--vx-text-secondary-readable);
|
|
1832
|
+
}
|
|
1120
1833
|
.vx-tag {
|
|
1121
1834
|
display: inline-flex;
|
|
1122
1835
|
align-items: center;
|
|
@@ -1129,7 +1842,7 @@
|
|
|
1129
1842
|
white-space: nowrap;
|
|
1130
1843
|
}
|
|
1131
1844
|
.vx-tag[data-variant=selected] {
|
|
1132
|
-
background: var(--vx-
|
|
1845
|
+
background: var(--vx-media-selection-color);
|
|
1133
1846
|
}
|
|
1134
1847
|
.vx-tag[data-variant=subtle] {
|
|
1135
1848
|
background: var(--vx-surface-message);
|
|
@@ -1140,6 +1853,7 @@
|
|
|
1140
1853
|
color: var(--vx-text-primary);
|
|
1141
1854
|
}
|
|
1142
1855
|
.vx-media {
|
|
1856
|
+
isolation: isolate;
|
|
1143
1857
|
position: relative;
|
|
1144
1858
|
display: grid;
|
|
1145
1859
|
place-items: center;
|
|
@@ -1150,14 +1864,10 @@
|
|
|
1150
1864
|
padding: 0;
|
|
1151
1865
|
border: 0;
|
|
1152
1866
|
border-radius: var(--vx-radius-lg);
|
|
1153
|
-
background:
|
|
1867
|
+
background: var(--vx-cover-background);
|
|
1154
1868
|
color: var(--vx-text-on-content-primary);
|
|
1155
1869
|
font: inherit;
|
|
1156
1870
|
}
|
|
1157
|
-
.vx-media:is([data-empty=surface], [data-empty=audio]) {
|
|
1158
|
-
background: var(--vx-surface-input);
|
|
1159
|
-
color: var(--vx-text-primary);
|
|
1160
|
-
}
|
|
1161
1871
|
button.vx-media {
|
|
1162
1872
|
cursor: pointer;
|
|
1163
1873
|
}
|
|
@@ -1180,19 +1890,20 @@
|
|
|
1180
1890
|
pointer-events: none;
|
|
1181
1891
|
}
|
|
1182
1892
|
.vx-media-empty-label {
|
|
1183
|
-
color: var(--vx-text-secondary
|
|
1893
|
+
color: var(--vx-text-on-content-secondary);
|
|
1184
1894
|
font: var(--vx-typography-inter-12-regular);
|
|
1185
1895
|
padding: var(--vx-space-8);
|
|
1186
1896
|
}
|
|
1187
1897
|
.vx-media[data-state=selected][data-selection=outline]::after {
|
|
1188
1898
|
position: absolute;
|
|
1899
|
+
z-index: 2;
|
|
1189
1900
|
inset: 0;
|
|
1190
|
-
border: 3px solid var(--vx-
|
|
1901
|
+
border: 3px solid var(--vx-media-selection-color);
|
|
1191
1902
|
border-radius: inherit;
|
|
1192
1903
|
content: "";
|
|
1193
1904
|
pointer-events: none;
|
|
1194
1905
|
}
|
|
1195
|
-
.vx-media > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
|
|
1906
|
+
:is(.vx-media, .vx-media-badge-host) > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
|
|
1196
1907
|
position: absolute;
|
|
1197
1908
|
z-index: 1;
|
|
1198
1909
|
}
|
|
@@ -1203,7 +1914,8 @@
|
|
|
1203
1914
|
inset: auto var(--vx-space-8) var(--vx-space-8) auto;
|
|
1204
1915
|
}
|
|
1205
1916
|
.vx-media-selected {
|
|
1206
|
-
|
|
1917
|
+
display: flex;
|
|
1918
|
+
inset: 5px auto auto 5px;
|
|
1207
1919
|
}
|
|
1208
1920
|
.vx-media-marker {
|
|
1209
1921
|
inset: var(--vx-space-8) var(--vx-space-8) auto auto;
|
|
@@ -1233,7 +1945,7 @@
|
|
|
1233
1945
|
}
|
|
1234
1946
|
.vx-import-file,
|
|
1235
1947
|
.vx-audio-preview,
|
|
1236
|
-
.vx-playback-controls {
|
|
1948
|
+
div.vx-playback-controls {
|
|
1237
1949
|
display: flex;
|
|
1238
1950
|
align-items: center;
|
|
1239
1951
|
gap: var(--vx-space-8);
|
|
@@ -1256,6 +1968,34 @@
|
|
|
1256
1968
|
margin: 0;
|
|
1257
1969
|
color: var(--vx-text-secondary-readable);
|
|
1258
1970
|
}
|
|
1971
|
+
.vx-audio-preview[data-variant=compact] {
|
|
1972
|
+
width: min(100%, 290px);
|
|
1973
|
+
min-width: 0;
|
|
1974
|
+
min-height: 60px;
|
|
1975
|
+
padding: var(--vx-space-12);
|
|
1976
|
+
gap: var(--vx-space-12);
|
|
1977
|
+
border-radius: var(--vx-radius-md);
|
|
1978
|
+
background: var(--vx-surface-input);
|
|
1979
|
+
}
|
|
1980
|
+
.vx-audio-preview[data-variant=compact] > div {
|
|
1981
|
+
display: grid;
|
|
1982
|
+
gap: var(--vx-space-2);
|
|
1983
|
+
text-align: start;
|
|
1984
|
+
}
|
|
1985
|
+
.vx-audio-preview[data-variant=compact] > div > span {
|
|
1986
|
+
font: var(--vx-typography-inter-14-semi-bold);
|
|
1987
|
+
}
|
|
1988
|
+
.vx-audio-preview[data-variant=compact] small {
|
|
1989
|
+
font: var(--vx-typography-inter-12-regular);
|
|
1990
|
+
color: var(--vx-text-secondary);
|
|
1991
|
+
}
|
|
1992
|
+
.vx-audio-preview[data-variant=compact] .vx-button {
|
|
1993
|
+
--vx-button-background: var(--vx-text-on-content-primary);
|
|
1994
|
+
--vx-button-foreground: var(--vx-text-subtle-black);
|
|
1995
|
+
flex: 0 0 36px;
|
|
1996
|
+
width: 36px;
|
|
1997
|
+
height: 36px;
|
|
1998
|
+
}
|
|
1259
1999
|
.vx-audio-preview[data-variant=voice] {
|
|
1260
2000
|
width: 360px;
|
|
1261
2001
|
max-width: 100%;
|
|
@@ -1288,9 +2028,11 @@
|
|
|
1288
2028
|
.vx-playback-controls {
|
|
1289
2029
|
--vx-playback-button-size: 20px;
|
|
1290
2030
|
--vx-playback-thumb-size: 8px;
|
|
2031
|
+
--vx-playback-track-height: 4px;
|
|
2032
|
+
--vx-playback-played: var(--vx-white-white-7a);
|
|
1291
2033
|
height: 44px;
|
|
1292
2034
|
min-height: 44px;
|
|
1293
|
-
padding: var(--vx-space-12);
|
|
2035
|
+
padding: var(--vx-space-6) var(--vx-space-12);
|
|
1294
2036
|
gap: var(--vx-space-12);
|
|
1295
2037
|
background: linear-gradient(transparent, var(--vx-black-black-2a));
|
|
1296
2038
|
color: var(--vx-text-on-content-primary);
|
|
@@ -1300,80 +2042,133 @@
|
|
|
1300
2042
|
--vx-playback-thumb-size: 12px;
|
|
1301
2043
|
height: 48px;
|
|
1302
2044
|
min-height: 48px;
|
|
2045
|
+
padding-block: var(--vx-space-8);
|
|
1303
2046
|
}
|
|
1304
2047
|
.vx-playback-controls > .vx-button {
|
|
1305
2048
|
--vx-button-icon-size: var(--vx-playback-button-size);
|
|
1306
|
-
width: var(--vx-playback-button-size);
|
|
1307
|
-
height: var(--vx-playback-button-size);
|
|
1308
2049
|
color: inherit;
|
|
1309
2050
|
}
|
|
1310
|
-
.vx-playback-controls >
|
|
2051
|
+
.vx-playback-controls > .vx-button[data-shape=icon] {
|
|
2052
|
+
flex: none;
|
|
2053
|
+
width: var(--vx-playback-control-box, var(--vx-button-height));
|
|
2054
|
+
min-width: var(--vx-playback-control-box, 0px);
|
|
2055
|
+
height: var(--vx-playback-control-box, var(--vx-button-height));
|
|
2056
|
+
min-height: var(--vx-playback-control-box, 0px);
|
|
2057
|
+
}
|
|
2058
|
+
.vx-playback-controls > button.vx-button[data-appearance=ghost]:hover:not(:disabled) {
|
|
2059
|
+
--vx-button-background: transparent;
|
|
2060
|
+
}
|
|
2061
|
+
.vx-playback-controls .vx-playback-range {
|
|
2062
|
+
--vx-playback-progress: calc( var(--vx-playback-thumb-size) / 2 + (100% - var(--vx-playback-thumb-size)) * var(--vx-playback-fraction) );
|
|
1311
2063
|
appearance: none;
|
|
1312
|
-
flex: 1;
|
|
1313
|
-
min-width: 0;
|
|
2064
|
+
flex: var(--vx-playback-range-flex, 1);
|
|
2065
|
+
min-width: var(--vx-playback-range-min-width, 0);
|
|
2066
|
+
width: var(--vx-playback-range-width, auto);
|
|
1314
2067
|
height: 24px;
|
|
1315
2068
|
margin: 0;
|
|
1316
2069
|
padding: 0;
|
|
2070
|
+
border: 0;
|
|
1317
2071
|
background: transparent;
|
|
1318
2072
|
cursor: pointer;
|
|
1319
2073
|
}
|
|
1320
|
-
.vx-playback-controls
|
|
1321
|
-
|
|
2074
|
+
.vx-playback-controls .vx-playback-range::-webkit-slider-runnable-track {
|
|
2075
|
+
border: 0;
|
|
2076
|
+
height: var(--vx-playback-track-height);
|
|
1322
2077
|
border-radius: var(--vx-radius-full);
|
|
1323
2078
|
background:
|
|
1324
2079
|
linear-gradient(
|
|
1325
2080
|
to right,
|
|
1326
|
-
var(--vx-
|
|
1327
|
-
var(--vx-overlay-tag) var(--vx-playback-progress));
|
|
2081
|
+
var(--vx-playback-played) var(--vx-playback-progress),
|
|
2082
|
+
var(--vx-playback-unplayed, var(--vx-overlay-tag)) var(--vx-playback-progress));
|
|
1328
2083
|
}
|
|
1329
|
-
.vx-playback-controls
|
|
2084
|
+
.vx-playback-controls .vx-playback-range::-webkit-slider-thumb {
|
|
2085
|
+
margin-top: calc((var(--vx-playback-track-height) - var(--vx-playback-thumb-size)) / 2);
|
|
1330
2086
|
appearance: none;
|
|
1331
2087
|
box-sizing: border-box;
|
|
1332
2088
|
width: var(--vx-playback-thumb-size);
|
|
1333
2089
|
height: var(--vx-playback-thumb-size);
|
|
1334
|
-
border:
|
|
2090
|
+
border: var(--vx-playback-thumb-border, 0);
|
|
1335
2091
|
border-radius: 50%;
|
|
1336
|
-
background: var(--vx-white-white);
|
|
1337
|
-
|
|
2092
|
+
background: var(--vx-playback-thumb-fill, var(--vx-white-white));
|
|
2093
|
+
box-shadow: var(--vx-playback-thumb-shadow, none);
|
|
1338
2094
|
}
|
|
1339
|
-
.vx-playback-controls
|
|
1340
|
-
|
|
2095
|
+
.vx-playback-controls .vx-playback-range::-moz-range-track {
|
|
2096
|
+
border: 0;
|
|
2097
|
+
height: var(--vx-playback-track-height);
|
|
1341
2098
|
border-radius: var(--vx-radius-full);
|
|
1342
|
-
background: var(--vx-overlay-tag);
|
|
2099
|
+
background: var(--vx-playback-unplayed, var(--vx-overlay-tag));
|
|
1343
2100
|
}
|
|
1344
|
-
.vx-playback-controls
|
|
1345
|
-
|
|
2101
|
+
.vx-playback-controls .vx-playback-range::-moz-range-progress {
|
|
2102
|
+
border: 0;
|
|
2103
|
+
height: var(--vx-playback-track-height);
|
|
1346
2104
|
border-radius: var(--vx-radius-full);
|
|
1347
|
-
background: var(--vx-
|
|
2105
|
+
background: var(--vx-playback-played);
|
|
1348
2106
|
}
|
|
1349
|
-
.vx-playback-controls
|
|
2107
|
+
.vx-playback-controls .vx-playback-range::-moz-range-thumb {
|
|
1350
2108
|
box-sizing: border-box;
|
|
1351
2109
|
width: var(--vx-playback-thumb-size);
|
|
1352
2110
|
height: var(--vx-playback-thumb-size);
|
|
1353
|
-
border:
|
|
2111
|
+
border: var(--vx-playback-thumb-border, 0);
|
|
1354
2112
|
border-radius: 50%;
|
|
1355
|
-
background: var(--vx-white-white);
|
|
1356
|
-
|
|
2113
|
+
background: var(--vx-playback-thumb-fill, var(--vx-white-white));
|
|
2114
|
+
box-shadow: var(--vx-playback-thumb-shadow, none);
|
|
1357
2115
|
}
|
|
1358
2116
|
.vx-playback-controls > span {
|
|
1359
2117
|
white-space: nowrap;
|
|
1360
|
-
font: var(--vx-typography-inter-12-medium);
|
|
2118
|
+
font: var(--vx-playback-clock-font, var(--vx-typography-inter-12-medium));
|
|
1361
2119
|
font-variant-numeric: tabular-nums;
|
|
1362
2120
|
}
|
|
2121
|
+
.vx-playback-controls > [data-time=elapsed] {
|
|
2122
|
+
display: var(--vx-playback-elapsed-display, inline);
|
|
2123
|
+
}
|
|
1363
2124
|
.vx-video-player {
|
|
1364
2125
|
container: vx-video-player / inline-size;
|
|
1365
2126
|
position: relative;
|
|
1366
2127
|
min-width: 0;
|
|
1367
2128
|
overflow: hidden;
|
|
1368
|
-
background:
|
|
2129
|
+
background: var(--vx-cover-background);
|
|
1369
2130
|
border-radius: var(--vx-radius-xl);
|
|
1370
2131
|
}
|
|
2132
|
+
.vx-video-player[data-fit=content]:not(:fullscreen) {
|
|
2133
|
+
width: min(100cqw, calc(100cqh * var(--vx-video-ratio)));
|
|
2134
|
+
}
|
|
2135
|
+
dialog.vx-dialog.vx-dialog-inline:has(> .vx-dialog-body > .vx-video-player[data-fill-container=true]) {
|
|
2136
|
+
display: flex;
|
|
2137
|
+
justify-content: center;
|
|
2138
|
+
width: 100%;
|
|
2139
|
+
height: 100%;
|
|
2140
|
+
min-width: 0;
|
|
2141
|
+
min-height: 0;
|
|
2142
|
+
}
|
|
2143
|
+
.vx-video-player[data-fit=content][data-fill-container=true]:not(:fullscreen):not(.vx-video-dialog *) {
|
|
2144
|
+
display: flex;
|
|
2145
|
+
flex-direction: column;
|
|
2146
|
+
height: 100%;
|
|
2147
|
+
min-height: 0;
|
|
2148
|
+
}
|
|
2149
|
+
.vx-video-player[data-fit=content] .vx-video-stage {
|
|
2150
|
+
aspect-ratio: var(--vx-video-ratio);
|
|
2151
|
+
}
|
|
2152
|
+
.vx-video-player[data-fit=content][data-fill-container=true]:not(:fullscreen):not(.vx-video-dialog *) .vx-video-stage {
|
|
2153
|
+
flex: 1 1 0;
|
|
2154
|
+
min-height: 0;
|
|
2155
|
+
}
|
|
2156
|
+
.vx-video-player[data-fit=content][data-fill-container=true] .vx-video-stage > video {
|
|
2157
|
+
object-fit: contain;
|
|
2158
|
+
}
|
|
2159
|
+
.vx-video-player[data-fit=content]:fullscreen .vx-video-stage {
|
|
2160
|
+
aspect-ratio: auto;
|
|
2161
|
+
height: 100%;
|
|
2162
|
+
}
|
|
2163
|
+
.vx-video-player[data-fit=content]:fullscreen {
|
|
2164
|
+
display: block;
|
|
2165
|
+
}
|
|
1371
2166
|
.vx-video-player[data-placement=below] > .vx-playback-controls {
|
|
1372
2167
|
border-radius: 0;
|
|
1373
2168
|
}
|
|
1374
2169
|
.vx-video-stage {
|
|
1375
2170
|
position: relative;
|
|
1376
|
-
aspect-ratio: 16 / 9;
|
|
2171
|
+
aspect-ratio: var(--vx-video-ratio, 16 / 9);
|
|
1377
2172
|
overflow: hidden;
|
|
1378
2173
|
}
|
|
1379
2174
|
.vx-video-player:fullscreen {
|
|
@@ -1383,6 +2178,66 @@
|
|
|
1383
2178
|
.vx-video-player:fullscreen .vx-video-stage {
|
|
1384
2179
|
max-height: 100dvh;
|
|
1385
2180
|
}
|
|
2181
|
+
.vx-dialog.vx-video-dialog {
|
|
2182
|
+
width: min(960px, calc(100vw - 32px));
|
|
2183
|
+
margin: var(--vx-space-16) auto;
|
|
2184
|
+
}
|
|
2185
|
+
.vx-video-dialog .vx-video-stage {
|
|
2186
|
+
width: 100%;
|
|
2187
|
+
max-height: min(480px, calc(100dvh - 192px));
|
|
2188
|
+
}
|
|
2189
|
+
.vx-dialog.vx-video-dialog-frame {
|
|
2190
|
+
position: fixed;
|
|
2191
|
+
inset: 0;
|
|
2192
|
+
width: 100%;
|
|
2193
|
+
height: 100%;
|
|
2194
|
+
max-width: none;
|
|
2195
|
+
max-height: none;
|
|
2196
|
+
margin: 0;
|
|
2197
|
+
border: 0;
|
|
2198
|
+
border-radius: 0;
|
|
2199
|
+
box-shadow: none;
|
|
2200
|
+
background: var(--vx-black-black);
|
|
2201
|
+
overflow: hidden;
|
|
2202
|
+
animation: none;
|
|
2203
|
+
}
|
|
2204
|
+
.vx-dialog.vx-video-dialog-frame::backdrop {
|
|
2205
|
+
background: var(--vx-black-black);
|
|
2206
|
+
backdrop-filter: none;
|
|
2207
|
+
}
|
|
2208
|
+
.vx-dialog.vx-video-dialog-frame > header {
|
|
2209
|
+
position: absolute;
|
|
2210
|
+
z-index: 2;
|
|
2211
|
+
inset: var(--vx-space-8) var(--vx-space-8) auto auto;
|
|
2212
|
+
padding: 0;
|
|
2213
|
+
}
|
|
2214
|
+
.vx-video-dialog-frame > header > h2 {
|
|
2215
|
+
position: absolute;
|
|
2216
|
+
width: 1px;
|
|
2217
|
+
height: 1px;
|
|
2218
|
+
overflow: hidden;
|
|
2219
|
+
clip-path: inset(50%);
|
|
2220
|
+
white-space: nowrap;
|
|
2221
|
+
}
|
|
2222
|
+
.vx-video-dialog-frame > header > .vx-button {
|
|
2223
|
+
--vx-button-foreground: var(--vx-text-on-content-primary);
|
|
2224
|
+
--vx-button-background: var(--vx-overlay-tag);
|
|
2225
|
+
}
|
|
2226
|
+
.vx-video-dialog-frame > .vx-dialog-body {
|
|
2227
|
+
height: 100%;
|
|
2228
|
+
padding: 0;
|
|
2229
|
+
}
|
|
2230
|
+
.vx-video-dialog-frame .vx-video-player,
|
|
2231
|
+
.vx-video-dialog-frame .vx-video-stage {
|
|
2232
|
+
width: 100%;
|
|
2233
|
+
height: 100%;
|
|
2234
|
+
max-height: none;
|
|
2235
|
+
border-radius: 0;
|
|
2236
|
+
aspect-ratio: auto;
|
|
2237
|
+
}
|
|
2238
|
+
.vx-video-dialog-frame .vx-video-player {
|
|
2239
|
+
background: var(--vx-black-black);
|
|
2240
|
+
}
|
|
1386
2241
|
.vx-video-cover {
|
|
1387
2242
|
position: absolute;
|
|
1388
2243
|
inset: auto 0 0;
|
|
@@ -1393,13 +2248,24 @@
|
|
|
1393
2248
|
padding: var(--vx-space-20);
|
|
1394
2249
|
color: var(--vx-text-on-content-primary);
|
|
1395
2250
|
}
|
|
2251
|
+
.vx-video-cover {
|
|
2252
|
+
isolation: isolate;
|
|
2253
|
+
}
|
|
1396
2254
|
.vx-video-cover::before {
|
|
2255
|
+
z-index: -1;
|
|
1397
2256
|
position: absolute;
|
|
1398
2257
|
inset: 0;
|
|
1399
|
-
background:
|
|
2258
|
+
background:
|
|
2259
|
+
linear-gradient(
|
|
2260
|
+
180deg,
|
|
2261
|
+
rgb(0 0 0 / 0%) 0%,
|
|
2262
|
+
rgb(0 0 0 / 60%) 100%);
|
|
1400
2263
|
content: "";
|
|
1401
2264
|
pointer-events: none;
|
|
1402
2265
|
}
|
|
2266
|
+
.vx-video-cover[data-plain]::before {
|
|
2267
|
+
content: none;
|
|
2268
|
+
}
|
|
1403
2269
|
.vx-video-info {
|
|
1404
2270
|
position: relative;
|
|
1405
2271
|
flex: 1;
|
|
@@ -1530,11 +2396,819 @@
|
|
|
1530
2396
|
}
|
|
1531
2397
|
}
|
|
1532
2398
|
@scope ([data-vx-theme]) {
|
|
1533
|
-
.vx-media:is([data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
|
|
2399
|
+
.vx-media:is([data-empty=surface], [data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
|
|
1534
2400
|
background: var(--vx-surface-input);
|
|
1535
2401
|
color: var(--vx-text-placeholder);
|
|
1536
2402
|
}
|
|
1537
2403
|
}
|
|
2404
|
+
@scope ([data-vx-theme]) {
|
|
2405
|
+
.vx-cover-preview[data-cover-state=empty] {
|
|
2406
|
+
background: var(--vx-surface-input);
|
|
2407
|
+
}
|
|
2408
|
+
.vx-cover-preview[data-cover-state=empty] > .vx-icon {
|
|
2409
|
+
color: var(--vx-text-placeholder);
|
|
2410
|
+
}
|
|
2411
|
+
.vx-cover-preview[data-cover-state=loading] {
|
|
2412
|
+
position: relative;
|
|
2413
|
+
overflow: hidden;
|
|
2414
|
+
background: var(--vx-surface-input);
|
|
2415
|
+
}
|
|
2416
|
+
.vx-cover-preview[data-cover-state=loading] > :is(img, video) {
|
|
2417
|
+
opacity: 0;
|
|
2418
|
+
}
|
|
2419
|
+
.vx-cover-preview[data-cover-state=loading]::after {
|
|
2420
|
+
content: "";
|
|
2421
|
+
position: absolute;
|
|
2422
|
+
inset: 0;
|
|
2423
|
+
pointer-events: none;
|
|
2424
|
+
background:
|
|
2425
|
+
linear-gradient(
|
|
2426
|
+
105deg,
|
|
2427
|
+
transparent 20%,
|
|
2428
|
+
light-dark(var(--vx-white-white), color-mix(in srgb, var(--vx-white-white) 14%, transparent)) 50%,
|
|
2429
|
+
transparent 80%);
|
|
2430
|
+
animation: vx-cover-sweep 1.35s ease-in-out infinite;
|
|
2431
|
+
}
|
|
2432
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2433
|
+
.vx-cover-preview[data-cover-state=loading]::after {
|
|
2434
|
+
animation: none;
|
|
2435
|
+
content: none;
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
@keyframes vx-cover-sweep {
|
|
2440
|
+
from {
|
|
2441
|
+
transform: translateX(-100%);
|
|
2442
|
+
}
|
|
2443
|
+
to {
|
|
2444
|
+
transform: translateX(100%);
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
@scope ([data-vx-theme]) {
|
|
2448
|
+
.vx-frame-filmstrip {
|
|
2449
|
+
border-radius: inherit;
|
|
2450
|
+
}
|
|
2451
|
+
.vx-frame-range[data-variant=trim] {
|
|
2452
|
+
--vx-state-success: var(--vx-media-selection-color);
|
|
2453
|
+
background: var(--vx-surface-input);
|
|
2454
|
+
}
|
|
2455
|
+
.vx-frame-range[data-variant=trim] .vx-frame-selection {
|
|
2456
|
+
border-width: 1px;
|
|
2457
|
+
background: color-mix(in srgb, var(--vx-state-success) 20%, transparent);
|
|
2458
|
+
}
|
|
2459
|
+
.vx-frame-range[data-variant=trim] .vx-frame-handle {
|
|
2460
|
+
width: 24px;
|
|
2461
|
+
display: grid;
|
|
2462
|
+
place-items: center;
|
|
2463
|
+
background: transparent;
|
|
2464
|
+
}
|
|
2465
|
+
.vx-frame-range[data-variant=trim] .vx-frame-handle::after {
|
|
2466
|
+
width: 3px;
|
|
2467
|
+
height: 12px;
|
|
2468
|
+
margin: 0;
|
|
2469
|
+
border: 1px solid var(--vx-state-success);
|
|
2470
|
+
background: var(--vx-background-dialog);
|
|
2471
|
+
border-radius: 2px;
|
|
2472
|
+
}
|
|
2473
|
+
}
|
|
2474
|
+
@scope ([data-vx-theme]) {
|
|
2475
|
+
.vx-dialog.vx-video-dialog-fit {
|
|
2476
|
+
width: fit-content;
|
|
2477
|
+
max-width: calc(100vw - 32px);
|
|
2478
|
+
}
|
|
2479
|
+
.vx-video-dialog-fit .vx-video-player[data-fit=content] {
|
|
2480
|
+
width: min(926px, calc(100vw - 66px), calc(min(480px, 100dvh - 192px) * var(--vx-video-ratio)));
|
|
2481
|
+
min-width: min(200px, calc(100vw - 66px));
|
|
2482
|
+
}
|
|
2483
|
+
}
|
|
2484
|
+
@scope ([data-vx-theme]) {
|
|
2485
|
+
.vx-playback-controls[data-size=small][data-appearance=surface] {
|
|
2486
|
+
--vx-playback-button-size: 16px;
|
|
2487
|
+
--vx-playback-played: var(--vx-text-secondary-readable);
|
|
2488
|
+
--vx-playback-thumb-border: 1px solid var(--vx-border-secondary);
|
|
2489
|
+
--vx-playback-thumb-shadow: 0 1px 2px var(--vx-black-black-2a);
|
|
2490
|
+
--vx-playback-thumb-size: 8px;
|
|
2491
|
+
height: 28px;
|
|
2492
|
+
min-height: 28px;
|
|
2493
|
+
padding: var(--vx-space-2) 0;
|
|
2494
|
+
gap: var(--vx-space-4);
|
|
2495
|
+
background: transparent;
|
|
2496
|
+
color: var(--vx-text-secondary-readable);
|
|
2497
|
+
flex-wrap: nowrap;
|
|
2498
|
+
}
|
|
2499
|
+
.vx-playback-controls[data-size=small][data-appearance=surface] > .vx-button {
|
|
2500
|
+
--vx-button-foreground: var(--vx-text-secondary-readable);
|
|
2501
|
+
flex: none;
|
|
2502
|
+
width: 24px;
|
|
2503
|
+
min-width: 24px;
|
|
2504
|
+
height: 24px;
|
|
2505
|
+
min-height: 24px;
|
|
2506
|
+
padding: 0;
|
|
2507
|
+
}
|
|
2508
|
+
.vx-playback-controls[data-size=small][data-appearance=surface] > span {
|
|
2509
|
+
font: var(--vx-typography-inter-10-regular);
|
|
2510
|
+
font-variant-numeric: tabular-nums;
|
|
2511
|
+
}
|
|
2512
|
+
.vx-video-player:is([data-controls-size=small], [data-compact-cover=true]) {
|
|
2513
|
+
background: transparent;
|
|
2514
|
+
}
|
|
2515
|
+
.vx-video-player:is([data-controls-size=small], [data-compact-cover=true]) .vx-video-stage {
|
|
2516
|
+
background: var(--vx-black-black);
|
|
2517
|
+
border-radius: var(--vx-radius-xl);
|
|
2518
|
+
}
|
|
2519
|
+
.vx-video-player:is([data-controls-size=small], [data-compact-cover=true]) .vx-video-cover {
|
|
2520
|
+
min-height: 0;
|
|
2521
|
+
gap: var(--vx-space-8);
|
|
2522
|
+
padding: var(--vx-space-8);
|
|
2523
|
+
}
|
|
2524
|
+
.vx-video-player:is([data-controls-size=small], [data-compact-cover=true]) .vx-video-title strong {
|
|
2525
|
+
font: var(--vx-typography-inter-12-regular);
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
@scope ([data-vx-theme]) {
|
|
2529
|
+
:scope,
|
|
2530
|
+
:scope[data-vx-tier-container] > * {
|
|
2531
|
+
--vx-chat-playback-height: 32px;
|
|
2532
|
+
--vx-chat-playback-icon: 16px;
|
|
2533
|
+
--vx-chat-playback-hit: 24px;
|
|
2534
|
+
--vx-chat-playback-track: 8px;
|
|
2535
|
+
--vx-chat-playback-clock: var(--vx-typography-inter-10-semi-bold);
|
|
2536
|
+
--vx-chat-playback-tools-gap: var(--vx-space-8);
|
|
2537
|
+
--vx-chat-playback-dark-pad: var(--vx-space-8);
|
|
2538
|
+
--vx-chat-playback-dark-gap: var(--vx-space-8);
|
|
2539
|
+
--vx-chat-playback-dark-clock-gap: var(--vx-space-4);
|
|
2540
|
+
}
|
|
2541
|
+
@media (min-width: 501px) {
|
|
2542
|
+
:scope:not([data-vx-tier-container]) {
|
|
2543
|
+
--vx-chat-playback-height: 44px;
|
|
2544
|
+
--vx-chat-playback-icon: 24px;
|
|
2545
|
+
--vx-chat-playback-hit: 32px;
|
|
2546
|
+
--vx-chat-playback-track: 12px;
|
|
2547
|
+
--vx-chat-playback-clock: var(--vx-typography-inter-12-semi-bold);
|
|
2548
|
+
--vx-chat-playback-tools-gap: var(--vx-space-12);
|
|
2549
|
+
--vx-chat-playback-dark-pad: var(--vx-space-12);
|
|
2550
|
+
--vx-chat-playback-dark-gap: var(--vx-space-16);
|
|
2551
|
+
--vx-chat-playback-dark-clock-gap: var(--vx-space-8);
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
@container vx-tier (min-width: 501px) {
|
|
2555
|
+
:scope[data-vx-tier-container] > * {
|
|
2556
|
+
--vx-chat-playback-height: 44px;
|
|
2557
|
+
--vx-chat-playback-icon: 24px;
|
|
2558
|
+
--vx-chat-playback-hit: 32px;
|
|
2559
|
+
--vx-chat-playback-track: 12px;
|
|
2560
|
+
--vx-chat-playback-clock: var(--vx-typography-inter-12-semi-bold);
|
|
2561
|
+
--vx-chat-playback-tools-gap: var(--vx-space-12);
|
|
2562
|
+
--vx-chat-playback-dark-pad: var(--vx-space-12);
|
|
2563
|
+
--vx-chat-playback-dark-gap: var(--vx-space-16);
|
|
2564
|
+
--vx-chat-playback-dark-clock-gap: var(--vx-space-8);
|
|
2565
|
+
}
|
|
2566
|
+
}
|
|
2567
|
+
.vx-playback-action {
|
|
2568
|
+
--vx-icon-size: var(--vx-chat-playback-icon, 24px);
|
|
2569
|
+
position: relative;
|
|
2570
|
+
display: inline-flex;
|
|
2571
|
+
align-items: center;
|
|
2572
|
+
justify-content: center;
|
|
2573
|
+
width: var(--vx-chat-playback-icon, 24px);
|
|
2574
|
+
height: var(--vx-chat-playback-icon, 24px);
|
|
2575
|
+
color: inherit;
|
|
2576
|
+
flex-shrink: 0;
|
|
2577
|
+
}
|
|
2578
|
+
.vx-playback-controls[data-variant=chat][data-size][data-appearance] {
|
|
2579
|
+
height: var(--vx-chat-playback-height);
|
|
2580
|
+
min-height: var(--vx-chat-playback-height);
|
|
2581
|
+
flex-wrap: nowrap;
|
|
2582
|
+
align-items: center;
|
|
2583
|
+
padding: var(--vx-chat-bar-pad, var(--vx-space-8));
|
|
2584
|
+
gap: 0;
|
|
2585
|
+
--vx-chat-bar-gap: var(--vx-space-8);
|
|
2586
|
+
--vx-chat-bar-clock-gap: var(--vx-space-4);
|
|
2587
|
+
--vx-playback-button-size: var(--vx-chat-playback-icon);
|
|
2588
|
+
--vx-playback-track-height: var(--vx-chat-playback-track);
|
|
2589
|
+
--vx-playback-thumb-size: var(--vx-chat-playback-track);
|
|
2590
|
+
--vx-playback-played: var(--vx-icon-on-content-secondary);
|
|
2591
|
+
--vx-playback-unplayed: var(--vx-white-white-2a);
|
|
2592
|
+
--vx-playback-thumb-fill: var(--vx-warm-neutral-08);
|
|
2593
|
+
--vx-playback-thumb-border: 0;
|
|
2594
|
+
--vx-playback-thumb-shadow: none;
|
|
2595
|
+
color: var(--vx-playback-played);
|
|
2596
|
+
}
|
|
2597
|
+
.vx-playback-controls[data-variant=chat][data-size][data-appearance] > .vx-button {
|
|
2598
|
+
width: var(--vx-chat-playback-icon);
|
|
2599
|
+
height: var(--vx-chat-playback-icon);
|
|
2600
|
+
min-width: var(--vx-chat-playback-icon);
|
|
2601
|
+
min-height: var(--vx-chat-playback-icon);
|
|
2602
|
+
padding: 0;
|
|
2603
|
+
--vx-button-foreground: var(--vx-playback-played);
|
|
2604
|
+
--vx-button-icon-size: var(--vx-chat-playback-icon);
|
|
2605
|
+
color: var(--vx-playback-played);
|
|
2606
|
+
}
|
|
2607
|
+
.vx-playback-controls[data-variant=chat][data-time-display=split] {
|
|
2608
|
+
& > [data-time] {
|
|
2609
|
+
font: var(--vx-chat-playback-clock);
|
|
2610
|
+
}
|
|
2611
|
+
& > :not(:first-child) {
|
|
2612
|
+
margin-inline-start: var(--vx-chat-playback-tools-gap);
|
|
2613
|
+
}
|
|
2614
|
+
& > [data-time=elapsed],
|
|
2615
|
+
& > [data-time=duration] + * {
|
|
2616
|
+
margin-inline-start: var(--vx-chat-bar-gap);
|
|
2617
|
+
}
|
|
2618
|
+
& > [data-time=elapsed] + *,
|
|
2619
|
+
& > [data-time=duration] {
|
|
2620
|
+
margin-inline-start: var(--vx-chat-bar-clock-gap);
|
|
2621
|
+
}
|
|
2622
|
+
& > :is(.vx-button, .vx-playback-action)::after {
|
|
2623
|
+
content: "";
|
|
2624
|
+
position: absolute;
|
|
2625
|
+
inset: calc((var(--vx-chat-playback-icon) - var(--vx-chat-playback-hit)) / 2);
|
|
2626
|
+
}
|
|
2627
|
+
& > .vx-playback-range {
|
|
2628
|
+
height: var(--vx-chat-playback-hit, 24px);
|
|
2629
|
+
}
|
|
2630
|
+
}
|
|
2631
|
+
@container vx-video-player (max-width: 336px) {
|
|
2632
|
+
.vx-video-player[data-frame-expansion] > .vx-playback-controls[data-variant=chat] {
|
|
2633
|
+
--vx-chat-playback-height: 32px;
|
|
2634
|
+
--vx-chat-playback-icon: 16px;
|
|
2635
|
+
--vx-chat-playback-hit: 24px;
|
|
2636
|
+
--vx-chat-playback-clock: var(--vx-typography-inter-10-regular);
|
|
2637
|
+
--vx-chat-playback-tools-gap: var(--vx-space-4);
|
|
2638
|
+
--vx-chat-bar-pad: 0 var(--vx-space-4);
|
|
2639
|
+
--vx-chat-bar-gap: var(--vx-space-4);
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
.vx-playback-controls[data-variant=chat][data-single-video][data-time-display=split] {
|
|
2643
|
+
--vx-chat-bar-clock-gap: var(--vx-space-4);
|
|
2644
|
+
--vx-chat-playback-clock: var(--vx-typography-inter-10-regular);
|
|
2645
|
+
--vx-single-video-glyph-size: 11px;
|
|
2646
|
+
.vx-icon[data-icon]::before {
|
|
2647
|
+
--vx-single-video-glyph-scale: 1.21;
|
|
2648
|
+
mask-size: calc(var(--vx-single-video-glyph-size) * var(--vx-single-video-glyph-scale));
|
|
2649
|
+
}
|
|
2650
|
+
.vx-icon:is([data-icon=playback-play], [data-icon=playback-play-large])::before {
|
|
2651
|
+
--vx-single-video-glyph-scale: 1.6;
|
|
2652
|
+
}
|
|
2653
|
+
.vx-icon:is([data-icon=pause], [data-icon=pause-large])::before {
|
|
2654
|
+
--vx-single-video-glyph-scale: 1.5;
|
|
2655
|
+
}
|
|
2656
|
+
.vx-icon:is([data-icon=volume], [data-icon=volume-large], [data-icon=mute], [data-icon=mute-large])::before {
|
|
2657
|
+
--vx-single-video-glyph-scale: 1.1;
|
|
2658
|
+
}
|
|
2659
|
+
}
|
|
2660
|
+
@container vx-tier (min-width: 501px) {
|
|
2661
|
+
.vx-playback-controls[data-variant=chat][data-single-video][data-time-display=split] {
|
|
2662
|
+
--vx-chat-playback-clock: var(--vx-typography-inter-12-regular);
|
|
2663
|
+
--vx-single-video-glyph-size: 17px;
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
@media (min-width: 501px) {
|
|
2667
|
+
:scope:not([data-vx-tier-container]) .vx-playback-controls[data-variant=chat][data-single-video][data-time-display=split] {
|
|
2668
|
+
--vx-chat-playback-clock: var(--vx-typography-inter-12-regular);
|
|
2669
|
+
--vx-single-video-glyph-size: 17px;
|
|
2670
|
+
}
|
|
2671
|
+
}
|
|
2672
|
+
.vx-frame-range-timeline {
|
|
2673
|
+
display: grid;
|
|
2674
|
+
gap: var(--vx-space-4);
|
|
2675
|
+
min-width: 0;
|
|
2676
|
+
}
|
|
2677
|
+
.vx-frame-range-ticks {
|
|
2678
|
+
position: relative;
|
|
2679
|
+
height: 12px;
|
|
2680
|
+
color: var(--vx-text-secondary);
|
|
2681
|
+
font: var(--vx-typography-inter-10-regular);
|
|
2682
|
+
}
|
|
2683
|
+
.vx-frame-range-ticks > span {
|
|
2684
|
+
position: absolute;
|
|
2685
|
+
top: 0;
|
|
2686
|
+
line-height: 12px;
|
|
2687
|
+
white-space: nowrap;
|
|
2688
|
+
transform: translateX(-50%);
|
|
2689
|
+
}
|
|
2690
|
+
.vx-frame-range-ticks > span:first-child {
|
|
2691
|
+
transform: none;
|
|
2692
|
+
}
|
|
2693
|
+
.vx-frame-range-ticks > span:last-child {
|
|
2694
|
+
transform: translateX(-100%);
|
|
2695
|
+
}
|
|
2696
|
+
.vx-frame-range-track {
|
|
2697
|
+
container-type: inline-size;
|
|
2698
|
+
overflow-x: clip;
|
|
2699
|
+
}
|
|
2700
|
+
.vx-frame-range-track > .vx-frame-range {
|
|
2701
|
+
margin-inline: 0;
|
|
2702
|
+
}
|
|
2703
|
+
.vx-frame-range[data-variant=trim][data-appearance=chat] .vx-frame-filmstrip {
|
|
2704
|
+
opacity: 1;
|
|
2705
|
+
}
|
|
2706
|
+
.vx-frame-range[data-variant=trim][data-appearance=chat] .vx-frame-filmstrip::after {
|
|
2707
|
+
--vx-frame-dim: color-mix(in srgb, var(--vx-black-black) 40%, transparent);
|
|
2708
|
+
content: "";
|
|
2709
|
+
position: absolute;
|
|
2710
|
+
inset: 0;
|
|
2711
|
+
background:
|
|
2712
|
+
linear-gradient(
|
|
2713
|
+
to right,
|
|
2714
|
+
var(--vx-frame-dim) var(--vx-range-start),
|
|
2715
|
+
transparent var(--vx-range-start),
|
|
2716
|
+
transparent var(--vx-range-end),
|
|
2717
|
+
var(--vx-frame-dim) var(--vx-range-end));
|
|
2718
|
+
}
|
|
2719
|
+
.vx-frame-range[data-variant=trim][data-appearance=chat] .vx-frame-selection {
|
|
2720
|
+
place-items: start;
|
|
2721
|
+
border-width: 2px;
|
|
2722
|
+
padding: 2px;
|
|
2723
|
+
background: color-mix(in srgb, var(--vx-state-success) 30%, transparent);
|
|
2724
|
+
}
|
|
2725
|
+
.vx-frame-range[data-variant=trim][data-appearance=chat] .vx-frame-handle::after {
|
|
2726
|
+
position: absolute;
|
|
2727
|
+
left: calc(50% + var(--vx-space-2));
|
|
2728
|
+
}
|
|
2729
|
+
.vx-frame-range[data-variant=trim][data-appearance=chat] .vx-frame-handle[data-edge=end]::after {
|
|
2730
|
+
left: auto;
|
|
2731
|
+
right: calc(50% + var(--vx-space-2));
|
|
2732
|
+
}
|
|
2733
|
+
.vx-frame-range[data-variant=trim][data-appearance=chat] .vx-frame-selection > .vx-tag[data-variant=selected] {
|
|
2734
|
+
background: var(--vx-overlay-tag);
|
|
2735
|
+
max-width: calc(100cqw - 8px);
|
|
2736
|
+
transform: translateX(min(0px, calc(var(--vx-trim-label-space, 100cqw) - 8px - 100%)));
|
|
2737
|
+
overflow: hidden;
|
|
2738
|
+
text-overflow: ellipsis;
|
|
2739
|
+
}
|
|
2740
|
+
.vx-crop-overlay {
|
|
2741
|
+
position: absolute;
|
|
2742
|
+
inset: 0;
|
|
2743
|
+
overflow: hidden;
|
|
2744
|
+
pointer-events: none;
|
|
2745
|
+
}
|
|
2746
|
+
.vx-crop-overlay[data-avoid-bottom-controls=true] {
|
|
2747
|
+
container-type: size;
|
|
2748
|
+
}
|
|
2749
|
+
.vx-crop-rect {
|
|
2750
|
+
box-sizing: border-box;
|
|
2751
|
+
position: absolute;
|
|
2752
|
+
border: 2px solid var(--vx-white-white);
|
|
2753
|
+
box-shadow: 0 0 0 100vmax var(--vx-overlay-mask);
|
|
2754
|
+
}
|
|
2755
|
+
.vx-crop-move.vx-button {
|
|
2756
|
+
position: absolute;
|
|
2757
|
+
inset: 0;
|
|
2758
|
+
width: 100%;
|
|
2759
|
+
max-width: none;
|
|
2760
|
+
height: 100%;
|
|
2761
|
+
min-height: 0;
|
|
2762
|
+
padding: 0;
|
|
2763
|
+
border: 0;
|
|
2764
|
+
background: transparent;
|
|
2765
|
+
border-radius: 0;
|
|
2766
|
+
cursor: move;
|
|
2767
|
+
pointer-events: auto;
|
|
2768
|
+
touch-action: none;
|
|
2769
|
+
}
|
|
2770
|
+
.vx-crop-move .vx-button-content,
|
|
2771
|
+
.vx-crop-handle .vx-button-content {
|
|
2772
|
+
opacity: 0;
|
|
2773
|
+
width: 0;
|
|
2774
|
+
height: 0;
|
|
2775
|
+
overflow: hidden;
|
|
2776
|
+
}
|
|
2777
|
+
.vx-crop-grid {
|
|
2778
|
+
position: absolute;
|
|
2779
|
+
inset: 0;
|
|
2780
|
+
pointer-events: none;
|
|
2781
|
+
background-image:
|
|
2782
|
+
linear-gradient(
|
|
2783
|
+
to right,
|
|
2784
|
+
transparent calc(100% / 3 - 0.5px),
|
|
2785
|
+
var(--vx-white-white-5a) calc(100% / 3 - 0.5px),
|
|
2786
|
+
var(--vx-white-white-5a) calc(100% / 3 + 0.5px),
|
|
2787
|
+
transparent calc(100% / 3 + 0.5px)),
|
|
2788
|
+
linear-gradient(
|
|
2789
|
+
to right,
|
|
2790
|
+
transparent calc(200% / 3 - 0.5px),
|
|
2791
|
+
var(--vx-white-white-5a) calc(200% / 3 - 0.5px),
|
|
2792
|
+
var(--vx-white-white-5a) calc(200% / 3 + 0.5px),
|
|
2793
|
+
transparent calc(200% / 3 + 0.5px)),
|
|
2794
|
+
linear-gradient(
|
|
2795
|
+
to bottom,
|
|
2796
|
+
transparent calc(100% / 3 - 0.5px),
|
|
2797
|
+
var(--vx-white-white-5a) calc(100% / 3 - 0.5px),
|
|
2798
|
+
var(--vx-white-white-5a) calc(100% / 3 + 0.5px),
|
|
2799
|
+
transparent calc(100% / 3 + 0.5px)),
|
|
2800
|
+
linear-gradient(
|
|
2801
|
+
to bottom,
|
|
2802
|
+
transparent calc(200% / 3 - 0.5px),
|
|
2803
|
+
var(--vx-white-white-5a) calc(200% / 3 - 0.5px),
|
|
2804
|
+
var(--vx-white-white-5a) calc(200% / 3 + 0.5px),
|
|
2805
|
+
transparent calc(200% / 3 + 0.5px));
|
|
2806
|
+
}
|
|
2807
|
+
.vx-crop-handle.vx-button {
|
|
2808
|
+
position: absolute;
|
|
2809
|
+
width: 28px;
|
|
2810
|
+
height: 28px;
|
|
2811
|
+
max-width: none;
|
|
2812
|
+
padding: 0;
|
|
2813
|
+
pointer-events: auto;
|
|
2814
|
+
touch-action: none;
|
|
2815
|
+
border-radius: var(--vx-radius-full);
|
|
2816
|
+
background: transparent;
|
|
2817
|
+
}
|
|
2818
|
+
.vx-crop-handle::after {
|
|
2819
|
+
content: "";
|
|
2820
|
+
position: absolute;
|
|
2821
|
+
box-sizing: border-box;
|
|
2822
|
+
filter: drop-shadow(0 1px 2px var(--vx-black-black));
|
|
2823
|
+
}
|
|
2824
|
+
.vx-crop-handle[data-corner=nw] {
|
|
2825
|
+
top: 0;
|
|
2826
|
+
left: 0;
|
|
2827
|
+
cursor: nwse-resize;
|
|
2828
|
+
}
|
|
2829
|
+
.vx-crop-handle[data-corner=ne] {
|
|
2830
|
+
top: 0;
|
|
2831
|
+
right: 0;
|
|
2832
|
+
cursor: nesw-resize;
|
|
2833
|
+
}
|
|
2834
|
+
.vx-crop-handle[data-corner=sw] {
|
|
2835
|
+
bottom: 0;
|
|
2836
|
+
left: 0;
|
|
2837
|
+
cursor: nesw-resize;
|
|
2838
|
+
}
|
|
2839
|
+
.vx-crop-handle[data-corner=se] {
|
|
2840
|
+
bottom: 0;
|
|
2841
|
+
right: 0;
|
|
2842
|
+
cursor: nwse-resize;
|
|
2843
|
+
}
|
|
2844
|
+
.vx-crop-overlay .vx-crop-handle::after {
|
|
2845
|
+
width: 8px;
|
|
2846
|
+
height: 8px;
|
|
2847
|
+
border: 0;
|
|
2848
|
+
border-radius: 50%;
|
|
2849
|
+
background: var(--vx-white-white);
|
|
2850
|
+
}
|
|
2851
|
+
.vx-crop-overlay .vx-crop-handle[data-corner=nw]::after {
|
|
2852
|
+
top: -4px;
|
|
2853
|
+
left: -4px;
|
|
2854
|
+
}
|
|
2855
|
+
.vx-crop-overlay .vx-crop-handle[data-corner=ne]::after {
|
|
2856
|
+
top: -4px;
|
|
2857
|
+
right: -4px;
|
|
2858
|
+
}
|
|
2859
|
+
.vx-crop-overlay .vx-crop-handle[data-corner=sw]::after {
|
|
2860
|
+
bottom: -4px;
|
|
2861
|
+
left: -4px;
|
|
2862
|
+
}
|
|
2863
|
+
.vx-crop-overlay .vx-crop-handle[data-corner=se]::after {
|
|
2864
|
+
bottom: -4px;
|
|
2865
|
+
right: -4px;
|
|
2866
|
+
}
|
|
2867
|
+
.vx-crop-overlay[data-avoid-bottom-controls=true] .vx-crop-handle:is([data-corner=sw], [data-corner=se]) {
|
|
2868
|
+
bottom: max(0px, calc(var(--vx-chat-playback-height, 32px) + 4px - var(--vx-crop-space-below)));
|
|
2869
|
+
}
|
|
2870
|
+
.vx-crop-move.vx-button:focus-visible,
|
|
2871
|
+
.vx-crop-handle.vx-button:focus-visible {
|
|
2872
|
+
outline: 3px solid var(--vx-state-assistance);
|
|
2873
|
+
outline-offset: -3px;
|
|
2874
|
+
}
|
|
2875
|
+
}
|
|
2876
|
+
[data-vx-theme=light] .vx-playback-controls[data-variant=chat][data-size][data-appearance=surface] {
|
|
2877
|
+
--vx-playback-played: var(--vx-icon-secondary);
|
|
2878
|
+
--vx-playback-unplayed: var(--vx-border-primary);
|
|
2879
|
+
--vx-playback-thumb-fill: var(--vx-white-white);
|
|
2880
|
+
}
|
|
2881
|
+
[data-vx-theme=dark] .vx-playback-controls[data-variant=chat][data-time-display=split][data-appearance=surface] {
|
|
2882
|
+
--vx-chat-bar-pad: var(--vx-chat-playback-dark-pad);
|
|
2883
|
+
--vx-chat-bar-gap: var(--vx-chat-playback-dark-gap);
|
|
2884
|
+
--vx-chat-bar-clock-gap: var(--vx-chat-playback-dark-clock-gap);
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
/* packages/ui-system/dist/ratio-choices.css */
|
|
2888
|
+
@scope ([data-vx-theme]) {
|
|
2889
|
+
.vx-ratio-grid {
|
|
2890
|
+
display: grid;
|
|
2891
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
2892
|
+
gap: var(--vx-space-8);
|
|
2893
|
+
min-width: 0;
|
|
2894
|
+
}
|
|
2895
|
+
@container vx-tier (min-width: 501px) {
|
|
2896
|
+
.vx-ratio-grid[data-columns=responsive-8] {
|
|
2897
|
+
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
2898
|
+
}
|
|
2899
|
+
.vx-ratio-grid[data-columns=responsive-fit] {
|
|
2900
|
+
grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
|
|
2901
|
+
}
|
|
2902
|
+
}
|
|
2903
|
+
@container (min-width: 468px) {
|
|
2904
|
+
:scope:not([data-vx-tier-container]) .vx-ratio-grid[data-columns=responsive-8] {
|
|
2905
|
+
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
2906
|
+
}
|
|
2907
|
+
:scope:not([data-vx-tier-container]) .vx-ratio-grid[data-columns=responsive-fit] {
|
|
2908
|
+
grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
|
|
2909
|
+
}
|
|
2910
|
+
}
|
|
2911
|
+
.vx-ratio-option {
|
|
2912
|
+
box-sizing: border-box;
|
|
2913
|
+
display: flex;
|
|
2914
|
+
flex-direction: column;
|
|
2915
|
+
gap: var(--vx-space-4);
|
|
2916
|
+
align-items: center;
|
|
2917
|
+
justify-content: center;
|
|
2918
|
+
min-width: 0;
|
|
2919
|
+
min-height: 52px;
|
|
2920
|
+
padding: var(--vx-space-8) var(--vx-space-2) var(--vx-space-6);
|
|
2921
|
+
position: relative;
|
|
2922
|
+
border: 0;
|
|
2923
|
+
border-radius: var(--vx-radius-lg);
|
|
2924
|
+
background: var(--vx-background-dialog);
|
|
2925
|
+
color: var(--vx-text-secondary);
|
|
2926
|
+
font: var(--vx-typography-inter-12-medium);
|
|
2927
|
+
text-align: center;
|
|
2928
|
+
cursor: pointer;
|
|
2929
|
+
}
|
|
2930
|
+
.vx-ratio-option input {
|
|
2931
|
+
position: absolute;
|
|
2932
|
+
width: 1px;
|
|
2933
|
+
height: 1px;
|
|
2934
|
+
opacity: 0;
|
|
2935
|
+
}
|
|
2936
|
+
.vx-ratio-option[data-selected=true] {
|
|
2937
|
+
background: var(--vx-ratio-selected-surface, var(--vx-surface-input));
|
|
2938
|
+
color: var(--vx-text-primary);
|
|
2939
|
+
}
|
|
2940
|
+
.vx-ratio-option:has(input:focus-visible) {
|
|
2941
|
+
outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
|
|
2942
|
+
outline-offset: var(--vx-space-2);
|
|
2943
|
+
}
|
|
2944
|
+
.vx-ratio-option:has(input:disabled) {
|
|
2945
|
+
background: var(--vx-surface-disabled, var(--vx-surface-input-transparency));
|
|
2946
|
+
opacity: 0.5;
|
|
2947
|
+
cursor: not-allowed;
|
|
2948
|
+
}
|
|
2949
|
+
.vx-ratio-option[data-selected=true]:has(input:disabled) {
|
|
2950
|
+
background: var(--vx-ratio-selected-surface, var(--vx-surface-input));
|
|
2951
|
+
}
|
|
2952
|
+
.vx-ratio-glyph {
|
|
2953
|
+
display: grid;
|
|
2954
|
+
place-items: center;
|
|
2955
|
+
width: 16px;
|
|
2956
|
+
height: 16px;
|
|
2957
|
+
color: var(--vx-icon-secondary);
|
|
2958
|
+
flex: none;
|
|
2959
|
+
}
|
|
2960
|
+
.vx-ratio-option[data-selected=true] .vx-ratio-glyph {
|
|
2961
|
+
color: var(--vx-icon-primary);
|
|
2962
|
+
}
|
|
2963
|
+
.vx-ratio-glyph > span {
|
|
2964
|
+
box-sizing: border-box;
|
|
2965
|
+
border: var(--vx-border-width) solid currentColor;
|
|
2966
|
+
border-radius: var(--vx-radius-xs);
|
|
2967
|
+
}
|
|
2968
|
+
.vx-ratio-glyph[data-glyph] {
|
|
2969
|
+
background: currentColor;
|
|
2970
|
+
mask: var(--vx-ratio-mask) center / 16px 16px no-repeat;
|
|
2971
|
+
}
|
|
2972
|
+
.vx-ratio-glyph[data-glyph=original] {
|
|
2973
|
+
--vx-ratio-mask: url("./assets/original-LBKLUQVV.svg");
|
|
2974
|
+
}
|
|
2975
|
+
.vx-ratio-glyph[data-glyph=freeform] {
|
|
2976
|
+
--vx-ratio-mask: url("./assets/freeform-E5MLUKDE.svg");
|
|
2977
|
+
}
|
|
2978
|
+
.vx-ratio-glyph[data-glyph="9:16"] {
|
|
2979
|
+
--vx-ratio-mask: url("./assets/9-16-CYXX6QAR.svg");
|
|
2980
|
+
}
|
|
2981
|
+
.vx-ratio-glyph[data-glyph="16:9"] {
|
|
2982
|
+
--vx-ratio-mask: url("./assets/16-9-BAFQTZK7.svg");
|
|
2983
|
+
}
|
|
2984
|
+
.vx-ratio-glyph[data-glyph="3:4"] {
|
|
2985
|
+
--vx-ratio-mask: url("./assets/3-4-7YROL4JU.svg");
|
|
2986
|
+
}
|
|
2987
|
+
.vx-ratio-glyph[data-glyph="4:3"] {
|
|
2988
|
+
--vx-ratio-mask: url("./assets/4-3-YG4LTLGD.svg");
|
|
2989
|
+
}
|
|
2990
|
+
.vx-ratio-glyph[data-glyph="1:1"] {
|
|
2991
|
+
--vx-ratio-mask: url("./assets/1-1-WUUPNDJP.svg");
|
|
2992
|
+
}
|
|
2993
|
+
.vx-ratio-glyph[data-glyph="2:3"] {
|
|
2994
|
+
--vx-ratio-mask: url("./assets/2-3-WPG3UQBV.svg");
|
|
2995
|
+
}
|
|
2996
|
+
.vx-ratio-glyph[data-glyph="3:2"] {
|
|
2997
|
+
--vx-ratio-mask: url("./assets/3-2-YZTSUZ37.svg");
|
|
2998
|
+
}
|
|
2999
|
+
@container (max-width: 380px) {
|
|
3000
|
+
.vx-freeform-suffix {
|
|
3001
|
+
display: none;
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
}
|
|
3005
|
+
[data-vx-theme=light] .vx-ratio-option {
|
|
3006
|
+
--vx-ratio-selected-surface: var(--vx-warm-neutral-03);
|
|
3007
|
+
}
|
|
3008
|
+
|
|
3009
|
+
/* packages/ui-system/dist/asset-grid.css */
|
|
3010
|
+
.vx-asset-grid.vx-asset-grid {
|
|
3011
|
+
display: grid;
|
|
3012
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, calc((100% - 3 * var(--vx-space-16)) / 4))), 1fr));
|
|
3013
|
+
gap: var(--vx-space-16);
|
|
3014
|
+
align-content: start;
|
|
3015
|
+
padding: var(--vx-space-12) var(--vx-space-16);
|
|
3016
|
+
}
|
|
3017
|
+
.vx-asset-grid > .vx-asset-tile {
|
|
3018
|
+
position: relative;
|
|
3019
|
+
display: flex;
|
|
3020
|
+
flex-direction: column;
|
|
3021
|
+
align-items: stretch;
|
|
3022
|
+
gap: var(--vx-space-12);
|
|
3023
|
+
box-sizing: border-box;
|
|
3024
|
+
min-width: 0;
|
|
3025
|
+
padding: 0;
|
|
3026
|
+
border: 0;
|
|
3027
|
+
border-radius: 0;
|
|
3028
|
+
background: transparent;
|
|
3029
|
+
}
|
|
3030
|
+
.vx-asset-tile .vx-tile-preview {
|
|
3031
|
+
display: grid;
|
|
3032
|
+
place-items: center;
|
|
3033
|
+
width: 100%;
|
|
3034
|
+
aspect-ratio: 16 / 9;
|
|
3035
|
+
padding: 0;
|
|
3036
|
+
border: 0;
|
|
3037
|
+
border-radius: var(--vx-radius-xl);
|
|
3038
|
+
background: var(--vx-cover-background);
|
|
3039
|
+
color: var(--vx-text-on-content-secondary);
|
|
3040
|
+
overflow: hidden;
|
|
3041
|
+
}
|
|
3042
|
+
button.vx-tile-preview {
|
|
3043
|
+
cursor: pointer;
|
|
3044
|
+
}
|
|
3045
|
+
.vx-tile-preview > .sd-asset-preview {
|
|
3046
|
+
width: 100%;
|
|
3047
|
+
}
|
|
3048
|
+
.vx-asset-tile > .vx-checkbox {
|
|
3049
|
+
position: absolute;
|
|
3050
|
+
z-index: 1;
|
|
3051
|
+
inset: var(--vx-space-8) auto auto var(--vx-space-8);
|
|
3052
|
+
}
|
|
3053
|
+
.vx-asset-tile .vx-tile-caption {
|
|
3054
|
+
display: grid;
|
|
3055
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
3056
|
+
align-items: start;
|
|
3057
|
+
column-gap: var(--vx-space-8);
|
|
3058
|
+
padding-inline: var(--vx-space-8);
|
|
3059
|
+
}
|
|
3060
|
+
.vx-tile-caption .vx-tile-title {
|
|
3061
|
+
display: block;
|
|
3062
|
+
justify-self: start;
|
|
3063
|
+
min-width: 0;
|
|
3064
|
+
max-width: 100%;
|
|
3065
|
+
height: 26px;
|
|
3066
|
+
margin: 0;
|
|
3067
|
+
border: 0;
|
|
3068
|
+
padding: 4px 0;
|
|
3069
|
+
overflow: hidden;
|
|
3070
|
+
text-overflow: ellipsis;
|
|
3071
|
+
white-space: nowrap;
|
|
3072
|
+
text-align: start;
|
|
3073
|
+
background: transparent;
|
|
3074
|
+
color: var(--vx-text-primary);
|
|
3075
|
+
font: var(--vx-typography-inter-14-semi-bold);
|
|
3076
|
+
}
|
|
3077
|
+
button.vx-tile-title {
|
|
3078
|
+
cursor: pointer;
|
|
3079
|
+
}
|
|
3080
|
+
.vx-tile-caption > .vx-action-menu {
|
|
3081
|
+
grid-column: 2;
|
|
3082
|
+
grid-row: 1;
|
|
3083
|
+
}
|
|
3084
|
+
.vx-tile-caption > .vx-action-menu > .vx-button {
|
|
3085
|
+
width: 24px;
|
|
3086
|
+
height: 24px;
|
|
3087
|
+
padding: 0;
|
|
3088
|
+
}
|
|
3089
|
+
.vx-tile-caption .vx-tile-facts {
|
|
3090
|
+
grid-column: 1 / -1;
|
|
3091
|
+
min-width: 0;
|
|
3092
|
+
min-height: 16px;
|
|
3093
|
+
overflow: hidden;
|
|
3094
|
+
white-space: nowrap;
|
|
3095
|
+
text-overflow: ellipsis;
|
|
3096
|
+
color: var(--vx-text-secondary);
|
|
3097
|
+
font: var(--vx-typography-inter-12-regular);
|
|
3098
|
+
}
|
|
3099
|
+
.vx-tile-facts > span + span::before {
|
|
3100
|
+
content: "";
|
|
3101
|
+
display: inline-block;
|
|
3102
|
+
height: 8px;
|
|
3103
|
+
margin-inline: 6px;
|
|
3104
|
+
border-inline-start: 1px solid var(--vx-border-secondary);
|
|
3105
|
+
}
|
|
3106
|
+
.vx-asset-grid .vx-asset-tile :is(.studio-cover, .vx-media, .sd-video-thumbnail, .ad-asset-cover) {
|
|
3107
|
+
border-radius: var(--vx-radius-xl);
|
|
3108
|
+
}
|
|
3109
|
+
.vx-asset-grid .studio-cover {
|
|
3110
|
+
overflow: hidden;
|
|
3111
|
+
}
|
|
3112
|
+
.vx-asset-grid .studio-cover[data-kind=video]:has(.studio-cover-video) > .vx-media {
|
|
3113
|
+
background-color: transparent;
|
|
3114
|
+
}
|
|
3115
|
+
.vx-asset-reference-row {
|
|
3116
|
+
display: grid;
|
|
3117
|
+
grid-auto-flow: column;
|
|
3118
|
+
grid-auto-columns: minmax(0, var(--vx-space-32));
|
|
3119
|
+
align-items: center;
|
|
3120
|
+
gap: var(--vx-space-4);
|
|
3121
|
+
}
|
|
3122
|
+
.vx-asset-reference-row > * {
|
|
3123
|
+
max-width: 100%;
|
|
3124
|
+
min-width: 0;
|
|
3125
|
+
}
|
|
3126
|
+
.vx-asset-reference-count {
|
|
3127
|
+
display: grid;
|
|
3128
|
+
place-items: center;
|
|
3129
|
+
height: var(--vx-space-32);
|
|
3130
|
+
border-radius: var(--vx-radius-sm);
|
|
3131
|
+
background: var(--vx-surface-message);
|
|
3132
|
+
color: var(--vx-text-secondary-readable);
|
|
3133
|
+
font: var(--vx-typography-inter-12-medium);
|
|
3134
|
+
white-space: nowrap;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
/* packages/ui-system/dist/view-skeleton.css */
|
|
3138
|
+
.vx-view-skeleton {
|
|
3139
|
+
display: flex;
|
|
3140
|
+
flex-direction: column;
|
|
3141
|
+
min-inline-size: 0;
|
|
3142
|
+
overflow: hidden;
|
|
3143
|
+
grid-column: 1 / -1;
|
|
3144
|
+
gap: var(--vx-space-12);
|
|
3145
|
+
padding: var(--vx-space-8);
|
|
3146
|
+
}
|
|
3147
|
+
.vx-skeleton-heading,
|
|
3148
|
+
.vx-skeleton-media,
|
|
3149
|
+
.vx-skeleton-copy > span {
|
|
3150
|
+
display: block;
|
|
3151
|
+
border-radius: var(--vx-radius-md);
|
|
3152
|
+
background: var(--vx-surface-input);
|
|
3153
|
+
}
|
|
3154
|
+
.vx-skeleton-heading {
|
|
3155
|
+
margin: var(--vx-space-8) var(--vx-space-16);
|
|
3156
|
+
width: min(170px, 60%);
|
|
3157
|
+
height: 18px;
|
|
3158
|
+
}
|
|
3159
|
+
.vx-skeleton-content {
|
|
3160
|
+
display: grid;
|
|
3161
|
+
align-content: start;
|
|
3162
|
+
min-width: 0;
|
|
3163
|
+
gap: var(--vx-space-16);
|
|
3164
|
+
background: var(--vx-background-dialog);
|
|
3165
|
+
border-radius: var(--vx-radius-xl);
|
|
3166
|
+
padding: var(--vx-space-16);
|
|
3167
|
+
}
|
|
3168
|
+
.vx-skeleton-item {
|
|
3169
|
+
min-width: 0;
|
|
3170
|
+
}
|
|
3171
|
+
.vx-skeleton-media {
|
|
3172
|
+
width: 100%;
|
|
3173
|
+
aspect-ratio: 16 / 9;
|
|
3174
|
+
}
|
|
3175
|
+
.vx-skeleton-copy {
|
|
3176
|
+
display: grid;
|
|
3177
|
+
gap: var(--vx-space-8);
|
|
3178
|
+
margin-top: var(--vx-space-12);
|
|
3179
|
+
}
|
|
3180
|
+
.vx-skeleton-copy > span {
|
|
3181
|
+
width: 76%;
|
|
3182
|
+
height: 14px;
|
|
3183
|
+
}
|
|
3184
|
+
.vx-skeleton-copy > span:nth-child(even) {
|
|
3185
|
+
width: 54%;
|
|
3186
|
+
}
|
|
3187
|
+
.vx-view-skeleton[data-layout=list] .vx-skeleton-item {
|
|
3188
|
+
display: grid;
|
|
3189
|
+
align-items: center;
|
|
3190
|
+
grid-template-columns: minmax(72px, 16%) minmax(0, 1fr);
|
|
3191
|
+
gap: var(--vx-space-16);
|
|
3192
|
+
}
|
|
3193
|
+
.vx-view-skeleton[data-layout=list] .vx-skeleton-copy {
|
|
3194
|
+
margin: 0;
|
|
3195
|
+
}
|
|
3196
|
+
.vx-view-skeleton[data-layout=grid] .vx-skeleton-content {
|
|
3197
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
|
|
3198
|
+
}
|
|
3199
|
+
.vx-view-skeleton[data-layout=compare] .vx-skeleton-content {
|
|
3200
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
3201
|
+
}
|
|
3202
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
3203
|
+
.vx-view-skeleton :is(.vx-skeleton-heading, .vx-skeleton-media, .vx-skeleton-copy > span) {
|
|
3204
|
+
animation: vx-skeleton-pulse 1.5s ease-in-out infinite alternate;
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
@keyframes vx-skeleton-pulse {
|
|
3208
|
+
to {
|
|
3209
|
+
opacity: 0.5;
|
|
3210
|
+
}
|
|
3211
|
+
}
|
|
1538
3212
|
|
|
1539
3213
|
/* packages/ui-system/dist/overlays.css */
|
|
1540
3214
|
@scope ([data-vx-theme]) {
|
|
@@ -1551,13 +3225,16 @@
|
|
|
1551
3225
|
box-sizing: border-box;
|
|
1552
3226
|
width: min(224px, calc(100vw - 16px));
|
|
1553
3227
|
max-height: min(480px, 50vh);
|
|
1554
|
-
overflow: auto;
|
|
3228
|
+
overflow: hidden auto;
|
|
1555
3229
|
padding: var(--vx-space-4);
|
|
1556
3230
|
border: var(--vx-border-width) solid var(--vx-border-secondary);
|
|
1557
3231
|
border-radius: var(--vx-radius-xl);
|
|
1558
3232
|
background: var(--vx-background-dialog);
|
|
1559
3233
|
box-shadow: var(--vx-shadow-menu);
|
|
1560
3234
|
}
|
|
3235
|
+
.vx-action-menu-items > button + button {
|
|
3236
|
+
margin-block-start: var(--vx-space-2);
|
|
3237
|
+
}
|
|
1561
3238
|
.vx-action-menu-items > button {
|
|
1562
3239
|
display: flex;
|
|
1563
3240
|
align-items: center;
|
|
@@ -1576,7 +3253,33 @@
|
|
|
1576
3253
|
.vx-action-menu-items > button[data-size=large] {
|
|
1577
3254
|
min-height: 48px;
|
|
1578
3255
|
}
|
|
1579
|
-
.vx-action-menu-items > button
|
|
3256
|
+
.vx-action-menu-items > button[data-tone=danger]:not(:disabled) {
|
|
3257
|
+
color: var(--vx-state-danger);
|
|
3258
|
+
}
|
|
3259
|
+
.vx-action-menu-items[data-with-previews] {
|
|
3260
|
+
width: min(360px, calc(100vw - var(--vx-space-16)));
|
|
3261
|
+
}
|
|
3262
|
+
.vx-menu-preview {
|
|
3263
|
+
flex: none;
|
|
3264
|
+
display: grid;
|
|
3265
|
+
grid-template: minmax(0, 1fr) / minmax(0, 1fr);
|
|
3266
|
+
width: 80px;
|
|
3267
|
+
aspect-ratio: 16 / 9;
|
|
3268
|
+
border-radius: var(--vx-radius-sm);
|
|
3269
|
+
overflow: hidden;
|
|
3270
|
+
background: var(--vx-cover-background);
|
|
3271
|
+
}
|
|
3272
|
+
.vx-menu-preview > .vx-cover-preview {
|
|
3273
|
+
display: grid;
|
|
3274
|
+
place-items: center;
|
|
3275
|
+
grid-template: minmax(0, 1fr) / minmax(0, 1fr);
|
|
3276
|
+
}
|
|
3277
|
+
.vx-menu-preview :is(img, video) {
|
|
3278
|
+
width: 100%;
|
|
3279
|
+
height: 100%;
|
|
3280
|
+
object-fit: contain;
|
|
3281
|
+
}
|
|
3282
|
+
.vx-action-menu-items > button > .vx-menu-label {
|
|
1580
3283
|
flex: 1;
|
|
1581
3284
|
overflow-wrap: anywhere;
|
|
1582
3285
|
}
|
|
@@ -1584,46 +3287,130 @@
|
|
|
1584
3287
|
color: var(--vx-text-placeholder);
|
|
1585
3288
|
cursor: not-allowed;
|
|
1586
3289
|
}
|
|
1587
|
-
.vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true]):not(:disabled) {
|
|
3290
|
+
.vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true], [aria-expanded=true]):not(:disabled) {
|
|
3291
|
+
background: var(--vx-surface-hover);
|
|
3292
|
+
}
|
|
3293
|
+
.vx-action-menu-items > button:focus-visible {
|
|
3294
|
+
outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
|
|
3295
|
+
outline-offset: calc(-1 * var(--vx-focus-ring-width));
|
|
3296
|
+
}
|
|
3297
|
+
.vx-filter-menu {
|
|
3298
|
+
box-sizing: border-box;
|
|
3299
|
+
width: min(224px, calc(100vw - 16px));
|
|
3300
|
+
max-height: min(460px, calc(100dvh - 16px));
|
|
3301
|
+
overflow: hidden;
|
|
3302
|
+
inset: auto;
|
|
3303
|
+
position-area: bottom center;
|
|
3304
|
+
position-try-fallbacks:
|
|
3305
|
+
bottom span-left,
|
|
3306
|
+
bottom span-right,
|
|
3307
|
+
top center,
|
|
3308
|
+
top span-left,
|
|
3309
|
+
top span-right;
|
|
3310
|
+
margin: 6px 0;
|
|
3311
|
+
padding: var(--vx-space-4);
|
|
3312
|
+
border: var(--vx-divider-width) solid var(--vx-border-secondary);
|
|
3313
|
+
border-radius: 12px;
|
|
3314
|
+
background: var(--vx-background-dialog);
|
|
3315
|
+
color: var(--vx-text-primary);
|
|
3316
|
+
box-shadow: 0 4px 16px rgb(0 0 0 / 25%);
|
|
3317
|
+
}
|
|
3318
|
+
.vx-filter-menu:popover-open {
|
|
3319
|
+
display: flex;
|
|
3320
|
+
flex-direction: column;
|
|
3321
|
+
gap: 2px;
|
|
3322
|
+
}
|
|
3323
|
+
.vx-filter-scroll {
|
|
3324
|
+
position: relative;
|
|
3325
|
+
min-height: 0;
|
|
3326
|
+
display: flex;
|
|
3327
|
+
flex-direction: column;
|
|
3328
|
+
}
|
|
3329
|
+
.vx-filter-scroll[data-more-below]::after {
|
|
3330
|
+
content: "";
|
|
3331
|
+
position: absolute;
|
|
3332
|
+
inset: auto 0 0;
|
|
3333
|
+
height: min(60px, 35%);
|
|
3334
|
+
background:
|
|
3335
|
+
linear-gradient(
|
|
3336
|
+
to bottom,
|
|
3337
|
+
transparent,
|
|
3338
|
+
var(--vx-background-dialog));
|
|
3339
|
+
pointer-events: none;
|
|
3340
|
+
}
|
|
3341
|
+
.vx-filter-menu .vx-filter-groups {
|
|
3342
|
+
min-height: 0;
|
|
3343
|
+
overflow-y: auto;
|
|
3344
|
+
overscroll-behavior: contain;
|
|
3345
|
+
scrollbar-width: none;
|
|
3346
|
+
}
|
|
3347
|
+
.vx-filter-menu .vx-filter-options {
|
|
3348
|
+
display: grid;
|
|
3349
|
+
padding: 0;
|
|
3350
|
+
gap: 2px;
|
|
3351
|
+
margin-block-start: 2px;
|
|
3352
|
+
}
|
|
3353
|
+
.vx-filter-menu details + details::before {
|
|
3354
|
+
content: "";
|
|
3355
|
+
display: block;
|
|
3356
|
+
height: var(--vx-divider-width);
|
|
3357
|
+
margin: 2px 12px;
|
|
3358
|
+
background: var(--vx-border-secondary);
|
|
3359
|
+
}
|
|
3360
|
+
.vx-filter-menu details + details {
|
|
3361
|
+
border: 0;
|
|
3362
|
+
}
|
|
3363
|
+
.vx-filter-menu summary,
|
|
3364
|
+
.vx-filter-options .vx-checkbox {
|
|
3365
|
+
box-sizing: border-box;
|
|
3366
|
+
display: flex;
|
|
3367
|
+
align-items: center;
|
|
3368
|
+
justify-content: space-between;
|
|
3369
|
+
min-height: 36px;
|
|
3370
|
+
padding: 0 12px;
|
|
3371
|
+
cursor: pointer;
|
|
3372
|
+
}
|
|
3373
|
+
.vx-filter-menu summary {
|
|
3374
|
+
font: var(--vx-typography-inter-14-semi-bold);
|
|
3375
|
+
list-style: none;
|
|
3376
|
+
}
|
|
3377
|
+
.vx-filter-menu summary::-webkit-details-marker {
|
|
3378
|
+
display: none;
|
|
3379
|
+
}
|
|
3380
|
+
.vx-filter-menu summary > .vx-icon {
|
|
3381
|
+
color: var(--vx-text-secondary);
|
|
3382
|
+
}
|
|
3383
|
+
.vx-filter-menu details[open] > summary .vx-icon {
|
|
3384
|
+
rotate: 180deg;
|
|
3385
|
+
}
|
|
3386
|
+
.vx-filter-options .vx-checkbox {
|
|
3387
|
+
width: 100%;
|
|
3388
|
+
flex-direction: row-reverse;
|
|
3389
|
+
font: var(--vx-typography-inter-14-regular);
|
|
3390
|
+
}
|
|
3391
|
+
.vx-filter-options .vx-checkbox:hover,
|
|
3392
|
+
.vx-filter-menu summary:hover {
|
|
3393
|
+
border-radius: 8px;
|
|
1588
3394
|
background: var(--vx-surface-hover);
|
|
1589
3395
|
}
|
|
1590
|
-
.vx-
|
|
1591
|
-
|
|
1592
|
-
outline-offset: calc(-1 * var(--vx-focus-ring-width));
|
|
1593
|
-
}
|
|
1594
|
-
.vx-filter-menu {
|
|
1595
|
-
box-sizing: border-box;
|
|
1596
|
-
width: min(280px, calc(100vw - 16px));
|
|
1597
|
-
max-height: min(480px, calc(100dvh - 16px));
|
|
1598
|
-
overflow: auto;
|
|
1599
|
-
inset: auto;
|
|
1600
|
-
position-area: bottom span-right;
|
|
1601
|
-
position-try-fallbacks:
|
|
1602
|
-
flip-inline,
|
|
1603
|
-
flip-block,
|
|
1604
|
-
flip-block flip-inline;
|
|
1605
|
-
margin: var(--vx-space-4) 0;
|
|
1606
|
-
padding: var(--vx-space-8);
|
|
1607
|
-
border: var(--vx-border-width) solid var(--vx-border-secondary);
|
|
1608
|
-
border-radius: var(--vx-radius-xl);
|
|
1609
|
-
background: var(--vx-background-dialog);
|
|
1610
|
-
color: var(--vx-text-primary);
|
|
1611
|
-
box-shadow: var(--vx-shadow-menu);
|
|
1612
|
-
}
|
|
1613
|
-
.vx-filter-menu summary {
|
|
1614
|
-
padding: var(--vx-space-8);
|
|
1615
|
-
cursor: pointer;
|
|
3396
|
+
.vx-filter-menu .vx-checkbox-input:not(:checked) + .vx-checkbox-mark {
|
|
3397
|
+
border-color: var(--vx-border-primary);
|
|
1616
3398
|
}
|
|
1617
|
-
.vx-filter-menu
|
|
1618
|
-
|
|
3399
|
+
.vx-filter-menu .vx-checkbox-mark .vx-icon {
|
|
3400
|
+
--vx-icon-size: 12px;
|
|
1619
3401
|
}
|
|
1620
|
-
.vx-filter-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
3402
|
+
.vx-filter-menu footer {
|
|
3403
|
+
box-sizing: border-box;
|
|
3404
|
+
display: flex;
|
|
3405
|
+
align-items: center;
|
|
3406
|
+
flex: none;
|
|
3407
|
+
height: 44px;
|
|
3408
|
+
padding-inline: var(--vx-space-8);
|
|
3409
|
+
border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
|
|
1624
3410
|
}
|
|
1625
|
-
.vx-filter-menu > .vx-button {
|
|
1626
|
-
|
|
3411
|
+
.vx-filter-menu footer > .vx-button {
|
|
3412
|
+
width: 100%;
|
|
3413
|
+
flex: none;
|
|
1627
3414
|
}
|
|
1628
3415
|
.vx-annotation-tools {
|
|
1629
3416
|
display: inline-flex;
|
|
@@ -1692,36 +3479,57 @@
|
|
|
1692
3479
|
justify-content: flex-end;
|
|
1693
3480
|
flex-wrap: wrap;
|
|
1694
3481
|
}
|
|
1695
|
-
.vx-dialog h2 {
|
|
3482
|
+
.vx-dialog > header > h2 {
|
|
1696
3483
|
margin: 0;
|
|
1697
|
-
font: var(--vx-typography-inter-
|
|
3484
|
+
font: var(--vx-typography-inter-18-semi-bold);
|
|
3485
|
+
}
|
|
3486
|
+
dialog.vx-dialog.vx-dialog-inline {
|
|
3487
|
+
position: static;
|
|
3488
|
+
display: block;
|
|
3489
|
+
width: auto;
|
|
3490
|
+
max-width: none;
|
|
3491
|
+
max-height: none;
|
|
3492
|
+
margin: 0;
|
|
3493
|
+
padding: 0;
|
|
3494
|
+
border: 0;
|
|
3495
|
+
border-radius: 0;
|
|
3496
|
+
background: transparent;
|
|
3497
|
+
box-shadow: none;
|
|
3498
|
+
overflow: visible;
|
|
3499
|
+
}
|
|
3500
|
+
.vx-dialog-inline > :is(header, footer) {
|
|
3501
|
+
display: none;
|
|
3502
|
+
}
|
|
3503
|
+
.vx-dialog-inline > .vx-dialog-body {
|
|
3504
|
+
display: contents;
|
|
1698
3505
|
}
|
|
1699
|
-
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) {
|
|
3506
|
+
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) {
|
|
1700
3507
|
--vx-dialog-section-gap: var(--vx-space-24);
|
|
1701
3508
|
--vx-dialog-footer-inset: var(--vx-space-24);
|
|
1702
3509
|
width: min(var(--vx-dialog-small-width), calc(100vw - var(--vx-space-32)));
|
|
1703
3510
|
padding: var(--vx-dialog-padding);
|
|
1704
3511
|
border: var(--vx-border-width) solid var(--vx-surface-input);
|
|
1705
3512
|
border-radius: var(--vx-dialog-radius);
|
|
1706
|
-
|
|
3513
|
+
scrollbar-gutter: stable;
|
|
3514
|
+
overflow: scroll auto;
|
|
1707
3515
|
}
|
|
1708
|
-
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header {
|
|
3516
|
+
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header {
|
|
1709
3517
|
padding: 0;
|
|
1710
3518
|
margin: 0 var(--vx-space-32) var(--vx-dialog-section-gap) 0;
|
|
1711
3519
|
}
|
|
1712
|
-
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header h2 {
|
|
3520
|
+
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header h2 {
|
|
1713
3521
|
font: var(--vx-typography-inter-18-semi-bold);
|
|
1714
3522
|
}
|
|
1715
|
-
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header > .vx-button {
|
|
3523
|
+
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header > .vx-button {
|
|
1716
3524
|
position: absolute;
|
|
1717
3525
|
top: 15px;
|
|
1718
3526
|
right: 15px;
|
|
1719
3527
|
}
|
|
1720
|
-
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > .vx-dialog-body {
|
|
3528
|
+
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > .vx-dialog-body {
|
|
1721
3529
|
min-width: 0;
|
|
1722
3530
|
padding: 0;
|
|
1723
3531
|
}
|
|
1724
|
-
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > footer {
|
|
3532
|
+
.vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > footer {
|
|
1725
3533
|
margin-top: var(--vx-dialog-section-gap);
|
|
1726
3534
|
padding: var(--vx-dialog-footer-inset) 0 0;
|
|
1727
3535
|
border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
|
|
@@ -1750,9 +3558,9 @@
|
|
|
1750
3558
|
}
|
|
1751
3559
|
.vx-toast {
|
|
1752
3560
|
position: fixed;
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
3561
|
+
--vx-toast-top: max(var(--vx-space-16), env(safe-area-inset-top));
|
|
3562
|
+
inset: var(--vx-toast-top) auto auto 50%;
|
|
3563
|
+
margin: 0;
|
|
1756
3564
|
transform: translateX(-50%);
|
|
1757
3565
|
display: flex;
|
|
1758
3566
|
align-items: center;
|
|
@@ -1769,8 +3577,18 @@
|
|
|
1769
3577
|
font: var(--vx-typography-inter-12-medium);
|
|
1770
3578
|
pointer-events: none;
|
|
1771
3579
|
}
|
|
1772
|
-
|
|
1773
|
-
|
|
3580
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
3581
|
+
.vx-dialog:modal,
|
|
3582
|
+
[role=dialog]:not(dialog, [popover], [hidden]),
|
|
3583
|
+
[role=dialog][popover]:popover-open {
|
|
3584
|
+
animation: vx-dialog-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
|
|
3585
|
+
}
|
|
3586
|
+
.vx-dialog:modal::backdrop {
|
|
3587
|
+
animation: vx-backdrop-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
|
|
3588
|
+
}
|
|
3589
|
+
.vx-toast:popover-open {
|
|
3590
|
+
animation: vx-toast-enter var(--vx-motion-duration-enter) var(--vx-motion-easing-enter);
|
|
3591
|
+
}
|
|
1774
3592
|
}
|
|
1775
3593
|
.vx-prompt-hint {
|
|
1776
3594
|
display: grid;
|
|
@@ -1788,6 +3606,34 @@
|
|
|
1788
3606
|
min-height: 120px;
|
|
1789
3607
|
}
|
|
1790
3608
|
}
|
|
3609
|
+
@keyframes vx-toast-enter {
|
|
3610
|
+
from {
|
|
3611
|
+
transform: translate(-50%, calc(-100% - var(--vx-toast-top)));
|
|
3612
|
+
}
|
|
3613
|
+
to {
|
|
3614
|
+
transform: translate(-50%, 0);
|
|
3615
|
+
}
|
|
3616
|
+
}
|
|
3617
|
+
@keyframes vx-dialog-enter {
|
|
3618
|
+
from {
|
|
3619
|
+
opacity: 0;
|
|
3620
|
+
translate: 0 8px;
|
|
3621
|
+
scale: 0.98;
|
|
3622
|
+
}
|
|
3623
|
+
to {
|
|
3624
|
+
opacity: 1;
|
|
3625
|
+
translate: 0 0;
|
|
3626
|
+
scale: 1;
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
@keyframes vx-backdrop-enter {
|
|
3630
|
+
from {
|
|
3631
|
+
opacity: 0;
|
|
3632
|
+
}
|
|
3633
|
+
to {
|
|
3634
|
+
opacity: 1;
|
|
3635
|
+
}
|
|
3636
|
+
}
|
|
1791
3637
|
|
|
1792
3638
|
/* packages/ui-system/dist/styles.css */
|
|
1793
3639
|
@font-face {
|
|
@@ -1796,6 +3642,12 @@
|
|
|
1796
3642
|
font-weight: 400;
|
|
1797
3643
|
font-display: swap;
|
|
1798
3644
|
}
|
|
3645
|
+
@font-face {
|
|
3646
|
+
font-family: "Vivix Studio Inter";
|
|
3647
|
+
src: url("./assets/inter-latin-900-normal-FKACR3DR.woff2") format("woff2");
|
|
3648
|
+
font-weight: 900;
|
|
3649
|
+
font-display: swap;
|
|
3650
|
+
}
|
|
1799
3651
|
@font-face {
|
|
1800
3652
|
font-family: "Vivix Studio Inter";
|
|
1801
3653
|
src: url("./assets/inter-latin-500-normal-W62DVTXI.woff2") format("woff2");
|
|
@@ -1815,6 +3667,12 @@
|
|
|
1815
3667
|
font-display: swap;
|
|
1816
3668
|
}
|
|
1817
3669
|
@scope ([data-vx-theme]) {
|
|
3670
|
+
:scope[data-vx-tier-container] {
|
|
3671
|
+
container: vx-tier / inline-size;
|
|
3672
|
+
}
|
|
3673
|
+
:where(h1, h2, h3, h4, h5, h6, b, strong, th) {
|
|
3674
|
+
font-weight: 600;
|
|
3675
|
+
}
|
|
1818
3676
|
.vx-icon {
|
|
1819
3677
|
display: inline-block;
|
|
1820
3678
|
flex: none;
|
|
@@ -1833,6 +3691,24 @@
|
|
|
1833
3691
|
background: currentColor;
|
|
1834
3692
|
mask: var(--vx-icon-mask) center / contain no-repeat;
|
|
1835
3693
|
}
|
|
3694
|
+
.vx-icon[data-icon=copy] {
|
|
3695
|
+
--vx-icon-mask: url("./assets/copy-document-EF4PHM7F.svg");
|
|
3696
|
+
}
|
|
3697
|
+
.vx-icon[data-icon=upload] {
|
|
3698
|
+
--vx-icon-mask: url("./assets/upload-U5RZT5QI.svg");
|
|
3699
|
+
}
|
|
3700
|
+
.vx-icon[data-icon=refresh] {
|
|
3701
|
+
--vx-icon-mask: url("./assets/refresh-WQ3CTB57.svg");
|
|
3702
|
+
}
|
|
3703
|
+
.vx-icon[data-icon=replace] {
|
|
3704
|
+
--vx-icon-mask: url("./assets/replace-PJXDOQDX.svg");
|
|
3705
|
+
}
|
|
3706
|
+
.vx-icon[data-icon=chevrons-up-down] {
|
|
3707
|
+
--vx-icon-mask: url("./assets/chevrons-up-down-KDZMS6DI.svg");
|
|
3708
|
+
}
|
|
3709
|
+
.vx-icon[data-icon=add-circle] {
|
|
3710
|
+
--vx-icon-mask: url("./assets/add-circle-RPMXNTWW.svg");
|
|
3711
|
+
}
|
|
1836
3712
|
.vx-icon[data-icon=add] {
|
|
1837
3713
|
--vx-icon-mask: url("./assets/add-JY533O73.svg");
|
|
1838
3714
|
}
|
|
@@ -1867,7 +3743,7 @@
|
|
|
1867
3743
|
--vx-icon-height: 75.02%;
|
|
1868
3744
|
}
|
|
1869
3745
|
.vx-icon[data-icon=search] {
|
|
1870
|
-
--vx-icon-mask: url("./assets/search-
|
|
3746
|
+
--vx-icon-mask: url("./assets/search-FMYQZJWA.svg");
|
|
1871
3747
|
--vx-icon-width: 82.5%;
|
|
1872
3748
|
--vx-icon-height: 82.5%;
|
|
1873
3749
|
}
|
|
@@ -1886,9 +3762,18 @@
|
|
|
1886
3762
|
--vx-icon-height: 86.46%;
|
|
1887
3763
|
--vx-icon-mask: url("./assets/magic-OMME7FOV.svg");
|
|
1888
3764
|
}
|
|
3765
|
+
.vx-icon[data-icon=select-items] {
|
|
3766
|
+
--vx-icon-mask: url("./assets/select-items-GJZIVO37.svg");
|
|
3767
|
+
}
|
|
3768
|
+
.vx-icon[data-icon=filter] {
|
|
3769
|
+
--vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
|
|
3770
|
+
}
|
|
1889
3771
|
.vx-icon[data-icon=select] {
|
|
1890
3772
|
--vx-icon-mask: url("./assets/select-VU7WR7B4.svg");
|
|
1891
3773
|
}
|
|
3774
|
+
.vx-icon[data-icon=filter] {
|
|
3775
|
+
--vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
|
|
3776
|
+
}
|
|
1892
3777
|
.vx-icon[data-icon=area] {
|
|
1893
3778
|
--vx-icon-mask: url("./assets/area-P2WOMBT5.svg");
|
|
1894
3779
|
}
|
|
@@ -1919,6 +3804,9 @@
|
|
|
1919
3804
|
.vx-icon[data-icon=fullscreen] {
|
|
1920
3805
|
--vx-icon-mask: url("./assets/fullscreen-L2JCXIN2.svg");
|
|
1921
3806
|
}
|
|
3807
|
+
.vx-icon[data-icon=fullscreen-exit] {
|
|
3808
|
+
--vx-icon-mask: url("./assets/fullscreen-exit-ADYOPBYH.svg");
|
|
3809
|
+
}
|
|
1922
3810
|
.vx-icon[data-icon=sound-file] {
|
|
1923
3811
|
--vx-icon-mask: url("./assets/sound-file-YYY6VNYN.svg");
|
|
1924
3812
|
}
|
|
@@ -1947,6 +3835,24 @@
|
|
|
1947
3835
|
.vx-icon[data-icon=export] {
|
|
1948
3836
|
--vx-icon-mask: url("./assets/export-W2OBXZDQ.svg");
|
|
1949
3837
|
}
|
|
3838
|
+
.vx-icon[data-icon=favorite] {
|
|
3839
|
+
--vx-icon-mask: url("./assets/favorite-6GMNHJCN.svg");
|
|
3840
|
+
}
|
|
3841
|
+
[aria-pressed=true] .vx-icon[data-icon=favorite] {
|
|
3842
|
+
--vx-icon-mask: url("./assets/favorite-filled-FR74TEBM.svg");
|
|
3843
|
+
}
|
|
3844
|
+
.vx-icon[data-icon=download] {
|
|
3845
|
+
--vx-icon-mask: url("./assets/download-VTKCEAZG.svg");
|
|
3846
|
+
}
|
|
3847
|
+
.vx-icon[data-icon=delete] {
|
|
3848
|
+
--vx-icon-mask: url("./assets/delete-4Y3OUMEL.svg");
|
|
3849
|
+
}
|
|
3850
|
+
.vx-icon[data-icon=trim] {
|
|
3851
|
+
--vx-icon-mask: url("./assets/trim-LQMHHN2M.svg");
|
|
3852
|
+
}
|
|
3853
|
+
.vx-icon[data-icon=crop] {
|
|
3854
|
+
--vx-icon-mask: url("./assets/crop-5JXWHIPN.svg");
|
|
3855
|
+
}
|
|
1950
3856
|
.vx-icon[data-icon=edit] {
|
|
1951
3857
|
--vx-icon-mask: url("./assets/edit-JUVJDD5A.svg");
|
|
1952
3858
|
}
|
|
@@ -1973,6 +3879,66 @@
|
|
|
1973
3879
|
.vx-icon[data-icon=fullscreen-large] {
|
|
1974
3880
|
--vx-icon-mask: url("./assets/fullscreen-large-MPLIWDMI.svg");
|
|
1975
3881
|
}
|
|
3882
|
+
.vx-icon[data-icon=captions] {
|
|
3883
|
+
--vx-icon-mask: url("./assets/captions-16-55I6JRWY.svg");
|
|
3884
|
+
}
|
|
3885
|
+
}
|
|
3886
|
+
@scope ([data-vx-theme]) {
|
|
3887
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat]):is([data-icon=playback-play], [data-icon=playback-play-large])::before {
|
|
3888
|
+
--vx-chat-glyph-app: url("./assets/play-16-5B2LZITW.svg");
|
|
3889
|
+
--vx-chat-glyph-web: url("./assets/play-24-3IPXXAC4.svg");
|
|
3890
|
+
}
|
|
3891
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat]):is([data-icon=pause], [data-icon=pause-large])::before {
|
|
3892
|
+
--vx-chat-glyph-app: url("./assets/pause-16-444PD7SY.svg");
|
|
3893
|
+
--vx-chat-glyph-web: url("./assets/pause-24-WQXRNLW3.svg");
|
|
3894
|
+
}
|
|
3895
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat]):is([data-icon=volume], [data-icon=volume-large])::before {
|
|
3896
|
+
--vx-chat-glyph-app: url("./assets/volume-16-ENYWJAGG.svg");
|
|
3897
|
+
--vx-chat-glyph-web: url("./assets/volume-24-MVQ6CAXW.svg");
|
|
3898
|
+
}
|
|
3899
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat]):is([data-icon=mute], [data-icon=mute-large])::before {
|
|
3900
|
+
--vx-chat-glyph-app: url("./assets/volume-off-16-ALKG7632.svg");
|
|
3901
|
+
--vx-chat-glyph-web: url("./assets/volume-off-24-2R4VED3N.svg");
|
|
3902
|
+
}
|
|
3903
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat])[data-icon=download]::before {
|
|
3904
|
+
--vx-chat-glyph-app: url("./assets/download-16-QVS2YNPN.svg");
|
|
3905
|
+
--vx-chat-glyph-web: url("./assets/download-24-ARCWU2MF.svg");
|
|
3906
|
+
}
|
|
3907
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat])[data-icon=grid]::before {
|
|
3908
|
+
--vx-chat-glyph-app: url("./assets/grid-16-POIO22HZ.svg");
|
|
3909
|
+
--vx-chat-glyph-web: url("./assets/grid-24-U6IRT56K.svg");
|
|
3910
|
+
}
|
|
3911
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat])[data-icon=list]::before {
|
|
3912
|
+
--vx-chat-glyph-app: url("./assets/list-16-YAVTLHXZ.svg");
|
|
3913
|
+
--vx-chat-glyph-web: url("./assets/list-24-O6WDB6WJ.svg");
|
|
3914
|
+
}
|
|
3915
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat]):is([data-icon=fullscreen], [data-icon=fullscreen-large])::before {
|
|
3916
|
+
--vx-chat-glyph-app: url("./assets/expand-diagonal-16-QUIZSPJN.svg");
|
|
3917
|
+
--vx-chat-glyph-web: url("./assets/expand-diagonal-24-XPK72ILY.svg");
|
|
3918
|
+
}
|
|
3919
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat])[data-icon=fullscreen-exit]::before {
|
|
3920
|
+
--vx-chat-glyph-app: url("./assets/collapse-diagonal-16-2IRQGCLB.svg");
|
|
3921
|
+
--vx-chat-glyph-web: url("./assets/collapse-diagonal-24-GHD6Z54K.svg");
|
|
3922
|
+
}
|
|
3923
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat])[data-icon=captions]::before {
|
|
3924
|
+
--vx-chat-glyph-app: url("./assets/captions-16-55I6JRWY.svg");
|
|
3925
|
+
--vx-chat-glyph-web: url("./assets/captions-24-4YNDEZZX.svg");
|
|
3926
|
+
}
|
|
3927
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat])[data-icon]::before {
|
|
3928
|
+
mask-image: var(--vx-chat-glyph-app, var(--vx-icon-mask));
|
|
3929
|
+
width: 100%;
|
|
3930
|
+
height: 100%;
|
|
3931
|
+
}
|
|
3932
|
+
@container vx-tier (min-width: 501px) {
|
|
3933
|
+
:is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat])[data-icon]::before {
|
|
3934
|
+
mask-image: var(--vx-chat-glyph-web, var(--vx-icon-mask));
|
|
3935
|
+
}
|
|
3936
|
+
}
|
|
3937
|
+
@container (min-width: 501px) {
|
|
3938
|
+
:scope:not([data-vx-tier-container]) :is([data-icon-set=chat] .vx-icon, .vx-icon[data-icon-set=chat])[data-icon]::before {
|
|
3939
|
+
mask-image: var(--vx-chat-glyph-web, var(--vx-icon-mask));
|
|
3940
|
+
}
|
|
3941
|
+
}
|
|
1976
3942
|
}
|
|
1977
3943
|
|
|
1978
3944
|
/* packages/media-tools/src/ui/styles.css */
|
|
@@ -2003,16 +3969,18 @@
|
|
|
2003
3969
|
}
|
|
2004
3970
|
.mt-editor .vx-dialog > header {
|
|
2005
3971
|
height: auto;
|
|
3972
|
+
min-height: 0;
|
|
2006
3973
|
border: 0;
|
|
2007
3974
|
padding: 24px 24px 0;
|
|
2008
3975
|
margin-bottom: 24px;
|
|
2009
3976
|
}
|
|
2010
3977
|
.mt-editor .vx-dialog > header h2 {
|
|
2011
|
-
font:
|
|
3978
|
+
font: var(--vx-typography-inter-18-semi-bold);
|
|
2012
3979
|
}
|
|
2013
3980
|
.mt-editor .vx-dialog > header > button {
|
|
2014
|
-
|
|
2015
|
-
|
|
3981
|
+
position: absolute;
|
|
3982
|
+
inset: 15px 15px auto auto;
|
|
3983
|
+
margin: 0;
|
|
2016
3984
|
}
|
|
2017
3985
|
.mt-editor .vx-dialog-body {
|
|
2018
3986
|
padding: 0 24px;
|
|
@@ -2020,22 +3988,51 @@
|
|
|
2020
3988
|
.mt-editor .vx-dialog > footer {
|
|
2021
3989
|
padding: 32px 24px 24px;
|
|
2022
3990
|
}
|
|
2023
|
-
.mt-editor
|
|
3991
|
+
.mt-editor .vx-dialog[open] {
|
|
2024
3992
|
display: flex;
|
|
2025
3993
|
flex-direction: column;
|
|
2026
3994
|
overflow: hidden;
|
|
2027
3995
|
}
|
|
2028
|
-
.mt-editor
|
|
3996
|
+
.mt-editor .vx-dialog > :is(header, footer) {
|
|
2029
3997
|
flex-shrink: 0;
|
|
2030
3998
|
}
|
|
2031
|
-
.mt-editor
|
|
3999
|
+
.mt-editor .vx-dialog-body {
|
|
2032
4000
|
min-height: 0;
|
|
2033
|
-
overflow:
|
|
2034
|
-
|
|
2035
|
-
|
|
4001
|
+
overflow-x: hidden;
|
|
4002
|
+
overflow-y: auto;
|
|
4003
|
+
}
|
|
4004
|
+
.mt-editor-content {
|
|
4005
|
+
display: flex;
|
|
4006
|
+
flex-direction: column;
|
|
4007
|
+
gap: var(--vx-space-16);
|
|
4008
|
+
}
|
|
4009
|
+
.mt-editor-content .vx-playback-controls > span {
|
|
4010
|
+
display: none;
|
|
4011
|
+
}
|
|
4012
|
+
.mt-editor-content .vx-frame-selection .vx-tag {
|
|
4013
|
+
font: var(--vx-typography-inter-12-medium);
|
|
4014
|
+
font-variant-numeric: tabular-nums;
|
|
4015
|
+
}
|
|
4016
|
+
.mt-editor-content > * {
|
|
4017
|
+
flex-shrink: 0;
|
|
4018
|
+
}
|
|
4019
|
+
.mt-editor-content > p {
|
|
4020
|
+
margin: 0;
|
|
4021
|
+
}
|
|
4022
|
+
.mt-adjustments {
|
|
4023
|
+
display: grid;
|
|
4024
|
+
gap: var(--vx-space-16);
|
|
4025
|
+
min-width: 0;
|
|
4026
|
+
}
|
|
4027
|
+
.mt-adjustments > p {
|
|
4028
|
+
margin: 0;
|
|
4029
|
+
}
|
|
4030
|
+
.mt-adjustments .vx-segment {
|
|
4031
|
+
overflow-x: auto;
|
|
2036
4032
|
}
|
|
2037
4033
|
.mt-editor-actions {
|
|
2038
4034
|
display: flex;
|
|
4035
|
+
flex-wrap: wrap;
|
|
2039
4036
|
align-items: center;
|
|
2040
4037
|
justify-content: space-between;
|
|
2041
4038
|
width: 100%;
|
|
@@ -2047,17 +4044,19 @@
|
|
|
2047
4044
|
}
|
|
2048
4045
|
.mt-editor-confirm {
|
|
2049
4046
|
display: flex;
|
|
4047
|
+
margin-inline-start: auto;
|
|
2050
4048
|
align-items: center;
|
|
2051
4049
|
gap: 8px;
|
|
2052
4050
|
}
|
|
2053
4051
|
.mt-editor .mt-editor-hint {
|
|
2054
|
-
|
|
4052
|
+
font: var(--vx-typography-inter-14-regular);
|
|
2055
4053
|
display: flex;
|
|
2056
4054
|
justify-content: space-between;
|
|
2057
4055
|
gap: 8px;
|
|
2058
4056
|
color: var(--vx-text-secondary);
|
|
2059
4057
|
font-size: 14px;
|
|
2060
|
-
margin:
|
|
4058
|
+
margin: 0;
|
|
4059
|
+
flex-wrap: wrap;
|
|
2061
4060
|
}
|
|
2062
4061
|
.mt-editor-hint > [role=status] {
|
|
2063
4062
|
white-space: nowrap;
|
|
@@ -2101,9 +4100,9 @@
|
|
|
2101
4100
|
background:
|
|
2102
4101
|
linear-gradient(
|
|
2103
4102
|
to right,
|
|
2104
|
-
var(--vx-
|
|
4103
|
+
var(--vx-black-black-4a) 0 var(--vx-range-start),
|
|
2105
4104
|
transparent var(--vx-range-start) var(--vx-range-end),
|
|
2106
|
-
var(--vx-
|
|
4105
|
+
var(--vx-black-black-4a) var(--vx-range-end) 100%);
|
|
2107
4106
|
}
|
|
2108
4107
|
.mt-editor .vx-frame-range[data-variant=trim] {
|
|
2109
4108
|
border-radius: 8px;
|
|
@@ -2136,6 +4135,18 @@
|
|
|
2136
4135
|
border-radius: 1.822px;
|
|
2137
4136
|
background: var(--vx-green-dark);
|
|
2138
4137
|
}
|
|
4138
|
+
.mt-editor .vx-frame-handle:focus-visible {
|
|
4139
|
+
outline: none;
|
|
4140
|
+
}
|
|
4141
|
+
.mt-editor .vx-frame-handle:focus-visible::after {
|
|
4142
|
+
outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
|
|
4143
|
+
outline-offset: 2px;
|
|
4144
|
+
}
|
|
4145
|
+
@media (forced-colors: active) {
|
|
4146
|
+
.mt-editor .vx-frame-handle:focus-visible::after {
|
|
4147
|
+
outline-color: Highlight;
|
|
4148
|
+
}
|
|
4149
|
+
}
|
|
2139
4150
|
.mt-editor .vx-frame-handle::before {
|
|
2140
4151
|
content: "";
|
|
2141
4152
|
position: absolute;
|
|
@@ -2148,18 +4159,6 @@
|
|
|
2148
4159
|
border-radius: 0.911px;
|
|
2149
4160
|
background: var(--vx-text-on-content-primary);
|
|
2150
4161
|
}
|
|
2151
|
-
.mt-precision {
|
|
2152
|
-
margin-top: 12px;
|
|
2153
|
-
color: var(--vx-text-secondary);
|
|
2154
|
-
font-size: 12px;
|
|
2155
|
-
}
|
|
2156
|
-
.mt-precision > summary {
|
|
2157
|
-
cursor: pointer;
|
|
2158
|
-
width: fit-content;
|
|
2159
|
-
}
|
|
2160
|
-
.mt-precision .mt-fields {
|
|
2161
|
-
color: var(--vx-text-primary);
|
|
2162
|
-
}
|
|
2163
4162
|
.mt-player {
|
|
2164
4163
|
position: relative;
|
|
2165
4164
|
background: #000;
|
|
@@ -2231,6 +4230,36 @@
|
|
|
2231
4230
|
.mt-editor[data-mode=crop] .mt-picture {
|
|
2232
4231
|
overflow: visible;
|
|
2233
4232
|
}
|
|
4233
|
+
.mt-editor[data-mode=crop] .mt-editor-content {
|
|
4234
|
+
container-type: inline-size;
|
|
4235
|
+
}
|
|
4236
|
+
.mt-editor[data-mode=crop] .mt-player:not(:fullscreen) {
|
|
4237
|
+
height: 56.25cqw;
|
|
4238
|
+
}
|
|
4239
|
+
.mt-editor[data-mode=crop] .mt-player > .vx-playback-controls {
|
|
4240
|
+
flex: 0 0 44px;
|
|
4241
|
+
width: 100%;
|
|
4242
|
+
}
|
|
4243
|
+
.mt-editor[data-mode=crop] .vx-segment {
|
|
4244
|
+
background: var(--vx-surface-input);
|
|
4245
|
+
scrollbar-width: none;
|
|
4246
|
+
}
|
|
4247
|
+
.mt-editor[data-mode=crop] .vx-segment > label {
|
|
4248
|
+
flex: 1 0 0;
|
|
4249
|
+
min-width: 0;
|
|
4250
|
+
}
|
|
4251
|
+
.mt-editor[data-mode=crop] .vx-segment-item {
|
|
4252
|
+
min-width: max-content;
|
|
4253
|
+
padding-inline: 6px;
|
|
4254
|
+
}
|
|
4255
|
+
.mt-editor .mt-editor-confirm .vx-button {
|
|
4256
|
+
font: var(--vx-typography-inter-16-medium);
|
|
4257
|
+
}
|
|
4258
|
+
@media (max-width: 560px) {
|
|
4259
|
+
.mt-editor[data-mode=crop] .vx-segment > label {
|
|
4260
|
+
flex: 1 0 auto;
|
|
4261
|
+
}
|
|
4262
|
+
}
|
|
2234
4263
|
.mt-crop-shade {
|
|
2235
4264
|
position: absolute;
|
|
2236
4265
|
inset: 0;
|
|
@@ -2300,7 +4329,7 @@
|
|
|
2300
4329
|
box-sizing: border-box;
|
|
2301
4330
|
background: var(--vx-text-on-content-primary);
|
|
2302
4331
|
border: 0.64px solid var(--vx-text-secondary);
|
|
2303
|
-
border-radius:
|
|
4332
|
+
border-radius: 50%;
|
|
2304
4333
|
}
|
|
2305
4334
|
.mt-crop-handle[data-corner=nw] {
|
|
2306
4335
|
left: -14px;
|
|
@@ -2340,11 +4369,14 @@
|
|
|
2340
4369
|
width: 100%;
|
|
2341
4370
|
box-sizing: border-box;
|
|
2342
4371
|
padding: 8px 10px;
|
|
2343
|
-
border:
|
|
4372
|
+
border: 0;
|
|
2344
4373
|
border-radius: 6px;
|
|
2345
4374
|
background: var(--vx-background-dialog);
|
|
2346
4375
|
color: inherit;
|
|
2347
4376
|
}
|
|
4377
|
+
.mt-fields select {
|
|
4378
|
+
border: 1px solid var(--vx-border-secondary);
|
|
4379
|
+
}
|
|
2348
4380
|
.mt-root .mt-subtitle,
|
|
2349
4381
|
.mt-root .mt-help {
|
|
2350
4382
|
line-height: 1.5;
|
|
@@ -2377,7 +4409,7 @@
|
|
|
2377
4409
|
display: grid;
|
|
2378
4410
|
grid-template-rows: auto auto auto auto;
|
|
2379
4411
|
column-gap: 16px;
|
|
2380
|
-
overflow-x:
|
|
4412
|
+
overflow-x: scroll;
|
|
2381
4413
|
padding-bottom: 8px;
|
|
2382
4414
|
}
|
|
2383
4415
|
.mt-compare-column {
|
|
@@ -2403,7 +4435,7 @@
|
|
|
2403
4435
|
min-width: 0;
|
|
2404
4436
|
overflow: hidden;
|
|
2405
4437
|
border-radius: 12px;
|
|
2406
|
-
background: var(--vx-
|
|
4438
|
+
background: var(--vx-cover-background);
|
|
2407
4439
|
}
|
|
2408
4440
|
.mt-compare-preview :is(.mt-player, .vx-video-player) {
|
|
2409
4441
|
height: 100%;
|
|
@@ -2418,17 +4450,10 @@
|
|
|
2418
4450
|
background: transparent;
|
|
2419
4451
|
}
|
|
2420
4452
|
.mt-compare-preview .vx-video-cover {
|
|
2421
|
-
background: linear-gradient(transparent 45%, #0009);
|
|
2422
4453
|
align-items: end;
|
|
2423
4454
|
justify-items: end;
|
|
2424
4455
|
padding: 20px;
|
|
2425
4456
|
}
|
|
2426
|
-
.mt-compare-preview .vx-video-cover > div {
|
|
2427
|
-
display: block;
|
|
2428
|
-
inset: auto 64px 20px 20px;
|
|
2429
|
-
font-size: 16px;
|
|
2430
|
-
line-height: 24px;
|
|
2431
|
-
}
|
|
2432
4457
|
.mt-compare-preview .vx-video-cover > button {
|
|
2433
4458
|
background: var(--vx-white-white);
|
|
2434
4459
|
color: var(--vx-black-black);
|
|
@@ -2504,6 +4529,13 @@
|
|
|
2504
4529
|
flex-wrap: wrap;
|
|
2505
4530
|
align-items: center;
|
|
2506
4531
|
}
|
|
4532
|
+
.mt-compare-preview .mt-empty {
|
|
4533
|
+
gap: var(--vx-space-8);
|
|
4534
|
+
color: var(--vx-text-on-content-secondary);
|
|
4535
|
+
}
|
|
4536
|
+
.mt-compare-preview .mt-empty > p {
|
|
4537
|
+
margin: 0;
|
|
4538
|
+
}
|
|
2507
4539
|
.mt-empty {
|
|
2508
4540
|
padding: 30px 16px;
|
|
2509
4541
|
text-align: center;
|
|
@@ -2573,3 +4605,158 @@
|
|
|
2573
4605
|
flex: 1 0 auto;
|
|
2574
4606
|
}
|
|
2575
4607
|
}
|
|
4608
|
+
|
|
4609
|
+
/* packages/media-tools/src/ui/export-dialog.css */
|
|
4610
|
+
.vx-dialog.mt-export-dialog {
|
|
4611
|
+
box-sizing: border-box;
|
|
4612
|
+
width: min(1080px, calc(100% - 32px));
|
|
4613
|
+
max-width: none;
|
|
4614
|
+
max-height: calc(100dvh - 32px);
|
|
4615
|
+
padding: 24px;
|
|
4616
|
+
border: 1px solid var(--vx-surface-input);
|
|
4617
|
+
border-radius: 16px;
|
|
4618
|
+
box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
|
|
4619
|
+
overflow: auto;
|
|
4620
|
+
}
|
|
4621
|
+
.vx-dialog.mt-export-dialog > header,
|
|
4622
|
+
.vx-dialog.mt-export-dialog > .vx-dialog-body,
|
|
4623
|
+
.vx-dialog.mt-export-dialog > footer {
|
|
4624
|
+
padding: 0;
|
|
4625
|
+
}
|
|
4626
|
+
.vx-dialog.mt-export-dialog > header {
|
|
4627
|
+
min-height: 23px;
|
|
4628
|
+
margin-bottom: 24px;
|
|
4629
|
+
}
|
|
4630
|
+
.vx-dialog.mt-export-dialog > header h2 {
|
|
4631
|
+
font: var(--vx-typography-inter-18-semi-bold);
|
|
4632
|
+
}
|
|
4633
|
+
.vx-dialog.mt-export-dialog > header .vx-button {
|
|
4634
|
+
position: absolute;
|
|
4635
|
+
top: 15px;
|
|
4636
|
+
right: 15px;
|
|
4637
|
+
}
|
|
4638
|
+
.vx-dialog.mt-export-dialog > footer {
|
|
4639
|
+
margin-top: 24px;
|
|
4640
|
+
padding-top: calc(24px + var(--vx-divider-width));
|
|
4641
|
+
box-shadow: inset 0 var(--vx-divider-width) var(--vx-border-secondary);
|
|
4642
|
+
}
|
|
4643
|
+
.vx-dialog.mt-export-dialog > footer .vx-button {
|
|
4644
|
+
height: 44px;
|
|
4645
|
+
padding-inline: 20px;
|
|
4646
|
+
border-radius: 8px;
|
|
4647
|
+
font: var(--vx-typography-inter-16-medium);
|
|
4648
|
+
}
|
|
4649
|
+
.vx-dialog.mt-export-dialog > footer .vx-button:first-child {
|
|
4650
|
+
inline-size: 101px;
|
|
4651
|
+
}
|
|
4652
|
+
.vx-dialog.mt-export-dialog > footer .vx-button:last-child {
|
|
4653
|
+
min-inline-size: 99px;
|
|
4654
|
+
}
|
|
4655
|
+
.mt-export-layout {
|
|
4656
|
+
display: grid;
|
|
4657
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
|
|
4658
|
+
align-items: start;
|
|
4659
|
+
gap: 24px;
|
|
4660
|
+
}
|
|
4661
|
+
.mt-export-options {
|
|
4662
|
+
min-width: 0;
|
|
4663
|
+
display: grid;
|
|
4664
|
+
gap: 16px;
|
|
4665
|
+
padding-bottom: 3.5px;
|
|
4666
|
+
font: var(--vx-typography-inter-14-regular);
|
|
4667
|
+
}
|
|
4668
|
+
.mt-export-options .vx-field,
|
|
4669
|
+
.mt-export-options dl > div {
|
|
4670
|
+
display: grid;
|
|
4671
|
+
gap: 4px;
|
|
4672
|
+
color: var(--vx-text-secondary);
|
|
4673
|
+
}
|
|
4674
|
+
.mt-export-options .vx-field {
|
|
4675
|
+
padding-bottom: calc(16px + var(--vx-divider-width));
|
|
4676
|
+
box-shadow: inset 0 calc(-1 * var(--vx-divider-width)) var(--vx-border-secondary);
|
|
4677
|
+
font: var(--vx-typography-inter-14-regular);
|
|
4678
|
+
}
|
|
4679
|
+
.mt-export-options .vx-field input {
|
|
4680
|
+
box-sizing: border-box;
|
|
4681
|
+
width: 100%;
|
|
4682
|
+
padding: 7px 8px;
|
|
4683
|
+
margin: 0;
|
|
4684
|
+
border: 0;
|
|
4685
|
+
border-radius: 6px;
|
|
4686
|
+
background: var(--vx-surface-input);
|
|
4687
|
+
color: var(--vx-text-primary);
|
|
4688
|
+
font: var(--vx-typography-inter-14-regular);
|
|
4689
|
+
}
|
|
4690
|
+
.mt-export-options .vx-field > span {
|
|
4691
|
+
font: var(--vx-typography-inter-14-regular);
|
|
4692
|
+
}
|
|
4693
|
+
.mt-export-options dd {
|
|
4694
|
+
margin: 0;
|
|
4695
|
+
min-width: 0;
|
|
4696
|
+
}
|
|
4697
|
+
.mt-export-options .vx-dropdown-trigger {
|
|
4698
|
+
border-radius: 6px;
|
|
4699
|
+
padding-inline: 12px 8px;
|
|
4700
|
+
}
|
|
4701
|
+
.mt-export-options dl {
|
|
4702
|
+
display: grid;
|
|
4703
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
4704
|
+
gap: 16px 8px;
|
|
4705
|
+
margin: 0;
|
|
4706
|
+
}
|
|
4707
|
+
.mt-export-options dl > div:first-child,
|
|
4708
|
+
.mt-export-options dl > div:last-child {
|
|
4709
|
+
grid-column: 1/-1;
|
|
4710
|
+
}
|
|
4711
|
+
.mt-export-options dl > div:last-child {
|
|
4712
|
+
padding-top: calc(16px + var(--vx-divider-width));
|
|
4713
|
+
box-shadow: inset 0 var(--vx-divider-width) var(--vx-border-secondary);
|
|
4714
|
+
}
|
|
4715
|
+
.mt-export-status {
|
|
4716
|
+
display: flex;
|
|
4717
|
+
align-items: center;
|
|
4718
|
+
flex-wrap: wrap;
|
|
4719
|
+
gap: 8px;
|
|
4720
|
+
}
|
|
4721
|
+
.mt-export-error {
|
|
4722
|
+
margin: 0;
|
|
4723
|
+
color: var(--vx-state-danger);
|
|
4724
|
+
overflow-wrap: anywhere;
|
|
4725
|
+
}
|
|
4726
|
+
@media (max-width: 760px) {
|
|
4727
|
+
.vx-dialog.mt-export-dialog {
|
|
4728
|
+
padding: 16px;
|
|
4729
|
+
}
|
|
4730
|
+
.mt-export-layout {
|
|
4731
|
+
grid-template-columns: minmax(0, 1fr);
|
|
4732
|
+
gap: 16px;
|
|
4733
|
+
}
|
|
4734
|
+
}
|
|
4735
|
+
.mt-export-preview {
|
|
4736
|
+
min-width: 0;
|
|
4737
|
+
}
|
|
4738
|
+
.mt-export-preview .vx-playback-controls > span[aria-hidden=true] {
|
|
4739
|
+
display: none;
|
|
4740
|
+
}
|
|
4741
|
+
.mt-export-ratio-icon {
|
|
4742
|
+
display: inline-grid;
|
|
4743
|
+
place-items: center;
|
|
4744
|
+
flex: none;
|
|
4745
|
+
width: 14px;
|
|
4746
|
+
height: 14px;
|
|
4747
|
+
}
|
|
4748
|
+
.mt-export-ratio-icon > span {
|
|
4749
|
+
box-sizing: border-box;
|
|
4750
|
+
border: 1px solid currentColor;
|
|
4751
|
+
border-radius: 2px;
|
|
4752
|
+
}
|
|
4753
|
+
.mt-export-status {
|
|
4754
|
+
display: flex;
|
|
4755
|
+
flex-wrap: wrap;
|
|
4756
|
+
gap: 8px;
|
|
4757
|
+
align-items: end;
|
|
4758
|
+
margin-top: 12px;
|
|
4759
|
+
}
|
|
4760
|
+
.mt-export-notice {
|
|
4761
|
+
margin: 8px 0 0;
|
|
4762
|
+
}
|