907 lines
90 KiB
CSS
907 lines
90 KiB
CSS
/* 生产管线页 · 从 public/exact/pipeline.html 内联 <style> 忠实移植。
|
|
Phase 1:chrome(自带顶栏+5阶段步进器)+ 视口锁定 + Stage 1(脚本)。
|
|
Stage 2-5 / 各 modal 待后续补。整段 scope 进 .pipeline-page(= .app.pipeline-page)。 */
|
|
.pipeline-page {
|
|
/* ─── 视口锁定 · 只让主内容区滚动(sidebar + topbar 固定)─── */
|
|
height: 100vh; max-height: 100vh; overflow: hidden;
|
|
& > .sidebar { height: 100vh; overflow-y: auto; }
|
|
& > main { height: 100vh; max-height: 100vh; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
|
|
& > main > .topbar { flex-shrink: 0; }
|
|
& > main > .content { flex: 1 1 0; min-height: 0; min-width: 0; overflow-y: auto; overflow-x: hidden; }
|
|
|
|
/* ─── 顶栏:返回 + 标题 + 中部 stage-pill ─── */
|
|
.topbar { position: relative; }
|
|
.pipeline-topbar-left {
|
|
display: inline-flex; align-items: center; gap: 12px;
|
|
min-width: 0; max-width: min(36vw, 520px);
|
|
}
|
|
.pipeline-back { height: 34px; padding: 0 13px 0 11px; border-radius: var(--r-pill); flex: 0 0 auto; }
|
|
.pipeline-back svg { width: 14px; height: 14px; }
|
|
.pipeline-topbar-title {
|
|
min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
font-size: 14px; font-weight: 500; color: var(--accent-black);
|
|
}
|
|
.pipeline-topbar-title .mono { margin-left: 8px; font-size: 12px; font-weight: 400; letter-spacing: .04em; color: var(--black-alpha-48); }
|
|
@media (max-width: 1500px) { .pipeline-topbar-title { display: none; } }
|
|
|
|
.stage-pill {
|
|
position: absolute; left: 50%; top: 50%;
|
|
transform: translate(-50%, -50%);
|
|
display: inline-flex; align-items: center; gap: 0;
|
|
padding: 6px 16px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border-faint);
|
|
border-radius: var(--r-pill);
|
|
z-index: 3;
|
|
}
|
|
.stage-pill .sp-dot {
|
|
position: relative;
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
padding: 2px 8px;
|
|
text-decoration: none; cursor: pointer;
|
|
border-radius: var(--r-sm);
|
|
transition: background var(--t-base);
|
|
}
|
|
.stage-pill .sp-dot:hover { background: var(--background-lighter); }
|
|
.stage-pill .sp-dot .d {
|
|
width: 10px; height: 10px; border-radius: 50%;
|
|
background: var(--black-alpha-8);
|
|
border: 1.5px solid transparent;
|
|
transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
|
|
}
|
|
.stage-pill .sp-dot .l {
|
|
font-size: 12px; color: var(--black-alpha-56);
|
|
font-weight: 500; letter-spacing: .01em;
|
|
white-space: nowrap; transition: color var(--t-base);
|
|
}
|
|
.stage-pill .sp-dot:hover .l { color: var(--accent-black); }
|
|
.stage-pill .sp-dot.done .d { background: var(--accent-forest); border-color: var(--accent-forest); }
|
|
.stage-pill .sp-dot.done .l { color: var(--accent-black); }
|
|
.stage-pill .sp-dot.active .d {
|
|
background: var(--heat); border-color: var(--heat);
|
|
box-shadow: 0 0 0 3px var(--heat-12);
|
|
animation: prog-pulse 1.4s ease-in-out infinite;
|
|
}
|
|
.stage-pill .sp-dot.active .l { color: var(--heat); font-weight: 600; }
|
|
.stage-pill .sp-dot.fail .d { background: var(--accent-crimson); border-color: var(--accent-crimson); }
|
|
.stage-pill .sp-dot.fail .l { color: var(--accent-crimson); }
|
|
.stage-pill .sp-line { width: 14px; height: 1.5px; background: var(--black-alpha-8); transition: background var(--t-base); }
|
|
.stage-pill .sp-line.done { background: var(--accent-forest); }
|
|
|
|
/* ─── Stage panes ─── */
|
|
.stage { display: none; }
|
|
.stage.active { display: block; }
|
|
|
|
.pane { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); }
|
|
.pane-h { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border-faint); }
|
|
.pane-h strong { font-size: 14px; font-weight: 600; }
|
|
|
|
/* Stage foot */
|
|
.stage-foot { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 0; margin-top: 18px; border-top: 1px solid var(--border-faint); }
|
|
.stage-foot .info { font-size: 13px; color: var(--black-alpha-56); }
|
|
.stage-foot .info .mono { font-family: var(--font-mono); color: var(--black-alpha-48); font-size: 12px; letter-spacing: .02em; }
|
|
.stage-foot .hstack { gap: 10px; align-items: center; }
|
|
.stage-foot .btn { height: 40px; min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; line-height: 1; white-space: nowrap; }
|
|
.stage-foot .btn-primary { padding: 0 20px; font-weight: 600; }
|
|
.stage-foot .btn svg { width: 14px; height: 14px; flex: 0 0 14px; }
|
|
|
|
/* ─── 全高度布局 ─── */
|
|
.content.content--fh { display: flex; flex-direction: column; overflow: hidden; padding: 24px 28px 20px; }
|
|
.content.content--fh-flat { padding: 0; }
|
|
.content--fh-flat .stage.active > .stage-script .pane { background: var(--surface); border: 0; border-radius: 0; }
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .pane.shot-list > .pane-h,
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .pane.shot-list > .shots-body { padding-left: 28px; }
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .pane.chat-pane > .pane-h,
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .pane.chat-pane > .chat-body,
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .pane.chat-pane > .chat-input { padding-left: 28px; padding-right: 28px; }
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .pane.shot-list > .pane-h,
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .pane.chat-pane > .pane-h { border-bottom: 0; }
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .pane.chat-pane > .chat-input { border-top: 0; }
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .stage-script-gutter::after { background: transparent; }
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .stage-script-gutter:hover::after,
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script > .stage-script-gutter.dragging::after { background: var(--heat); }
|
|
.content--fh-flat .stage[data-stage-pane="1"].active > .stage-script { gap: 0; grid-template-columns: minmax(0, 1fr) 6px var(--chat-w, 520px); }
|
|
|
|
.stage-script-gutter { position: relative; background: transparent; cursor: col-resize; transition: background var(--t-base); }
|
|
.stage-script-gutter::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); background: var(--border-faint); transition: background var(--t-base), width var(--t-base); }
|
|
.stage-script-gutter:hover::after, .stage-script-gutter.dragging::after { background: var(--heat); width: 2px; }
|
|
.stage-script-gutter.dragging { background: var(--heat-12); }
|
|
.content--fh-flat .stage.active > .stage-foot { margin-top: 0; padding: 14px 28px; background: var(--surface); border-top: 1px solid var(--border-faint); }
|
|
|
|
.content--fh .stage.active { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
|
|
.content--fh .stage[data-stage-pane="1"].active > .stage-script { flex: 1 1 0; min-height: 0; overflow: hidden; }
|
|
.content--fh .stage.active > .stage-foot { flex: 0 0 auto; }
|
|
.content--fh .stage[data-stage-pane="1"].active > .stage-script > .shot-list,
|
|
.content--fh .stage[data-stage-pane="1"].active > .stage-script > .chat-pane { min-height: 0; min-width: 0; }
|
|
.content--fh .stage[data-stage-pane="1"].active .shots-body,
|
|
.content--fh .stage[data-stage-pane="1"].active .chat-body { max-height: none; flex: 1 1 0; min-height: 0; overflow-y: auto; }
|
|
|
|
/* === STAGE 1 · 脚本 === */
|
|
.stage-script { display: grid; grid-template-columns: 7fr 3fr; gap: 16px; min-height: 560px; }
|
|
.chat-pane { display: flex; flex-direction: column; }
|
|
.chat-body { padding: 16px 18px; flex: 1; overflow-y: auto; max-height: 460px; display: flex; flex-direction: column; gap: 14px; }
|
|
.msg .bubble { max-width: 90%; padding: 10px 14px; font-size: 13px; line-height: 1.6; border: 1px solid var(--border-faint); border-radius: var(--r-md); }
|
|
.msg.ai .bubble { background: var(--surface); }
|
|
.msg.user { display: flex; flex-direction: column; align-items: flex-end; }
|
|
.msg.user .bubble { background: var(--heat-12); color: var(--accent-black); border-color: var(--heat-20); }
|
|
.msg .time { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); margin-top: 4px; letter-spacing: .02em; }
|
|
.msg .actions { display: flex; gap: 6px; margin-top: 6px; }
|
|
.ai-avatar { width: 26px; height: 26px; flex-shrink: 0; background: var(--heat); color: var(--accent-white); display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--heat); border-radius: 50%; }
|
|
.del { text-decoration: line-through; color: var(--black-alpha-48); }
|
|
.ins { background: var(--forest-bg); color: var(--accent-forest); padding: 0 3px; }
|
|
.chat-input { padding: 14px 18px 18px; border-top: 1px solid var(--border-faint); }
|
|
.chat-input-card { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px 14px 10px; transition: border-color var(--t-base), box-shadow var(--t-base); }
|
|
.chat-input-card:focus-within { border-color: var(--accent-black); box-shadow: 0 0 0 3px rgba(0,0,0,.04); }
|
|
.chat-input-area { width: 100%; border: none; outline: none; background: transparent; font-family: var(--font-sans); font-size: 13px; color: var(--accent-black); line-height: 1.55; resize: none; padding: 0; min-height: 42px; }
|
|
.chat-input-area::placeholder { color: var(--black-alpha-40); }
|
|
.chat-input-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
|
|
.chat-input-foot .hint { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-40); letter-spacing: .02em; }
|
|
.chat-input-foot .spacer { flex: 1; }
|
|
.chat-icon-btn { width: 28px; height: 28px; display: grid; place-items: center; background: transparent; border: 1px solid var(--border-faint); border-radius: 50%; color: var(--ink-3); cursor: pointer; transition: border-color var(--t-base), color var(--t-base), background var(--t-base); }
|
|
.chat-icon-btn:hover { border-color: var(--accent-black); color: var(--accent-black); }
|
|
.chat-icon-btn:disabled { opacity: .45; cursor: not-allowed; }
|
|
.chat-icon-btn:disabled:hover { border-color: var(--border-faint); color: var(--ink-3); }
|
|
.chat-send-btn { width: 32px; height: 32px; display: grid; place-items: center; background: var(--accent-black); border: 1px solid var(--accent-black); border-radius: 50%; color: var(--accent-white); cursor: pointer; transition: background var(--t-base), border-color var(--t-base), transform var(--t-base); }
|
|
.chat-send-btn:hover { background: var(--heat); border-color: var(--heat); }
|
|
.chat-send-btn:active { transform: scale(.95); }
|
|
.chat-send-btn:disabled { background: var(--black-alpha-12); border-color: var(--black-alpha-12); color: var(--black-alpha-40); cursor: not-allowed; transform: none; }
|
|
.chat-attach-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
|
|
|
|
.shot-list { display: flex; flex-direction: column; }
|
|
.shots-body { padding: 12px 16px; flex: 1; overflow-y: auto; max-height: 540px; display: flex; flex-direction: column; gap: 0; position: relative; }
|
|
|
|
/* 行: 生成时左侧脚本区罩子(整体)/ 单镜罩子 + 转圈 */
|
|
.script-gen-veil { position: absolute; inset: 0; z-index: 6; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--background-base) 86%, transparent); }
|
|
/* 方案 B · 品牌生成卡:icon-box 转圈 + 标题 + 动态点 + 橙色扫光进度条 */
|
|
.sgv-card { display: flex; align-items: center; gap: 12px; padding: 14px 18px; min-width: 252px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); box-shadow: var(--shadow-floating); }
|
|
.sgv-ico { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; background: var(--heat-12); border-radius: var(--r-sm); }
|
|
.sgv-ico .spinner { width: 18px; height: 18px; border: 2.5px solid var(--heat-20); border-top-color: var(--heat); border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
|
.sgv-body { flex: 1; display: flex; flex-direction: column; gap: 9px; }
|
|
.sgv-title { font-size: 13px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
|
|
.sgv-dots { display: inline-flex; gap: 3px; align-items: center; }
|
|
.sgv-dots i { width: 3px; height: 3px; border-radius: 50%; background: var(--heat); animation: sgvBlink 1.2s infinite; }
|
|
.sgv-dots i:nth-child(2) { animation-delay: .2s; }
|
|
.sgv-dots i:nth-child(3) { animation-delay: .4s; }
|
|
.sgv-bar { position: relative; height: 4px; border-radius: 999px; background: var(--heat-12); overflow: hidden; }
|
|
.sgv-bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 42%; border-radius: 999px; background: var(--heat); animation: sgvBar 1.15s ease-in-out infinite; }
|
|
.shot-gen-veil { position: absolute; inset: 0; z-index: 4; display: flex; gap: 8px; align-items: center; justify-content: center; background: color-mix(in srgb, var(--background-base) 80%, transparent); border-radius: var(--r-sm); }
|
|
.shot-gen-veil .mono { font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
|
|
.script-gen-veil .spinner, .shot-gen-veil .spinner { width: 26px; height: 26px; border: 2.5px solid var(--heat-20); border-top-color: var(--heat); border-radius: 50%; animation: assetSpin .7s linear infinite; flex: 0 0 auto; }
|
|
.shot-gen-veil .spinner { width: 20px; height: 20px; }
|
|
.chat-send-btn .spinner.spinner-on-accent { width: 14px; height: 14px; border: 2px solid color-mix(in srgb, currentColor 40%, transparent); border-top-color: currentColor; border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
|
/* ⑤ 停止键:中间方块 + 外圈转圈;悬停转红提示中断 */
|
|
.chat-stop-btn { cursor: pointer; }
|
|
.chat-stop-btn:hover { background: var(--accent-crimson); border-color: var(--accent-crimson); }
|
|
.chat-stop-ring { position: relative; width: 18px; height: 18px; display: grid; place-items: center; }
|
|
.chat-stop-ring::before { content: ""; position: absolute; inset: 0; border: 2px solid color-mix(in srgb, currentColor 38%, transparent); border-top-color: currentColor; border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
|
.chat-stop-square { width: 7px; height: 7px; border-radius: 1.5px; background: currentColor; }
|
|
|
|
.shot-list > .pane-h { flex-wrap: wrap; row-gap: 8px; }
|
|
.shot-headline { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
|
|
.script-brief-summary { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
|
|
.script-brief-pill { gap: 4px; padding: 3px 8px; font-size: 12px; }
|
|
.script-brief-pill .k { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; }
|
|
.script-brief-pill .v { color: var(--accent-black); max-width: 116px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.script-tags { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-left: 6px; }
|
|
.script-tags .tag-group { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
.script-tags .tg-lbl { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; text-transform: uppercase; flex-shrink: 0; }
|
|
.script-tags .tag-add { width: 20px; height: 20px; display: grid; place-items: center; background: transparent; border: 1px dashed var(--black-alpha-24); border-radius: 50%; color: var(--black-alpha-48); cursor: pointer; font-size: 13px; line-height: 1; padding: 0; transition: border-color var(--t-base), color var(--t-base), background var(--t-base); }
|
|
.script-tags .tag-add:hover { border-style: solid; border-color: var(--heat); color: var(--heat); background: var(--heat-12); }
|
|
|
|
/* 镜头脚本空缺省态 */
|
|
.shots-empty { padding: 36px 24px; margin: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--black-alpha-48); }
|
|
.shots-empty .empty-ico { width: 56px; height: 56px; border: 1px dashed var(--border-faint); border-radius: var(--r-md); display: grid; place-items: center; color: var(--black-alpha-32); }
|
|
.shots-empty .empty-title { font-size: 14px; font-weight: 500; color: var(--accent-black); }
|
|
.shots-empty .empty-hint { font-size: 12px; color: var(--black-alpha-56); line-height: 1.55; max-width: 280px; font-family: var(--font-mono); letter-spacing: .02em; }
|
|
|
|
/* 镜头脚本卡(真实脚本镜头列表) */
|
|
.shot-card { display: flex; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--border-faint); position: relative; }
|
|
.shot-card:last-child { border-bottom: 0; }
|
|
.shot-card .shot-n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 6px; background: var(--heat-12); color: var(--heat); font-family: var(--font-mono); font-size: 12px; font-weight: 600; display: grid; place-items: center; }
|
|
.shot-card .shot-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
|
|
.shot-card .shot-meta { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; text-transform: uppercase; }
|
|
.shot-card .shot-narration { font-size: 13px; color: var(--accent-black); line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
|
|
/* 画面描述行(narration/visual_prompt 结构化分离后,旁白下方的次要画面说明) */
|
|
.shot-card .shot-visual { font-size: 12px; color: var(--black-alpha-56); line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
|
|
|
|
/* 镜头卡编辑态(对齐设计稿:旁白/画面逐字段 contenteditable + 卡间插入分镜) */
|
|
.shot-card .shot-actions { display: inline-flex; gap: 6px; margin-left: auto; }
|
|
.icon-mini-btn { width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink-3); background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
|
|
.icon-mini-btn:hover { color: var(--heat); border-color: var(--heat); }
|
|
.icon-mini-btn.armed { width: auto; padding: 0 8px; font-size: 12px; color: var(--accent-crimson); border-color: var(--accent-crimson); background: var(--surface); }
|
|
.shot-card .shot-meta-row { display: flex; align-items: center; gap: 8px; }
|
|
.shot-row { display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 4px 0; }
|
|
.shot-k { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); padding-top: 2px; letter-spacing: .04em; }
|
|
.shot-v { font-size: 13px; color: var(--accent-black); line-height: 1.55; outline: none; border-radius: var(--r-sm); padding: 2px 4px; margin: -2px -4px; transition: background var(--t-base); white-space: pre-wrap; word-break: break-word; }
|
|
.shot-v[contenteditable="true"]:hover { background: var(--heat-12); cursor: text; }
|
|
.shot-v[contenteditable="true"]:focus { background: var(--surface); box-shadow: inset 0 0 0 1px var(--heat); }
|
|
.shot-v[data-empty="true"]::before { content: attr(data-placeholder); color: var(--black-alpha-32); font-style: italic; }
|
|
.shot-insert-gap { height: 10px; position: relative; display: flex; align-items: center; justify-content: center; padding: 0; transition: height .24s cubic-bezier(.18,.72,.28,1), padding .24s cubic-bezier(.18,.72,.28,1); }
|
|
.shot-insert-gap:hover { height: 72px; padding: 14px 0; }
|
|
.shot-insert-gap .add-shot-btn { opacity: 0; transform: translateY(4px) scale(.96); height: 28px; padding: 0 14px; background: var(--surface); color: var(--heat); border: 1px dashed var(--heat-40); border-radius: var(--r-md); font-size: 13px; font-family: inherit; font-weight: 500; cursor: pointer; transition: opacity .2s ease .04s, transform .24s cubic-bezier(.18,.72,.28,1) .04s, background var(--t-base), border-color var(--t-base), color var(--t-base); display: inline-flex; align-items: center; gap: 6px; pointer-events: none; white-space: nowrap; }
|
|
.shot-insert-gap .add-shot-btn svg { width: 12px; height: 12px; }
|
|
.shot-insert-gap:hover .add-shot-btn { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
|
|
.shot-insert-gap .add-shot-btn:hover { background: var(--heat-12); border-style: solid; border-color: var(--heat); }
|
|
.shot-insert-gap--bottom { height: 72px; padding: 14px 0; }
|
|
.shot-insert-gap--bottom .add-shot-btn { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
|
|
|
|
/* ── Stage 4 · 视频详情弹窗(对齐设计稿 video-detail-modal) ── */
|
|
.asset-modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1010; display: flex; align-items: center; justify-content: center; padding: 40px; }
|
|
.asset-modal { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); width: min(880px, 100%); max-height: calc(100vh - 80px); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 48px rgba(0,0,0,.18); }
|
|
.asset-modal-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border-faint); }
|
|
.asset-modal-h h2 { font-size: 15px; font-weight: 600; }
|
|
.asset-modal-h .x { width: 30px; height: 30px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--black-alpha-56); border-radius: var(--r-sm); margin-left: auto; }
|
|
.asset-modal-h .x:hover { background: var(--black-alpha-08); color: var(--accent-black); }
|
|
.asset-modal-body { padding: 20px 24px 24px; overflow-y: auto; flex: 1; }
|
|
.asset-modal-f { padding: 14px 20px; border-top: 1px solid var(--border-faint); display: flex; align-items: center; gap: 8px; }
|
|
.vd-main-wrap { display: flex; gap: 18px; align-items: flex-start; }
|
|
.vd-main { flex: 0 0 280px; aspect-ratio: 9/16; max-height: 460px; background: #000; border-radius: var(--r-md); overflow: hidden; position: relative; }
|
|
.vd-main video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
|
|
.vd-info { flex: 1; min-width: 0; }
|
|
.vd-section-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-black); margin-bottom: 10px; }
|
|
.vd-kv { display: grid; grid-template-columns: 72px 1fr; gap: 6px 10px; font-size: 13px; }
|
|
.vd-kv .k { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .03em; padding-top: 1px; }
|
|
.vd-kv .v { color: var(--accent-black); min-width: 0; overflow-wrap: anywhere; }
|
|
.vd-history-h { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
|
|
.vd-history-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
|
|
.vd-history-thumb { flex: 0 0 64px; min-width: 64px; display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 1px solid var(--border-faint); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; transition: border-color var(--t-base); position: relative; }
|
|
.vd-history-thumb:hover { border-color: var(--heat); }
|
|
.vd-history-thumb.current { border-color: var(--heat); background: var(--heat-12); }
|
|
.vd-history-thumb.adopted::after { content: ''; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background: var(--heat); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 9px 9px; }
|
|
.vd-history-thumb .placeholder { aspect-ratio: 9/16; }
|
|
.vd-history-thumb .ts { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); text-align: center; }
|
|
.vd-prompt-field { margin-top: 16px; }
|
|
.vd-prompt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
|
|
.vd-prompt-head .label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--black-alpha-56); letter-spacing: .04em; }
|
|
.vd-prompt-edit { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px 14px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--accent-black); white-space: pre-wrap; min-height: 96px; outline: none; letter-spacing: .01em; cursor: text; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
|
|
.vd-prompt-edit:hover { border-color: var(--heat-20); }
|
|
.vd-prompt-edit:focus { border-color: var(--heat); background: var(--surface); box-shadow: 0 0 0 3px var(--heat-12); }
|
|
.vd-modal-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
|
|
|
|
/* 对话空态三胶囊 */
|
|
.chat-empty { padding: 28px 18px 14px; margin: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
|
|
.chat-empty .ce-title { font-size: 14px; color: var(--accent-black); font-weight: 500; }
|
|
.chat-empty .ce-hint { font-size: 12px; color: var(--black-alpha-56); font-family: var(--font-mono); letter-spacing: .02em; }
|
|
.chat-modes { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
|
|
.chat-mode { height: 30px; padding: 0 14px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: 999px; font-size: 13px; color: var(--accent-black); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-family: inherit; transition: background var(--t-base), border-color var(--t-base), color var(--t-base); }
|
|
.chat-mode:hover { background: var(--heat-12); border-color: var(--heat); color: var(--heat); }
|
|
.chat-mode.primary { background: var(--heat-12); border-color: var(--heat); color: var(--heat); }
|
|
.chat-mode svg { width: 13px; height: 13px; }
|
|
|
|
/* ============= STAGE 2 · 基础资产 ============= */
|
|
.content--fh .stage[data-stage-pane="2"].active > .stage-assets { flex: 1 1 0; min-height: 0; overflow: hidden; }
|
|
.content--fh-flat .stage[data-stage-pane="2"].active > .stage-assets { gap: 0; height: 100%; }
|
|
.content--fh-flat .stage[data-stage-pane="2"].active > .stage-assets > .asset-side { position: static; align-self: stretch; padding: 18px 16px; background: var(--background-base); overflow-y: auto; }
|
|
.content--fh-flat .stage[data-stage-pane="2"].active > .stage-assets > .asset-main { padding: 18px 28px; overflow-y: auto; background: var(--background-base); }
|
|
.stage-assets { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
|
|
.stage-assets > div { min-width: 0; }
|
|
.asset-side { position: sticky; top: 16px; align-self: start; }
|
|
.asset-sec { min-width: 0; scroll-margin-top: 16px; }
|
|
.asset-side .ttab { padding: 10px 12px; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: var(--r-md); }
|
|
.asset-side .ttab:hover { background: var(--background-lighter); }
|
|
.asset-side .ttab.active { background: var(--heat-12); color: var(--heat); border-color: var(--heat-20); font-weight: 600; }
|
|
.asset-side .ttab .num { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); margin-left: auto; }
|
|
.asset-side .ttab.active .num { color: var(--heat); }
|
|
.asset-side .info { font-size: 12px; color: var(--black-alpha-48); padding: 14px 12px; line-height: 1.6; margin-top: 14px; border-top: 1px solid var(--border-faint); }
|
|
.asset-side .info strong { color: var(--black-alpha-56); display: block; }
|
|
.asset-side .info .mono { font-family: var(--font-mono); }
|
|
.asset-sec + .asset-sec { margin-top: 32px; }
|
|
.asset-sec .sec-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
|
|
.asset-sec .sec-h h3 { font-size: 15px; font-weight: 600; }
|
|
|
|
/* 固定 240px 列(不拉伸)→ 人物/场景卡与上方商品卡精确等大 */
|
|
.asset-grid-2 { display: grid; grid-template-columns: repeat(auto-fill, 240px); gap: 14px; }
|
|
.prod-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
|
|
/* 商品卡与下方人物/场景卡统一尺寸:240px 宽 + 方图(原 360px高/3:5 高窄,跟人物卡不一致) */
|
|
.prod-row > .asset-card-2 { flex: 0 0 240px; width: 240px; min-width: 0; }
|
|
.prod-preview { flex: 0 0 360px; height: 360px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px; display: none; flex-direction: column; gap: 10px; }
|
|
.prod-preview.show { display: flex; }
|
|
.prod-preview-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-56); letter-spacing: .04em; text-transform: uppercase; }
|
|
.prod-preview-img { aspect-ratio: 16/9; }
|
|
.prod-preview-foot { display: flex; align-items: center; gap: 8px; min-height: 30px; }
|
|
.prod-preview-history { display: none; flex-direction: column; gap: 6px; }
|
|
.prod-preview-history.show { display: flex; }
|
|
.prod-preview-history .h-lbl { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; text-transform: uppercase; }
|
|
.prod-preview-history .h-lbl .ct { color: var(--accent-black); font-weight: 600; }
|
|
.prod-preview-history .h-row { display: flex; gap: 6px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
|
|
.prod-preview-history .h-thumb { flex: 0 0 auto; width: 72px; aspect-ratio: 16/9; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-sm); position: relative; cursor: pointer; transition: border-color var(--t-base); display: grid; place-items: center; overflow: hidden; }
|
|
.prod-preview-history .h-thumb:hover { border-color: var(--heat-40); }
|
|
.prod-preview-history .h-thumb.adopted { border-color: var(--heat); border-width: 2px; box-shadow: 0 0 0 2px var(--heat-12); }
|
|
.prod-preview-history .h-thumb.previewing { border-color: var(--accent-black); border-width: 2px; }
|
|
.prod-preview-history .h-thumb .v { font-family: var(--font-mono); font-size: 10px; color: var(--black-alpha-56); letter-spacing: .02em; position: relative; z-index: 1; }
|
|
.prod-preview-history .h-thumb.adopted .v { color: var(--heat); font-weight: 600; }
|
|
.prod-preview-history .h-thumb.previewing .v { color: var(--accent-black); font-weight: 600; }
|
|
.prod-preview-history .h-thumb .badge { position: absolute; top: 2px; left: 2px; font-family: var(--font-mono); font-size: 9px; padding: 0 4px; line-height: 12px; background: var(--heat); color: var(--accent-white); border-radius: 2px; letter-spacing: .02em; display: none; z-index: 2; }
|
|
.prod-preview-history .h-thumb.adopted .badge { display: block; }
|
|
.prod-preview-img.is-zoomable { cursor: zoom-in; transition: border-color var(--t-base); }
|
|
.prod-preview-img.is-zoomable:hover { border-color: var(--heat-40); }
|
|
/* 三视图空态 = 上传框:虚线示意可投放,hover 转橙提示可点 */
|
|
.prod-tri-drop { cursor: pointer; border-style: dashed; transition: border-color var(--t-base); }
|
|
.prod-tri-drop:hover { border-color: var(--heat-40); }
|
|
.prod-tri-drop:hover .ph-frame { color: var(--heat); border-color: var(--heat-20); }
|
|
.prod-preview-adopt:disabled, .prod-preview-adopt:disabled:hover { color: var(--heat); border-color: var(--heat-40); background: var(--heat-12); cursor: not-allowed; opacity: 1; }
|
|
|
|
.asset-card-2 { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--t-base), box-shadow var(--t-base); overflow: hidden; display: flex; flex-direction: column; }
|
|
.asset-card-2:hover { border-color: var(--heat-40); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
|
|
/* 流程步骤4 · 来自脚本提取、尚未生成的 seed 卡:虚线边 + 占位灰底,区别于已生成卡 */
|
|
.asset-card-2.asset-seed { border-style: dashed; cursor: default; }
|
|
.asset-card-2.asset-seed .thumb-2 { opacity: .7; }
|
|
.asset-card-2 .thumb-2 { aspect-ratio: 1; }
|
|
.asset-card-2 .body-2 { padding: 12px 14px; }
|
|
/* 对齐设计稿:人物/场景卡提示词框(mono 可编辑,非 textarea) */
|
|
.prompt-box { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 10px 12px; font-size: 12px; color: var(--black-alpha-56); margin-top: 8px; line-height: 1.55; font-family: var(--font-mono); letter-spacing: .01em; transition: border-color var(--t-base), background var(--t-base); }
|
|
.prompt-box[contenteditable="true"] { cursor: text; outline: none; }
|
|
.prompt-box[contenteditable="true"]:hover { border-color: var(--heat-20); }
|
|
.prompt-box[contenteditable="true"]:focus { border-color: var(--heat); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px var(--heat-12); }
|
|
.asset-card-2 .thumb-2 .spinner { width: 26px; height: 26px; border: 2.5px solid var(--heat-20); border-top-color: var(--heat); border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
|
.asset-card-2 .body-2 .btn:disabled, .asset-card-2 .body-2 .btn.disabled { background: transparent; border-color: transparent; color: var(--black-alpha-32); box-shadow: none; cursor: not-allowed; opacity: .72; transform: none; }
|
|
.asset-card-2 .body-2 .btn:disabled:hover, .asset-card-2 .body-2 .btn.disabled:hover { background: transparent; border-color: transparent; color: var(--black-alpha-32); box-shadow: none; transform: none; }
|
|
|
|
.asset-card-2.prod-lib-card:hover { background: var(--background-lighter); border-color: var(--black-alpha-48); }
|
|
.asset-card-2.prod-lib-card .prod-thumb { position: relative; aspect-ratio: 1; }
|
|
.asset-card-2.prod-lib-card .prod-body { padding: 14px 14px 12px; flex: 0 0 auto; }
|
|
.asset-card-2.prod-lib-card .prod-name { font-size: 14px; font-weight: 600; color: var(--accent-black); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.asset-card-2.prod-lib-card .prod-cat { display: inline-flex; align-items: center; margin-top: 8px; padding: 2px 8px; background: var(--background-lighter); color: var(--black-alpha-72); border-radius: var(--r-sm); font-size: 12px; }
|
|
.asset-card-2.prod-lib-card .prod-date { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); margin-top: 10px; letter-spacing: .02em; }
|
|
.asset-card-2.prod-lib-card .prod-action { padding: 10px 12px; border-top: 1px solid var(--border-faint); background: var(--surface); }
|
|
.asset-card-2.prod-lib-card .prod-action[hidden] { display: none; }
|
|
.asset-card-2.prod-lib-card .prod-action .btn-aigen {
|
|
width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
|
|
height: 34px; padding: 0 14px; background: var(--heat); color: var(--accent-white);
|
|
border: 1px solid var(--heat); border-radius: var(--r-sm); font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit;
|
|
box-shadow: inset 0 -2px 4px rgba(250,93,25,.20), 0 1px 1px rgba(250,93,25,.12), 0 2px 4px rgba(250,93,25,.10);
|
|
transition: background var(--t-base), box-shadow var(--t-base), transform var(--t-base);
|
|
}
|
|
.asset-card-2.prod-lib-card .prod-action .btn-aigen:hover { background: #FB6E2E; box-shadow: inset 0 -2px 4px rgba(250,93,25,.24), 0 2px 4px rgba(250,93,25,.20), 0 4px 12px rgba(250,93,25,.18); transform: translateY(-1px); }
|
|
.asset-card-2.prod-lib-card .prod-action .btn-aigen .ai-spark { width: 14px; height: 14px; flex-shrink: 0; }
|
|
|
|
/* 区头版生成按钮(人物/场景 sec-h 复用 btn-aigen,商品卡版被 .prod-action 作用域锁死,这里给区头补壳) */
|
|
.asset-sec .sec-h .btn-aigen {
|
|
display: inline-flex; align-items: center; gap: 6px;
|
|
height: 30px; padding: 0 12px; background: var(--heat); color: var(--accent-white);
|
|
border: 1px solid var(--heat); border-radius: var(--r-sm); font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit;
|
|
box-shadow: inset 0 -2px 4px rgba(250,93,25,.20), 0 1px 1px rgba(250,93,25,.12);
|
|
transition: background var(--t-base), box-shadow var(--t-base), transform var(--t-base);
|
|
}
|
|
.asset-sec .sec-h .btn-aigen:hover { background: #FB6E2E; transform: translateY(-1px); }
|
|
.asset-sec .sec-h .btn-aigen .ai-spark { width: 14px; height: 14px; flex-shrink: 0; }
|
|
|
|
/* ── 生成中统一置灰:凡 set disabled 的按钮都灰显 + 禁手势 + 去 hover/动效(设计师要求:已点击/生成中要置灰不可点)── */
|
|
.btn-aigen:disabled,
|
|
.asset-card-2.prod-lib-card .prod-action .btn-aigen:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }
|
|
.btn-aigen:disabled:hover,
|
|
.asset-card-2.prod-lib-card .prod-action .btn-aigen:disabled:hover { background: var(--heat); box-shadow: none; transform: none; }
|
|
.chat-mode:disabled { opacity: .45; cursor: not-allowed; }
|
|
.chat-mode:disabled:hover { background: var(--surface); border-color: var(--border-faint); color: var(--accent-black); }
|
|
.pill-cta:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
|
|
.pill-cta:disabled:hover { box-shadow: none; }
|
|
.tag-add:disabled { opacity: .45; cursor: not-allowed; }
|
|
.tl-toolbar .tl-action:disabled { opacity: .38; cursor: not-allowed; }
|
|
.tl-toolbar .tl-action:disabled:hover { background: transparent; border-color: transparent; color: var(--black-alpha-72); }
|
|
|
|
.prompt-box { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 10px 12px; font-size: 12px; color: var(--black-alpha-56); margin-top: 8px; line-height: 1.55; font-family: var(--font-mono); letter-spacing: .01em; transition: border-color var(--t-base), background var(--t-base); }
|
|
.prompt-box[contenteditable="true"] { cursor: text; outline: none; }
|
|
.prompt-box[contenteditable="true"]:hover { border-color: var(--heat-20); }
|
|
.prompt-box[contenteditable="true"]:focus { border-color: var(--heat); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px var(--heat-12); }
|
|
/* 外层人物/场景卡提示词框:固定 5 行高(行高 1.55 + 内边距/边框),超长不撑高、框内上下滚动 */
|
|
.prompt-box { height: calc(5 * 1.55em + 22px); overflow-y: auto; box-sizing: border-box; }
|
|
|
|
/* ============= STAGE 3 · 故事板 ============= */
|
|
.content--fh .stage[data-stage-pane="3"].active > .stage-storyboard { flex: 1 1 0; min-height: 0; overflow-y: auto; }
|
|
.content--fh-flat .stage[data-stage-pane="3"].active > .stage-storyboard { gap: 0; }
|
|
.content--fh-flat .stage[data-stage-pane="3"].active > .stage-storyboard > .sb-canvas { border: 0; border-radius: 0; background: var(--surface); padding: 18px 14px 18px 28px; align-items: center; }
|
|
.content--fh-flat .stage[data-stage-pane="3"].active > .stage-storyboard > .sb-canvas > .sb-main-img { width: 100%; }
|
|
/* 有真图时大图占满画布整个高度(不再 16/9 居中留上下空白) */
|
|
.content--fh-flat .stage[data-stage-pane="3"].active > .stage-storyboard > .sb-canvas > .sb-main-img.has-mock-media { align-self: stretch; aspect-ratio: auto; }
|
|
/* 2:3 空占位:别被上面的 width:100% 撑成超高满框 —— 给个合理高度、按 2:3 推宽、居中 */
|
|
.content--fh-flat .stage[data-stage-pane="3"].active > .stage-storyboard > .sb-canvas > .sb-main-img:not(.has-mock-media) { width: auto; height: min(70vh, 540px); aspect-ratio: 2/3; justify-self: center; }
|
|
.content--fh-flat .stage[data-stage-pane="3"].active > .stage-storyboard > .sb-side { display: flex; flex-direction: column; min-height: 0; }
|
|
.content--fh-flat .stage[data-stage-pane="3"].active > .stage-storyboard > .sb-side > .pane { flex: 1 1 0; min-height: 0; overflow-y: auto; border: 0; border-radius: 0; background: var(--surface); padding: 18px 28px; }
|
|
.content--fh-flat .stage[data-stage-pane="3"].active .sb-scenes-col { max-height: none; }
|
|
|
|
.stage-storyboard { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: stretch; }
|
|
.sb-canvas { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 14px; display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; }
|
|
.sb-scenes-col { display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overflow-x: hidden; max-height: 560px; padding-right: 6px; scrollbar-width: thin; }
|
|
.sb-scenes-col::-webkit-scrollbar { width: 6px; }
|
|
.sb-scenes-col::-webkit-scrollbar-thumb { background: var(--border-faint); border-radius: 4px; }
|
|
.sb-scene-thumb { flex: 0 0 auto; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 1px solid var(--border-faint); border-radius: var(--r-md); background: var(--surface); transition: border-color var(--t-base), background var(--t-base); }
|
|
.sb-scene-thumb:hover { background: var(--background-lighter); }
|
|
.sb-scene-thumb.selected { border-color: var(--heat); background: var(--heat-12); }
|
|
.sb-scene-thumb .placeholder { aspect-ratio: 1; }
|
|
.sb-scene-thumb .nm { font-size: 11.5px; font-weight: 500; color: var(--accent-black); }
|
|
.sb-scene-thumb .sub { font-family: var(--font-mono); font-size: 10.5px; color: var(--black-alpha-48); }
|
|
/* 整张故事板出图是竖屏 2:3(1024×1536),空占位也用 2:3,跟成品同形(不再 16:9 横框) */
|
|
.sb-main-img { aspect-ratio: 2/3; min-height: 0; }
|
|
/* 整张故事板是竖长拼图,cover 会裁掉上下 —— 用 contain 完整显示;
|
|
留白底色用白(--surface)而非占位浅灰,避免「灰底大框」(对齐 HTML 干净白底) */
|
|
.sb-main-img.has-mock-media { background-size: contain; background-color: var(--surface); }
|
|
/* 整张生成中:每张分镜占位上叠一层半透明遮罩 + 转圈 spinner(不全屏遮挡;样式同基础资产趴) */
|
|
.sb-gen-veil { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border-radius: inherit; pointer-events: none; background: color-mix(in srgb, var(--surface) 62%, transparent); }
|
|
.sb-scene-thumb .sb-gen-veil .spinner { width: 16px; height: 16px; }
|
|
.sb-main-img .sb-gen-veil .spinner { width: 28px; height: 28px; }
|
|
/* 分镜图火山人像审核盾:缩略图角上只留盾(省地方),大图左上挂完整徽章 */
|
|
.sb-scene-thumb .placeholder .sb-frame-rv { position: absolute; top: 4px; left: 4px; z-index: 4; transform: scale(.82); transform-origin: top left; }
|
|
.sb-scene-thumb .placeholder .sb-frame-rv .rv-label { display: none; }
|
|
.sb-main-img .sb-main-rv { position: absolute; top: 10px; left: 10px; z-index: 4; }
|
|
|
|
.sb-rerun-note { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; margin-bottom: 14px; background: rgba(180,83,9,.08); border: 1px solid rgba(180,83,9,.20); border-radius: var(--r-md); color: #7C3A05; line-height: 1.55; }
|
|
.sb-rerun-note .warn-ic { width: 22px; height: 22px; border-radius: var(--r-sm); background: rgba(180,83,9,.12); color: #B45309; display: grid; place-items: center; flex: 0 0 22px; }
|
|
.sb-rerun-note .warn-ic svg { width: 14px; height: 14px; }
|
|
.sb-rerun-note .note-copy { min-width: 0; font-size: 12px; }
|
|
.sb-rerun-note strong { color: #B45309; }
|
|
.sb-rerun-note a { color: #B45309; text-decoration: underline; text-underline-offset: 2px; }
|
|
|
|
.sb-stage-actions { display: flex; gap: 8px; margin-top: 14px; margin-bottom: 12px; }
|
|
.sb-history { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-faint); }
|
|
.sb-history-h { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
|
|
.sb-history-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
|
|
.sb-history-thumb { flex: 0 0 80px; min-width: 80px; display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 1px solid var(--border-faint); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; transition: border-color var(--t-base); }
|
|
.sb-history-thumb:hover { border-color: var(--heat); }
|
|
.sb-history-thumb.current { border-color: var(--heat); background: var(--heat-12); }
|
|
.sb-history-thumb .placeholder { aspect-ratio: 1; }
|
|
.sb-history-thumb .ts { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); text-align: center; }
|
|
.sb-history-thumb.current .ts { color: var(--heat); font-weight: 600; }
|
|
|
|
.pill-cta { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; cursor: pointer; font-family: inherit; transition: background var(--t-base), border-color var(--t-base), color var(--t-base); }
|
|
.pill-cta.heat { background: var(--heat); color: var(--accent-white); border: 1px solid var(--heat); }
|
|
.pill-cta.heat:hover { box-shadow: var(--shadow-cta-hover); }
|
|
.pill-cta.ghost { background: var(--surface); color: var(--accent-black); border: 1px solid var(--border-faint); }
|
|
.pill-cta.ghost:hover { background: var(--background-lighter); border-color: var(--heat-20); color: var(--heat); }
|
|
.pill-cta svg { width: 13px; height: 13px; }
|
|
|
|
.sb-side .pane { padding: 18px; }
|
|
.prompt-edit { background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-md); padding: 12px 14px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: var(--accent-black); white-space: pre-wrap; min-height: 200px; outline: none; letter-spacing: .01em; cursor: text; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
|
|
.prompt-edit:hover { border-color: var(--heat-20); }
|
|
.prompt-edit:focus { border-color: var(--heat); background: var(--surface); box-shadow: 0 0 0 3px var(--heat-12); }
|
|
.asset-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-pill); font-size: 11.5px; }
|
|
.asset-tag .dotc { width: 14px; height: 14px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: 50%; }
|
|
/* 绑定资产缩略图(替代占位圆点 · 一眼看出引用了哪张资产) */
|
|
.asset-tag .asset-thumb { width: 22px; height: 22px; flex: 0 0 22px; border-radius: var(--r-pill); background-size: cover; background-position: center; border: 1px solid var(--border-faint); }
|
|
|
|
/* ============= STAGE 4 · 视频 ============= */
|
|
.content--fh .stage[data-stage-pane="4"].active > .video-grid { flex: 1 1 0; min-height: 0; overflow-y: auto; }
|
|
.content--fh-flat .stage[data-stage-pane="4"].active > .queue-bar { border: 0; border-radius: 0; border-bottom: 1px solid var(--border-faint); margin: 0; padding: 14px 28px; }
|
|
.content--fh-flat .stage[data-stage-pane="4"].active > .video-grid { padding: 18px 28px; background: var(--background-base); }
|
|
.queue-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); margin-bottom: 18px; }
|
|
.queue-bar .bar-wrap { flex: 1; height: 6px; background: var(--background-lighter); overflow: hidden; }
|
|
.queue-bar .bar-wrap > span { display: block; height: 100%; background: var(--heat); }
|
|
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 216px)); gap: 14px; align-content: start; align-items: start; justify-content: start; }
|
|
.video-card { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); cursor: pointer; transition: border-color var(--t-base), background var(--t-base); overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
|
|
.video-card:hover { border-color: var(--heat-40); background: var(--background-lighter); }
|
|
.video-thumb { width: 100%; aspect-ratio: 9/16; position: relative; border-radius: var(--r-md) var(--r-md) 0 0; overflow: hidden; }
|
|
.video-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,0.05); cursor: pointer; opacity: 0; transition: opacity .15s; }
|
|
.video-thumb:hover .play { opacity: 1; }
|
|
.video-thumb .btn-play { width: 36px; height: 36px; background: rgba(0,0,0,.7); color: var(--accent-white); border-radius: 50%; display: grid; place-items: center; }
|
|
.video-card .body { padding: 12px 12px 14px; flex: 1 1 auto; min-height: 118px; display: flex; flex-direction: column; }
|
|
.video-card-head { display: flex; align-items: center; gap: 8px; }
|
|
.video-card-title { min-width: 0; flex: 1 1 auto; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--accent-black); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.video-card-head .pill { flex: 0 0 auto; }
|
|
.video-meta { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .02em; margin-top: 5px; }
|
|
.video-actions { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 10px; }
|
|
/* 按钮内联小 spinner(重跑「提交中/生成中」转圈),配合文字;在 btn-primary 上转白色可见 */
|
|
.btn-spin { width: 12px; height: 12px; border-width: 2px; flex: 0 0 auto; margin-right: 5px; vertical-align: -1px; }
|
|
.btn-primary .btn-spin { border-color: color-mix(in srgb, currentColor 35%, transparent); border-top-color: currentColor; }
|
|
/* 多版本入口小标识「共 N 版 ›」—— 不是按钮、是可点 mono 标识,hover 转主橙 */
|
|
.video-ver-badge { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--black-alpha-48); transition: color var(--t-base); }
|
|
.video-ver-badge:hover { color: var(--heat); }
|
|
|
|
/* ============= STAGE 5 · 拼接编辑器 ============= */
|
|
.content--fh .stage[data-stage-pane="5"].active > .editor { flex: 1 1 0; min-height: 0; overflow-y: auto; height: auto; }
|
|
.content--fh-flat .stage[data-stage-pane="5"].active > .editor { border: 0; border-radius: 0; }
|
|
.content--fh-flat .stage[data-stage-pane="5"].active > .editor > .editor-preview { padding-left: 28px; }
|
|
.content--fh-flat .stage[data-stage-pane="5"].active > .editor > .editor-props { padding-right: 28px; }
|
|
.content--fh-flat .stage[data-stage-pane="5"].active > .editor > .timeline { padding-left: 28px; padding-right: 28px; }
|
|
|
|
.editor { display: grid; grid-template-columns: 1fr 280px; grid-template-rows: 1fr auto; gap: 0; height: 580px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); }
|
|
.editor-preview { padding: 16px; border-right: 1px solid var(--border-faint); border-bottom: 1px solid var(--border-faint); display: flex; flex-direction: column; gap: 12px; }
|
|
.editor-preview .canvas { position: relative; overflow: hidden; flex: 1 1 0; min-height: 0; aspect-ratio: 9/16; margin: 0 auto; background: repeating-linear-gradient(135deg, rgba(0,0,0,0.03) 0 1px, transparent 1px 12px), var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-md); display: grid; place-items: center; color: var(--black-alpha-48); font-family: var(--font-mono); font-size: 12px; }
|
|
/* 转场实时预览:切片段时画面淡场(导出才是真 xfade)。
|
|
opacity:0 兜底——@keyframes 必须在顶层(嵌套块内不生效),若动画没跑也不能变成永久黑盖板 */
|
|
.editor-preview .canvas .ed-xfade-flash { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; animation: edXfadeFlash 0.45s ease forwards; }
|
|
.editor-preview .controls { display: flex; align-items: center; gap: 8px; justify-content: center; }
|
|
.ctl-btn { width: 36px; height: 36px; border: 1px solid var(--border-faint); background: var(--surface); color: var(--black-alpha-56); border-radius: var(--r-md); display: grid; place-items: center; cursor: pointer; transition: background var(--t-base), border-color var(--t-base), color var(--t-base); }
|
|
.ctl-btn:hover { color: var(--heat); border-color: var(--heat-40); background: var(--heat-12); }
|
|
|
|
.editor-props { padding: 16px; border-bottom: 1px solid var(--border-faint); overflow-y: auto; }
|
|
.props-tabs { display: flex; gap: 0; margin-bottom: 14px; border-bottom: 1px solid var(--border-faint); }
|
|
.props-tabs > div { padding: 8px 12px; font-size: 13px; color: var(--black-alpha-56); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
|
|
.props-tabs > div.active { color: var(--heat); border-bottom-color: var(--heat); font-weight: 600; }
|
|
.style-swatch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
|
.swatch-card { padding: 10px; border: 1px solid var(--border-faint); border-radius: var(--r-md); cursor: pointer; }
|
|
.swatch-card:hover { background: var(--background-lighter); }
|
|
.swatch-card.selected { border-color: var(--heat); background: var(--heat-12); }
|
|
.swatch-card .demo { font-size: 12px; padding: 6px 8px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); margin-bottom: 4px; text-align: center; }
|
|
.swatch-card .demo.b { background: var(--accent-black); color: var(--accent-white); font-family: serif; }
|
|
.swatch-card .demo.c { color: var(--heat); -webkit-text-stroke: 0.5px var(--accent-black); }
|
|
.swatch-card .demo.d { background: var(--accent-honey, #f5c451); color: var(--accent-black); font-weight: 600; }
|
|
.swatch-card .nm { font-size: 12px; color: var(--black-alpha-48); font-family: var(--font-mono); letter-spacing: .02em; }
|
|
.props-row { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-faint); font-size: 13px; }
|
|
.props-row:last-child { border-bottom: 0; }
|
|
.props-row .k { color: var(--black-alpha-48); flex: 1; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; }
|
|
.input-mini { width: 90px; padding: 0 10px; height: 28px; font-size: 12px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--black-alpha-12); }
|
|
|
|
.timeline { position: relative; grid-column: 1 / -1; padding: 14px 16px; background: var(--background-base); }
|
|
.tl-toolbar { display: flex; align-items: center; gap: 4px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border-faint); }
|
|
.tl-toolbar .tl-action { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: transparent; border: 1px solid transparent; border-radius: var(--r-sm); color: var(--black-alpha-72); font-size: 12px; font-family: inherit; cursor: pointer; transition: background var(--t-base), border-color var(--t-base), color var(--t-base); }
|
|
.tl-toolbar .tl-action:hover { background: var(--surface); border-color: var(--border-faint); color: var(--accent-black); }
|
|
.tl-toolbar .tl-action.danger:hover { color: var(--accent-crimson); border-color: var(--accent-crimson); }
|
|
.tl-toolbar .tl-action svg { width: 13px; height: 13px; }
|
|
.tl-toolbar .tl-sep { width: 1px; height: 16px; background: var(--border-faint); margin: 0 4px; }
|
|
.tl-toolbar .tl-zoom { display: inline-flex; align-items: center; gap: 8px; }
|
|
.tl-toolbar .tl-zoom .lbl { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; }
|
|
.tl-toolbar .tl-zoom input[type="range"] { width: 120px; accent-color: var(--heat); }
|
|
.tl-ruler { display: grid; grid-template-columns: 80px 1fr; align-items: end; padding: 0; margin-bottom: 4px; }
|
|
.tl-ruler .l { font-family: var(--font-mono); color: var(--black-alpha-48); padding: 0 4px 4px; font-size: 12px; letter-spacing: .04em; align-self: end; }
|
|
.tl-ruler .rule-track { position: relative; height: 22px; border-bottom: 1px solid var(--border-faint); cursor: pointer; }
|
|
.tl-ruler .rule-track .tick { position: absolute; bottom: 0; width: 1px; background: var(--black-alpha-24); }
|
|
.tl-ruler .rule-track .tick.major { height: 8px; background: var(--black-alpha-48); }
|
|
.tl-ruler .rule-track .tick.minor { height: 4px; }
|
|
.tl-ruler .rule-track .t { position: absolute; bottom: 10px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-56); letter-spacing: .02em; white-space: nowrap; }
|
|
.tl-track { display: grid; grid-template-columns: 80px 1fr; align-items: center; padding: 3px 0; }
|
|
.tl-track .label { display: flex; align-items: center; gap: 6px; padding-left: 4px; font-size: 12px; color: var(--black-alpha-72); font-weight: 500; }
|
|
.tl-track .label .ico { width: 18px; height: 18px; display: grid; place-items: center; border-radius: var(--r-sm); flex-shrink: 0; }
|
|
.tl-track .label .ico svg { width: 12px; height: 12px; }
|
|
.tl-track .label.video .ico { background: var(--orange-tint); color: var(--heat); }
|
|
.tl-track .label.subtitle .ico { background: var(--green-bg); color: var(--accent-forest); }
|
|
.tl-track .label.bgm .ico { background: var(--background-lighter); color: var(--accent-amethyst); }
|
|
.tl-track .lane { position: relative; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); cursor: pointer; }
|
|
.tl-track.video-track .lane { height: 46px; }
|
|
.tl-track.subtitle-track .lane { height: 28px; }
|
|
.tl-track.bgm-track .lane { height: 34px; }
|
|
.tl-track .lane::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to right, var(--border-faint) 0, var(--border-faint) 1px, transparent 1px, transparent calc(100% / 15)); pointer-events: none; opacity: .55; border-radius: inherit; }
|
|
|
|
.clip { position: absolute; top: 3px; bottom: 3px; display: flex; align-items: center; gap: 6px; padding: 0 8px; font-size: 12px; border: 1px solid transparent; border-radius: 4px; cursor: grab; overflow: hidden; white-space: nowrap; user-select: none; box-sizing: border-box; }
|
|
.clip:hover { filter: brightness(1.04); }
|
|
.clip .num { font-family: var(--font-mono); font-weight: 600; opacity: .85; flex-shrink: 0; }
|
|
.clip .lbl { overflow: hidden; text-overflow: ellipsis; }
|
|
.clip.video { background: var(--heat-12); border-color: var(--heat-40); color: var(--heat); }
|
|
.clip.video .frames { position: absolute; top: 0; bottom: 0; left: 0; width: var(--src-width, 100%); transform: translateX(var(--src-offset, 0%)); display: flex; gap: 0; pointer-events: none; z-index: 0; border-radius: inherit; overflow: hidden; }
|
|
.clip.video .frames .fr { flex: 1; min-width: 0; background: repeating-linear-gradient(45deg, transparent 0, transparent 4px, rgba(38,38,38,.06) 4px, rgba(38,38,38,.06) 5px), rgba(250,93,25,.10); }
|
|
.clip.video .frames .fr + .fr { border-left: 1px solid rgba(255,255,255,.55); }
|
|
.clip.video .num, .clip.video .lbl { position: relative; z-index: 1; }
|
|
.clip.subtitle { background: var(--forest-bg); border-color: var(--forest-bd); color: var(--accent-forest); font-size: 12px; }
|
|
.clip.subtitle .lbl::before { content: "\201C"; font-family: serif; font-size: 14px; opacity: .55; margin-right: 2px; }
|
|
.clip.subtitle:hover { background: rgba(31, 138, 81, .14); }
|
|
.clip.bgm { background: rgba(144,97,255,.10); border-color: rgba(144,97,255,.30); color: var(--accent-amethyst, #9061ff); }
|
|
.clip.bgm .wave { position: absolute; inset: 6px 10px; pointer-events: none; opacity: .5; display: block; z-index: 0; }
|
|
.clip.bgm .wave svg { width: 100%; height: 100%; display: block; }
|
|
.clip.bgm .lbl, .clip.bgm .num { position: relative; z-index: 1; }
|
|
.playhead { position: absolute; top: -90px; bottom: -44px; width: 18px; transform: translateX(-50%); background: transparent; z-index: 10; pointer-events: auto; cursor: ew-resize; touch-action: none; }
|
|
.playhead::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 1.5px; background: var(--heat); pointer-events: none; }
|
|
.playhead::before { content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 10px; height: 10px; background: var(--heat); box-shadow: 0 0 0 1.5px var(--surface); border-radius: 1px; pointer-events: none; }
|
|
.playhead .ph-grab { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; cursor: ew-resize; pointer-events: auto; border-radius: 50%; }
|
|
|
|
/* ── 行34 · 脚本人物/场景可编辑 chip ── */
|
|
.script-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px 2px 9px; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-pill); font-size: 12px; color: var(--accent-black); }
|
|
.script-chip .chip-x { width: 15px; height: 15px; display: grid; place-items: center; background: transparent; border: 0; border-radius: 50%; color: var(--black-alpha-48); cursor: pointer; font-size: 13px; line-height: 1; padding: 0; }
|
|
.script-chip .chip-x:hover { background: var(--black-alpha-08); color: var(--accent-crimson); }
|
|
.tag-add-input { height: 22px; width: 76px; padding: 0 8px; font-size: 12px; font-family: inherit; color: var(--accent-black); background: var(--surface); border: 1px solid var(--heat); border-radius: var(--r-pill); outline: none; }
|
|
.tag-add-input::placeholder { color: var(--black-alpha-40); }
|
|
/* 流程步骤3 · 标签待确认态:待删划掉变灰、待加虚线高亮(点发送才真正重写) */
|
|
.script-chip.pending-remove { color: var(--black-alpha-40); text-decoration: line-through; border-style: dashed; }
|
|
.script-chip.pending-add { border-style: dashed; border-color: var(--heat); color: var(--heat); background: var(--surface); }
|
|
/* 输入框上方的「待确认增删」胶囊行 */
|
|
.chat-tagedit-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 8px; }
|
|
.chat-tagedit-row[hidden] { display: none; }
|
|
.chat-tagedit-row .tagedit-chip { font-size: 12px; }
|
|
.chat-tagedit-row .tagedit-chip.add { border-color: var(--heat); color: var(--heat); }
|
|
.chat-tagedit-row .tagedit-chip.remove { color: var(--black-alpha-48); text-decoration: line-through; }
|
|
|
|
/* ── 行33 · 进度时间轴(竖线串步骤 · 当前步光扫+秒数 · 思考折叠展开)── */
|
|
.progress-timeline { display: flex; flex-direction: column; }
|
|
.progress-timeline .pt-row { display: flex; gap: 10px; animation: ptRowIn .28s ease; }
|
|
.progress-timeline .pt-rail { position: relative; flex: 0 0 12px; display: flex; justify-content: center; }
|
|
.progress-timeline .pt-rail::after { content: ""; position: absolute; top: 11px; bottom: -5px; left: 50%; width: 1px; transform: translateX(-50%); background: var(--border-faint); }
|
|
.progress-timeline .pt-row:last-child .pt-rail::after { display: none; }
|
|
.progress-timeline .pt-dot { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--heat); flex: 0 0 7px; z-index: 1; }
|
|
.progress-timeline .pt-row:not(.done):not(.active) .pt-dot { background: var(--ink-4); }
|
|
.progress-timeline .pt-row.active .pt-dot { animation: pt-pulse 1.4s ease-in-out infinite; }
|
|
.progress-timeline .pt-main { flex: 1; min-width: 0; padding-bottom: 9px; }
|
|
.progress-timeline .pt-line { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.45; }
|
|
.progress-timeline .pt-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
|
|
.progress-timeline .pt-row.done .pt-text { color: var(--ink-3); }
|
|
.progress-timeline .pt-text.shimmer {
|
|
background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink-2) 42%, var(--ink-4) 50%, var(--ink-2) 58%, var(--ink-2) 100%);
|
|
background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
|
|
-webkit-text-fill-color: transparent; color: transparent; animation: pt-sweep 1.6s linear infinite;
|
|
}
|
|
.progress-timeline .pt-sec { font-family: var(--font-mono); font-size: 11px; color: var(--ink-4); letter-spacing: .02em; flex: 0 0 auto; }
|
|
.progress-timeline .pt-line-click { cursor: pointer; }
|
|
.progress-timeline .pt-line-click:hover .pt-text { color: var(--ink); }
|
|
.progress-timeline .pt-line-click:hover .pt-caret { color: var(--ink-2); }
|
|
.progress-timeline .pt-caret { flex: 0 0 auto; padding: 0 2px; color: var(--ink-4); font-size: 15px; line-height: 1; transition: transform .18s ease; }
|
|
.progress-timeline .pt-caret.open { transform: rotate(90deg); }
|
|
.progress-timeline .pt-think { margin-top: 6px; font-size: 12px; line-height: 1.6; color: var(--ink-3); white-space: pre-wrap; word-break: break-word; max-height: 168px; overflow-y: auto; border-left: 1px solid var(--border-faint); padding-left: 8px; }
|
|
|
|
/* ── 行32 · 长文本折叠 ── */
|
|
.clamp-lines { display: -webkit-box; -webkit-line-clamp: var(--clamp-lines, 10); -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; word-break: break-word; }
|
|
.clamp-toggle { margin-top: 6px; padding: 0; background: none; border: 0; color: var(--heat); font-family: inherit; font-size: 12px; cursor: pointer; }
|
|
.clamp-toggle:hover { text-decoration: underline; }
|
|
|
|
/* ── 1.5 · 生成前「表现形式 × 视频结构 × 人物 × 时长」设定卡 ── */
|
|
/* 标签列 64px:装得下最长的「表现形式」四个字(12px mono ≈ 52px)且四行对齐 */
|
|
.bubble.setup-card { width: 100%; max-width: 100%; display: flex; flex-direction: column; gap: 4px; }
|
|
.setup-card .setup-lead { font-size: 13px; line-height: 1.5; color: var(--accent-black); margin-bottom: 6px; }
|
|
.setup-card .setup-field { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; }
|
|
.setup-card .setup-field .sf-k { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .04em; }
|
|
.setup-card .setup-select { height: 32px; width: 100%; padding: 0 10px; font-size: 13px; font-family: inherit; color: var(--accent-black); background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); outline: none; cursor: pointer; }
|
|
.setup-card .setup-select:focus { border-color: var(--heat); box-shadow: 0 0 0 3px var(--heat-12); }
|
|
/* 说明行左缩进 = 标签列 64 + gap 10,跟下拉框左边缘对齐 */
|
|
.setup-card .setup-rec { font-size: 12px; line-height: 1.5; color: var(--black-alpha-40); margin: 0 0 8px 74px; }
|
|
.setup-card .setup-rec.warn { color: var(--accent-honey); }
|
|
.setup-card .setup-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 4px; }
|
|
|
|
/* ── 行34 · 添加分镜:本地草稿可编辑卡片 ── */
|
|
.draft-shot-card { background: var(--heat-12); border-radius: var(--r-md); border-bottom: 1px solid var(--heat-20); }
|
|
.draft-shot-card .shot-n { background: var(--heat); color: var(--accent-white); }
|
|
.draft-shot-input { width: 100%; font-family: inherit; font-size: 13px; line-height: 1.55; color: var(--accent-black); background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 5px 8px; outline: none; resize: vertical; min-height: 30px; }
|
|
.draft-shot-input:focus { border-color: var(--heat); box-shadow: 0 0 0 2px var(--heat-12); }
|
|
.draft-shot-input::placeholder { color: var(--black-alpha-32); }
|
|
|
|
/* ── 行38 · 资产卡可编辑提示词 + 重跑/替换 ──(.asset-prompt-edit 移到顶层:演员库弹窗 portal 到 body,嵌在 .pipeline-page 内会失效) */
|
|
.asset-card-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
|
|
.asset-card-actions .btn { display: inline-flex; align-items: center; }
|
|
|
|
/* ── 行39 · 缺三视图悬浮气泡 ── */
|
|
.tri-missing-badge { position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; background: var(--surface); border: 1px solid rgba(180,83,9,.30); border-radius: var(--r-pill); color: #B45309; font-size: 12px; cursor: help; }
|
|
.tri-missing-badge .ico { width: 6px; height: 6px; border-radius: 50%; background: #B45309; }
|
|
.tri-missing-badge .lbl-mono { font-family: var(--font-mono); letter-spacing: .02em; }
|
|
.tri-missing-badge .tri-missing-pop { position: absolute; top: calc(100% + 8px); left: 0; width: 260px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); box-shadow: 0 12px 32px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base); z-index: 20; pointer-events: none; display: flex; flex-direction: column; gap: 6px; cursor: default; }
|
|
.tri-missing-badge:hover .tri-missing-pop, .tri-missing-badge:focus-visible .tri-missing-pop { opacity: 1; visibility: visible; transform: translateY(0); }
|
|
.tri-missing-pop .pop-h { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: #B45309; }
|
|
.tri-missing-pop .pop-body { font-size: 12px; line-height: 1.55; color: var(--accent-black); }
|
|
.tri-missing-pop .pop-tip { font-size: 12px; line-height: 1.5; color: var(--black-alpha-56); }
|
|
.tri-missing-pop b { color: var(--heat); }
|
|
|
|
/* ── 底栏「确认故事板」点击气泡:没生成故事板时点确认 → 朝上弹提示(复用 pop 视觉) ── */
|
|
.sb-confirm-wrap { position: relative; display: inline-flex; }
|
|
.sb-confirm-pop { position: absolute; bottom: calc(100% + 10px); right: 0; width: 248px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); box-shadow: 0 12px 32px rgba(0,0,0,.14); display: flex; flex-direction: column; gap: 6px; z-index: 30; animation: sb-confirm-in var(--t-base); }
|
|
.sb-confirm-pop .pop-h { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--heat); }
|
|
.sb-confirm-pop .pop-body { font-size: 12px; line-height: 1.55; color: var(--accent-black); }
|
|
.sb-confirm-pop b { color: var(--heat); }
|
|
@keyframes sb-confirm-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
|
|
|
|
/* ── 行39 · 三视图选择弹窗 ── */
|
|
.tri-modal { width: min(720px, 100%); }
|
|
.tri-modal .tri-modal-tip { font-size: 13px; line-height: 1.55; color: var(--black-alpha-72); padding: 10px 12px; background: var(--heat-12); border: 1px solid var(--heat-20); border-radius: var(--r-md); margin-bottom: 16px; }
|
|
.tri-modal .tri-modal-tip b { color: var(--heat); }
|
|
.tri-cand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
|
|
.tri-cand-card { border: 1px solid var(--border-faint); border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--surface); transition: border-color var(--t-base), box-shadow var(--t-base); }
|
|
.tri-cand-card:hover { border-color: var(--heat); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
|
|
.tri-cand-card.adopted { border-color: var(--heat); }
|
|
.tri-cand-card .tri-cand-img { aspect-ratio: 16/9; }
|
|
.tri-cand-card .tri-cand-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; }
|
|
.tri-cand-card .tri-cand-foot .mono { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); }
|
|
/* ── 流程步骤4 · 人物/场景详情弹窗(对齐设计稿 asset-detail-grid)── */
|
|
.asset-modal-h .ad-tag { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .02em; }
|
|
.asset-detail-grid { display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
|
|
.asset-detail-lead { display: flex; flex-direction: column; gap: 10px; }
|
|
.asset-detail-lead .ad-lead-wrap { position: relative; }
|
|
.asset-detail-lead .placeholder.ad-lead-img { aspect-ratio: 9/16; border-radius: var(--r-md); }
|
|
.ad-zoom-btn { position: absolute; right: 8px; bottom: 8px; width: 32px; height: 32px; padding: 0; background: rgba(21,20,15,.7); color: #fff; border: 0; border-radius: var(--r-sm); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity var(--t-base), background var(--t-base); z-index: 3; }
|
|
.ad-zoom-btn:hover { background: rgba(21,20,15,.92); }
|
|
.ad-zoom-btn svg { width: 14px; height: 14px; }
|
|
.asset-detail-lead .ad-lead-wrap:hover .ad-zoom-btn, .asset-detail-tri-row .ad-tri-wrap:hover .ad-zoom-btn { opacity: 1; }
|
|
.asset-detail-tri-row .ad-tri-wrap { position: relative; }
|
|
.asset-detail-lead .ad-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.asset-detail-lead .ad-thumbs .thumb { flex: 0 0 56px; width: 56px; aspect-ratio: 3/4; border-radius: var(--r-sm); border: 1px solid var(--border-faint); cursor: pointer; overflow: hidden; transition: border-color var(--t-base); }
|
|
.asset-detail-lead .ad-thumbs .thumb:hover { border-color: var(--heat-40); }
|
|
.asset-detail-lead .ad-thumbs .thumb.active { border-color: var(--heat); border-width: 2px; }
|
|
.asset-detail-right .ad-section + .ad-section { margin-top: 18px; }
|
|
.asset-detail-section-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-black); margin-bottom: 10px; }
|
|
.asset-detail-section-h .ic { width: 14px; height: 14px; color: var(--heat); flex-shrink: 0; display: grid; place-items: center; }
|
|
.asset-detail-section-h .ic svg { width: 14px; height: 14px; }
|
|
.asset-detail-section-h .ad-ratio-chip { margin-left: auto; font-family: var(--font-mono); font-size: 12px; padding: 2px 8px; border-radius: var(--r-sm); background: var(--background-lighter); border: 1px solid var(--border-faint); color: var(--black-alpha-56); letter-spacing: .02em; }
|
|
.asset-detail-section-h .ad-icon-btn { width: 28px; height: 28px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-sm); color: var(--black-alpha-56); cursor: pointer; transition: background var(--t-base), color var(--t-base), border-color var(--t-base); }
|
|
/* hover 整体反色:橙底 + 白 icon(原仅字色变橙,icon 在白底上看不出反色) */
|
|
.asset-detail-section-h .ad-icon-btn:hover { background: var(--heat); color: var(--accent-white); border-color: var(--heat); }
|
|
.asset-detail-section-h .ad-icon-btn svg { width: 12px; height: 12px; }
|
|
.asset-detail-section-h .ad-icon-gap { margin-left: 8px; }
|
|
.asset-detail-tri-row .placeholder { aspect-ratio: 16 / 9; border-radius: var(--r-md); }
|
|
.asset-detail-tri-row .placeholder.missing { display: grid; place-items: center; border: 1px dashed var(--border-faint); background: var(--background-lighter); color: var(--black-alpha-48); font-family: var(--font-mono); font-size: 12px; padding: 12px; text-align: center; gap: 8px; }
|
|
.md-view-versions { display: flex; gap: 6px; overflow-x: auto; padding: 2px; margin-top: 8px; }
|
|
.md-view-versions .v-thumb { flex: 0 0 auto; width: 72px; aspect-ratio: 16/9; background: var(--background-lighter); border: 1px solid var(--border-faint); border-radius: var(--r-sm); position: relative; cursor: pointer; display: grid; place-items: center; overflow: hidden; transition: border-color var(--t-base); }
|
|
.md-view-versions .v-thumb:hover { border-color: var(--heat-40); }
|
|
.md-view-versions .v-thumb.active { border-color: var(--heat); border-width: 2px; box-shadow: 0 0 0 2px var(--heat-12); }
|
|
.md-view-versions .v-thumb .v { font-family: var(--font-mono); font-size: 10px; color: var(--black-alpha-56); letter-spacing: .02em; }
|
|
.md-view-versions .v-thumb.active .v { color: var(--heat); font-weight: 600; }
|
|
.asset-detail-tip { margin-top: 10px; padding: 10px 12px; background: var(--heat-12); border: 1px solid var(--heat-20); border-radius: var(--r-sm); font-size: 12px; color: var(--accent-black); display: flex; align-items: center; gap: 8px; line-height: 1.5; }
|
|
.asset-detail-tip svg { width: 14px; height: 14px; color: var(--heat); flex-shrink: 0; }
|
|
.asset-detail-tip .ai-gen-btn { margin-left: auto; height: 26px; padding: 0 10px; background: var(--heat); color: var(--accent-white); border: 1px solid var(--heat); border-radius: var(--r-sm); font-size: 12px; cursor: pointer; font-family: inherit; flex-shrink: 0; }
|
|
.asset-modal-f .ad-foot-stats { display: flex; gap: 6px; margin-right: auto; }
|
|
.asset-modal-f .ad-stat-btn { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--border-faint); border-radius: var(--r-sm); color: var(--black-alpha-72); font-size: 12px; font-family: inherit; cursor: pointer; transition: background var(--t-base), color var(--t-base), border-color var(--t-base); }
|
|
.asset-modal-f .ad-stat-btn:hover { background: var(--background-lighter); color: var(--accent-black); }
|
|
.asset-modal-f .ad-stat-btn svg { width: 13px; height: 13px; }
|
|
/* 固定大小、不可拖拽(对齐设计稿:描述角色立绘的提示词栏固定) */
|
|
.ad-detail-prompt { width: 100%; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--black-alpha-72); background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 10px 12px; outline: none; resize: none; height: 88px; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
|
|
/* 版本缩略图(非 .placeholder,需自己接 --mock-media-url 才显图) */
|
|
.ad-thumbs .thumb.has-mock-media, .md-view-versions .v-thumb.has-mock-media, .prod-preview-history .h-thumb.has-mock-media { background-image: var(--mock-media-url); background-size: cover; background-position: center; background-repeat: no-repeat; }
|
|
.ad-detail-prompt:hover { border-color: var(--heat-20); }
|
|
.ad-detail-prompt:focus { border-color: var(--heat); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px var(--heat-12); }
|
|
|
|
.tri-empty { text-align: center; padding: 8px 0; }
|
|
.tri-empty .tri-empty-hint { font-size: 13px; line-height: 1.6; color: var(--black-alpha-56); margin-top: 14px; }
|
|
|
|
/* ── 流程步骤4 · 基础资产卡生成中 loading + 转圈 ── */
|
|
.asset-card-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--background-base); z-index: 2; }
|
|
.asset-card-loading .mono { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-56); letter-spacing: .04em; }
|
|
.asset-spinner { width: 26px; height: 26px; border: 2.5px solid var(--heat-20); border-top-color: var(--heat); border-radius: 50%; animation: assetSpin .7s linear infinite; }
|
|
.asset-spinner.sm { width: 13px; height: 13px; border-width: 2px; display: inline-block; vertical-align: -2px; }
|
|
.asset-card-tags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; }
|
|
.asset-card-tags .mono { font-family: var(--font-mono); font-size: 12px; color: var(--black-alpha-48); letter-spacing: .03em; }
|
|
|
|
/* ── 流程步骤4 · 人物/场景详情弹窗:立绘列 + 三视图 + hover 图标 ── */
|
|
.ad-portrait-col { flex: 0 0 280px; min-width: 0; }
|
|
.ad-img-wrap { position: relative; }
|
|
.ad-main-img { aspect-ratio: 9/16; max-height: 460px; border-radius: var(--r-md); overflow: hidden; }
|
|
.ad-tri-wrap { position: relative; }
|
|
.ad-tri-img { aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; }
|
|
.ad-img-icons { position: absolute; bottom: 8px; right: 8px; display: flex; gap: 6px; z-index: 3; }
|
|
.ad-icon-btn { width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: rgba(0,0,0,.55); color: #fff; cursor: pointer; transition: background var(--t-base); }
|
|
.ad-icon-btn:hover { background: var(--heat); }
|
|
.vd-history-thumb.tri .placeholder { aspect-ratio: 16/9; }
|
|
}
|
|
|
|
/* 流程步骤4 · 基础资产 loading 转圈(顶层 @keyframes 才注册) */
|
|
@keyframes assetSpin { to { transform: rotate(360deg); } }
|
|
|
|
/* 进度流逐条滚入(顶层 @keyframes 才注册) */
|
|
@keyframes psRowIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
|
|
|
|
/* 顶层 @keyframes:嵌套进 .pipeline-page 块内不会注册,动画不执行(product-detail 同坑) */
|
|
@keyframes edXfadeFlash { from { opacity: 0.72; } to { opacity: 0; } }
|
|
|
|
/* 行33 · 进度时间轴(顶层才注册:行入场 / 当前点脉冲 / 状态字光扫) */
|
|
@keyframes ptRowIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
|
|
@keyframes pt-pulse { 0%, 100% { box-shadow: 0 0 0 2px var(--heat-12); } 50% { box-shadow: 0 0 0 5px transparent; } }
|
|
@keyframes pt-sweep { from { background-position: 140% 0; } to { background-position: -40% 0; } }
|
|
|
|
/* 方案 B · 生成卡(顶层才注册:动态点闪烁 / 橙色扫光进度条) */
|
|
@keyframes sgvBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
|
|
@keyframes sgvBar { 0% { left: -42%; } 100% { left: 100%; } }
|
|
|
|
/* ── 流程步骤4 · 演员库覆盖层(portal 到 body,顶层选择器才生效)── */
|
|
/* 资产卡/演员库工作台的提示词输入框:顶层定义,页面内(资产卡)与 portal 弹窗(添加人物工作台)都生效 */
|
|
/* 固定三行高度、不可拖拽(对齐设计稿:人物提示词框固定在三行) */
|
|
.asset-prompt-edit { width: 100%; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; line-height: 1.55; letter-spacing: .01em; color: var(--black-alpha-72); background: var(--background-base); border: 1px solid var(--border-faint); border-radius: var(--r-sm); padding: 8px 10px; outline: none; resize: none; min-height: 0; height: 74px; transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base); }
|
|
.asset-prompt-edit:hover { border-color: var(--heat-20); }
|
|
.asset-prompt-edit:focus { border-color: var(--heat); background: var(--surface); color: var(--accent-black); box-shadow: 0 0 0 3px var(--heat-12); }
|
|
.asset-prompt-edit::placeholder { color: var(--black-alpha-32); }
|
|
.actorlib-bg { position: fixed; inset: 0; background: rgba(0,0,0,.42); z-index: 1020; display: flex; align-items: center; justify-content: center; padding: 40px; }
|
|
.actorlib { background: var(--surface); border: 1px solid var(--border-faint); border-radius: var(--r-md); width: min(920px, 100%); max-height: calc(100vh - 80px); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 48px rgba(0,0,0,.18); }
|
|
.actorlib-h { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border-faint); }
|
|
.actorlib-h h2 { font-size: 15px; font-weight: 600; }
|
|
.actorlib-h .x { width: 30px; height: 30px; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; color: var(--black-alpha-56); border-radius: var(--r-sm); margin-left: auto; }
|
|
.actorlib-h .x:hover { background: var(--black-alpha-08); color: var(--accent-black); }
|
|
.actorlib-body { padding: 16px 20px 22px; overflow-y: auto; flex: 1; }
|
|
.actorlib-toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
|
|
.actorlib-tabs { display: inline-flex; gap: 6px; }
|
|
.al-tab { padding: 6px 12px; font-size: 13px; border: 1px solid var(--border-faint); background: var(--surface); border-radius: var(--r-sm); cursor: pointer; color: var(--black-alpha-72); transition: border-color var(--t-base), background var(--t-base), color var(--t-base); }
|
|
.al-tab:hover { border-color: var(--heat-40); }
|
|
.al-tab.active { border-color: var(--heat); background: var(--heat-12); color: var(--accent-black); font-weight: 500; }
|
|
.actorlib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
|
|
.actor-card { display: flex; flex-direction: column; gap: 6px; }
|
|
.actor-card .actor-thumb { aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; position: relative; cursor: pointer; border: 1px solid var(--border-faint); transition: border-color var(--t-base); }
|
|
.actor-card .actor-thumb:hover { border-color: var(--heat); }
|
|
.actor-card .actor-pick { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(250,93,25,.0); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transition: opacity var(--t-base), background var(--t-base); }
|
|
.actor-card .actor-thumb:hover .actor-pick { opacity: 1; background: rgba(250,93,25,.42); }
|
|
.actor-name { font-size: 12px; color: var(--black-alpha-72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.actorlib-studio-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
|
|
.actorlib-drop { border: 1.5px dashed var(--border-strong, var(--black-alpha-32)); border-radius: var(--r-md); padding: 40px 20px; text-align: center; color: var(--black-alpha-72); cursor: pointer; transition: border-color var(--t-base), background var(--t-base); }
|
|
.actorlib-drop:hover { border-color: var(--heat); background: var(--heat-12); }
|
|
/* 添加人物工作台多步:左 = 生成/上传 + 候选;右 = 选中立绘命名 / 三视图 / 保存 */
|
|
.actorlib-studio-grid { display: grid; grid-template-columns: 1fr 240px; gap: 18px; align-items: start; }
|
|
.actorlib-studio-right { border-left: 1px solid var(--border-faint); padding-left: 18px; }
|
|
.actorlib-studio-detail .actor-thumb { aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; position: relative; border: 1px solid var(--border-faint); }
|
|
.actor-card .actor-thumb.active { border-color: var(--heat); }
|
|
@media (max-width: 720px) { .actorlib-studio-grid { grid-template-columns: 1fr; } .actorlib-studio-right { border-left: none; border-top: 1px solid var(--border-faint); padding-left: 0; padding-top: 16px; } }
|
|
|
|
/* ── 实体提取闸门(进资产趴蒙版 + 三按钮):不自动花钱,用户点了才提取/生成 ── */
|
|
.stage[data-stage-pane="2"] { position: relative; }
|
|
.extract-gate {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 12;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background: rgba(255, 255, 255, .72);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
border-radius: var(--r-md);
|
|
}
|
|
.extract-gate-panel {
|
|
width: min(440px, 100%);
|
|
background: var(--surface-raised);
|
|
box-shadow: inset 0 0 0 1px var(--border-faint), var(--shadow-floating);
|
|
border-radius: var(--r-md);
|
|
padding: 28px 24px;
|
|
text-align: center;
|
|
}
|
|
.eg-title { font-size: 16px; font-weight: 600; color: var(--accent-black); }
|
|
.eg-sub { font-size: 11px; color: var(--black-alpha-48); margin-top: 6px; }
|
|
.eg-cost-hint { font-size: 11px; color: var(--black-alpha-48); margin-top: 8px; }
|
|
.extract-gate-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
|
|
.eg-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
text-align: left;
|
|
padding: 13px 15px;
|
|
border: none;
|
|
border-radius: var(--r-md);
|
|
background: var(--background-base);
|
|
box-shadow: inset 0 0 0 1px var(--border-faint);
|
|
cursor: pointer;
|
|
transition: box-shadow .15s ease, background .15s ease;
|
|
}
|
|
.eg-btn:hover { box-shadow: inset 0 0 0 1px var(--heat); background: var(--heat-4); }
|
|
.eg-btn-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
.eg-btn-main { font-size: 13.5px; font-weight: 500; color: var(--accent-black); }
|
|
.eg-btn-sub { font-size: 11.5px; color: var(--black-alpha-48); }
|
|
.eg-tag { font-size: 10.5px; padding: 2px 8px; border-radius: 999px; font-family: var(--font-mono); white-space: nowrap; line-height: 1.5; }
|
|
.eg-tag-free { color: var(--black-alpha-56); box-shadow: inset 0 0 0 1px var(--border-faint); }
|
|
.eg-tag-pay { color: var(--heat); box-shadow: inset 0 0 0 1px var(--heat-40); background: var(--heat-8); }
|
|
.eg-btn-full { box-shadow: inset 0 0 0 1px var(--heat-40); }
|
|
.eg-btn-full:hover { box-shadow: inset 0 0 0 1px var(--heat); background: var(--heat-8); }
|
|
.eg-err { margin-top: 14px; font-size: 12px; color: var(--accent-crimson); }
|
|
.extract-gate-loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 8px; }
|
|
.eg-spinner { width: 30px; height: 30px; border-radius: 999px; border: 2.5px solid var(--border-faint); border-top-color: var(--heat); animation: eg-spin .8s linear infinite; }
|
|
@keyframes eg-spin { to { transform: rotate(360deg); } }
|
|
.eg-load-msg { font-size: 14px; font-weight: 500; color: var(--accent-black); }
|
|
.eg-load-sub { font-size: 11px; color: var(--black-alpha-48); }
|
|
.eg-reextract { margin-top: 14px; width: 100%; }
|
|
|
|
/* ── 兜底弹窗拦截:生成故事板/视频前,参考图不齐就拦住,让用户去补 / 仍要生成 ── */
|
|
.ref-gate-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 60;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background: rgba(21, 20, 15, .42);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
}
|
|
.ref-gate-modal {
|
|
width: min(460px, 100%);
|
|
background: var(--surface-raised);
|
|
box-shadow: var(--shadow-floating);
|
|
border-radius: var(--r-md);
|
|
padding: 24px;
|
|
}
|
|
.rg-title { font-size: 16px; font-weight: 600; color: var(--accent-black); }
|
|
.rg-body { font-size: 13px; line-height: 1.6; color: var(--black-alpha-64); margin-top: 10px; }
|
|
.rg-body strong { color: var(--heat); font-weight: 600; }
|
|
.rg-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
|
|
.rg-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--accent-black); padding: 5px 11px 5px 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--border-faint); background: var(--background-base); }
|
|
.rg-kind { font-size: 10px; font-family: var(--font-mono); padding: 2px 6px; border-radius: 999px; }
|
|
.rg-kind-person { color: var(--heat); background: var(--heat-8); }
|
|
.rg-kind-scene { color: var(--black-alpha-56); background: var(--black-alpha-5); }
|
|
.rg-actions { display: flex; gap: 10px; margin-top: 22px; align-items: stretch; }
|
|
.rg-actions .btn-primary { flex: 1; }
|
|
.rg-force { display: inline-flex; align-items: baseline; gap: 5px; }
|
|
.rg-warn { font-size: 10px; font-family: var(--font-mono); color: var(--black-alpha-48); }
|
|
|
|
/* 提取闸门单按钮:醒目主 CTA */
|
|
.eg-extract-btn { margin-top: 24px; min-width: 220px; }
|
|
|
|
/* C:角色/场景卡 采用/未采用 toggle */
|
|
.adopt-toggle { height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 500; border: 1px solid transparent; cursor: pointer; white-space: nowrap; letter-spacing: .02em; }
|
|
.adopt-toggle.adopted { color: var(--accent-forest); background: var(--forest-bg); border-color: var(--forest-bd); }
|
|
.adopt-toggle.unadopted { color: var(--black-alpha-56); background: var(--black-alpha-4); border-color: var(--border-faint); }
|
|
.adopt-toggle:hover { border-color: var(--black-alpha-24); }
|
|
/* D:角色/场景卡 hover 删除 + 二次确认 */
|
|
.asset-card-2 { position: relative; }
|
|
.asset-card-del { position: absolute; top: 8px; right: 8px; z-index: 3; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: none; border-radius: var(--r-sm); background: var(--black-alpha-48); color: var(--accent-white); cursor: pointer; opacity: 0; transition: opacity .15s, background .15s; }
|
|
.asset-card-del svg { width: 14px; height: 14px; }
|
|
.asset-card-2:hover .asset-card-del { opacity: 1; }
|
|
.asset-card-del:hover { background: var(--accent-crimson); }
|
|
.asset-card-del-confirm { position: absolute; top: 8px; right: 8px; z-index: 3; display: inline-flex; gap: 6px; }
|
|
.asset-card-del-confirm button { height: 24px; padding: 0 8px; border-radius: var(--r-sm); font-size: 11.5px; border: 1px solid var(--border-faint); cursor: pointer; }
|
|
.asset-card-del-confirm .del-yes { background: var(--accent-crimson); border-color: var(--accent-crimson); color: var(--accent-white); }
|
|
.asset-card-del-confirm .del-no { background: var(--surface); color: var(--black-alpha-56); }
|