未完成/验证待完成:剧本台(ui_script_director.js、13-script-director.css)、 音频面板返回状态与 locales 文案来自上一轮会话,尚未验证。仅作为恢复点, 后续修复另行提交。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W411Z69FC3em9CzpeqEub5
175 lines
3.6 KiB
CSS
175 lines
3.6 KiB
CSS
/* Script Director */
|
|
.anomalous-script-director-panel {
|
|
position: absolute;
|
|
top: 60px;
|
|
right: 20px;
|
|
width: 380px;
|
|
height: calc(100% - 80px);
|
|
background: var(--amb-bg-panel, #1e1e24);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
border-radius: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
|
z-index: 9999;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.anomalous-sd-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
background: rgba(0,0,0,0.2);
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.anomalous-sd-title {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.anomalous-sd-subtitle {
|
|
font-size: 11px;
|
|
color: #64748b;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.anomalous-sd-close-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: #94a3b8;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.anomalous-sd-close-btn:hover {
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.anomalous-sd-input-area {
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.anomalous-sd-textarea {
|
|
width: 100%;
|
|
height: 120px;
|
|
background: rgba(0,0,0,0.2);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
border-radius: 6px;
|
|
padding: 10px;
|
|
color: #cbd5e1;
|
|
font-size: 13px;
|
|
resize: vertical;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.anomalous-sd-btn {
|
|
background: rgba(255,255,255,0.05);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
color: #e2e8f0;
|
|
padding: 6px 12px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.anomalous-sd-btn:hover {
|
|
background: rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.anomalous-sd-btn.primary {
|
|
background: rgba(56, 189, 248, 0.1);
|
|
color: #38bdf8;
|
|
border-color: rgba(56, 189, 248, 0.2);
|
|
}
|
|
.anomalous-sd-btn.primary:hover {
|
|
background: rgba(56, 189, 248, 0.2);
|
|
}
|
|
|
|
.anomalous-sd-btn.accent {
|
|
background: rgba(99, 102, 241, 0.15);
|
|
color: #818cf8;
|
|
border-color: rgba(99, 102, 241, 0.3);
|
|
font-weight: 600;
|
|
}
|
|
.anomalous-sd-btn.accent:hover {
|
|
background: rgba(99, 102, 241, 0.25);
|
|
}
|
|
|
|
.anomalous-sd-lines-container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.anomalous-sd-line-card {
|
|
background: rgba(255,255,255,0.03);
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.anomalous-sd-line-card:hover {
|
|
background: rgba(255,255,255,0.06);
|
|
}
|
|
|
|
.anomalous-sd-line-card.active {
|
|
border-color: #38bdf8;
|
|
background: rgba(56, 189, 248, 0.05);
|
|
box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
|
|
}
|
|
|
|
.anomalous-sd-voice-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 6px;
|
|
padding: 2px 8px;
|
|
border-radius: 12px;
|
|
background: rgba(255,255,255,0.05);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.anomalous-sd-voice-badge.has-voice {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border-color: rgba(16, 185, 129, 0.3);
|
|
color: #34d399;
|
|
}
|
|
|
|
.anomalous-sd-voice-badge .placeholder {
|
|
color: #64748b;
|
|
}
|
|
|
|
.anomalous-sd-line-text {
|
|
font-size: 13px;
|
|
color: #cbd5e1;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.anomalous-sd-footer {
|
|
padding: 12px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-top: 1px solid rgba(255,255,255,0.05);
|
|
background: rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.anomalous-audio-action-btn.active {
|
|
background: rgba(56, 189, 248, 0.15);
|
|
color: #38bdf8;
|
|
border-color: rgba(56, 189, 248, 0.3);
|
|
}
|