feat: add flexible character uploads and video asset library
This commit is contained in:
@@ -53,14 +53,19 @@ 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(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
|
||||
.module-tabs { display: grid; grid-template-columns: repeat(3, 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; }
|
||||
.module-tab.active { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 2px rgba(41,87,232,.06); }
|
||||
.module-tab.active b { color: var(--blue); }
|
||||
body[data-active-module="library"] .production-only,
|
||||
body[data-active-module="production"] .library-only { display: none !important; }
|
||||
body[data-active-module="library"] .video-library-only,
|
||||
body[data-active-module="production"] .library-only,
|
||||
body[data-active-module="production"] .video-library-only,
|
||||
body[data-active-module="video-library"] .library-only,
|
||||
body[data-active-module="video-library"] .production-only,
|
||||
body[data-active-module="video-library"] .person-library-sidebar { display: none !important; }
|
||||
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); }
|
||||
@@ -138,6 +143,23 @@ body[data-active-module="library"] .asset-library-title { margin-top: 0; }
|
||||
.asset-item strong { font-size: 13px; }
|
||||
.asset-item span { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.empty-small { color: var(--muted); font-size: 13px; padding: 18px 10px; text-align: center; border: 1px dashed #ccd3df; border-radius: 10px; }
|
||||
.video-library-count { display: grid; gap: 3px; margin: 4px 0 18px; padding: 16px; border-radius: 12px; background: var(--blue-soft); }
|
||||
.video-library-count strong { color: var(--blue); font-size: 28px; }
|
||||
.video-library-count span { color: var(--muted); font-size: 12px; }
|
||||
.video-asset-history { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
|
||||
.video-asset-history-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 14px; }
|
||||
.video-asset-history-head h3 { margin: 4px 0 0; font-size: 18px; }
|
||||
.video-asset-history-head > span { color: var(--muted); font-size: 12px; }
|
||||
.video-asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
||||
.video-asset-grid > .empty-small { grid-column: 1 / -1; }
|
||||
.video-asset-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fafbfe; }
|
||||
.video-asset-preview { aspect-ratio: 16 / 9; display: grid; place-items: center; background: #111827; }
|
||||
.video-asset-preview video { width: 100%; height: 100%; object-fit: contain; }
|
||||
.video-asset-copy { display: grid; gap: 5px; padding: 11px 12px 8px; }
|
||||
.video-asset-copy strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.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; }
|
||||
.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; }
|
||||
|
||||
@@ -282,5 +304,6 @@ hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0 0; }
|
||||
.form-grid { grid-template-columns: 1fr; }
|
||||
.view-grid { grid-template-columns: 1fr; }
|
||||
.multimodal-grid { grid-template-columns: 1fr; }
|
||||
.video-asset-grid { grid-template-columns: 1fr; }
|
||||
.field.wide { grid-column: auto; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user