@vivix-labs/studio-workbench 1.0.0-beta.6 → 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/assets/crop-5JXWHIPN.svg +6 -0
- package/dist/assets/trim-LQMHHN2M.svg +9 -0
- package/dist/assets/welcome-add-HS6LIH63.svg +5 -0
- package/dist/assets/welcome-close-NOBXBZOT.svg +5 -0
- package/dist/assets/welcome-product-ad-YRPDJRAH.png +0 -0
- package/dist/assets/welcome-short-drama-YDTZHBGK.png +0 -0
- package/dist/client.bundle.js +1366 -962
- package/dist/client.css +597 -109
- package/dist/server.js +261 -39
- package/package.json +23 -23
- package/presets/table.json +4 -4
- package/presets/user-base.json +9 -9
- package/skills/SKILL.md +4 -3
- package/skills/scripts/initialize-home.mjs +155 -119
package/dist/client.css
CHANGED
|
@@ -59,6 +59,9 @@
|
|
|
59
59
|
inset: 68.5% 0 0;
|
|
60
60
|
background: linear-gradient(transparent, #eff3f1);
|
|
61
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
|
+
}
|
|
62
65
|
.vx-media > .vx-script-cover {
|
|
63
66
|
position: absolute;
|
|
64
67
|
inset: 0;
|
|
@@ -128,6 +131,7 @@
|
|
|
128
131
|
--vx-tabs-secondary-height: 44px;
|
|
129
132
|
--vx-segment-medium-height: 32px;
|
|
130
133
|
--vx-segment-large-height: 36px;
|
|
134
|
+
--vx-cover-background: var(--vx-black-black);
|
|
131
135
|
--vx-media-selection-color: var(--vx-green-dark);
|
|
132
136
|
--vx-tag-height: 16px;
|
|
133
137
|
--vx-dialog-small-width: 480px;
|
|
@@ -458,6 +462,10 @@
|
|
|
458
462
|
overflow: hidden;
|
|
459
463
|
text-overflow: ellipsis;
|
|
460
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
|
+
}
|
|
461
469
|
.vx-button-trailing {
|
|
462
470
|
margin-left: calc(var(--vx-button-trailing-gap) - var(--vx-button-gap));
|
|
463
471
|
}
|
|
@@ -474,6 +482,11 @@
|
|
|
474
482
|
.vx-button[data-appearance=tonal] {
|
|
475
483
|
--vx-button-background: var(--vx-surface-input);
|
|
476
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
|
+
}
|
|
477
490
|
.vx-button[data-appearance=on-content] {
|
|
478
491
|
--vx-button-background: var(--vx-overlay-tag);
|
|
479
492
|
--vx-button-foreground: var(--vx-text-on-content-primary);
|
|
@@ -891,6 +904,24 @@
|
|
|
891
904
|
.vx-dropdown[data-appearance=field] .vx-dropdown-trigger:is(:hover:not(:disabled), :focus-visible, [aria-expanded=true]) {
|
|
892
905
|
background: var(--vx-surface-selected);
|
|
893
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
|
+
}
|
|
894
925
|
.vx-dropdown-value {
|
|
895
926
|
display: inline-flex;
|
|
896
927
|
align-items: center;
|
|
@@ -908,8 +939,7 @@
|
|
|
908
939
|
inset-inline: 0;
|
|
909
940
|
margin: var(--vx-space-4) 0 0;
|
|
910
941
|
max-height: min(15rem, 50vh);
|
|
911
|
-
|
|
912
|
-
overflow: scroll auto;
|
|
942
|
+
overflow: hidden auto;
|
|
913
943
|
padding: var(--vx-space-4);
|
|
914
944
|
border: var(--vx-border-width) solid var(--vx-border-secondary);
|
|
915
945
|
border-radius: var(--vx-radius-xl);
|
|
@@ -1096,6 +1126,47 @@
|
|
|
1096
1126
|
}
|
|
1097
1127
|
}
|
|
1098
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
|
+
}
|
|
1099
1170
|
.vx-asset-selection {
|
|
1100
1171
|
display: flex;
|
|
1101
1172
|
flex: 0 1 auto;
|
|
@@ -1388,7 +1459,7 @@
|
|
|
1388
1459
|
white-space: nowrap;
|
|
1389
1460
|
}
|
|
1390
1461
|
.vx-tag[data-variant=selected] {
|
|
1391
|
-
background: var(--vx-
|
|
1462
|
+
background: var(--vx-media-selection-color);
|
|
1392
1463
|
}
|
|
1393
1464
|
.vx-tag[data-variant=subtle] {
|
|
1394
1465
|
background: var(--vx-surface-message);
|
|
@@ -1410,14 +1481,10 @@
|
|
|
1410
1481
|
padding: 0;
|
|
1411
1482
|
border: 0;
|
|
1412
1483
|
border-radius: var(--vx-radius-lg);
|
|
1413
|
-
background:
|
|
1484
|
+
background: var(--vx-cover-background);
|
|
1414
1485
|
color: var(--vx-text-on-content-primary);
|
|
1415
1486
|
font: inherit;
|
|
1416
1487
|
}
|
|
1417
|
-
.vx-media:is([data-empty=surface], [data-empty=audio]) {
|
|
1418
|
-
background: var(--vx-surface-input);
|
|
1419
|
-
color: var(--vx-text-primary);
|
|
1420
|
-
}
|
|
1421
1488
|
button.vx-media {
|
|
1422
1489
|
cursor: pointer;
|
|
1423
1490
|
}
|
|
@@ -1440,7 +1507,7 @@
|
|
|
1440
1507
|
pointer-events: none;
|
|
1441
1508
|
}
|
|
1442
1509
|
.vx-media-empty-label {
|
|
1443
|
-
color: var(--vx-text-secondary
|
|
1510
|
+
color: var(--vx-text-on-content-secondary);
|
|
1444
1511
|
font: var(--vx-typography-inter-12-regular);
|
|
1445
1512
|
padding: var(--vx-space-8);
|
|
1446
1513
|
}
|
|
@@ -1464,7 +1531,8 @@
|
|
|
1464
1531
|
inset: auto var(--vx-space-8) var(--vx-space-8) auto;
|
|
1465
1532
|
}
|
|
1466
1533
|
.vx-media-selected {
|
|
1467
|
-
|
|
1534
|
+
display: flex;
|
|
1535
|
+
inset: 5px auto auto 5px;
|
|
1468
1536
|
}
|
|
1469
1537
|
.vx-media-marker {
|
|
1470
1538
|
inset: var(--vx-space-8) var(--vx-space-8) auto auto;
|
|
@@ -1629,7 +1697,7 @@
|
|
|
1629
1697
|
position: relative;
|
|
1630
1698
|
min-width: 0;
|
|
1631
1699
|
overflow: hidden;
|
|
1632
|
-
background:
|
|
1700
|
+
background: var(--vx-cover-background);
|
|
1633
1701
|
border-radius: var(--vx-radius-xl);
|
|
1634
1702
|
}
|
|
1635
1703
|
.vx-video-player[data-fit=content]:not(:fullscreen) {
|
|
@@ -1678,7 +1746,11 @@
|
|
|
1678
1746
|
padding: var(--vx-space-20);
|
|
1679
1747
|
color: var(--vx-text-on-content-primary);
|
|
1680
1748
|
}
|
|
1749
|
+
.vx-video-cover {
|
|
1750
|
+
isolation: isolate;
|
|
1751
|
+
}
|
|
1681
1752
|
.vx-video-cover::before {
|
|
1753
|
+
z-index: -1;
|
|
1682
1754
|
position: absolute;
|
|
1683
1755
|
inset: 0;
|
|
1684
1756
|
background:
|
|
@@ -1689,6 +1761,9 @@
|
|
|
1689
1761
|
content: "";
|
|
1690
1762
|
pointer-events: none;
|
|
1691
1763
|
}
|
|
1764
|
+
.vx-video-cover[data-plain]::before {
|
|
1765
|
+
content: none;
|
|
1766
|
+
}
|
|
1692
1767
|
.vx-video-info {
|
|
1693
1768
|
position: relative;
|
|
1694
1769
|
flex: 1;
|
|
@@ -1819,12 +1894,15 @@
|
|
|
1819
1894
|
}
|
|
1820
1895
|
}
|
|
1821
1896
|
@scope ([data-vx-theme]) {
|
|
1822
|
-
.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]) {
|
|
1823
1898
|
background: var(--vx-surface-input);
|
|
1824
1899
|
color: var(--vx-text-placeholder);
|
|
1825
1900
|
}
|
|
1826
1901
|
}
|
|
1827
1902
|
@scope ([data-vx-theme]) {
|
|
1903
|
+
.vx-cover-preview[data-cover-state=empty] {
|
|
1904
|
+
background: var(--vx-surface-input);
|
|
1905
|
+
}
|
|
1828
1906
|
.vx-cover-preview[data-cover-state=empty] > .vx-icon {
|
|
1829
1907
|
color: var(--vx-text-placeholder);
|
|
1830
1908
|
}
|
|
@@ -1890,6 +1968,83 @@
|
|
|
1890
1968
|
border-radius: 2px;
|
|
1891
1969
|
}
|
|
1892
1970
|
}
|
|
1971
|
+
@scope ([data-vx-theme]) {
|
|
1972
|
+
.vx-dialog.vx-video-dialog-fit {
|
|
1973
|
+
width: fit-content;
|
|
1974
|
+
max-width: calc(100vw - 32px);
|
|
1975
|
+
}
|
|
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));
|
|
1979
|
+
}
|
|
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);
|
|
1989
|
+
background: transparent;
|
|
1990
|
+
color: var(--vx-text-secondary-readable);
|
|
1991
|
+
flex-wrap: nowrap;
|
|
1992
|
+
}
|
|
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;
|
|
2001
|
+
}
|
|
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;
|
|
2005
|
+
}
|
|
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));
|
|
2013
|
+
}
|
|
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);
|
|
2019
|
+
}
|
|
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;
|
|
2023
|
+
}
|
|
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);
|
|
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
|
+
}
|
|
1893
2048
|
|
|
1894
2049
|
/* packages/ui-system/dist/asset-grid.css */
|
|
1895
2050
|
.vx-asset-grid.vx-asset-grid {
|
|
@@ -1920,8 +2075,8 @@
|
|
|
1920
2075
|
padding: 0;
|
|
1921
2076
|
border: 0;
|
|
1922
2077
|
border-radius: var(--vx-radius-xl);
|
|
1923
|
-
background: var(--vx-
|
|
1924
|
-
color: var(--vx-text-secondary);
|
|
2078
|
+
background: var(--vx-cover-background);
|
|
2079
|
+
color: var(--vx-text-on-content-secondary);
|
|
1925
2080
|
overflow: hidden;
|
|
1926
2081
|
}
|
|
1927
2082
|
button.vx-tile-preview {
|
|
@@ -1989,7 +2144,6 @@ button.vx-tile-title {
|
|
|
1989
2144
|
border-inline-start: 1px solid var(--vx-border-secondary);
|
|
1990
2145
|
}
|
|
1991
2146
|
.vx-asset-grid .vx-asset-tile :is(.studio-cover, .vx-media, .sd-video-thumbnail, .ad-asset-cover) {
|
|
1992
|
-
background-color: var(--vx-surface-input);
|
|
1993
2147
|
border-radius: var(--vx-radius-xl);
|
|
1994
2148
|
}
|
|
1995
2149
|
.vx-asset-grid .studio-cover {
|
|
@@ -2014,8 +2168,7 @@ button.vx-tile-title {
|
|
|
2014
2168
|
box-sizing: border-box;
|
|
2015
2169
|
width: min(224px, calc(100vw - 16px));
|
|
2016
2170
|
max-height: min(480px, 50vh);
|
|
2017
|
-
|
|
2018
|
-
overflow: scroll auto;
|
|
2171
|
+
overflow: hidden auto;
|
|
2019
2172
|
padding: var(--vx-space-4);
|
|
2020
2173
|
border: var(--vx-border-width) solid var(--vx-border-secondary);
|
|
2021
2174
|
border-radius: var(--vx-radius-xl);
|
|
@@ -2043,7 +2196,29 @@ button.vx-tile-title {
|
|
|
2043
2196
|
.vx-action-menu-items > button[data-tone=danger]:not(:disabled) {
|
|
2044
2197
|
color: var(--vx-state-danger);
|
|
2045
2198
|
}
|
|
2046
|
-
.vx-action-menu-items
|
|
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;
|
|
2204
|
+
display: grid;
|
|
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 {
|
|
2047
2222
|
flex: 1;
|
|
2048
2223
|
overflow-wrap: anywhere;
|
|
2049
2224
|
}
|
|
@@ -2532,6 +2707,12 @@ button.vx-tile-title {
|
|
|
2532
2707
|
.vx-icon[data-icon=delete] {
|
|
2533
2708
|
--vx-icon-mask: url("./assets/delete-4Y3OUMEL.svg");
|
|
2534
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
|
+
}
|
|
2535
2716
|
.vx-icon[data-icon=edit] {
|
|
2536
2717
|
--vx-icon-mask: url("./assets/edit-JUVJDD5A.svg");
|
|
2537
2718
|
}
|
|
@@ -2601,7 +2782,7 @@ button.vx-tile-title {
|
|
|
2601
2782
|
display: flex;
|
|
2602
2783
|
gap: var(--vx-space-4);
|
|
2603
2784
|
max-width: 100%;
|
|
2604
|
-
|
|
2785
|
+
flex-wrap: wrap;
|
|
2605
2786
|
}
|
|
2606
2787
|
.studio-asset-references > button {
|
|
2607
2788
|
display: grid;
|
|
@@ -2612,30 +2793,25 @@ button.vx-tile-title {
|
|
|
2612
2793
|
padding: 0;
|
|
2613
2794
|
border: 0;
|
|
2614
2795
|
border-radius: var(--vx-radius-sm);
|
|
2615
|
-
background: var(--vx-
|
|
2616
|
-
color: var(--vx-text-
|
|
2796
|
+
background: var(--vx-cover-background);
|
|
2797
|
+
color: var(--vx-text-on-content-secondary);
|
|
2617
2798
|
overflow: hidden;
|
|
2618
2799
|
cursor: pointer;
|
|
2619
2800
|
}
|
|
2620
|
-
.studio-
|
|
2801
|
+
.studio-reference-thumbnail {
|
|
2802
|
+
display: grid;
|
|
2803
|
+
place-items: center;
|
|
2621
2804
|
width: 100%;
|
|
2622
2805
|
height: 100%;
|
|
2623
|
-
|
|
2806
|
+
}
|
|
2807
|
+
.studio-reference-thumbnail :is(img, video) {
|
|
2808
|
+
width: 100%;
|
|
2809
|
+
height: 100%;
|
|
2810
|
+
object-fit: contain;
|
|
2624
2811
|
}
|
|
2625
2812
|
.studio-page-panel[data-asset-library] .studio-table-assets {
|
|
2626
2813
|
min-width: 1120px;
|
|
2627
2814
|
}
|
|
2628
|
-
.studio-page-panel[data-asset-library] .studio-table col:last-child {
|
|
2629
|
-
width: 48px !important;
|
|
2630
|
-
}
|
|
2631
|
-
.studio-page-panel[data-asset-library] .studio-table thead th:last-child {
|
|
2632
|
-
font-size: 0;
|
|
2633
|
-
}
|
|
2634
|
-
@media (hover: hover) {
|
|
2635
|
-
.studio-page-panel[data-asset-library] .studio-table tbody tr:not(:hover, :focus-within) > td:last-child button {
|
|
2636
|
-
opacity: 0;
|
|
2637
|
-
}
|
|
2638
|
-
}
|
|
2639
2815
|
|
|
2640
2816
|
/* packages/studio-workbench/src/view-preview.css */
|
|
2641
2817
|
.studio-home-preview {
|
|
@@ -2802,7 +2978,7 @@ button.vx-tile-title {
|
|
|
2802
2978
|
place-items: center;
|
|
2803
2979
|
overflow: hidden;
|
|
2804
2980
|
border-radius: 8px;
|
|
2805
|
-
background: var(--vx-
|
|
2981
|
+
background: var(--vx-cover-background);
|
|
2806
2982
|
}
|
|
2807
2983
|
.studio-home-cover {
|
|
2808
2984
|
position: relative;
|
|
@@ -2815,9 +2991,6 @@ button.vx-tile-title {
|
|
|
2815
2991
|
height: 100%;
|
|
2816
2992
|
object-fit: contain;
|
|
2817
2993
|
}
|
|
2818
|
-
.studio-home-cover:has(img, video):not([data-cover-state=loading]) {
|
|
2819
|
-
background: #151515;
|
|
2820
|
-
}
|
|
2821
2994
|
.studio-home-template {
|
|
2822
2995
|
container-type: inline-size;
|
|
2823
2996
|
position: relative;
|
|
@@ -3077,7 +3250,7 @@ button.vx-tile-title {
|
|
|
3077
3250
|
gap: 4px;
|
|
3078
3251
|
}
|
|
3079
3252
|
.studio-home-cover {
|
|
3080
|
-
color: var(--vx-text-
|
|
3253
|
+
color: var(--vx-text-on-content-secondary);
|
|
3081
3254
|
}
|
|
3082
3255
|
@media (max-width: 480px) {
|
|
3083
3256
|
.studio-home-toolbar > .vx-segment {
|
|
@@ -3588,6 +3761,185 @@ button.vx-tile-title {
|
|
|
3588
3761
|
}
|
|
3589
3762
|
}
|
|
3590
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;
|
|
3886
|
+
}
|
|
3887
|
+
.studio-welcome[open] .studio-welcome-intro {
|
|
3888
|
+
animation-delay: 40ms;
|
|
3889
|
+
}
|
|
3890
|
+
.studio-welcome[open] .studio-welcome-choices {
|
|
3891
|
+
animation-delay: 90ms;
|
|
3892
|
+
}
|
|
3893
|
+
.studio-welcome[open] > footer {
|
|
3894
|
+
animation-delay: 150ms;
|
|
3895
|
+
}
|
|
3896
|
+
@keyframes studio-welcome-fade {
|
|
3897
|
+
from {
|
|
3898
|
+
opacity: 0;
|
|
3899
|
+
}
|
|
3900
|
+
to {
|
|
3901
|
+
opacity: 1;
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
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
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
@media (max-width: 640px) {
|
|
3915
|
+
.vx-dialog.studio-welcome {
|
|
3916
|
+
width: min(100%, 368px);
|
|
3917
|
+
padding: 20px 24px;
|
|
3918
|
+
}
|
|
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;
|
|
3940
|
+
}
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3591
3943
|
/* packages/studio-workbench/src/custom-view-dialog.css */
|
|
3592
3944
|
.studio-template-dialog.vx-dialog {
|
|
3593
3945
|
width: min(912px, calc(100vw - 32px));
|
|
@@ -3777,8 +4129,7 @@ body:has(.studio-global) {
|
|
|
3777
4129
|
padding: 0 12px;
|
|
3778
4130
|
flex: 1;
|
|
3779
4131
|
min-height: 0;
|
|
3780
|
-
|
|
3781
|
-
overflow: scroll auto;
|
|
4132
|
+
overflow: hidden auto;
|
|
3782
4133
|
}
|
|
3783
4134
|
.studio-sidebar :is(nav, .studio-project-row, .studio-project-pages) > button {
|
|
3784
4135
|
display: flex;
|
|
@@ -3821,8 +4172,8 @@ body:has(.studio-global) {
|
|
|
3821
4172
|
width: 24px;
|
|
3822
4173
|
height: 24px;
|
|
3823
4174
|
flex: none;
|
|
3824
|
-
background: var(--vx-
|
|
3825
|
-
color: var(--vx-text-secondary
|
|
4175
|
+
background: var(--vx-cover-background);
|
|
4176
|
+
color: var(--vx-text-on-content-secondary);
|
|
3826
4177
|
border-radius: 6px;
|
|
3827
4178
|
overflow: hidden;
|
|
3828
4179
|
}
|
|
@@ -4058,6 +4409,8 @@ body:has(.studio-global) {
|
|
|
4058
4409
|
overflow: hidden;
|
|
4059
4410
|
}
|
|
4060
4411
|
.studio-cover {
|
|
4412
|
+
background: var(--vx-cover-background);
|
|
4413
|
+
border-radius: var(--vx-radius-lg);
|
|
4061
4414
|
position: relative;
|
|
4062
4415
|
}
|
|
4063
4416
|
.studio-table .studio-cover {
|
|
@@ -4079,7 +4432,7 @@ body:has(.studio-global) {
|
|
|
4079
4432
|
border-radius: 8px;
|
|
4080
4433
|
pointer-events: none;
|
|
4081
4434
|
}
|
|
4082
|
-
.studio-cover[data-kind=video] > .vx-media {
|
|
4435
|
+
.studio-cover[data-kind=video]:has(.studio-cover-video) > .vx-media {
|
|
4083
4436
|
position: relative;
|
|
4084
4437
|
z-index: 1;
|
|
4085
4438
|
background: transparent;
|
|
@@ -4173,25 +4526,32 @@ body:has(.studio-global) {
|
|
|
4173
4526
|
font: var(--vx-typography-inter-12-regular);
|
|
4174
4527
|
}
|
|
4175
4528
|
.studio-card-heading > .vx-action-menu > .vx-button,
|
|
4176
|
-
.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 {
|
|
4177
4530
|
width: 24px;
|
|
4178
4531
|
height: 24px;
|
|
4179
4532
|
padding: 0;
|
|
4180
4533
|
background: transparent;
|
|
4181
4534
|
}
|
|
4182
|
-
.studio-card-heading > .vx-action-menu > .vx-button .vx-button-label,
|
|
4183
|
-
.studio-
|
|
4184
|
-
.studio-table td:last-child > .vx-action-menu > .vx-button .vx-button-label,
|
|
4185
|
-
.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) {
|
|
4186
4537
|
display: none;
|
|
4187
4538
|
}
|
|
4188
4539
|
.studio-card-heading > .vx-action-menu > .vx-button::after,
|
|
4189
|
-
.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 {
|
|
4190
4541
|
content: "\b7\b7\b7";
|
|
4191
4542
|
position: absolute;
|
|
4192
4543
|
font-size: 18px;
|
|
4193
4544
|
line-height: 1;
|
|
4194
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
|
+
}
|
|
4195
4555
|
.studio-table td:last-child {
|
|
4196
4556
|
text-align: right;
|
|
4197
4557
|
}
|
|
@@ -4262,29 +4622,17 @@ body:has(.studio-global) {
|
|
|
4262
4622
|
padding: 8px;
|
|
4263
4623
|
flex: none;
|
|
4264
4624
|
}
|
|
4265
|
-
.studio-shell[data-detail] > .studio-sidebar,
|
|
4266
|
-
.studio-shell[data-detail] > .studio-content > .studio-page-header,
|
|
4267
|
-
.studio-shell[data-detail] > .studio-content > .studio-mobile-nav {
|
|
4268
|
-
display: none;
|
|
4269
|
-
}
|
|
4270
|
-
.studio-shell[data-detail] > .studio-content {
|
|
4271
|
-
padding: 0;
|
|
4272
|
-
gap: 0;
|
|
4273
|
-
}
|
|
4274
|
-
.studio-shell[data-detail] .studio-asset-detail {
|
|
4275
|
-
border-radius: 0;
|
|
4276
|
-
}
|
|
4277
4625
|
.studio-asset-detail {
|
|
4278
4626
|
position: fixed;
|
|
4279
4627
|
inset: 0;
|
|
4280
|
-
z-index:
|
|
4628
|
+
z-index: 35;
|
|
4281
4629
|
display: flex;
|
|
4282
|
-
flex: 1;
|
|
4283
|
-
min-width: 0;
|
|
4284
|
-
min-height: 0;
|
|
4285
|
-
border-radius: 16px;
|
|
4286
4630
|
overflow: hidden;
|
|
4287
|
-
background: var(--vx-
|
|
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);
|
|
4288
4636
|
}
|
|
4289
4637
|
.studio-preview-stage {
|
|
4290
4638
|
display: flex;
|
|
@@ -4294,31 +4642,42 @@ body:has(.studio-global) {
|
|
|
4294
4642
|
min-height: 0;
|
|
4295
4643
|
align-items: center;
|
|
4296
4644
|
justify-content: center;
|
|
4297
|
-
padding:
|
|
4645
|
+
padding: 52px 12px;
|
|
4298
4646
|
}
|
|
4299
4647
|
.studio-detail-canvas {
|
|
4300
4648
|
flex: 1;
|
|
4301
|
-
align-self:
|
|
4649
|
+
align-self: center;
|
|
4650
|
+
height: min(540px, 100%);
|
|
4651
|
+
max-width: 960px;
|
|
4302
4652
|
min-inline-size: 0;
|
|
4303
4653
|
min-block-size: 0;
|
|
4304
4654
|
container-type: size;
|
|
4305
4655
|
display: grid;
|
|
4306
4656
|
place-items: center;
|
|
4307
4657
|
}
|
|
4308
|
-
.studio-
|
|
4309
|
-
|
|
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;
|
|
4310
4664
|
object-fit: contain;
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
width: min(960px, 100%);
|
|
4665
|
+
width: auto;
|
|
4666
|
+
height: auto;
|
|
4667
|
+
max-width: min(960px, 100%);
|
|
4668
|
+
max-height: min(540px, 100%);
|
|
4314
4669
|
border-radius: 4px;
|
|
4315
4670
|
}
|
|
4316
4671
|
.studio-preview-stage > audio {
|
|
4317
4672
|
max-width: 100%;
|
|
4318
4673
|
}
|
|
4319
|
-
.studio-detail-back.vx-button
|
|
4674
|
+
.studio-detail-back.vx-button,
|
|
4675
|
+
.studio-preview-actions {
|
|
4320
4676
|
position: absolute;
|
|
4677
|
+
z-index: 1;
|
|
4321
4678
|
top: 12px;
|
|
4679
|
+
}
|
|
4680
|
+
.studio-detail-back.vx-button {
|
|
4322
4681
|
left: 15px;
|
|
4323
4682
|
background: var(--vx-background-dialog);
|
|
4324
4683
|
color: var(--vx-text-primary);
|
|
@@ -4327,30 +4686,17 @@ body:has(.studio-global) {
|
|
|
4327
4686
|
display: flex;
|
|
4328
4687
|
align-items: center;
|
|
4329
4688
|
gap: 8px;
|
|
4330
|
-
position: absolute;
|
|
4331
|
-
top: 12px;
|
|
4332
4689
|
right: 12px;
|
|
4333
4690
|
}
|
|
4334
|
-
.studio-preview-actions
|
|
4335
|
-
background: var(--vx-background-dialog);
|
|
4336
|
-
color: var(--vx-text-primary);
|
|
4337
|
-
}
|
|
4338
|
-
.studio-favorite {
|
|
4339
|
-
display: grid;
|
|
4340
|
-
place-items: center;
|
|
4691
|
+
.studio-preview-actions .vx-button {
|
|
4341
4692
|
width: 32px;
|
|
4342
4693
|
height: 32px;
|
|
4343
|
-
|
|
4694
|
+
padding: 0;
|
|
4344
4695
|
border-radius: 50%;
|
|
4345
4696
|
background: var(--vx-background-dialog);
|
|
4346
4697
|
color: var(--vx-text-primary);
|
|
4347
|
-
cursor: pointer;
|
|
4348
|
-
}
|
|
4349
|
-
.studio-favorite .studio-glyph {
|
|
4350
|
-
width: 14px;
|
|
4351
|
-
height: 16px;
|
|
4352
4698
|
}
|
|
4353
|
-
.studio-
|
|
4699
|
+
.studio-preview-actions .vx-button[aria-pressed=true] {
|
|
4354
4700
|
color: var(--vx-state-success);
|
|
4355
4701
|
background: var(--vx-surface-selected);
|
|
4356
4702
|
}
|
|
@@ -4360,37 +4706,59 @@ body:has(.studio-global) {
|
|
|
4360
4706
|
display: flex;
|
|
4361
4707
|
flex-direction: column;
|
|
4362
4708
|
gap: 24px;
|
|
4363
|
-
padding:
|
|
4709
|
+
padding: 16px 16px 72px;
|
|
4364
4710
|
border-left: var(--vx-divider-width) solid var(--vx-border-secondary);
|
|
4365
|
-
scrollbar-gutter: stable;
|
|
4366
4711
|
overflow-y: auto;
|
|
4367
4712
|
overflow-wrap: anywhere;
|
|
4368
4713
|
}
|
|
4369
|
-
.studio-preview-details h2 {
|
|
4370
|
-
font: var(--vx-typography-inter-16-semi-bold);
|
|
4371
|
-
}
|
|
4372
4714
|
.studio-detail-group {
|
|
4373
4715
|
display: flex;
|
|
4374
4716
|
flex-direction: column;
|
|
4375
|
-
|
|
4717
|
+
align-items: flex-start;
|
|
4718
|
+
min-width: 0;
|
|
4376
4719
|
}
|
|
4377
4720
|
.studio-detail-group > span:first-child {
|
|
4378
|
-
|
|
4721
|
+
display: flex;
|
|
4722
|
+
align-items: center;
|
|
4723
|
+
min-height: 28px;
|
|
4724
|
+
color: var(--vx-text-secondary);
|
|
4379
4725
|
}
|
|
4380
|
-
.studio-detail-group p
|
|
4726
|
+
.studio-detail-group p,
|
|
4727
|
+
.studio-detail-group pre {
|
|
4381
4728
|
white-space: pre-wrap;
|
|
4729
|
+
overflow-wrap: anywhere;
|
|
4382
4730
|
}
|
|
4383
4731
|
.studio-detail-group pre {
|
|
4384
4732
|
margin: 0;
|
|
4385
|
-
|
|
4386
|
-
overflow-wrap: anywhere;
|
|
4733
|
+
max-width: 100%;
|
|
4387
4734
|
font: var(--vx-typography-inter-12-regular);
|
|
4388
4735
|
}
|
|
4389
|
-
.studio-detail-group
|
|
4390
|
-
|
|
4391
|
-
|
|
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%;
|
|
4392
4745
|
height: auto;
|
|
4393
|
-
|
|
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;
|
|
4394
4762
|
}
|
|
4395
4763
|
.studio-prompt {
|
|
4396
4764
|
display: -webkit-box;
|
|
@@ -4401,6 +4769,15 @@ body:has(.studio-global) {
|
|
|
4401
4769
|
.studio-prompt[data-expanded=true] {
|
|
4402
4770
|
display: block;
|
|
4403
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
|
+
}
|
|
4404
4781
|
.studio-text-preview {
|
|
4405
4782
|
white-space: pre-wrap;
|
|
4406
4783
|
overflow-wrap: anywhere;
|
|
@@ -4525,7 +4902,7 @@ body:has(.studio-global) {
|
|
|
4525
4902
|
}
|
|
4526
4903
|
.studio-asset-detail {
|
|
4527
4904
|
flex-direction: column;
|
|
4528
|
-
overflow:
|
|
4905
|
+
overflow-y: auto;
|
|
4529
4906
|
}
|
|
4530
4907
|
.studio-preview-stage {
|
|
4531
4908
|
height: 45dvh;
|
|
@@ -4577,6 +4954,18 @@ body:has(.studio-global) {
|
|
|
4577
4954
|
opacity: 0;
|
|
4578
4955
|
pointer-events: none;
|
|
4579
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
|
+
}
|
|
4580
4969
|
.studio-project-row:is(:hover, :focus-within, [data-active]) .studio-project-actions {
|
|
4581
4970
|
opacity: 1;
|
|
4582
4971
|
pointer-events: auto;
|
|
@@ -4594,7 +4983,7 @@ body:has(.studio-global) {
|
|
|
4594
4983
|
}
|
|
4595
4984
|
.studio-sidebar .studio-project-pages > .studio-project-tab {
|
|
4596
4985
|
padding-inline: var(--vx-space-8);
|
|
4597
|
-
font: var(--vx-typography-inter-14-
|
|
4986
|
+
font: var(--vx-typography-inter-14-medium);
|
|
4598
4987
|
color: var(--vx-text-secondary-readable);
|
|
4599
4988
|
}
|
|
4600
4989
|
.studio-sidebar .studio-project-pages > .studio-project-tab[aria-current=page] {
|
|
@@ -4638,13 +5027,22 @@ body:has(.studio-global) {
|
|
|
4638
5027
|
.studio-project-caption {
|
|
4639
5028
|
display: flex;
|
|
4640
5029
|
align-items: center;
|
|
4641
|
-
gap: var(--vx-space-
|
|
5030
|
+
gap: var(--vx-space-4);
|
|
4642
5031
|
min-inline-size: 0;
|
|
4643
5032
|
}
|
|
4644
5033
|
.studio-project-caption > span {
|
|
4645
5034
|
overflow: hidden;
|
|
4646
5035
|
text-overflow: ellipsis;
|
|
4647
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
|
+
}
|
|
4648
5046
|
.studio-sample-label {
|
|
4649
5047
|
flex: none;
|
|
4650
5048
|
border-radius: 3px;
|
|
@@ -4659,6 +5057,96 @@ body:has(.studio-global) {
|
|
|
4659
5057
|
.studio-shell[data-focus] > .studio-sidebar {
|
|
4660
5058
|
display: none;
|
|
4661
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
|
+
}
|
|
4662
5150
|
|
|
4663
5151
|
/* packages/studio-workbench/src/media-tools.css */
|
|
4664
5152
|
.file-media-tools .actions {
|