feat: add general video generation workflow
This commit is contained in:
@@ -53,7 +53,7 @@ button { cursor: pointer; }
|
||||
main { max-width: 1480px; margin: 0 auto; padding: 24px; }
|
||||
.panel, .sidebar { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
|
||||
|
||||
.module-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
|
||||
.module-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
|
||||
.module-tab { min-height: 72px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 14px 18px; display: grid; gap: 4px; text-align: left; color: var(--muted); }
|
||||
.module-tab b { color: var(--ink); font-size: 16px; }
|
||||
.module-tab span { font-size: 12px; }
|
||||
@@ -61,11 +61,19 @@ main { max-width: 1480px; margin: 0 auto; padding: 24px; }
|
||||
.module-tab.active b { color: var(--blue); }
|
||||
body[data-active-module="library"] .production-only,
|
||||
body[data-active-module="library"] .generic-library-only,
|
||||
body[data-active-module="library"] .general-video-only,
|
||||
body[data-active-module="production"] .library-only,
|
||||
body[data-active-module="production"] .generic-library-only,
|
||||
body[data-active-module="production"] .general-video-only,
|
||||
body[data-active-module="generic-library"] .library-only,
|
||||
body[data-active-module="generic-library"] .production-only,
|
||||
body[data-active-module="generic-library"] .person-library-sidebar { display: none !important; }
|
||||
body[data-active-module="generic-library"] .general-video-only,
|
||||
body[data-active-module="generic-library"] .person-library-sidebar,
|
||||
body[data-active-module="general-video"] .library-only,
|
||||
body[data-active-module="general-video"] .production-only,
|
||||
body[data-active-module="general-video"] .generic-library-only,
|
||||
body[data-active-module="general-video"] .sidebar { display: none !important; }
|
||||
body[data-active-module="general-video"] .workspace { grid-template-columns: minmax(0, 1fr); }
|
||||
body[data-active-module="library"] .asset-library-title { margin-top: 0; }
|
||||
|
||||
.shot-overview { margin: -2px 0 18px; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
|
||||
@@ -161,6 +169,19 @@ body[data-active-module="library"] .asset-library-title { margin-top: 0; }
|
||||
.video-asset-copy span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.video-asset-actions { display: flex; gap: 8px; padding: 0 12px 12px; }
|
||||
.video-asset-actions button { flex: 1; border: 1px solid #cbd4e5; border-radius: 8px; background: white; padding: 7px 9px; color: var(--blue); font-size: 11px; }
|
||||
.general-asset-picker { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fafbfe; }
|
||||
.general-asset-picker .media-field-head > div { display: grid; gap: 3px; }
|
||||
.general-asset-picker .media-field-head small { color: var(--muted); font-size: 11px; font-weight: 400; }
|
||||
.general-asset-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
|
||||
.general-asset-grid > .empty-small { grid-column: 1 / -1; }
|
||||
.general-asset-choice { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: white; text-align: left; }
|
||||
.general-asset-choice.selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 2px rgba(41,87,232,.08); }
|
||||
.general-asset-choice-preview { aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: #111827; color: white; font-size: 11px; }
|
||||
.general-asset-choice-preview img, .general-asset-choice-preview video { width: 100%; height: 100%; object-fit: contain; }
|
||||
.general-asset-choice-copy { display: grid; gap: 3px; padding: 8px 9px; }
|
||||
.general-asset-choice-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.general-asset-choice-copy span { color: var(--muted); font-size: 10px; }
|
||||
.general-video-results { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
|
||||
.rule-box { margin-top: 18px; padding: 14px; border-radius: 12px; background: #f7f9fd; font-size: 12px; }
|
||||
.rule-box ul { padding-left: 18px; margin: 8px 0 0; color: var(--muted); line-height: 1.7; }
|
||||
|
||||
@@ -306,5 +327,6 @@ hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0 0; }
|
||||
.view-grid { grid-template-columns: 1fr; }
|
||||
.multimodal-grid { grid-template-columns: 1fr; }
|
||||
.video-asset-grid { grid-template-columns: 1fr; }
|
||||
.general-asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
.field.wide { grid-column: auto; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user