@vivix-labs/studio-workbench 1.0.0-beta.5 → 1.0.0-beta.9

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/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;
@@ -175,7 +249,7 @@
175
249
  --vx-typography-inter-16-medium: normal 500 16px/21px var(--vx-font-inter);
176
250
  --vx-typography-inter-16-medium-tracking: 0px;
177
251
  --vx-typography-inter-18-regular: normal 400 18px/23px var(--vx-font-inter);
178
- --vx-typography-inter-18-bold: normal 700 18px/23px var(--vx-font-inter);
252
+ --vx-typography-inter-18-bold: normal 600 18px/23px var(--vx-font-inter);
179
253
  --vx-typography-inter-18-semi-bold: normal 600 18px/23px var(--vx-font-inter);
180
254
  --vx-typography-inter-18-medium: normal 500 18px/23px var(--vx-font-inter);
181
255
  --vx-typography-inter-18-medium-tracking: 0px;
@@ -302,7 +376,8 @@
302
376
  --vx-button-font-size: var(--vx-button-40-font-size);
303
377
  --vx-button-line-height: var(--vx-button-40-line-height);
304
378
  }
305
- .vx-button[data-size="44"] {
379
+ .vx-button[data-size="44"],
380
+ .vx-dialog > footer .vx-button[data-shape=text] {
306
381
  --vx-button-height: var(--vx-button-44-height);
307
382
  --vx-button-icon-size: var(--vx-button-44-icon-size);
308
383
  --vx-button-radius: var(--vx-button-44-radius);
@@ -322,6 +397,33 @@
322
397
  }
323
398
  }
324
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]) *)::-webkit-scrollbar {
409
+ width: 4px;
410
+ height: 4px;
411
+ background: transparent;
412
+ }
413
+ :where(:root:has([data-vx-theme]), :root:has([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]) *)::-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
+
325
427
  /* packages/ui-system/dist/button.css */
326
428
  @scope ([data-vx-theme]) {
327
429
  .vx-button {
@@ -360,6 +462,10 @@
360
462
  overflow: hidden;
361
463
  text-overflow: ellipsis;
362
464
  }
465
+ .vx-button-content:has(> .vx-icon:is([data-icon=trim], [data-icon=crop])) {
466
+ --vx-button-icon-size: var(--vx-space-16);
467
+ gap: var(--vx-space-4);
468
+ }
363
469
  .vx-button-trailing {
364
470
  margin-left: calc(var(--vx-button-trailing-gap) - var(--vx-button-gap));
365
471
  }
@@ -376,6 +482,11 @@
376
482
  .vx-button[data-appearance=tonal] {
377
483
  --vx-button-background: var(--vx-surface-input);
378
484
  }
485
+ .vx-button[data-appearance=link] {
486
+ --vx-button-background: transparent;
487
+ --vx-button-foreground: var(--vx-state-success);
488
+ font-weight: 600;
489
+ }
379
490
  .vx-button[data-appearance=on-content] {
380
491
  --vx-button-background: var(--vx-overlay-tag);
381
492
  --vx-button-foreground: var(--vx-text-on-content-primary);
@@ -434,6 +545,19 @@
434
545
  .vx-button:active:not(:disabled) {
435
546
  filter: brightness(0.96);
436
547
  }
548
+ .vx-button-badge {
549
+ display: inline-grid;
550
+ place-items: center;
551
+ flex: none;
552
+ min-width: 16px;
553
+ height: 16px;
554
+ padding-inline: 3px;
555
+ box-sizing: border-box;
556
+ border-radius: var(--vx-radius-full);
557
+ background: var(--vx-green-dark);
558
+ color: var(--vx-text-on-content-primary);
559
+ font: var(--vx-typography-inter-10-semi-bold);
560
+ }
437
561
  .vx-button:disabled {
438
562
  cursor: not-allowed;
439
563
  }
@@ -653,9 +777,10 @@
653
777
  .vx-search-input[data-size=large]:has(.vx-search-clear) {
654
778
  padding-inline-end: var(--vx-space-8);
655
779
  }
656
- .vx-search-input:has(input:focus-visible) {
657
- outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
658
- outline-offset: var(--vx-space-2);
780
+ @media (forced-colors: active) {
781
+ .vx-search-input:has(input:focus-visible) {
782
+ outline: var(--vx-focus-ring-width) solid Highlight;
783
+ }
659
784
  }
660
785
  .vx-search-input:has(input:disabled) {
661
786
  opacity: 0.5;
@@ -779,6 +904,24 @@
779
904
  .vx-dropdown[data-appearance=field] .vx-dropdown-trigger:is(:hover:not(:disabled), :focus-visible, [aria-expanded=true]) {
780
905
  background: var(--vx-surface-selected);
781
906
  }
907
+ .vx-dropdown[data-appearance=heading] .vx-dropdown-trigger {
908
+ gap: var(--vx-space-4);
909
+ padding-inline: 0;
910
+ font: var(--vx-typography-inter-16-semi-bold);
911
+ }
912
+ .vx-dropdown[data-appearance=heading][data-width=hug] [role=listbox] {
913
+ position: fixed;
914
+ inset: auto;
915
+ margin: 0;
916
+ }
917
+ .vx-dropdown[data-appearance=heading] .vx-dropdown-trigger:is(:hover, :focus-visible, [aria-expanded=true]),
918
+ .vx-dropdown[data-appearance=heading][data-width=hug] [role=option]:is([aria-selected=true], [data-active=true], :hover) {
919
+ background: transparent;
920
+ }
921
+ .vx-dropdown[data-appearance=heading]:has(.vx-dropdown-trigger:focus-visible) [role=option][data-active=true] {
922
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
923
+ outline-offset: calc(-1 * var(--vx-focus-ring-width));
924
+ }
782
925
  .vx-dropdown-value {
783
926
  display: inline-flex;
784
927
  align-items: center;
@@ -796,7 +939,7 @@
796
939
  inset-inline: 0;
797
940
  margin: var(--vx-space-4) 0 0;
798
941
  max-height: min(15rem, 50vh);
799
- overflow: auto;
942
+ overflow: hidden auto;
800
943
  padding: var(--vx-space-4);
801
944
  border: var(--vx-border-width) solid var(--vx-border-secondary);
802
945
  border-radius: var(--vx-radius-xl);
@@ -852,17 +995,20 @@
852
995
  flex: none;
853
996
  padding: var(--vx-space-16) 0 var(--vx-space-12);
854
997
  border: 0;
855
- border-bottom: var(--vx-space-2) solid transparent;
856
998
  background: transparent;
857
- color: var(--vx-text-secondary-readable);
999
+ color: var(--vx-text-secondary);
858
1000
  font: var(--vx-typography-inter-16-semi-bold);
859
1001
  cursor: pointer;
860
1002
  white-space: nowrap;
861
1003
  }
862
1004
  .vx-tabs [role=tab][aria-selected=true] {
863
- border-color: var(--vx-state-success);
1005
+ padding-block-start: 18px;
1006
+ border-bottom: 2px solid var(--vx-state-success);
864
1007
  color: var(--vx-state-success);
865
1008
  }
1009
+ .vx-tabs [role=tab]:not([aria-selected=true], :disabled):hover {
1010
+ color: var(--vx-text-primary);
1011
+ }
866
1012
  .vx-tabs [role=tab]:disabled {
867
1013
  opacity: 0.5;
868
1014
  cursor: not-allowed;
@@ -979,6 +1125,81 @@
979
1125
  outline-color: var(--vx-state-assistance);
980
1126
  }
981
1127
  }
1128
+ @scope ([data-vx-theme]) {
1129
+ .vx-asset-library-toolbar {
1130
+ display: flex;
1131
+ align-items: center;
1132
+ gap: var(--vx-space-8);
1133
+ min-height: var(--vx-tabs-primary-height);
1134
+ padding-inline: var(--vx-space-16) var(--vx-space-12);
1135
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
1136
+ box-sizing: border-box;
1137
+ }
1138
+ .vx-asset-library-toolbar > :first-child {
1139
+ flex: 1;
1140
+ min-width: 0;
1141
+ }
1142
+ .vx-asset-library-controls {
1143
+ display: flex;
1144
+ flex: none;
1145
+ align-items: center;
1146
+ gap: var(--vx-space-8);
1147
+ max-width: 100%;
1148
+ }
1149
+ @media (max-width: 1100px) {
1150
+ .vx-asset-library-toolbar,
1151
+ .vx-asset-library-controls {
1152
+ flex-wrap: wrap;
1153
+ }
1154
+ .vx-asset-library-toolbar {
1155
+ padding-block: var(--vx-space-8);
1156
+ }
1157
+ }
1158
+ @media (max-width: 760px) {
1159
+ .vx-asset-library-toolbar {
1160
+ padding-block: 0 var(--vx-space-8);
1161
+ }
1162
+ .vx-asset-library-toolbar > :first-child,
1163
+ .vx-asset-library-controls {
1164
+ flex-basis: 100%;
1165
+ }
1166
+ .vx-asset-library-controls {
1167
+ gap: 6px;
1168
+ }
1169
+ }
1170
+ .vx-asset-selection {
1171
+ display: flex;
1172
+ flex: 0 1 auto;
1173
+ max-width: 100%;
1174
+ align-items: center;
1175
+ flex-wrap: wrap;
1176
+ gap: var(--vx-space-8);
1177
+ }
1178
+ .vx-asset-selection > [role=status] {
1179
+ padding-inline: var(--vx-space-16);
1180
+ white-space: nowrap;
1181
+ color: var(--vx-text-primary);
1182
+ font: var(--vx-typography-inter-14-regular);
1183
+ }
1184
+ .vx-asset-selection > i {
1185
+ display: grid;
1186
+ place-items: center;
1187
+ width: 8px;
1188
+ height: 8px;
1189
+ }
1190
+ .vx-asset-selection > i::after {
1191
+ content: "";
1192
+ height: 8px;
1193
+ width: 1px;
1194
+ background: var(--vx-border-secondary);
1195
+ }
1196
+ .vx-asset-selection .vx-button-content {
1197
+ gap: 6px;
1198
+ }
1199
+ .vx-asset-selection .vx-icon {
1200
+ --vx-icon-size: 16px;
1201
+ }
1202
+ }
982
1203
 
983
1204
  /* packages/ui-system/dist/field.css */
984
1205
  @scope ([data-vx-theme]) {
@@ -1028,6 +1249,22 @@
1028
1249
  border-radius: 50%;
1029
1250
  background: var(--vx-text-secondary-readable);
1030
1251
  }
1252
+ :is(input, textarea, [contenteditable]:not([contenteditable=false]), [role=textbox]) {
1253
+ scrollbar-width: none;
1254
+ &::-webkit-scrollbar {
1255
+ display: none;
1256
+ }
1257
+ }
1258
+ :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) {
1259
+ border: 0;
1260
+ }
1261
+ :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 {
1262
+ outline: none;
1263
+ background-color: var(--vx-surface-selected);
1264
+ @media (forced-colors: active) {
1265
+ outline: var(--vx-focus-ring-width) solid Highlight;
1266
+ }
1267
+ }
1031
1268
  .vx-field,
1032
1269
  .vx-slider {
1033
1270
  display: grid;
@@ -1040,7 +1277,7 @@
1040
1277
  width: 100%;
1041
1278
  min-height: var(--vx-input-medium-height);
1042
1279
  padding: var(--vx-space-4) var(--vx-space-8);
1043
- border: var(--vx-border-width) solid var(--vx-control-border);
1280
+ border: 0;
1044
1281
  border-radius: var(--vx-radius-md);
1045
1282
  background: var(--vx-surface-input);
1046
1283
  color: inherit;
@@ -1050,7 +1287,6 @@
1050
1287
  min-height: var(--vx-input-large-height);
1051
1288
  }
1052
1289
  .vx-field[data-appearance=filled] > input {
1053
- border-color: transparent;
1054
1290
  font: var(--vx-typography-inter-12-regular);
1055
1291
  }
1056
1292
  .vx-date-picker {
@@ -1070,7 +1306,8 @@
1070
1306
  box-sizing: border-box;
1071
1307
  width: min(320px, calc(100vw - 16px));
1072
1308
  max-height: calc(100dvh - 16px);
1073
- overflow: auto;
1309
+ scrollbar-gutter: stable;
1310
+ overflow: scroll auto;
1074
1311
  inset: auto;
1075
1312
  position-area: bottom span-right;
1076
1313
  position-try-fallbacks:
@@ -1138,7 +1375,6 @@
1138
1375
  cursor: not-allowed;
1139
1376
  opacity: 0.5;
1140
1377
  }
1141
- .vx-field > input:focus-visible,
1142
1378
  .vx-slider > input:focus-visible {
1143
1379
  outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1144
1380
  outline-offset: var(--vx-space-2);
@@ -1223,7 +1459,7 @@
1223
1459
  white-space: nowrap;
1224
1460
  }
1225
1461
  .vx-tag[data-variant=selected] {
1226
- background: var(--vx-state-success);
1462
+ background: var(--vx-media-selection-color);
1227
1463
  }
1228
1464
  .vx-tag[data-variant=subtle] {
1229
1465
  background: var(--vx-surface-message);
@@ -1234,6 +1470,7 @@
1234
1470
  color: var(--vx-text-primary);
1235
1471
  }
1236
1472
  .vx-media {
1473
+ isolation: isolate;
1237
1474
  position: relative;
1238
1475
  display: grid;
1239
1476
  place-items: center;
@@ -1244,14 +1481,10 @@
1244
1481
  padding: 0;
1245
1482
  border: 0;
1246
1483
  border-radius: var(--vx-radius-lg);
1247
- background: #000;
1484
+ background: var(--vx-cover-background);
1248
1485
  color: var(--vx-text-on-content-primary);
1249
1486
  font: inherit;
1250
1487
  }
1251
- .vx-media:is([data-empty=surface], [data-empty=audio]) {
1252
- background: var(--vx-surface-input);
1253
- color: var(--vx-text-primary);
1254
- }
1255
1488
  button.vx-media {
1256
1489
  cursor: pointer;
1257
1490
  }
@@ -1274,19 +1507,20 @@
1274
1507
  pointer-events: none;
1275
1508
  }
1276
1509
  .vx-media-empty-label {
1277
- color: var(--vx-text-secondary-readable);
1510
+ color: var(--vx-text-on-content-secondary);
1278
1511
  font: var(--vx-typography-inter-12-regular);
1279
1512
  padding: var(--vx-space-8);
1280
1513
  }
1281
1514
  .vx-media[data-state=selected][data-selection=outline]::after {
1282
1515
  position: absolute;
1516
+ z-index: 2;
1283
1517
  inset: 0;
1284
- border: 3px solid var(--vx-state-success);
1518
+ border: 3px solid var(--vx-media-selection-color);
1285
1519
  border-radius: inherit;
1286
1520
  content: "";
1287
1521
  pointer-events: none;
1288
1522
  }
1289
- .vx-media > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1523
+ :is(.vx-media, .vx-media-badge-host) > :is(.vx-media-label, .vx-media-duration, .vx-media-selected, .vx-media-marker) {
1290
1524
  position: absolute;
1291
1525
  z-index: 1;
1292
1526
  }
@@ -1297,7 +1531,8 @@
1297
1531
  inset: auto var(--vx-space-8) var(--vx-space-8) auto;
1298
1532
  }
1299
1533
  .vx-media-selected {
1300
- inset: var(--vx-space-8) auto auto var(--vx-space-8);
1534
+ display: flex;
1535
+ inset: 5px auto auto 5px;
1301
1536
  }
1302
1537
  .vx-media-marker {
1303
1538
  inset: var(--vx-space-8) var(--vx-space-8) auto auto;
@@ -1401,6 +1636,9 @@
1401
1636
  height: var(--vx-playback-button-size);
1402
1637
  color: inherit;
1403
1638
  }
1639
+ .vx-playback-controls > .vx-button[data-shape=icon]:hover:not(:disabled) {
1640
+ --vx-button-background: var(--vx-white-white-1a);
1641
+ }
1404
1642
  .vx-playback-controls > input {
1405
1643
  appearance: none;
1406
1644
  flex: 1;
@@ -1459,9 +1697,22 @@
1459
1697
  position: relative;
1460
1698
  min-width: 0;
1461
1699
  overflow: hidden;
1462
- background: #000;
1700
+ background: var(--vx-cover-background);
1463
1701
  border-radius: var(--vx-radius-xl);
1464
1702
  }
1703
+ .vx-video-player[data-fit=content]:not(:fullscreen) {
1704
+ width: min(100cqw, calc(100cqh * var(--vx-video-ratio)));
1705
+ }
1706
+ .vx-video-player[data-fit=content] .vx-video-stage {
1707
+ aspect-ratio: var(--vx-video-ratio);
1708
+ }
1709
+ .vx-video-player[data-fit=content]:fullscreen .vx-video-stage {
1710
+ aspect-ratio: auto;
1711
+ height: 100%;
1712
+ }
1713
+ .vx-video-player[data-fit=content]:fullscreen {
1714
+ display: block;
1715
+ }
1465
1716
  .vx-video-player[data-placement=below] > .vx-playback-controls {
1466
1717
  border-radius: 0;
1467
1718
  }
@@ -1495,7 +1746,11 @@
1495
1746
  padding: var(--vx-space-20);
1496
1747
  color: var(--vx-text-on-content-primary);
1497
1748
  }
1749
+ .vx-video-cover {
1750
+ isolation: isolate;
1751
+ }
1498
1752
  .vx-video-cover::before {
1753
+ z-index: -1;
1499
1754
  position: absolute;
1500
1755
  inset: 0;
1501
1756
  background:
@@ -1506,6 +1761,9 @@
1506
1761
  content: "";
1507
1762
  pointer-events: none;
1508
1763
  }
1764
+ .vx-video-cover[data-plain]::before {
1765
+ content: none;
1766
+ }
1509
1767
  .vx-video-info {
1510
1768
  position: relative;
1511
1769
  flex: 1;
@@ -1636,10 +1894,53 @@
1636
1894
  }
1637
1895
  }
1638
1896
  @scope ([data-vx-theme]) {
1639
- .vx-media:is([data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
1897
+ .vx-media:is([data-empty=surface], [data-empty=image], [data-empty=video], [data-empty=audio], [data-empty=script]) {
1898
+ background: var(--vx-surface-input);
1899
+ color: var(--vx-text-placeholder);
1900
+ }
1901
+ }
1902
+ @scope ([data-vx-theme]) {
1903
+ .vx-cover-preview[data-cover-state=empty] {
1640
1904
  background: var(--vx-surface-input);
1905
+ }
1906
+ .vx-cover-preview[data-cover-state=empty] > .vx-icon {
1641
1907
  color: var(--vx-text-placeholder);
1642
1908
  }
1909
+ .vx-cover-preview[data-cover-state=loading] {
1910
+ position: relative;
1911
+ overflow: hidden;
1912
+ background: var(--vx-surface-input);
1913
+ }
1914
+ .vx-cover-preview[data-cover-state=loading] > :is(img, video) {
1915
+ opacity: 0;
1916
+ }
1917
+ .vx-cover-preview[data-cover-state=loading]::after {
1918
+ content: "";
1919
+ position: absolute;
1920
+ inset: 0;
1921
+ pointer-events: none;
1922
+ background:
1923
+ linear-gradient(
1924
+ 105deg,
1925
+ transparent 20%,
1926
+ light-dark(var(--vx-white-white), color-mix(in srgb, var(--vx-white-white) 14%, transparent)) 50%,
1927
+ transparent 80%);
1928
+ animation: vx-cover-sweep 1.35s ease-in-out infinite;
1929
+ }
1930
+ @media (prefers-reduced-motion: reduce) {
1931
+ .vx-cover-preview[data-cover-state=loading]::after {
1932
+ animation: none;
1933
+ content: none;
1934
+ }
1935
+ }
1936
+ }
1937
+ @keyframes vx-cover-sweep {
1938
+ from {
1939
+ transform: translateX(-100%);
1940
+ }
1941
+ to {
1942
+ transform: translateX(100%);
1943
+ }
1643
1944
  }
1644
1945
  @scope ([data-vx-theme]) {
1645
1946
  .vx-frame-filmstrip {
@@ -1667,95 +1968,385 @@
1667
1968
  border-radius: 2px;
1668
1969
  }
1669
1970
  }
1670
-
1671
- /* packages/ui-system/dist/overlays.css */
1672
1971
  @scope ([data-vx-theme]) {
1673
- .vx-action-menu {
1674
- display: inline-block;
1675
- position: relative;
1676
- max-width: 100%;
1972
+ .vx-dialog.vx-video-dialog-fit {
1973
+ width: fit-content;
1974
+ max-width: calc(100vw - 32px);
1677
1975
  }
1678
- .vx-action-menu-items {
1679
- position: absolute;
1680
- z-index: 2;
1681
- inset-inline-start: 0;
1682
- top: calc(100% + var(--vx-space-4));
1683
- box-sizing: border-box;
1684
- width: min(224px, calc(100vw - 16px));
1685
- max-height: min(480px, 50vh);
1686
- overflow: auto;
1687
- padding: var(--vx-space-4);
1688
- border: var(--vx-border-width) solid var(--vx-border-secondary);
1689
- border-radius: var(--vx-radius-xl);
1690
- background: var(--vx-background-dialog);
1691
- box-shadow: var(--vx-shadow-menu);
1976
+ .vx-video-dialog-fit .vx-video-player[data-fit=content] {
1977
+ width: min(926px, calc(100vw - 66px), calc(min(480px, 100dvh - 192px) * var(--vx-video-ratio)));
1978
+ min-width: min(200px, calc(100vw - 66px));
1692
1979
  }
1693
- .vx-action-menu-items > button {
1694
- display: flex;
1695
- align-items: center;
1696
- gap: var(--vx-space-8);
1697
- width: 100%;
1698
- min-height: 36px;
1699
- padding: var(--vx-space-4) var(--vx-space-8);
1700
- border: 0;
1701
- border-radius: var(--vx-radius-md);
1980
+ }
1981
+ @scope ([data-vx-theme]) {
1982
+ .vx-playback-controls[data-size=small][data-appearance=surface] {
1983
+ --vx-playback-button-size: 16px;
1984
+ --vx-playback-thumb-size: 8px;
1985
+ height: 28px;
1986
+ min-height: 28px;
1987
+ padding: var(--vx-space-2) 0;
1988
+ gap: var(--vx-space-4);
1702
1989
  background: transparent;
1703
- color: inherit;
1704
- font: inherit;
1705
- text-align: start;
1706
- cursor: pointer;
1990
+ color: var(--vx-text-secondary-readable);
1991
+ flex-wrap: nowrap;
1707
1992
  }
1708
- .vx-action-menu-items > button[data-size=large] {
1709
- min-height: 48px;
1993
+ .vx-playback-controls[data-size=small][data-appearance=surface] > .vx-button {
1994
+ --vx-button-foreground: var(--vx-text-secondary-readable);
1995
+ flex: none;
1996
+ width: 24px;
1997
+ min-width: 24px;
1998
+ height: 24px;
1999
+ min-height: 24px;
2000
+ padding: 0;
1710
2001
  }
1711
- .vx-action-menu-items > button > span:not(.vx-icon) {
1712
- flex: 1;
1713
- overflow-wrap: anywhere;
2002
+ .vx-playback-controls[data-size=small][data-appearance=surface] > span {
2003
+ font: var(--vx-typography-inter-10-regular);
2004
+ font-variant-numeric: tabular-nums;
1714
2005
  }
1715
- .vx-action-menu-items > button:disabled {
1716
- color: var(--vx-text-placeholder);
1717
- cursor: not-allowed;
2006
+ .vx-playback-controls[data-size=small][data-appearance=surface] > input::-webkit-slider-runnable-track {
2007
+ height: 6px;
2008
+ background:
2009
+ linear-gradient(
2010
+ to right,
2011
+ var(--vx-text-secondary-readable) var(--vx-playback-progress),
2012
+ var(--vx-overlay-tag) var(--vx-playback-progress));
1718
2013
  }
1719
- .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true]):not(:disabled) {
1720
- background: var(--vx-surface-hover);
2014
+ .vx-playback-controls[data-size=small][data-appearance=surface] > input::-webkit-slider-thumb {
2015
+ margin-top: -1px;
2016
+ border-color: var(--vx-border-secondary);
2017
+ background: var(--vx-white-white);
2018
+ box-shadow: 0 1px 2px var(--vx-black-black-2a);
1721
2019
  }
1722
- .vx-action-menu-items > button:focus-visible {
1723
- outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
1724
- outline-offset: calc(-1 * var(--vx-focus-ring-width));
2020
+ .vx-playback-controls[data-size=small][data-appearance=surface] > input::-moz-range-track,
2021
+ .vx-playback-controls[data-size=small][data-appearance=surface] > input::-moz-range-progress {
2022
+ height: 6px;
1725
2023
  }
1726
- .vx-filter-menu {
1727
- box-sizing: border-box;
1728
- width: min(280px, calc(100vw - 16px));
1729
- max-height: min(480px, calc(100dvh - 16px));
1730
- overflow: auto;
1731
- inset: auto;
1732
- position-area: bottom span-right;
1733
- position-try-fallbacks:
1734
- flip-inline,
1735
- flip-block,
1736
- flip-block flip-inline;
1737
- margin: var(--vx-space-4) 0;
2024
+ .vx-playback-controls[data-size=small][data-appearance=surface] > input::-moz-range-progress {
2025
+ background: var(--vx-text-secondary-readable);
2026
+ }
2027
+ .vx-playback-controls[data-size=small][data-appearance=surface] > input::-moz-range-thumb {
2028
+ border-color: var(--vx-border-secondary);
2029
+ background: var(--vx-white-white);
2030
+ box-shadow: 0 1px 2px var(--vx-black-black-2a);
2031
+ }
2032
+ .vx-video-player[data-controls-size=small] {
2033
+ background: transparent;
2034
+ }
2035
+ .vx-video-player[data-controls-size=small] .vx-video-stage {
2036
+ background: var(--vx-black-black);
2037
+ border-radius: var(--vx-radius-xl);
2038
+ }
2039
+ .vx-video-player[data-controls-size=small] .vx-video-cover {
2040
+ min-height: 0;
2041
+ gap: var(--vx-space-8);
1738
2042
  padding: var(--vx-space-8);
2043
+ }
2044
+ .vx-video-player[data-controls-size=small] .vx-video-title strong {
2045
+ font: var(--vx-typography-inter-12-regular);
2046
+ }
2047
+ }
2048
+
2049
+ /* packages/ui-system/dist/asset-grid.css */
2050
+ .vx-asset-grid.vx-asset-grid {
2051
+ display: grid;
2052
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, 25%)), 1fr));
2053
+ gap: 0;
2054
+ align-content: start;
2055
+ padding: 0;
2056
+ }
2057
+ .vx-asset-grid > .vx-asset-tile {
2058
+ position: relative;
2059
+ display: flex;
2060
+ flex-direction: column;
2061
+ align-items: stretch;
2062
+ gap: var(--vx-space-12);
2063
+ box-sizing: border-box;
2064
+ min-width: 0;
2065
+ padding: var(--vx-space-12) var(--vx-space-16);
2066
+ border: 0;
2067
+ border-radius: 0;
2068
+ background: transparent;
2069
+ }
2070
+ .vx-asset-tile .vx-tile-preview {
2071
+ display: grid;
2072
+ place-items: center;
2073
+ width: 100%;
2074
+ aspect-ratio: 16 / 9;
2075
+ padding: 0;
2076
+ border: 0;
2077
+ border-radius: var(--vx-radius-xl);
2078
+ background: var(--vx-cover-background);
2079
+ color: var(--vx-text-on-content-secondary);
2080
+ overflow: hidden;
2081
+ }
2082
+ button.vx-tile-preview {
2083
+ cursor: pointer;
2084
+ }
2085
+ .vx-tile-preview > .sd-asset-preview {
2086
+ width: 100%;
2087
+ }
2088
+ .vx-asset-tile > .vx-checkbox {
2089
+ position: absolute;
2090
+ z-index: 1;
2091
+ inset: 20px auto auto 24px;
2092
+ }
2093
+ .vx-asset-tile .vx-tile-caption {
2094
+ display: grid;
2095
+ grid-template-columns: minmax(0, 1fr) auto;
2096
+ align-items: start;
2097
+ column-gap: var(--vx-space-8);
2098
+ padding-inline: var(--vx-space-8);
2099
+ }
2100
+ .vx-tile-caption .vx-tile-title {
2101
+ display: block;
2102
+ justify-self: start;
2103
+ min-width: 0;
2104
+ max-width: 100%;
2105
+ height: 26px;
2106
+ margin: 0;
2107
+ border: 0;
2108
+ padding: 4px 0;
2109
+ overflow: hidden;
2110
+ text-overflow: ellipsis;
2111
+ white-space: nowrap;
2112
+ text-align: start;
2113
+ background: transparent;
2114
+ color: var(--vx-text-primary);
2115
+ font: var(--vx-typography-inter-14-semi-bold);
2116
+ }
2117
+ button.vx-tile-title {
2118
+ cursor: pointer;
2119
+ }
2120
+ .vx-tile-caption > .vx-action-menu {
2121
+ grid-column: 2;
2122
+ grid-row: 1;
2123
+ }
2124
+ .vx-tile-caption > .vx-action-menu > .vx-button {
2125
+ width: 24px;
2126
+ height: 24px;
2127
+ padding: 0;
2128
+ }
2129
+ .vx-tile-caption .vx-tile-facts {
2130
+ grid-column: 1 / -1;
2131
+ min-width: 0;
2132
+ min-height: 16px;
2133
+ overflow: hidden;
2134
+ white-space: nowrap;
2135
+ text-overflow: ellipsis;
2136
+ color: var(--vx-text-secondary);
2137
+ font: var(--vx-typography-inter-12-regular);
2138
+ }
2139
+ .vx-tile-facts > span + span::before {
2140
+ content: "";
2141
+ display: inline-block;
2142
+ height: 8px;
2143
+ margin-inline: 6px;
2144
+ border-inline-start: 1px solid var(--vx-border-secondary);
2145
+ }
2146
+ .vx-asset-grid .vx-asset-tile :is(.studio-cover, .vx-media, .sd-video-thumbnail, .ad-asset-cover) {
2147
+ border-radius: var(--vx-radius-xl);
2148
+ }
2149
+ .vx-asset-grid .studio-cover {
2150
+ overflow: hidden;
2151
+ }
2152
+ .vx-asset-grid .studio-cover[data-kind=video]:has(.studio-cover-video) > .vx-media {
2153
+ background-color: transparent;
2154
+ }
2155
+
2156
+ /* packages/ui-system/dist/overlays.css */
2157
+ @scope ([data-vx-theme]) {
2158
+ .vx-action-menu {
2159
+ display: inline-block;
2160
+ position: relative;
2161
+ max-width: 100%;
2162
+ }
2163
+ .vx-action-menu-items {
2164
+ position: absolute;
2165
+ z-index: 2;
2166
+ inset-inline-start: 0;
2167
+ top: calc(100% + var(--vx-space-4));
2168
+ box-sizing: border-box;
2169
+ width: min(224px, calc(100vw - 16px));
2170
+ max-height: min(480px, 50vh);
2171
+ overflow: hidden auto;
2172
+ padding: var(--vx-space-4);
1739
2173
  border: var(--vx-border-width) solid var(--vx-border-secondary);
1740
2174
  border-radius: var(--vx-radius-xl);
1741
2175
  background: var(--vx-background-dialog);
1742
- color: var(--vx-text-primary);
1743
2176
  box-shadow: var(--vx-shadow-menu);
1744
2177
  }
1745
- .vx-filter-menu summary {
1746
- padding: var(--vx-space-8);
2178
+ .vx-action-menu-items > button {
2179
+ display: flex;
2180
+ align-items: center;
2181
+ gap: var(--vx-space-8);
2182
+ width: 100%;
2183
+ min-height: 36px;
2184
+ padding: var(--vx-space-4) var(--vx-space-8);
2185
+ border: 0;
2186
+ border-radius: var(--vx-radius-md);
2187
+ background: transparent;
2188
+ color: inherit;
2189
+ font: inherit;
2190
+ text-align: start;
1747
2191
  cursor: pointer;
1748
2192
  }
1749
- .vx-filter-menu summary .vx-tag {
1750
- margin-inline-start: var(--vx-space-8);
2193
+ .vx-action-menu-items > button[data-size=large] {
2194
+ min-height: 48px;
2195
+ }
2196
+ .vx-action-menu-items > button[data-tone=danger]:not(:disabled) {
2197
+ color: var(--vx-state-danger);
1751
2198
  }
1752
- .vx-filter-options {
2199
+ .vx-action-menu-items[data-with-previews] {
2200
+ width: min(360px, calc(100vw - var(--vx-space-16)));
2201
+ }
2202
+ .vx-menu-preview {
2203
+ flex: none;
1753
2204
  display: grid;
1754
- gap: var(--vx-space-4);
1755
- padding: 0 var(--vx-space-8) var(--vx-space-8);
2205
+ width: 80px;
2206
+ aspect-ratio: 16 / 9;
2207
+ border-radius: var(--vx-radius-sm);
2208
+ overflow: hidden;
2209
+ background: var(--vx-cover-background);
2210
+ }
2211
+ .vx-menu-preview > .vx-cover-preview {
2212
+ display: grid;
2213
+ place-items: center;
2214
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
2215
+ }
2216
+ .vx-menu-preview :is(img, video) {
2217
+ width: 100%;
2218
+ height: 100%;
2219
+ object-fit: contain;
2220
+ }
2221
+ .vx-action-menu-items > button > .vx-menu-label {
2222
+ flex: 1;
2223
+ overflow-wrap: anywhere;
2224
+ }
2225
+ .vx-action-menu-items > button:disabled {
2226
+ color: var(--vx-text-placeholder);
2227
+ cursor: not-allowed;
2228
+ }
2229
+ .vx-action-menu-items > button:is(:hover, :focus-visible, [aria-checked=true], [aria-expanded=true]):not(:disabled) {
2230
+ background: var(--vx-surface-hover);
2231
+ }
2232
+ .vx-action-menu-items > button:focus-visible {
2233
+ outline: var(--vx-focus-ring-width) solid var(--vx-state-assistance);
2234
+ outline-offset: calc(-1 * var(--vx-focus-ring-width));
2235
+ }
2236
+ .vx-filter-menu {
2237
+ box-sizing: border-box;
2238
+ width: min(224px, calc(100vw - 16px));
2239
+ max-height: min(460px, calc(100dvh - 16px));
2240
+ overflow: hidden;
2241
+ inset: auto;
2242
+ position-area: bottom center;
2243
+ position-try-fallbacks:
2244
+ bottom span-left,
2245
+ bottom span-right,
2246
+ top center,
2247
+ top span-left,
2248
+ top span-right;
2249
+ margin: 6px 0;
2250
+ padding: var(--vx-space-4);
2251
+ border: var(--vx-divider-width) solid var(--vx-border-secondary);
2252
+ border-radius: 12px;
2253
+ background: var(--vx-background-dialog);
2254
+ color: var(--vx-text-primary);
2255
+ box-shadow: 0 4px 16px rgb(0 0 0 / 25%);
2256
+ }
2257
+ .vx-filter-menu:popover-open {
2258
+ display: flex;
2259
+ flex-direction: column;
2260
+ gap: 2px;
1756
2261
  }
1757
- .vx-filter-menu > .vx-button {
1758
- margin-top: var(--vx-space-8);
2262
+ .vx-filter-scroll {
2263
+ position: relative;
2264
+ min-height: 0;
2265
+ display: flex;
2266
+ flex-direction: column;
2267
+ }
2268
+ .vx-filter-scroll[data-more-below]::after {
2269
+ content: "";
2270
+ position: absolute;
2271
+ inset: auto 0 0;
2272
+ height: min(60px, 35%);
2273
+ background:
2274
+ linear-gradient(
2275
+ to bottom,
2276
+ transparent,
2277
+ var(--vx-background-dialog));
2278
+ pointer-events: none;
2279
+ }
2280
+ .vx-filter-menu .vx-filter-groups {
2281
+ min-height: 0;
2282
+ overflow-y: auto;
2283
+ overscroll-behavior: contain;
2284
+ scrollbar-width: none;
2285
+ }
2286
+ .vx-filter-menu .vx-filter-options {
2287
+ display: grid;
2288
+ padding: 0;
2289
+ gap: 2px;
2290
+ margin-block-start: 2px;
2291
+ }
2292
+ .vx-filter-menu details + details::before {
2293
+ content: "";
2294
+ display: block;
2295
+ height: var(--vx-divider-width);
2296
+ margin: 2px 12px;
2297
+ background: var(--vx-border-secondary);
2298
+ }
2299
+ .vx-filter-menu details + details {
2300
+ border: 0;
2301
+ }
2302
+ .vx-filter-menu summary,
2303
+ .vx-filter-options .vx-checkbox {
2304
+ box-sizing: border-box;
2305
+ display: flex;
2306
+ align-items: center;
2307
+ justify-content: space-between;
2308
+ min-height: 36px;
2309
+ padding: 0 12px;
2310
+ cursor: pointer;
2311
+ }
2312
+ .vx-filter-menu summary {
2313
+ font: var(--vx-typography-inter-14-semi-bold);
2314
+ list-style: none;
2315
+ }
2316
+ .vx-filter-menu summary::-webkit-details-marker {
2317
+ display: none;
2318
+ }
2319
+ .vx-filter-menu details[open] > summary .vx-icon {
2320
+ rotate: 180deg;
2321
+ }
2322
+ .vx-filter-options .vx-checkbox {
2323
+ width: 100%;
2324
+ flex-direction: row-reverse;
2325
+ font: var(--vx-typography-inter-14-regular);
2326
+ }
2327
+ .vx-filter-options .vx-checkbox:hover,
2328
+ .vx-filter-menu summary:hover {
2329
+ border-radius: 8px;
2330
+ background: var(--vx-surface-hover);
2331
+ }
2332
+ .vx-filter-menu .vx-checkbox-input:not(:checked) + .vx-checkbox-mark {
2333
+ border-color: var(--vx-border-primary);
2334
+ }
2335
+ .vx-filter-menu .vx-checkbox-mark .vx-icon {
2336
+ --vx-icon-size: 12px;
2337
+ }
2338
+ .vx-filter-menu footer {
2339
+ box-sizing: border-box;
2340
+ display: flex;
2341
+ align-items: center;
2342
+ flex: none;
2343
+ height: 44px;
2344
+ padding-inline: var(--vx-space-8);
2345
+ border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
2346
+ }
2347
+ .vx-filter-menu footer > .vx-button {
2348
+ width: 100%;
2349
+ flex: none;
1759
2350
  }
1760
2351
  .vx-annotation-tools {
1761
2352
  display: inline-flex;
@@ -1828,32 +2419,33 @@
1828
2419
  margin: 0;
1829
2420
  font: var(--vx-typography-inter-16-semi-bold);
1830
2421
  }
1831
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) {
2422
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) {
1832
2423
  --vx-dialog-section-gap: var(--vx-space-24);
1833
2424
  --vx-dialog-footer-inset: var(--vx-space-24);
1834
2425
  width: min(var(--vx-dialog-small-width), calc(100vw - var(--vx-space-32)));
1835
2426
  padding: var(--vx-dialog-padding);
1836
2427
  border: var(--vx-border-width) solid var(--vx-surface-input);
1837
2428
  border-radius: var(--vx-dialog-radius);
1838
- overflow: auto;
2429
+ scrollbar-gutter: stable;
2430
+ overflow: scroll auto;
1839
2431
  }
1840
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header {
2432
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header {
1841
2433
  padding: 0;
1842
2434
  margin: 0 var(--vx-space-32) var(--vx-dialog-section-gap) 0;
1843
2435
  }
1844
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header h2 {
2436
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header h2 {
1845
2437
  font: var(--vx-typography-inter-18-semi-bold);
1846
2438
  }
1847
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > header > .vx-button {
2439
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > header > .vx-button {
1848
2440
  position: absolute;
1849
2441
  top: 15px;
1850
2442
  right: 15px;
1851
2443
  }
1852
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > .vx-dialog-body {
2444
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > .vx-dialog-body {
1853
2445
  min-width: 0;
1854
2446
  padding: 0;
1855
2447
  }
1856
- .vx-dialog:is([data-variant=create-project], [data-variant=story-edit]) > footer {
2448
+ .vx-dialog:is([data-variant=create-project], [data-variant=story-edit], [data-variant=edit-dashboard]) > footer {
1857
2449
  margin-top: var(--vx-dialog-section-gap);
1858
2450
  padding: var(--vx-dialog-footer-inset) 0 0;
1859
2451
  border-top: var(--vx-divider-width) solid var(--vx-border-secondary);
@@ -1928,6 +2520,12 @@
1928
2520
  font-weight: 400;
1929
2521
  font-display: swap;
1930
2522
  }
2523
+ @font-face {
2524
+ font-family: "Vivix Studio Inter";
2525
+ src: url("./assets/inter-latin-900-normal-FKACR3DR.woff2") format("woff2");
2526
+ font-weight: 900;
2527
+ font-display: swap;
2528
+ }
1931
2529
  @font-face {
1932
2530
  font-family: "Vivix Studio Inter";
1933
2531
  src: url("./assets/inter-latin-500-normal-W62DVTXI.woff2") format("woff2");
@@ -1947,6 +2545,9 @@
1947
2545
  font-display: swap;
1948
2546
  }
1949
2547
  @scope ([data-vx-theme]) {
2548
+ :where(h1, h2, h3, h4, h5, h6, b, strong, th) {
2549
+ font-weight: 600;
2550
+ }
1950
2551
  .vx-icon {
1951
2552
  display: inline-block;
1952
2553
  flex: none;
@@ -2027,9 +2628,18 @@
2027
2628
  --vx-icon-height: 86.46%;
2028
2629
  --vx-icon-mask: url("./assets/magic-OMME7FOV.svg");
2029
2630
  }
2631
+ .vx-icon[data-icon=select-items] {
2632
+ --vx-icon-mask: url("./assets/select-items-GJZIVO37.svg");
2633
+ }
2634
+ .vx-icon[data-icon=filter] {
2635
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2636
+ }
2030
2637
  .vx-icon[data-icon=select] {
2031
2638
  --vx-icon-mask: url("./assets/select-VU7WR7B4.svg");
2032
2639
  }
2640
+ .vx-icon[data-icon=filter] {
2641
+ --vx-icon-mask: url("./assets/filter-JSDZZVGN.svg");
2642
+ }
2033
2643
  .vx-icon[data-icon=area] {
2034
2644
  --vx-icon-mask: url("./assets/area-P2WOMBT5.svg");
2035
2645
  }
@@ -2085,12 +2695,24 @@
2085
2695
  .vx-icon[data-icon=detail] {
2086
2696
  --vx-icon-mask: url("./assets/detail-E52XPONK.svg");
2087
2697
  }
2088
- .vx-icon[data-icon=download] {
2089
- --vx-icon-mask: url("./assets/download-4AAENLS6.svg");
2090
- }
2091
2698
  .vx-icon[data-icon=export] {
2092
2699
  --vx-icon-mask: url("./assets/export-W2OBXZDQ.svg");
2093
2700
  }
2701
+ .vx-icon[data-icon=favorite] {
2702
+ --vx-icon-mask: url("./assets/favorite-6GMNHJCN.svg");
2703
+ }
2704
+ .vx-icon[data-icon=download] {
2705
+ --vx-icon-mask: url("./assets/download-VTKCEAZG.svg");
2706
+ }
2707
+ .vx-icon[data-icon=delete] {
2708
+ --vx-icon-mask: url("./assets/delete-4Y3OUMEL.svg");
2709
+ }
2710
+ .vx-icon[data-icon=trim] {
2711
+ --vx-icon-mask: url("./assets/trim-LQMHHN2M.svg");
2712
+ }
2713
+ .vx-icon[data-icon=crop] {
2714
+ --vx-icon-mask: url("./assets/crop-5JXWHIPN.svg");
2715
+ }
2094
2716
  .vx-icon[data-icon=edit] {
2095
2717
  --vx-icon-mask: url("./assets/edit-JUVJDD5A.svg");
2096
2718
  }
@@ -2120,41 +2742,75 @@
2120
2742
  }
2121
2743
 
2122
2744
  /* packages/studio-workbench/src/asset-toolbar.css */
2123
- .ad-asset-toolbar {
2124
- display: flex;
2125
- align-items: center;
2126
- gap: 16px;
2127
- padding: 16px;
2128
- flex-wrap: wrap;
2745
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-toolbar {
2746
+ padding-inline: var(--vx-space-16) var(--vx-space-12);
2129
2747
  }
2130
- .ad-asset-toolbar .vx-search-input {
2131
- width: 240px;
2748
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-view-tabs {
2749
+ gap: var(--vx-space-16);
2750
+ scrollbar-width: none;
2751
+ }
2752
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-view-tabs > .vx-button {
2753
+ padding: var(--vx-space-16) 0 var(--vx-space-12);
2754
+ border-bottom: 0;
2755
+ color: var(--vx-text-secondary);
2756
+ font: var(--vx-typography-inter-16-semi-bold);
2757
+ }
2758
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-view-tabs > .active {
2759
+ padding-block-start: 18px;
2760
+ border-bottom: 2px solid var(--vx-state-success);
2761
+ color: var(--vx-state-success);
2762
+ }
2763
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-toolbar-controls > .vx-button {
2764
+ background: var(--vx-button-background);
2765
+ }
2766
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-table th {
2767
+ height: 40px;
2768
+ color: var(--vx-text-secondary);
2769
+ font: var(--vx-typography-inter-14-regular);
2132
2770
  }
2133
- .ad-asset-toolbar label {
2771
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-table tbody td {
2772
+ font: var(--vx-typography-inter-14-regular);
2773
+ }
2774
+ .studio-page-panel:is([data-page=assets], [data-page=projects], [data-page=tasks]) .studio-table .studio-cover {
2775
+ width: 114px;
2776
+ aspect-ratio: 16 / 9;
2777
+ height: auto;
2778
+ overflow: hidden;
2779
+ border-radius: var(--vx-radius-lg);
2780
+ }
2781
+ .studio-asset-references {
2134
2782
  display: flex;
2135
- align-items: center;
2136
- gap: 8px;
2137
- font-size: 13px;
2783
+ gap: var(--vx-space-4);
2784
+ max-width: 100%;
2785
+ flex-wrap: wrap;
2138
2786
  }
2139
- .ad-asset-toolbar select {
2140
- background: var(--vx-background-page);
2141
- color: inherit;
2142
- border: 1px solid var(--vx-border-secondary);
2143
- border-radius: 8px;
2144
- padding: 7px 10px;
2787
+ .studio-asset-references > button {
2788
+ display: grid;
2789
+ flex: none;
2790
+ place-items: center;
2791
+ width: 32px;
2792
+ height: 32px;
2793
+ padding: 0;
2794
+ border: 0;
2795
+ border-radius: var(--vx-radius-sm);
2796
+ background: var(--vx-cover-background);
2797
+ color: var(--vx-text-on-content-secondary);
2798
+ overflow: hidden;
2799
+ cursor: pointer;
2145
2800
  }
2146
- .ad-asset-toolbar > span {
2147
- margin-left: auto;
2148
- font-size: 13px;
2149
- color: var(--vx-text-secondary-readable);
2801
+ .studio-reference-thumbnail {
2802
+ display: grid;
2803
+ place-items: center;
2804
+ width: 100%;
2805
+ height: 100%;
2150
2806
  }
2151
- @media (max-width: 540px) {
2152
- .ad-asset-toolbar {
2153
- gap: 8px;
2154
- }
2155
- .ad-asset-toolbar .vx-search-input {
2156
- width: 100%;
2157
- }
2807
+ .studio-reference-thumbnail :is(img, video) {
2808
+ width: 100%;
2809
+ height: 100%;
2810
+ object-fit: contain;
2811
+ }
2812
+ .studio-page-panel[data-asset-library] .studio-table-assets {
2813
+ min-width: 1120px;
2158
2814
  }
2159
2815
 
2160
2816
  /* packages/studio-workbench/src/view-preview.css */
@@ -2201,7 +2857,10 @@
2201
2857
  .studio-home {
2202
2858
  display: grid;
2203
2859
  grid-template-columns: minmax(0, 1fr);
2204
- gap: 8px;
2860
+ grid-template-rows: auto auto minmax(0, 1fr);
2861
+ flex: 1;
2862
+ min-height: 0;
2863
+ gap: var(--vx-space-8);
2205
2864
  inline-size: 100%;
2206
2865
  max-inline-size: 1920px;
2207
2866
  align-self: center;
@@ -2218,6 +2877,9 @@
2218
2877
  flex-wrap: wrap;
2219
2878
  }
2220
2879
  .studio-home-hero {
2880
+ display: flex;
2881
+ flex-direction: column;
2882
+ justify-content: center;
2221
2883
  position: relative;
2222
2884
  overflow: hidden;
2223
2885
  min-block-size: 123px;
@@ -2246,7 +2908,7 @@
2246
2908
  .studio-home-hero h1 {
2247
2909
  color: var(--vx-text-primary);
2248
2910
  margin: 0;
2249
- font: italic 700 32px/1.15 "Inria Serif", serif;
2911
+ font: italic 600 32px/1.15 "Inria Serif", serif;
2250
2912
  }
2251
2913
  .studio-home-hero p {
2252
2914
  margin: 0;
@@ -2254,6 +2916,11 @@
2254
2916
  }
2255
2917
  .studio-home-panels {
2256
2918
  display: grid;
2919
+ align-content: start;
2920
+ min-height: 0;
2921
+ scrollbar-gutter: stable;
2922
+ overflow: scroll auto;
2923
+ overscroll-behavior: contain;
2257
2924
  gap: 8px;
2258
2925
  min-width: 0;
2259
2926
  }
@@ -2268,7 +2935,7 @@
2268
2935
  }
2269
2936
  .studio-home-panel > header h2 {
2270
2937
  margin: 0;
2271
- font-size: 16px;
2938
+ font: var(--vx-typography-inter-16-semi-bold);
2272
2939
  }
2273
2940
  .studio-home-grid {
2274
2941
  display: grid;
@@ -2311,7 +2978,7 @@
2311
2978
  place-items: center;
2312
2979
  overflow: hidden;
2313
2980
  border-radius: 8px;
2314
- background: var(--vx-surface-input);
2981
+ background: var(--vx-cover-background);
2315
2982
  }
2316
2983
  .studio-home-cover {
2317
2984
  position: relative;
@@ -2324,9 +2991,6 @@
2324
2991
  height: 100%;
2325
2992
  object-fit: contain;
2326
2993
  }
2327
- .studio-home-cover:has(img, video) {
2328
- background: #151515;
2329
- }
2330
2994
  .studio-home-template {
2331
2995
  container-type: inline-size;
2332
2996
  position: relative;
@@ -2338,31 +3002,54 @@
2338
3002
  translate: 0 -50%;
2339
3003
  top: 28.125cqw;
2340
3004
  margin: auto;
2341
- height: max-content;
2342
- width: max-content;
2343
3005
  opacity: 0;
2344
- background: var(--vx-background-page);
2345
3006
  }
2346
3007
  .studio-home-template:hover > button:last-child,
2347
3008
  .studio-home-template:focus-within > button:last-child {
2348
3009
  opacity: 1;
2349
3010
  }
2350
- .studio-home-empty {
2351
- padding: 12px;
2352
- margin: 0;
2353
- color: var(--vx-text-secondary);
2354
- }
2355
3011
  .studio-home-dialog textarea {
2356
3012
  box-sizing: border-box;
2357
3013
  width: 100%;
2358
3014
  resize: vertical;
2359
3015
  padding: 10px;
2360
- border: 1px solid var(--vx-border-secondary);
3016
+ border: 0;
2361
3017
  border-radius: 8px;
2362
3018
  background: var(--vx-surface-input);
2363
3019
  color: var(--vx-text-primary);
2364
3020
  font: inherit;
2365
3021
  }
3022
+ .studio-home-dialog[data-variant=edit-dashboard][open] {
3023
+ display: flex;
3024
+ flex-direction: column;
3025
+ height: min(560px, calc(100dvh - 32px));
3026
+ box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
3027
+ }
3028
+ .studio-home-dialog[data-variant=edit-dashboard] > .vx-dialog-body {
3029
+ flex: 1;
3030
+ min-height: 0;
3031
+ display: flex;
3032
+ flex-direction: column;
3033
+ align-items: stretch;
3034
+ gap: var(--vx-space-8);
3035
+ }
3036
+ .studio-dashboard-field-label {
3037
+ color: var(--vx-text-secondary);
3038
+ font: var(--vx-typography-inter-14-regular);
3039
+ }
3040
+ .studio-home-dialog[data-variant=edit-dashboard] textarea {
3041
+ flex: 1;
3042
+ min-height: 0;
3043
+ max-height: 338px;
3044
+ padding: 8px 12px;
3045
+ border: 0;
3046
+ border-radius: 6px;
3047
+ resize: none;
3048
+ font: var(--vx-typography-inter-14-regular);
3049
+ }
3050
+ .studio-home-dialog [role=status]:empty {
3051
+ display: none;
3052
+ }
2366
3053
  .studio-home-dialog .studio-home-preview {
2367
3054
  margin-bottom: 12px;
2368
3055
  max-height: 240px;
@@ -2390,7 +3077,7 @@
2390
3077
  border-radius: 999px;
2391
3078
  }
2392
3079
  .studio-home-hero-copy {
2393
- padding: 24px 343px 32px 24px;
3080
+ padding: var(--vx-space-16) 343px var(--vx-space-16) var(--vx-space-24);
2394
3081
  }
2395
3082
  .studio-home-grid {
2396
3083
  padding: 0 var(--home-panel-inset) var(--home-panel-inset);
@@ -2399,12 +3086,12 @@
2399
3086
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(150px, calc((100% - 32px) / 5))), 1fr));
2400
3087
  }
2401
3088
  .studio-home-views {
2402
- margin-block-start: 4px;
2403
- --vx-tabs-primary-height: 55px;
3089
+ border-radius: 16px;
3090
+ --vx-tabs-primary-height: 56px;
2404
3091
  }
2405
3092
  .studio-home-views .vx-tabs {
2406
3093
  padding-inline: var(--home-panel-inset);
2407
- border-block-end: 1px solid var(--vx-border-secondary);
3094
+ border-block-end: var(--vx-divider-width) solid var(--vx-border-secondary);
2408
3095
  }
2409
3096
  .studio-home-views .vx-tab-list {
2410
3097
  gap: var(--vx-space-16);
@@ -2412,14 +3099,86 @@
2412
3099
  .studio-home-views [role=tab] {
2413
3100
  padding-inline: 0;
2414
3101
  }
2415
- .studio-home-views .studio-home-empty {
2416
- padding: var(--home-panel-inset);
3102
+ .studio-home[data-custom-views] .studio-home-views {
3103
+ margin-block-start: var(--vx-space-4);
3104
+ }
3105
+ .studio-home[data-custom-views] .studio-home-views,
3106
+ .studio-home[data-custom-views] .studio-home-views > div,
3107
+ .studio-home[data-custom-views] .studio-home-views [role=tabpanel]:not([hidden]) {
3108
+ display: flex;
3109
+ flex-direction: column;
3110
+ flex: 1;
3111
+ }
3112
+ .studio-home[data-custom-views] .studio-home-views,
3113
+ .studio-home[data-custom-views] .studio-home-views > div {
3114
+ min-height: 0;
3115
+ overflow: hidden;
3116
+ }
3117
+ .studio-home[data-custom-views] .studio-home-views [role=tabpanel]:not([hidden]) {
3118
+ min-height: 0;
3119
+ scrollbar-gutter: stable;
3120
+ overflow: scroll auto;
3121
+ overscroll-behavior: contain;
3122
+ }
3123
+ @media (max-width: 760px) {
3124
+ .studio-content:has(> .studio-home) {
3125
+ box-sizing: border-box;
3126
+ height: 100dvh;
3127
+ min-height: min-content;
3128
+ }
3129
+ }
3130
+ .studio-home[data-custom-views] .vx-tabs {
3131
+ flex: none;
3132
+ }
3133
+ .studio-saved-empty {
3134
+ display: flex;
3135
+ flex: 1;
3136
+ flex-direction: column;
3137
+ justify-content: center;
3138
+ align-items: center;
3139
+ gap: var(--vx-space-16);
3140
+ padding: 64px var(--vx-space-8);
3141
+ text-align: center;
3142
+ }
3143
+ .studio-saved-empty p {
3144
+ margin: 0;
3145
+ color: var(--vx-text-secondary);
3146
+ font: var(--vx-typography-inter-14-regular);
2417
3147
  }
2418
3148
  .studio-home-template-summary {
2419
- color: var(--vx-text-secondary-readable);
3149
+ color: var(--vx-text-secondary);
2420
3150
  font: var(--vx-typography-inter-12-regular);
2421
3151
  }
2422
- .studio-home-gallery {
3152
+ .studio-home-template .studio-home-tile {
3153
+ gap: var(--vx-space-8);
3154
+ padding-block-end: var(--vx-space-8);
3155
+ }
3156
+ .studio-template-caption {
3157
+ display: grid;
3158
+ gap: var(--vx-space-2);
3159
+ padding-inline: var(--vx-space-8);
3160
+ min-width: 0;
3161
+ }
3162
+ .studio-template-caption > strong {
3163
+ font: var(--vx-typography-inter-14-semi-bold);
3164
+ }
3165
+ .studio-home-template .studio-home-preview {
3166
+ overflow: hidden;
3167
+ background: var(--vx-background-page);
3168
+ padding: 3.5% 3.5% 0;
3169
+ box-sizing: border-box;
3170
+ }
3171
+ .studio-home-template .studio-home-preview::before {
3172
+ content: "";
3173
+ display: block;
3174
+ height: 100%;
3175
+ border-radius: 4px 4px 0 0;
3176
+ background: var(--vx-background-dialog) var(--studio-view-art) center top / cover no-repeat;
3177
+ }
3178
+ .studio-home-views .vx-tabs [role=tab]:not([aria-selected=true]) {
3179
+ color: var(--vx-text-secondary);
3180
+ }
3181
+ .studio-home-views .studio-home-gallery {
2423
3182
  padding-block-start: var(--home-panel-inset);
2424
3183
  grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, calc((100% - 24px) / 4))), 1fr));
2425
3184
  }
@@ -2465,6 +3224,13 @@
2465
3224
  .studio-home-toolbar > .vx-segment .vx-icon::before {
2466
3225
  width: 100%;
2467
3226
  height: 100%;
3227
+ mask-size: auto;
3228
+ }
3229
+ .studio-home-toolbar > .vx-segment .vx-icon[data-icon=list]::before {
3230
+ mask-position: center top;
3231
+ }
3232
+ .studio-home-actions[inert] {
3233
+ visibility: hidden;
2468
3234
  }
2469
3235
  .studio-home-actions {
2470
3236
  display: flex;
@@ -2484,7 +3250,7 @@
2484
3250
  gap: 4px;
2485
3251
  }
2486
3252
  .studio-home-cover {
2487
- color: var(--vx-text-placeholder);
3253
+ color: var(--vx-text-on-content-secondary);
2488
3254
  }
2489
3255
  @media (max-width: 480px) {
2490
3256
  .studio-home-toolbar > .vx-segment {
@@ -2952,46 +3718,225 @@
2952
3718
  background: transparent;
2953
3719
  pointer-events: none;
2954
3720
  }
2955
- .studio-home-tutorials > header > h2 {
2956
- position: absolute;
2957
- width: 1px;
2958
- height: 1px;
2959
- clip-path: inset(50%);
3721
+ .studio-home-tutorials > header > h2 {
3722
+ position: absolute;
3723
+ width: 1px;
3724
+ height: 1px;
3725
+ clip-path: inset(50%);
3726
+ }
3727
+ .studio-home-tutorials > header > button {
3728
+ margin-inline-start: auto;
3729
+ pointer-events: auto;
3730
+ }
3731
+ .studio-home-tutorials > .vx-dialog-body {
3732
+ display: grid;
3733
+ grid-template-rows: auto minmax(0, 1fr);
3734
+ justify-items: center;
3735
+ gap: 12px;
3736
+ height: 100%;
3737
+ box-sizing: border-box;
3738
+ padding: 12px;
3739
+ }
3740
+ .studio-home-tutorials .vx-segment {
3741
+ max-width: calc(100% - 56px);
3742
+ }
3743
+ .studio-home-tutorial-stage {
3744
+ width: 100%;
3745
+ min-height: 0;
3746
+ display: grid;
3747
+ place-items: center;
3748
+ }
3749
+ .studio-home-tutorial-stage video {
3750
+ width: 100%;
3751
+ height: 100%;
3752
+ min-height: 0;
3753
+ object-fit: contain;
3754
+ }
3755
+ @media (max-width: 359px) {
3756
+ .studio-home-hero-copy {
3757
+ padding: var(--vx-space-16);
3758
+ }
3759
+ .studio-home-motion-demo {
3760
+ display: none;
3761
+ }
3762
+ }
3763
+
3764
+ /* packages/studio-workbench/src/welcome-dialog.css */
3765
+ .vx-dialog.studio-welcome {
3766
+ width: min(100%, 1024px);
3767
+ max-width: none;
3768
+ max-height: 100dvh;
3769
+ padding: 24px;
3770
+ border: 0;
3771
+ border-radius: 0;
3772
+ background: transparent;
3773
+ box-shadow: none;
3774
+ text-align: center;
3775
+ overscroll-behavior: contain;
3776
+ }
3777
+ .studio-welcome[open]::backdrop {
3778
+ animation: studio-welcome-fade 240ms ease-out both;
3779
+ }
3780
+ .vx-dialog.studio-welcome > header,
3781
+ .vx-dialog.studio-welcome > footer {
3782
+ justify-content: center;
3783
+ padding: 0;
3784
+ }
3785
+ .vx-dialog.studio-welcome h2 {
3786
+ display: grid;
3787
+ place-content: center;
3788
+ min-height: 42px;
3789
+ color: light-dark(rgb(30 38 32 / 90%), var(--vx-text-primary));
3790
+ font: italic 700 32px/42px "Inria Serif", serif;
3791
+ letter-spacing: -0.32px;
3792
+ outline: none;
3793
+ }
3794
+ .vx-dialog.studio-welcome > .vx-dialog-body {
3795
+ padding: 0;
3796
+ }
3797
+ .vx-dialog.studio-welcome .studio-welcome-intro {
3798
+ margin: 4px 0 32px;
3799
+ color: var(--vx-text-secondary);
3800
+ font: var(--vx-typography-inter-16-regular);
3801
+ text-wrap: pretty;
3802
+ }
3803
+ .studio-welcome-choices {
3804
+ display: grid;
3805
+ grid-template-columns: repeat(3, minmax(0, 1fr));
3806
+ gap: 8px;
3807
+ }
3808
+ .studio-welcome-choice {
3809
+ display: flex;
3810
+ flex-direction: column;
3811
+ align-items: center;
3812
+ gap: 16px;
3813
+ min-width: 0;
3814
+ padding: 0 0 8px;
3815
+ border: 0;
3816
+ border-radius: 8px;
3817
+ background: transparent;
3818
+ color: var(--vx-text-primary);
3819
+ font: var(--vx-typography-inter-16-semi-bold);
3820
+ cursor: pointer;
3821
+ }
3822
+ .studio-welcome-choice > span:last-child {
3823
+ padding-inline: 8px;
3824
+ }
3825
+ .studio-welcome-choice:disabled {
3826
+ cursor: default;
3827
+ opacity: 0.55;
3828
+ }
3829
+ .studio-welcome-choice:hover:enabled .studio-welcome-cover {
3830
+ box-shadow: inset 0 0 0 2px var(--vx-state-success);
3831
+ }
3832
+ .studio-welcome-cover {
3833
+ position: relative;
3834
+ display: grid;
3835
+ place-items: center;
3836
+ width: 100%;
3837
+ aspect-ratio: 16 / 9;
3838
+ overflow: hidden;
3839
+ border-radius: 8px;
3840
+ background: var(--vx-surface-input) center / contain no-repeat;
3841
+ }
3842
+ .studio-welcome-cover[data-sample] {
3843
+ background-color: black;
3844
+ }
3845
+ .studio-welcome-cover[data-sample=drama] {
3846
+ background-image: url("./assets/welcome-short-drama-YDTZHBGK.png");
3847
+ }
3848
+ .studio-welcome-cover[data-sample=ad] {
3849
+ background-image: url("./assets/welcome-product-ad-YRPDJRAH.png");
3850
+ }
3851
+ .studio-welcome-cover .vx-tag {
3852
+ position: absolute;
3853
+ left: 8px;
3854
+ top: 8px;
3855
+ }
3856
+ .studio-welcome-plus {
3857
+ display: grid;
3858
+ width: 44px;
3859
+ height: 44px;
3860
+ place-items: center;
3861
+ border-radius: 8px;
3862
+ background: var(--vx-background-dialog);
3863
+ }
3864
+ .studio-welcome-plus .vx-icon[data-icon=add] {
3865
+ --vx-icon-mask: url("./assets/welcome-add-HS6LIH63.svg");
3866
+ }
3867
+ .vx-dialog.studio-welcome > footer {
3868
+ margin-top: 32px;
3869
+ }
3870
+ .vx-dialog.studio-welcome > footer .vx-button[data-shape=icon] {
3871
+ border: 1px solid var(--vx-border-primary);
3872
+ border-radius: 50%;
3873
+ background: var(--vx-background-dialog);
3874
+ color: var(--vx-icon-secondary);
3875
+ }
3876
+ .studio-welcome > footer .vx-icon[data-icon=close]::before {
3877
+ width: 9.5px;
3878
+ height: 9.5px;
3879
+ mask-image: url("./assets/welcome-close-NOBXBZOT.svg");
3880
+ }
3881
+ .studio-welcome[open] > header,
3882
+ .studio-welcome[open] .studio-welcome-intro,
3883
+ .studio-welcome[open] .studio-welcome-choices,
3884
+ .studio-welcome[open] > footer {
3885
+ animation: studio-welcome-rise 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
2960
3886
  }
2961
- .studio-home-tutorials > header > button {
2962
- margin-inline-start: auto;
2963
- pointer-events: auto;
3887
+ .studio-welcome[open] .studio-welcome-intro {
3888
+ animation-delay: 40ms;
2964
3889
  }
2965
- .studio-home-tutorials > .vx-dialog-body {
2966
- display: grid;
2967
- grid-template-rows: auto minmax(0, 1fr);
2968
- justify-items: center;
2969
- gap: 12px;
2970
- height: 100%;
2971
- box-sizing: border-box;
2972
- padding: 12px;
3890
+ .studio-welcome[open] .studio-welcome-choices {
3891
+ animation-delay: 90ms;
2973
3892
  }
2974
- .studio-home-tutorials .vx-segment {
2975
- max-width: calc(100% - 56px);
3893
+ .studio-welcome[open] > footer {
3894
+ animation-delay: 150ms;
2976
3895
  }
2977
- .studio-home-tutorial-stage {
2978
- width: 100%;
2979
- min-height: 0;
2980
- display: grid;
2981
- place-items: center;
3896
+ @keyframes studio-welcome-fade {
3897
+ from {
3898
+ opacity: 0;
3899
+ }
3900
+ to {
3901
+ opacity: 1;
3902
+ }
2982
3903
  }
2983
- .studio-home-tutorial-stage video {
2984
- width: 100%;
2985
- height: 100%;
2986
- min-height: 0;
2987
- object-fit: contain;
3904
+ @keyframes studio-welcome-rise {
3905
+ from {
3906
+ opacity: 0;
3907
+ transform: translateY(18px);
3908
+ }
3909
+ to {
3910
+ opacity: 1;
3911
+ transform: translateY(0);
3912
+ }
2988
3913
  }
2989
- @media (max-width: 359px) {
2990
- .studio-home-hero-copy {
2991
- padding: var(--vx-space-16);
3914
+ @media (max-width: 640px) {
3915
+ .vx-dialog.studio-welcome {
3916
+ width: min(100%, 368px);
3917
+ padding: 20px 24px;
2992
3918
  }
2993
- .studio-home-motion-demo {
2994
- display: none;
3919
+ .studio-welcome-choices {
3920
+ grid-template-columns: minmax(0, 1fr);
3921
+ gap: 12px;
3922
+ }
3923
+ .studio-welcome-choice {
3924
+ gap: 8px;
3925
+ }
3926
+ .vx-dialog.studio-welcome .studio-welcome-intro {
3927
+ margin-bottom: 20px;
3928
+ }
3929
+ .vx-dialog.studio-welcome > footer {
3930
+ margin-top: 16px;
3931
+ }
3932
+ }
3933
+ @media (prefers-reduced-motion: reduce) {
3934
+ .studio-welcome[open]::backdrop,
3935
+ .studio-welcome[open] > header,
3936
+ .studio-welcome[open] .studio-welcome-intro,
3937
+ .studio-welcome[open] .studio-welcome-choices,
3938
+ .studio-welcome[open] > footer {
3939
+ animation: none;
2995
3940
  }
2996
3941
  }
2997
3942
 
@@ -3040,7 +3985,8 @@
3040
3985
  .studio-template-scroll {
3041
3986
  box-sizing: border-box;
3042
3987
  height: 100%;
3043
- overflow: auto;
3988
+ scrollbar-gutter: stable;
3989
+ overflow: scroll auto;
3044
3990
  padding: 4px;
3045
3991
  scroll-padding-block: 4px 120px;
3046
3992
  }
@@ -3091,7 +4037,7 @@
3091
4037
  box-sizing: border-box;
3092
4038
  width: 100%;
3093
4039
  padding: var(--vx-space-8);
3094
- border: 1px solid var(--vx-control-border);
4040
+ border: 0;
3095
4041
  border-radius: var(--vx-radius-md);
3096
4042
  background: var(--vx-surface-input);
3097
4043
  color: var(--vx-text-primary);
@@ -3157,6 +4103,7 @@ body:has(.studio-global) {
3157
4103
  }
3158
4104
  .studio-logo strong {
3159
4105
  font: var(--vx-typography-inter-16-semi-bold);
4106
+ font-weight: 900;
3160
4107
  letter-spacing: -0.6px;
3161
4108
  }
3162
4109
  .studio-logo button,
@@ -3182,7 +4129,7 @@ body:has(.studio-global) {
3182
4129
  padding: 0 12px;
3183
4130
  flex: 1;
3184
4131
  min-height: 0;
3185
- overflow: auto;
4132
+ overflow: hidden auto;
3186
4133
  }
3187
4134
  .studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button {
3188
4135
  display: flex;
@@ -3225,8 +4172,8 @@ body:has(.studio-global) {
3225
4172
  width: 24px;
3226
4173
  height: 24px;
3227
4174
  flex: none;
3228
- background: var(--vx-surface-input);
3229
- color: var(--vx-text-secondary-readable);
4175
+ background: var(--vx-cover-background);
4176
+ color: var(--vx-text-on-content-secondary);
3230
4177
  border-radius: 6px;
3231
4178
  overflow: hidden;
3232
4179
  }
@@ -3251,10 +4198,12 @@ body:has(.studio-global) {
3251
4198
  .studio-user-mark {
3252
4199
  display: grid;
3253
4200
  place-items: center;
3254
- width: 32px;
3255
- height: 32px;
4201
+ width: 28px;
4202
+ height: 28px;
4203
+ flex: none;
3256
4204
  border-radius: 50%;
3257
- background: var(--vx-surface-input) url("./assets/local-user-MIBWBA6X.png") center / cover no-repeat;
4205
+ background: linear-gradient(rgb(255 255 255 / 40%), rgb(255 255 255 / 40%)), url("./assets/local-user-MIBWBA6X.png") center / cover;
4206
+ background-blend-mode: hard-light;
3258
4207
  }
3259
4208
  .studio-sidebar[data-collapsed=true] {
3260
4209
  width: 56px;
@@ -3307,7 +4256,18 @@ body:has(.studio-global) {
3307
4256
  background: transparent;
3308
4257
  color: var(--vx-state-success);
3309
4258
  height: 28px;
3310
- padding: 4px 12px;
4259
+ padding: var(--vx-space-4) var(--vx-space-12);
4260
+ }
4261
+ .studio-create-view .vx-button-content::before {
4262
+ content: "";
4263
+ width: 14px;
4264
+ height: 14px;
4265
+ flex: none;
4266
+ background: currentColor;
4267
+ mask: url("./assets/create-custom-view-WUWJL7YC.svg") center / contain no-repeat;
4268
+ }
4269
+ .studio-create-view .vx-button-label {
4270
+ font: var(--vx-typography-inter-14-semi-bold);
3311
4271
  }
3312
4272
  .studio-mobile-nav {
3313
4273
  display: none;
@@ -3322,6 +4282,22 @@ body:has(.studio-global) {
3322
4282
  overflow: hidden;
3323
4283
  background: var(--vx-background-dialog);
3324
4284
  }
4285
+ .studio-page-panel[data-classified] > div,
4286
+ .studio-page-panel[data-classified] [role=tabpanel]:not([hidden]) {
4287
+ display: flex;
4288
+ flex: 1;
4289
+ flex-direction: column;
4290
+ min-height: 0;
4291
+ }
4292
+ .studio-page-panel[data-classified] .vx-tabs {
4293
+ flex: none;
4294
+ min-height: var(--vx-tabs-primary-height);
4295
+ padding-inline: var(--vx-space-16);
4296
+ border-bottom: var(--vx-divider-width) solid var(--vx-border-secondary);
4297
+ }
4298
+ .studio-page-panel[data-classified] .vx-tab-list > [aria-selected=false] {
4299
+ color: var(--vx-text-secondary);
4300
+ }
3325
4301
  .studio-toolbar {
3326
4302
  display: flex;
3327
4303
  align-items: center;
@@ -3337,7 +4313,7 @@ body:has(.studio-global) {
3337
4313
  flex: 1;
3338
4314
  align-self: stretch;
3339
4315
  min-width: 0;
3340
- overflow-x: auto;
4316
+ overflow-x: scroll;
3341
4317
  gap: 4px;
3342
4318
  }
3343
4319
  .studio-view-tabs > .vx-button {
@@ -3360,7 +4336,6 @@ body:has(.studio-global) {
3360
4336
  gap: 8px;
3361
4337
  flex: none;
3362
4338
  }
3363
- .studio-toolbar-controls > .vx-button,
3364
4339
  .studio-bulk > .vx-button {
3365
4340
  background: transparent;
3366
4341
  }
@@ -3379,7 +4354,8 @@ body:has(.studio-global) {
3379
4354
  display: flex;
3380
4355
  flex-direction: column;
3381
4356
  flex: 1;
3382
- overflow: auto;
4357
+ scrollbar-gutter: stable;
4358
+ overflow: scroll auto;
3383
4359
  min-height: 0;
3384
4360
  }
3385
4361
  .studio-table {
@@ -3433,6 +4409,8 @@ body:has(.studio-global) {
3433
4409
  overflow: hidden;
3434
4410
  }
3435
4411
  .studio-cover {
4412
+ background: var(--vx-cover-background);
4413
+ border-radius: var(--vx-radius-lg);
3436
4414
  position: relative;
3437
4415
  }
3438
4416
  .studio-table .studio-cover {
@@ -3454,7 +4432,7 @@ body:has(.studio-global) {
3454
4432
  border-radius: 8px;
3455
4433
  pointer-events: none;
3456
4434
  }
3457
- .studio-cover[data-kind=video] > .vx-media {
4435
+ .studio-cover[data-kind=video]:has(.studio-cover-video) > .vx-media {
3458
4436
  position: relative;
3459
4437
  z-index: 1;
3460
4438
  background: transparent;
@@ -3510,7 +4488,8 @@ body:has(.studio-global) {
3510
4488
  align-content: start;
3511
4489
  gap: 16px;
3512
4490
  padding: 16px;
3513
- overflow: auto;
4491
+ scrollbar-gutter: stable;
4492
+ overflow: scroll auto;
3514
4493
  min-height: 0;
3515
4494
  flex: 1;
3516
4495
  }
@@ -3547,25 +4526,32 @@ body:has(.studio-global) {
3547
4526
  font: var(--vx-typography-inter-12-regular);
3548
4527
  }
3549
4528
  .studio-card-heading > .vx-action-menu > .vx-button,
3550
- .studio-table td:last-child > .vx-action-menu > .vx-button {
4529
+ .studio-table:not(.studio-table-assets) td:last-child > .vx-action-menu > .vx-button {
3551
4530
  width: 24px;
3552
4531
  height: 24px;
3553
4532
  padding: 0;
3554
4533
  background: transparent;
3555
4534
  }
3556
- .studio-card-heading > .vx-action-menu > .vx-button .vx-button-label,
3557
- .studio-card-heading > .vx-action-menu > .vx-button .vx-button-trailing,
3558
- .studio-table td:last-child > .vx-action-menu > .vx-button .vx-button-label,
3559
- .studio-table td:last-child > .vx-action-menu > .vx-button .vx-button-trailing {
4535
+ .studio-card-heading > .vx-action-menu > .vx-button :is(.vx-button-label, .vx-button-trailing),
4536
+ .studio-table:not(.studio-table-assets) td:last-child > .vx-action-menu > .vx-button :is(.vx-button-label, .vx-button-trailing) {
3560
4537
  display: none;
3561
4538
  }
3562
4539
  .studio-card-heading > .vx-action-menu > .vx-button::after,
3563
- .studio-table td:last-child > .vx-action-menu > .vx-button::after {
4540
+ .studio-table:not(.studio-table-assets) td:last-child > .vx-action-menu > .vx-button::after {
3564
4541
  content: "\b7\b7\b7";
3565
4542
  position: absolute;
3566
4543
  font-size: 18px;
3567
4544
  line-height: 1;
3568
4545
  }
4546
+ .studio-table-assets .studio-actions-cell {
4547
+ position: sticky;
4548
+ right: 0;
4549
+ background: var(--vx-background-dialog);
4550
+ text-align: right;
4551
+ }
4552
+ .studio-table-assets tr:is(:hover, :focus-within) td.studio-actions-cell {
4553
+ background: var(--vx-surface-hover);
4554
+ }
3569
4555
  .studio-table td:last-child {
3570
4556
  text-align: right;
3571
4557
  }
@@ -3636,26 +4622,17 @@ body:has(.studio-global) {
3636
4622
  padding: 8px;
3637
4623
  flex: none;
3638
4624
  }
3639
- .studio-shell[data-detail] > .studio-sidebar,
3640
- .studio-shell[data-detail] > .studio-content > .studio-page-header,
3641
- .studio-shell[data-detail] > .studio-content > .studio-mobile-nav {
3642
- display: none;
3643
- }
3644
- .studio-shell[data-detail] > .studio-content {
3645
- padding: 0;
3646
- gap: 0;
3647
- }
3648
- .studio-shell[data-detail] .studio-asset-detail {
3649
- border-radius: 0;
3650
- }
3651
4625
  .studio-asset-detail {
4626
+ position: fixed;
4627
+ inset: 0;
4628
+ z-index: 35;
3652
4629
  display: flex;
3653
- flex: 1;
3654
- min-width: 0;
3655
- min-height: 0;
3656
- border-radius: 16px;
3657
4630
  overflow: hidden;
3658
- background: var(--vx-background-dialog);
4631
+ background: var(--vx-overlay-dialog);
4632
+ backdrop-filter: blur(var(--vx-dialog-backdrop-blur));
4633
+ -webkit-backdrop-filter: blur(var(--vx-dialog-backdrop-blur));
4634
+ color: var(--vx-text-primary);
4635
+ font: var(--vx-typography-inter-14-regular);
3659
4636
  }
3660
4637
  .studio-preview-stage {
3661
4638
  display: flex;
@@ -3665,22 +4642,42 @@ body:has(.studio-global) {
3665
4642
  min-height: 0;
3666
4643
  align-items: center;
3667
4644
  justify-content: center;
3668
- padding: 64px 24px;
4645
+ padding: 52px 12px;
4646
+ }
4647
+ .studio-detail-canvas {
4648
+ flex: 1;
4649
+ align-self: center;
4650
+ height: min(540px, 100%);
4651
+ max-width: 960px;
4652
+ min-inline-size: 0;
4653
+ min-block-size: 0;
4654
+ container-type: size;
4655
+ display: grid;
4656
+ place-items: center;
3669
4657
  }
3670
- .studio-preview-stage > img,
3671
- .studio-preview-stage > video {
4658
+ .studio-detail-canvas .vx-video-player:not(:fullscreen) {
4659
+ border-radius: 4px;
4660
+ overflow: hidden;
4661
+ }
4662
+ .studio-preview-stage > img {
4663
+ display: block;
3672
4664
  object-fit: contain;
3673
- max-width: 100%;
3674
- max-height: 100%;
3675
- width: min(960px, 100%);
4665
+ width: auto;
4666
+ height: auto;
4667
+ max-width: min(960px, 100%);
4668
+ max-height: min(540px, 100%);
3676
4669
  border-radius: 4px;
3677
4670
  }
3678
4671
  .studio-preview-stage > audio {
3679
4672
  max-width: 100%;
3680
4673
  }
3681
- .studio-detail-back.vx-button {
4674
+ .studio-detail-back.vx-button,
4675
+ .studio-preview-actions {
3682
4676
  position: absolute;
4677
+ z-index: 1;
3683
4678
  top: 12px;
4679
+ }
4680
+ .studio-detail-back.vx-button {
3684
4681
  left: 15px;
3685
4682
  background: var(--vx-background-dialog);
3686
4683
  color: var(--vx-text-primary);
@@ -3689,30 +4686,17 @@ body:has(.studio-global) {
3689
4686
  display: flex;
3690
4687
  align-items: center;
3691
4688
  gap: 8px;
3692
- position: absolute;
3693
- top: 12px;
3694
4689
  right: 12px;
3695
4690
  }
3696
- .studio-preview-actions > .vx-button {
3697
- background: var(--vx-background-dialog);
3698
- color: var(--vx-text-primary);
3699
- }
3700
- .studio-favorite {
3701
- display: grid;
3702
- place-items: center;
4691
+ .studio-preview-actions .vx-button {
3703
4692
  width: 32px;
3704
4693
  height: 32px;
3705
- border: 0;
4694
+ padding: 0;
3706
4695
  border-radius: 50%;
3707
4696
  background: var(--vx-background-dialog);
3708
4697
  color: var(--vx-text-primary);
3709
- cursor: pointer;
3710
- }
3711
- .studio-favorite .studio-glyph {
3712
- width: 14px;
3713
- height: 16px;
3714
4698
  }
3715
- .studio-favorite[aria-pressed=true] {
4699
+ .studio-preview-actions .vx-button[aria-pressed=true] {
3716
4700
  color: var(--vx-state-success);
3717
4701
  background: var(--vx-surface-selected);
3718
4702
  }
@@ -3722,36 +4706,59 @@ body:has(.studio-global) {
3722
4706
  display: flex;
3723
4707
  flex-direction: column;
3724
4708
  gap: 24px;
3725
- padding: 24px 16px;
4709
+ padding: 16px 16px 72px;
3726
4710
  border-left: var(--vx-divider-width) solid var(--vx-border-secondary);
3727
4711
  overflow-y: auto;
3728
4712
  overflow-wrap: anywhere;
3729
4713
  }
3730
- .studio-preview-details h2 {
3731
- font: var(--vx-typography-inter-16-semi-bold);
3732
- }
3733
4714
  .studio-detail-group {
3734
4715
  display: flex;
3735
4716
  flex-direction: column;
3736
- gap: 8px;
4717
+ align-items: flex-start;
4718
+ min-width: 0;
3737
4719
  }
3738
4720
  .studio-detail-group > span:first-child {
3739
- color: var(--vx-text-secondary-readable);
4721
+ display: flex;
4722
+ align-items: center;
4723
+ min-height: 28px;
4724
+ color: var(--vx-text-secondary);
3740
4725
  }
3741
- .studio-detail-group p {
4726
+ .studio-detail-group p,
4727
+ .studio-detail-group pre {
3742
4728
  white-space: pre-wrap;
4729
+ overflow-wrap: anywhere;
3743
4730
  }
3744
4731
  .studio-detail-group pre {
3745
4732
  margin: 0;
3746
- white-space: pre-wrap;
3747
- overflow-wrap: anywhere;
4733
+ max-width: 100%;
3748
4734
  font: var(--vx-typography-inter-12-regular);
3749
4735
  }
3750
- .studio-detail-group > .vx-button {
3751
- align-self: flex-start;
3752
- padding: 0;
4736
+ .studio-detail-group .studio-asset-references {
4737
+ display: grid;
4738
+ grid-template-columns: repeat(4, minmax(0, 1fr));
4739
+ width: 100%;
4740
+ gap: 8px;
4741
+ padding-top: 4px;
4742
+ }
4743
+ .studio-detail-group .studio-asset-references > button {
4744
+ width: 100%;
3753
4745
  height: auto;
3754
- color: var(--vx-state-success);
4746
+ aspect-ratio: 1;
4747
+ border-radius: 8px;
4748
+ }
4749
+ .studio-detail-group .studio-reference-thumbnail :is(img, video) {
4750
+ object-fit: cover;
4751
+ }
4752
+ .studio-media-facts {
4753
+ display: flex;
4754
+ align-items: center;
4755
+ gap: 4px;
4756
+ }
4757
+ .studio-ratio-icon {
4758
+ width: 14px;
4759
+ height: 9px;
4760
+ border: 1px solid currentColor;
4761
+ border-radius: 2px;
3755
4762
  }
3756
4763
  .studio-prompt {
3757
4764
  display: -webkit-box;
@@ -3762,12 +4769,22 @@ body:has(.studio-global) {
3762
4769
  .studio-prompt[data-expanded=true] {
3763
4770
  display: block;
3764
4771
  }
4772
+ .studio-prompt-toggle {
4773
+ margin-top: 4px;
4774
+ padding: 0;
4775
+ border: 0;
4776
+ background: transparent;
4777
+ color: var(--vx-state-success);
4778
+ font: var(--vx-typography-inter-14-semi-bold);
4779
+ cursor: pointer;
4780
+ }
3765
4781
  .studio-text-preview {
3766
4782
  white-space: pre-wrap;
3767
4783
  overflow-wrap: anywhere;
3768
4784
  max-width: 100%;
3769
4785
  max-height: 100%;
3770
- overflow: auto;
4786
+ scrollbar-gutter: stable;
4787
+ overflow: scroll auto;
3771
4788
  margin: 0;
3772
4789
  }
3773
4790
  .studio-reference-list {
@@ -3804,7 +4821,7 @@ body:has(.studio-global) {
3804
4821
  .studio-view-form [role=alert] {
3805
4822
  color: var(--vx-state-danger);
3806
4823
  }
3807
- .studio-global :is(button, a, textarea, summary):focus-visible {
4824
+ .studio-global :is(button, a, summary):focus-visible {
3808
4825
  outline: 2px solid var(--vx-state-assistance);
3809
4826
  outline-offset: 2px;
3810
4827
  }
@@ -3855,6 +4872,15 @@ body:has(.studio-global) {
3855
4872
  .studio-toolbar {
3856
4873
  padding: 0 12px 8px;
3857
4874
  }
4875
+ .studio-page-panel[data-classified] .vx-tabs {
4876
+ flex-wrap: wrap;
4877
+ height: auto;
4878
+ gap: var(--vx-space-8);
4879
+ padding: 0 var(--vx-space-12) var(--vx-space-8);
4880
+ }
4881
+ .studio-page-panel[data-classified] .vx-tab-list {
4882
+ flex-basis: 100%;
4883
+ }
3858
4884
  .studio-view-tabs {
3859
4885
  flex-basis: 100%;
3860
4886
  min-height: 56px;
@@ -3876,7 +4902,7 @@ body:has(.studio-global) {
3876
4902
  }
3877
4903
  .studio-asset-detail {
3878
4904
  flex-direction: column;
3879
- overflow: visible;
4905
+ overflow-y: auto;
3880
4906
  }
3881
4907
  .studio-preview-stage {
3882
4908
  height: 45dvh;
@@ -3928,6 +4954,18 @@ body:has(.studio-global) {
3928
4954
  opacity: 0;
3929
4955
  pointer-events: none;
3930
4956
  }
4957
+ .studio-project-actions .vx-action-menu > .vx-button {
4958
+ width: 24px;
4959
+ height: 24px;
4960
+ padding: 0;
4961
+ border-radius: 6px;
4962
+ background: transparent;
4963
+ color: var(--vx-icon-secondary);
4964
+ --vx-icon-size: 14px;
4965
+ }
4966
+ .studio-project-actions .vx-action-menu > .vx-button:hover {
4967
+ background: var(--vx-background-page);
4968
+ }
3931
4969
  .studio-project-row:is(:hover, :focus-within, [data-active]) .studio-project-actions {
3932
4970
  opacity: 1;
3933
4971
  pointer-events: auto;
@@ -3945,7 +4983,7 @@ body:has(.studio-global) {
3945
4983
  }
3946
4984
  .studio-sidebar .studio-project-pages > .studio-project-tab {
3947
4985
  padding-inline: var(--vx-space-8);
3948
- font: var(--vx-typography-inter-14-regular);
4986
+ font: var(--vx-typography-inter-14-medium);
3949
4987
  color: var(--vx-text-secondary-readable);
3950
4988
  }
3951
4989
  .studio-sidebar .studio-project-pages > .studio-project-tab[aria-current=page] {
@@ -3989,13 +5027,22 @@ body:has(.studio-global) {
3989
5027
  .studio-project-caption {
3990
5028
  display: flex;
3991
5029
  align-items: center;
3992
- gap: var(--vx-space-8);
5030
+ gap: var(--vx-space-4);
3993
5031
  min-inline-size: 0;
3994
5032
  }
3995
5033
  .studio-project-caption > span {
3996
5034
  overflow: hidden;
3997
5035
  text-overflow: ellipsis;
3998
5036
  }
5037
+ .studio-project-caption .studio-sample-label {
5038
+ display: inline-flex;
5039
+ align-items: center;
5040
+ box-sizing: border-box;
5041
+ height: 16px;
5042
+ padding: 0 4px;
5043
+ color: var(--vx-icon-secondary);
5044
+ font: var(--vx-typography-inter-10-semi-bold);
5045
+ }
3999
5046
  .studio-sample-label {
4000
5047
  flex: none;
4001
5048
  border-radius: 3px;
@@ -4010,6 +5057,96 @@ body:has(.studio-global) {
4010
5057
  .studio-shell[data-focus] > .studio-sidebar {
4011
5058
  display: none;
4012
5059
  }
5060
+ .studio-frame-stage {
5061
+ flex: 1;
5062
+ min-height: 0;
5063
+ display: grid;
5064
+ grid-template: minmax(0, 1fr) / minmax(0, 1fr);
5065
+ }
5066
+ .studio-frame-stage > * {
5067
+ grid-area: 1 / 1;
5068
+ }
5069
+ .studio-project-frame {
5070
+ height: 100%;
5071
+ }
5072
+ .studio-project-skeleton {
5073
+ display: flex;
5074
+ flex: 1;
5075
+ flex-direction: column;
5076
+ gap: 10px;
5077
+ min-height: 0;
5078
+ padding: 8px;
5079
+ overflow: hidden;
5080
+ }
5081
+ .studio-skeleton-title {
5082
+ margin: 10px 16px;
5083
+ width: 170px;
5084
+ height: 18px;
5085
+ }
5086
+ .studio-skeleton-panels {
5087
+ flex: 1;
5088
+ min-height: 0;
5089
+ display: grid;
5090
+ gap: 8px;
5091
+ grid-auto-columns: minmax(0, 1fr);
5092
+ grid-auto-flow: column;
5093
+ }
5094
+ .studio-project-skeleton[data-layout=preview] .studio-skeleton-panels {
5095
+ grid-template-columns: minmax(0, 1fr) minmax(140px, 21%) minmax(140px, 21%);
5096
+ }
5097
+ .studio-skeleton-panel {
5098
+ min-width: 0;
5099
+ overflow: hidden;
5100
+ background: var(--vx-background-dialog);
5101
+ padding: 16px;
5102
+ border-radius: 16px;
5103
+ }
5104
+ .studio-skeleton-cover {
5105
+ width: 100%;
5106
+ aspect-ratio: 16/9;
5107
+ margin-bottom: 20px;
5108
+ }
5109
+ .studio-project-skeleton[data-layout=preview] .studio-skeleton-panel:first-child .studio-skeleton-cover {
5110
+ height: 66%;
5111
+ }
5112
+ .studio-skeleton-line {
5113
+ height: 14px;
5114
+ margin-bottom: 12px;
5115
+ width: 88%;
5116
+ }
5117
+ .studio-skeleton-line:nth-child(even) {
5118
+ width: 64%;
5119
+ }
5120
+ .studio-project-skeleton[data-layout=list] .studio-skeleton-line {
5121
+ width: 100%;
5122
+ height: 62px;
5123
+ }
5124
+ .studio-skeleton-title,
5125
+ .studio-skeleton-cover,
5126
+ .studio-skeleton-line {
5127
+ border-radius: 6px;
5128
+ background: var(--vx-surface-input);
5129
+ }
5130
+ @media (prefers-reduced-motion: no-preference) {
5131
+ .studio-project-skeleton :is(.studio-skeleton-title, .studio-skeleton-line, .studio-skeleton-cover) {
5132
+ animation: studio-skeleton-pulse 1.5s ease-in-out infinite alternate;
5133
+ }
5134
+ }
5135
+ @keyframes studio-skeleton-pulse {
5136
+ to {
5137
+ opacity: 0.5;
5138
+ }
5139
+ }
5140
+ @media (max-width: 760px) {
5141
+ .studio-project-skeleton[data-layout=preview] .studio-skeleton-panels {
5142
+ grid-template-columns: 1fr;
5143
+ grid-auto-flow: row;
5144
+ }
5145
+ .studio-project-skeleton[data-layout=compare] .studio-skeleton-panels {
5146
+ grid-template-columns: repeat(2, minmax(0, 1fr));
5147
+ grid-auto-flow: row;
5148
+ }
5149
+ }
4013
5150
 
4014
5151
  /* packages/studio-workbench/src/media-tools.css */
4015
5152
  .file-media-tools .actions {
@@ -4026,10 +5163,13 @@ body:has(.studio-global) {
4026
5163
  .file-media-choice select {
4027
5164
  color: var(--vx-text-primary);
4028
5165
  background: var(--vx-background-dialog);
4029
- border: 1px solid var(--vx-border-secondary);
5166
+ border: 0;
4030
5167
  border-radius: 6px;
4031
5168
  padding: 8px 10px;
4032
5169
  }
5170
+ .file-media-choice select {
5171
+ border: 1px solid var(--vx-border-secondary);
5172
+ }
4033
5173
  .file-media-comparison > .vx-dialog {
4034
5174
  width: min(1400px, calc(100vw - 32px));
4035
5175
  max-width: none;