2010 lines
36 KiB
CSS
2010 lines
36 KiB
CSS
:root {
|
|
--video-surface: #ffffff;
|
|
--video-muted: #f2f4f7;
|
|
--video-bg: #f6f7fb;
|
|
--video-outline: #e6e6e6;
|
|
--video-ink: #0f172a;
|
|
--video-accent: #0f172a;
|
|
--video-glow: rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
body {
|
|
background-color: var(--video-bg);
|
|
background-image: none;
|
|
overflow-x: hidden;
|
|
max-width: 100vw;
|
|
width: 100%;
|
|
}
|
|
|
|
/* 移动端强制约束 */
|
|
@media (max-width: 768px) {
|
|
.video-main-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-main-left,
|
|
.video-main-right {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.video-card {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* 修复编辑面板溢出 */
|
|
#editPanel {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
min-width: 0 !important;
|
|
overflow-x: hidden;
|
|
}
|
|
}
|
|
|
|
.video-header-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.video-hero {
|
|
padding: 16px 20px;
|
|
border-radius: 12px;
|
|
border: none;
|
|
background: #fff;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.hero-kicker {
|
|
font-size: 11px;
|
|
color: var(--accents-4);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.18em;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.hero-note {
|
|
display: flex;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
margin-top: 12px;
|
|
font-size: 11px;
|
|
color: var(--accents-5);
|
|
}
|
|
|
|
.hero-note-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: #f5f5f5;
|
|
border: none;
|
|
padding: 6px 10px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.hero-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--video-accent);
|
|
display: inline-block;
|
|
}
|
|
|
|
.video-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
/* Allow wrapping on small screens */
|
|
width: 100%;
|
|
}
|
|
|
|
.video-actions button {
|
|
flex: 1 1 auto;
|
|
/* Allow buttons to shrink/grow */
|
|
min-width: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.video-top-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
|
|
gap: 24px;
|
|
align-items: stretch;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.video-main-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.video-main-left,
|
|
.video-main-right {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
/* 生成设置卡片始终随文档流滚动,禁止任何置顶行为 */
|
|
.video-main-left>.video-card:first-child {
|
|
position: static !important;
|
|
top: auto !important;
|
|
z-index: auto !important;
|
|
}
|
|
|
|
.history-panel .panel-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.history-panel .video-stage {
|
|
min-height: 220px;
|
|
max-height: 980px;
|
|
overflow: auto;
|
|
background: #fafafa;
|
|
border-color: var(--video-outline);
|
|
}
|
|
|
|
.history-panel .video-item {
|
|
background: #fff;
|
|
border: 1px solid var(--video-outline);
|
|
padding: 8px;
|
|
gap: 6px;
|
|
border-radius: 9px;
|
|
}
|
|
|
|
.history-panel .video-item-title,
|
|
.history-panel .video-item-bar {
|
|
color: var(--accents-7);
|
|
}
|
|
|
|
.history-panel .video-item-prompt {
|
|
color: var(--accents-6);
|
|
}
|
|
|
|
.history-panel .video-item-bar {
|
|
display: block;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.history-panel .video-item-title {
|
|
display: block;
|
|
width: 100%;
|
|
min-width: 100%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.history-panel .video-item-actions .geist-button-outline {
|
|
color: var(--accents-7);
|
|
border-color: var(--video-outline);
|
|
}
|
|
|
|
.history-panel .video-item-actions {
|
|
margin-top: 0;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 5px;
|
|
}
|
|
|
|
.history-panel .video-item-body {
|
|
min-height: 96px;
|
|
}
|
|
|
|
.history-panel .video-item-link {
|
|
color: var(--accents-4);
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.video-main-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.video-card {
|
|
background: var(--video-surface);
|
|
border: none;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
box-shadow: none;
|
|
position: relative;
|
|
overflow: hidden;
|
|
--field-height: 32px;
|
|
--field-label: 11px;
|
|
--field-label-gap: 6px;
|
|
--field-block: calc(var(--field-height) + var(--field-label) + var(--field-label-gap));
|
|
--field-row-gap: 12px;
|
|
}
|
|
|
|
.video-card::after {
|
|
content: none;
|
|
}
|
|
|
|
.video-card-glow::before {
|
|
content: none;
|
|
}
|
|
|
|
.video-card-contrast {
|
|
background: #fff;
|
|
color: var(--video-ink);
|
|
border: none;
|
|
}
|
|
|
|
.video-card-contrast .card-title,
|
|
.video-card-contrast .meta-label,
|
|
.video-card-contrast .meta-value,
|
|
.video-card-contrast .progress-meta,
|
|
.video-card-contrast .video-meta {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.card-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--video-ink);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.field-label {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--accents-4);
|
|
margin-bottom: 6px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.video-card input.geist-input,
|
|
.video-card select.geist-input {
|
|
height: var(--field-height);
|
|
}
|
|
|
|
.settings-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
|
|
grid-template-rows: auto auto auto;
|
|
column-gap: 16px;
|
|
row-gap: var(--field-row-gap);
|
|
align-items: start;
|
|
}
|
|
|
|
.settings-actions {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.settings-actions .geist-button,
|
|
.settings-actions .geist-button-outline,
|
|
.splice-action-row .geist-button {
|
|
height: 32px;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.settings-block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.prompt-block {
|
|
grid-column: 1;
|
|
grid-row: 1 / span 2;
|
|
}
|
|
|
|
.ref-block {
|
|
grid-column: 1;
|
|
grid-row: 3;
|
|
}
|
|
|
|
.ratio-block {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.length-block {
|
|
grid-column: 3;
|
|
grid-row: 1;
|
|
}
|
|
|
|
.resolution-block {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.preset-block {
|
|
grid-column: 3;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.upload-block {
|
|
grid-column: 2;
|
|
grid-row: 3;
|
|
}
|
|
|
|
.clear-block {
|
|
grid-column: 3;
|
|
grid-row: 3;
|
|
}
|
|
|
|
.upload-block .geist-button-outline,
|
|
.clear-block .geist-button-outline {
|
|
height: 32px;
|
|
width: 100%;
|
|
}
|
|
|
|
.ref-controls {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ref-controls .geist-input {
|
|
min-width: 0;
|
|
}
|
|
|
|
.ref-file-input {
|
|
display: none;
|
|
}
|
|
|
|
.upload-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.file-name {
|
|
font-size: 12px;
|
|
color: var(--accents-4);
|
|
}
|
|
|
|
.reference-strip {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.reference-empty {
|
|
font-size: 12px;
|
|
color: var(--accents-4);
|
|
}
|
|
|
|
.reference-item {
|
|
position: relative;
|
|
width: 76px;
|
|
height: 76px;
|
|
border-radius: 14px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--video-outline);
|
|
background: #0f172a;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.reference-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.reference-remove {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
width: 26px;
|
|
height: 26px;
|
|
border-radius: 999px;
|
|
border: none;
|
|
background: rgba(15, 23, 42, 0.78);
|
|
color: #fff;
|
|
font-size: 16px;
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.reference-add-slot {
|
|
width: 76px;
|
|
height: 76px;
|
|
border-radius: 14px;
|
|
border: 1px dashed var(--video-outline);
|
|
background: #f7f7f8;
|
|
color: var(--accents-4);
|
|
font-size: 24px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.parent-quick-row {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.parent-quick-input-wrap {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 8px;
|
|
}
|
|
|
|
.preview-shell {
|
|
margin-top: 12px;
|
|
border: 1px solid var(--video-outline);
|
|
border-radius: 12px;
|
|
min-height: 280px;
|
|
background: #f7f7f8;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.preview-shell.dragover {
|
|
border-color: #60a5fa;
|
|
background: #eff6ff;
|
|
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.22);
|
|
}
|
|
|
|
.current-gallery {
|
|
width: 100%;
|
|
min-height: 280px;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
padding: 8px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.current-gallery.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.current-gallery[data-count="2"] {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.current-gallery[data-count="3"] {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.current-gallery-item {
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--video-outline);
|
|
background: #0b1220;
|
|
min-height: 210px;
|
|
}
|
|
|
|
.current-gallery-item img {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.preview-empty {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
color: var(--accents-4);
|
|
font-size: 13px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.drop-hint {
|
|
position: absolute;
|
|
left: 10px;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
z-index: 3;
|
|
font-size: 12px;
|
|
color: #334155;
|
|
background: rgba(255, 255, 255, 0.82);
|
|
border: 1px solid rgba(148, 163, 184, 0.28);
|
|
border-radius: 12px;
|
|
padding: 8px 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ref-meta-grid {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.ref-meta {
|
|
margin-top: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ref-name {
|
|
font-size: 11px;
|
|
color: var(--accents-4);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 100%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.ref-drop-hint {
|
|
font-size: 11px;
|
|
color: var(--accents-3);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ref-block.dragover {
|
|
border-radius: 10px;
|
|
box-shadow: inset 0 0 0 1px #111;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.ref-parent-row {
|
|
margin-top: 8px;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ref-parent-row .geist-button-outline {
|
|
height: 32px;
|
|
}
|
|
|
|
.ref-preview {
|
|
margin-top: 8px;
|
|
border: 1px solid var(--video-outline);
|
|
border-radius: 10px;
|
|
background: #fafafa;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.ref-preview.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.ref-preview-image {
|
|
width: 100%;
|
|
max-height: 240px;
|
|
object-fit: contain;
|
|
display: block;
|
|
background: #fff;
|
|
}
|
|
|
|
.ref-preview-meta {
|
|
font-size: 11px;
|
|
color: var(--accents-5);
|
|
padding: 8px 10px;
|
|
border-top: 1px solid var(--video-outline);
|
|
word-break: break-all;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.ref-controls {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.ref-parent-row,
|
|
.parent-quick-input-wrap {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.settings-grid {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: none;
|
|
}
|
|
|
|
.settings-block {
|
|
grid-column: auto;
|
|
grid-row: auto;
|
|
}
|
|
}
|
|
|
|
.video-textarea {
|
|
min-height: calc(var(--field-block) * 2 + var(--field-row-gap) - var(--field-label) - var(--field-label-gap));
|
|
resize: vertical;
|
|
}
|
|
|
|
.status-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.status-text {
|
|
font-size: 11px;
|
|
color: var(--accents-4);
|
|
}
|
|
|
|
.status-text.connected {
|
|
color: #059669;
|
|
}
|
|
|
|
.status-text.connecting {
|
|
color: #d97706;
|
|
}
|
|
|
|
.status-text.error {
|
|
color: #dc2626;
|
|
}
|
|
|
|
.progress-wrap {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: #f0f0f0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
width: 0%;
|
|
border-radius: 999px;
|
|
background: #111;
|
|
transition: width 0.3s ease;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.progress-bar.indeterminate .progress-fill {
|
|
width: 40%;
|
|
animation: progress-indeterminate 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes progress-indeterminate {
|
|
0% {
|
|
transform: translateX(-120%);
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(220%);
|
|
}
|
|
}
|
|
|
|
.progress-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 8px;
|
|
font-size: 11px;
|
|
color: var(--accents-4);
|
|
}
|
|
|
|
.meta-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.meta-item {
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
background: #f5f5f5;
|
|
border: 1px solid transparent;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.meta-label {
|
|
font-size: 10px;
|
|
color: var(--accents-4);
|
|
}
|
|
|
|
.meta-value {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--accents-7);
|
|
text-align: right;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.video-preview-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.preview-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.splice-action-row {
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.video-empty {
|
|
text-align: center;
|
|
color: var(--accents-4);
|
|
font-size: 12px;
|
|
padding: 42px 12px;
|
|
background: #f5f5f5;
|
|
border-radius: 12px;
|
|
border: 1px dashed var(--video-outline);
|
|
}
|
|
|
|
.video-stage {
|
|
min-height: 240px;
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--video-outline);
|
|
background: #111;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.video-item {
|
|
background: #000;
|
|
border-radius: 10px;
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.video-item-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
color: #e2e8f0;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.video-item-title {
|
|
font-size: 11px;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.video-item-prompt {
|
|
margin-top: 4px;
|
|
margin-bottom: 8px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
color: rgba(226, 232, 240, 0.82);
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.video-item-prompt.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.video-item-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.video-item-actions .geist-button-outline {
|
|
height: 26px;
|
|
padding: 0 10px;
|
|
border-color: rgba(148, 163, 184, 0.35);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.video-item-actions-overlay {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
z-index: 3;
|
|
padding: 4px;
|
|
border-radius: 8px;
|
|
background: rgba(15, 23, 42, 0.42);
|
|
backdrop-filter: blur(2px);
|
|
}
|
|
|
|
.video-item-actions-overlay .geist-button-outline {
|
|
height: 22px;
|
|
padding: 0 7px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.video-item-body {
|
|
border-radius: 8px;
|
|
background: #000;
|
|
overflow: hidden;
|
|
min-height: 140px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.video-item video {
|
|
width: 100%;
|
|
border-radius: 8px;
|
|
background: #000;
|
|
max-height: 380px;
|
|
}
|
|
|
|
.video-item-link {
|
|
display: none;
|
|
font-size: 11px;
|
|
color: rgba(226, 232, 240, 0.7);
|
|
word-break: break-all;
|
|
}
|
|
|
|
.video-item-link.has-url {
|
|
display: block;
|
|
}
|
|
|
|
.video-item-placeholder {
|
|
font-size: 12px;
|
|
color: rgba(226, 232, 240, 0.7);
|
|
}
|
|
|
|
.video-item.is-pending .video-item-actions .video-open {
|
|
display: none;
|
|
}
|
|
|
|
.video-stage.hidden,
|
|
.video-empty.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.preview-actions .geist-button-outline {
|
|
height: 30px;
|
|
}
|
|
|
|
.video-card-contrast .geist-button-outline {
|
|
border-color: var(--video-outline);
|
|
color: var(--accents-7);
|
|
}
|
|
|
|
.edit-panel.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.edit-panel {
|
|
position: static !important;
|
|
max-height: none !important;
|
|
overflow: visible !important;
|
|
z-index: auto !important;
|
|
}
|
|
|
|
.edit-preview-wrap {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
border-radius: 10px;
|
|
background: #000;
|
|
overflow: hidden;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
#editVideo {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
max-width: 100%;
|
|
max-height: 420px;
|
|
background: #000;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.edit-slider-wrap {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.timeline-delete-zone {
|
|
width: 100%;
|
|
appearance: none;
|
|
background: transparent;
|
|
--cut-pct: 0%;
|
|
--keep-bg: rgba(255, 255, 255, 0.95);
|
|
--warn-bg: repeating-linear-gradient(135deg, rgba(148, 163, 184, 0.65) 0 6px, rgba(100, 116, 139, 0.9) 6px 12px);
|
|
}
|
|
|
|
.timeline-delete-zone::-webkit-slider-runnable-track {
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: var(--warn-bg);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
}
|
|
|
|
.timeline-delete-zone::-moz-range-track {
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: var(--warn-bg);
|
|
border: 1px solid rgba(148, 163, 184, 0.35);
|
|
}
|
|
|
|
.timeline-delete-zone[data-delete-side="right"]::-webkit-slider-runnable-track {
|
|
background: linear-gradient(90deg, var(--keep-bg) 0%, var(--keep-bg) var(--cut-pct), transparent var(--cut-pct), transparent 100%), var(--warn-bg);
|
|
}
|
|
|
|
.timeline-delete-zone[data-delete-side="right"]::-moz-range-track {
|
|
background: linear-gradient(90deg, var(--keep-bg) 0%, var(--keep-bg) var(--cut-pct), transparent var(--cut-pct), transparent 100%), var(--warn-bg);
|
|
}
|
|
|
|
.timeline-delete-zone[data-delete-side="left"]::-webkit-slider-runnable-track {
|
|
background: linear-gradient(90deg, transparent 0%, transparent var(--cut-pct), var(--keep-bg) var(--cut-pct), var(--keep-bg) 100%), var(--warn-bg);
|
|
}
|
|
|
|
.timeline-delete-zone[data-delete-side="left"]::-moz-range-track {
|
|
background: linear-gradient(90deg, transparent 0%, transparent var(--cut-pct), var(--keep-bg) var(--cut-pct), var(--keep-bg) 100%), var(--warn-bg);
|
|
}
|
|
|
|
.timeline-delete-zone::-webkit-slider-thumb {
|
|
appearance: none;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
border: 2px solid #fff;
|
|
background: #111827;
|
|
margin-top: -5px;
|
|
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25);
|
|
}
|
|
|
|
.timeline-delete-zone::-moz-range-thumb {
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
border: 2px solid #fff;
|
|
background: #111827;
|
|
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.25);
|
|
}
|
|
|
|
.timeline-delete-zone.is-disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.timeline-delete-zone.is-disabled::-webkit-slider-runnable-track {
|
|
background: linear-gradient(90deg, rgba(148, 163, 184, 0.28) 0%, rgba(148, 163, 184, 0.28) 100%);
|
|
border-color: rgba(148, 163, 184, 0.45);
|
|
}
|
|
|
|
.timeline-delete-zone.is-disabled::-moz-range-track {
|
|
background: linear-gradient(90deg, rgba(148, 163, 184, 0.28) 0%, rgba(148, 163, 184, 0.28) 100%);
|
|
border-color: rgba(148, 163, 184, 0.45);
|
|
}
|
|
|
|
.timeline-delete-zone.is-disabled::-webkit-slider-thumb,
|
|
.timeline-delete-zone.is-disabled::-moz-range-thumb {
|
|
background: #64748b;
|
|
border-color: #cbd5e1;
|
|
}
|
|
|
|
.edit-meta-grid {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.edit-prompt-block {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.manual-merge-card {
|
|
margin-top: 12px;
|
|
padding: 12px;
|
|
}
|
|
|
|
.manual-merge-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.manual-merge-col .meta-label {
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
#mergeVideoPreviewA,
|
|
#mergeVideoPreviewB {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
max-width: 100%;
|
|
max-height: 240px;
|
|
background: #000;
|
|
object-fit: contain;
|
|
}
|
|
|
|
#mergeTimelineA,
|
|
#mergeTimelineB {
|
|
width: 100%;
|
|
}
|
|
|
|
.video-item.is-selected {
|
|
outline: 1px solid rgba(255, 255, 255, 0.65);
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
.cache-video-list {
|
|
max-height: 360px;
|
|
overflow: auto;
|
|
border: 1px solid var(--video-outline);
|
|
border-radius: 10px;
|
|
background: #fafafa;
|
|
}
|
|
|
|
#cacheVideoModal.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 80;
|
|
background: transparent;
|
|
}
|
|
|
|
#cacheVideoModal.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#cacheVideoModal .modal-content {
|
|
position: fixed;
|
|
left: 12px;
|
|
top: 12px;
|
|
right: auto;
|
|
bottom: auto;
|
|
margin: 0;
|
|
transform: none;
|
|
width: min(560px, calc(100vw - 24px));
|
|
max-height: min(72vh, 560px);
|
|
border-radius: 12px;
|
|
border: 1px solid var(--video-outline);
|
|
background: var(--video-surface);
|
|
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#cacheVideoModal .modal-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--video-outline);
|
|
}
|
|
|
|
#cacheVideoModal .modal-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--accents-7);
|
|
}
|
|
|
|
#cacheVideoModal .modal-close {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--video-outline);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#cacheVideoModal .modal-close:hover {
|
|
background: var(--video-muted);
|
|
}
|
|
|
|
html[data-theme='dark'] #cacheVideoModal .modal-content {
|
|
background: #131a24;
|
|
border-color: #2b3440;
|
|
box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
html[data-theme='dark'] #cacheVideoModal .modal-title {
|
|
color: #e6edf3;
|
|
}
|
|
|
|
html[data-theme='dark'] #cacheVideoModal .modal-close {
|
|
border-color: #2b3440;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
html[data-theme='dark'] #cacheVideoModal .modal-close:hover {
|
|
background: #1b2432;
|
|
}
|
|
|
|
html[data-theme='dark'] .cache-video-list {
|
|
background: #131a24;
|
|
border-color: #2b3440;
|
|
}
|
|
|
|
html[data-theme='dark'] .cache-video-item {
|
|
border-bottom-color: #2b3440;
|
|
}
|
|
|
|
html[data-theme='dark'] .cache-video-thumb-wrap {
|
|
border-color: #2b3440;
|
|
}
|
|
|
|
html[data-theme='dark'] .cache-video-item.is-active {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
}
|
|
|
|
html[data-theme='dark'] .cache-video-item.is-active .cache-video-thumb-wrap {
|
|
border-color: #93c5fd;
|
|
}
|
|
|
|
.cache-video-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--video-outline);
|
|
}
|
|
|
|
.cache-video-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.cache-video-item.is-active {
|
|
background: rgba(17, 24, 39, 0.06);
|
|
}
|
|
|
|
.cache-video-item.is-active .cache-video-thumb-wrap {
|
|
border-color: #111;
|
|
}
|
|
|
|
.cache-video-meta {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.cache-video-thumb-wrap {
|
|
width: 84px;
|
|
height: 48px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background: #0b0f14;
|
|
flex-shrink: 0;
|
|
border: 1px solid rgba(148, 163, 184, 0.22);
|
|
}
|
|
|
|
.cache-video-thumb {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
background: #000;
|
|
}
|
|
|
|
.cache-video-name {
|
|
font-size: 12px;
|
|
color: var(--accents-7);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cache-video-sub {
|
|
font-size: 11px;
|
|
color: var(--accents-4);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.video-header-row {
|
|
gap: 8px;
|
|
}
|
|
|
|
.video-top-grid {
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.video-card {
|
|
padding: 12px;
|
|
border-radius: 12px;
|
|
--field-height: 30px;
|
|
--field-label-gap: 4px;
|
|
--field-row-gap: 8px;
|
|
}
|
|
|
|
.settings-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr !important;
|
|
/* Force single column */
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
gap: 8px;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.settings-block {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
min-width: 0 !important;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.settings-actions {
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
flex-wrap: wrap;
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.settings-actions button {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.prompt-block,
|
|
.ref-block {
|
|
grid-column: 1 / -1;
|
|
grid-row: auto;
|
|
}
|
|
|
|
.ratio-block,
|
|
.length-block,
|
|
.resolution-block,
|
|
.preset-block,
|
|
.upload-block,
|
|
.clear-block {
|
|
grid-column: auto;
|
|
grid-row: auto;
|
|
}
|
|
|
|
.video-textarea {
|
|
min-height: 78px;
|
|
}
|
|
|
|
.preview-shell {
|
|
min-height: 200px;
|
|
}
|
|
|
|
.current-gallery {
|
|
min-height: 200px;
|
|
}
|
|
|
|
.drop-hint {
|
|
font-size: 11px;
|
|
padding: 4px 8px;
|
|
left: 8px;
|
|
right: 8px;
|
|
bottom: 8px;
|
|
}
|
|
|
|
.meta-grid {
|
|
gap: 8px;
|
|
}
|
|
|
|
.edit-panel .edit-meta-grid {
|
|
display: grid !important;
|
|
grid-template-columns: 1fr !important;
|
|
}
|
|
|
|
.edit-panel .edit-meta-grid .meta-item {
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.edit-panel .edit-meta-grid .meta-value {
|
|
max-width: 100%;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.meta-item {
|
|
padding: 8px 10px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.video-empty {
|
|
padding: 20px 10px;
|
|
}
|
|
|
|
.video-stage {
|
|
min-height: 160px;
|
|
padding: 8px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.video-item {
|
|
padding: 8px;
|
|
border-radius: 8px;
|
|
gap: 8px;
|
|
}
|
|
|
|
.video-item-body {
|
|
min-height: 108px;
|
|
}
|
|
|
|
.video-item video {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
max-width: 100%;
|
|
max-height: 240px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.video-item-actions {
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.video-item-actions .geist-button-outline {
|
|
height: 24px;
|
|
padding: 0 8px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.edit-preview-wrap {
|
|
position: relative;
|
|
width: min(100%, 420px);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
height: auto;
|
|
aspect-ratio: 3/2;
|
|
/* Removed fixed height 320px to prevent deformation on mobile */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
contain: layout paint style;
|
|
-webkit-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
#editVideo {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
/* max-height: 320px; Removed to follow container */
|
|
object-fit: contain;
|
|
}
|
|
|
|
.manual-merge-col .edit-preview-wrap {
|
|
position: relative;
|
|
width: min(100%, 420px);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
height: 220px;
|
|
max-height: 220px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
contain: layout paint style;
|
|
-webkit-transform: translateZ(0);
|
|
transform: translateZ(0);
|
|
}
|
|
|
|
#mergeVideoPreviewA,
|
|
#mergeVideoPreviewB {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
max-height: 220px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.manual-merge-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.settings-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.settings-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.settings-actions .geist-button,
|
|
.settings-actions .geist-button-outline {
|
|
flex: 1 1 0%;
|
|
/* Force equal width, side-by-side */
|
|
min-width: 0;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
justify-content: center;
|
|
width: auto !important;
|
|
/* Allow buttons to shrink */
|
|
}
|
|
}
|
|
.video-workbench-shell {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
|
|
gap: 18px;
|
|
align-items: start;
|
|
}
|
|
|
|
.video-workbench-left,
|
|
.video-workbench-right {
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-workbench-panel {
|
|
background: #fff;
|
|
border: 1px solid var(--video-outline);
|
|
border-radius: 14px;
|
|
padding: 18px;
|
|
}
|
|
|
|
.video-main-left > .video-card {
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.video-workbench-panel .panel-title {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.video-workbench-panel .meta-grid {
|
|
margin-top: 12px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.video-workbench-panel .meta-item {
|
|
display: block;
|
|
padding: 10px;
|
|
border: 1px solid var(--video-outline);
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.video-workbench-panel .meta-label {
|
|
font-size: 11px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.video-workbench-panel .meta-value {
|
|
text-align: left;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.reference-badge {
|
|
position: absolute;
|
|
left: 6px;
|
|
bottom: 6px;
|
|
z-index: 2;
|
|
padding: 3px 6px;
|
|
border-radius: 999px;
|
|
background: rgba(15, 23, 42, 0.82);
|
|
color: #fff;
|
|
font-size: 10px;
|
|
line-height: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.video-prompt-wrap {
|
|
position: relative;
|
|
min-height: 168px;
|
|
resize: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.prompt-rich-input {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
width: 100%;
|
|
border: 1px solid var(--video-outline);
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
color: var(--video-ink);
|
|
padding: 14px 14px 56px;
|
|
line-height: 1.75;
|
|
font-size: 14px;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
overflow-wrap: anywhere;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
outline: none;
|
|
cursor: text;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.prompt-rich-input:focus {
|
|
border-color: #60a5fa;
|
|
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
|
|
}
|
|
|
|
.prompt-rich-input.is-empty::before {
|
|
content: attr(data-placeholder);
|
|
color: #9ca3af;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.prompt-rich-input.is-disabled {
|
|
opacity: 0.72;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.prompt-mention-chip {
|
|
display: inline-flex;
|
|
max-width: 100%;
|
|
margin: 0 3px;
|
|
vertical-align: middle;
|
|
align-items: center;
|
|
user-select: all;
|
|
-webkit-user-select: all;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.prompt-mention-chip.is-active {
|
|
box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.5);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.prompt-mention-chip-inner {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 25px;
|
|
overflow: hidden;
|
|
border: 1px solid #d7dce3;
|
|
border-radius: 8px;
|
|
background: #f3f4f6;
|
|
color: #111827;
|
|
}
|
|
|
|
.prompt-mention-chip-thumb-wrap {
|
|
position: relative;
|
|
width: 25px;
|
|
height: 25px;
|
|
flex: none;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.prompt-mention-chip-thumb {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
flex: none;
|
|
}
|
|
|
|
.prompt-mention-chip-label {
|
|
padding: 0 8px 0 6px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.prompt-textarea-proxy {
|
|
position: relative !important;
|
|
z-index: 1 !important;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-height: 168px !important;
|
|
opacity: 0 !important;
|
|
pointer-events: none !important;
|
|
resize: none !important;
|
|
caret-color: transparent !important;
|
|
}
|
|
|
|
.video-prompt-wrap > .prompt-enhance-wrap {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 4;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.video-prompt-wrap > .prompt-enhance-wrap > .prompt-enhance-actions {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.reference-mention-menu {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 12px;
|
|
z-index: 20;
|
|
min-width: 220px;
|
|
max-width: min(320px, calc(100% - 24px));
|
|
padding: 8px;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(148, 163, 184, 0.24);
|
|
background: rgba(255, 255, 255, 0.96);
|
|
box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.reference-mention-menu.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.reference-mention-item {
|
|
width: 100%;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--video-ink);
|
|
border-radius: 12px;
|
|
padding: 8px 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
|
|
.reference-mention-item:hover,
|
|
.reference-mention-item.is-active {
|
|
background: rgba(15, 23, 42, 0.08);
|
|
}
|
|
|
|
.reference-mention-thumb {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 8px;
|
|
object-fit: cover;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.reference-mention-label {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--video-ink);
|
|
}
|
|
|
|
.video-settings-panel {
|
|
position: sticky;
|
|
top: 16px;
|
|
}
|
|
|
|
.video-settings-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.video-settings-grid .settings-block {
|
|
min-width: 0;
|
|
}
|
|
|
|
.video-side-btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.settings-actions-side {
|
|
margin-top: 14px;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
|
|
.settings-actions-side .geist-button,
|
|
.settings-actions-side .geist-button-outline {
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.video-prompt-field {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.video-prompt-field .video-textarea {
|
|
min-height: 168px;
|
|
}
|
|
|
|
html[data-theme='dark'] .prompt-rich-input {
|
|
background: #111821;
|
|
border-color: #324154;
|
|
color: #eef4ff;
|
|
}
|
|
|
|
html[data-theme='dark'] .prompt-rich-input.is-empty::before {
|
|
color: #7f90a6;
|
|
}
|
|
|
|
html[data-theme='dark'] .prompt-mention-chip-inner {
|
|
border-color: rgba(148, 163, 184, 0.3);
|
|
background: #1f2937;
|
|
color: #eef4ff;
|
|
}
|
|
|
|
html[data-theme='dark'] .reference-mention-menu {
|
|
background: rgba(17, 24, 33, 0.96);
|
|
border-color: #324154;
|
|
box-shadow: 0 24px 54px rgba(2, 6, 23, 0.46);
|
|
}
|
|
|
|
html[data-theme='dark'] .reference-mention-item {
|
|
color: #eef4ff;
|
|
}
|
|
|
|
html[data-theme='dark'] .reference-mention-item:hover,
|
|
html[data-theme='dark'] .reference-mention-item.is-active {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
}
|
|
|
|
html[data-theme='dark'] .reference-mention-label {
|
|
color: #eef4ff;
|
|
}
|
|
|
|
.reference-item {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.reference-add-slot {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.reference-remove {
|
|
width: 22px;
|
|
height: 22px;
|
|
top: 4px;
|
|
right: 4px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.preview-shell {
|
|
min-height: 250px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.current-gallery {
|
|
min-height: 250px;
|
|
display: block;
|
|
padding: 14px;
|
|
}
|
|
|
|
.current-gallery-item {
|
|
min-height: 0;
|
|
aspect-ratio: 4 / 3;
|
|
background: #f3f4f6;
|
|
cursor: default;
|
|
}
|
|
|
|
.current-gallery-item img {
|
|
object-fit: contain;
|
|
}
|
|
|
|
.reference-item.is-active {
|
|
box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.38);
|
|
border-color: #60a5fa;
|
|
}
|
|
|
|
.reference-lightbox {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1200;
|
|
}
|
|
|
|
.reference-lightbox.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.reference-lightbox-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(2, 6, 23, 0.82);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.reference-lightbox-dialog {
|
|
position: absolute;
|
|
inset: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.reference-lightbox-image {
|
|
max-width: min(100%, 1100px);
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
border-radius: 18px;
|
|
box-shadow: 0 24px 80px rgba(15, 23, 42, 0.45);
|
|
background: #fff;
|
|
}
|
|
|
|
.reference-lightbox-close {
|
|
position: absolute;
|
|
top: 18px;
|
|
right: 18px;
|
|
z-index: 2;
|
|
width: 40px;
|
|
height: 40px;
|
|
border: none;
|
|
border-radius: 999px;
|
|
background: rgba(15, 23, 42, 0.78);
|
|
color: #fff;
|
|
font-size: 26px;
|
|
line-height: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.video-workbench-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.video-settings-panel {
|
|
position: static;
|
|
top: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.video-workbench-panel {
|
|
padding: 14px;
|
|
}
|
|
|
|
.current-gallery {
|
|
padding: 10px;
|
|
}
|
|
|
|
.reference-lightbox-dialog {
|
|
inset: 16px;
|
|
padding: 12px;
|
|
}
|
|
}
|
|
.video-workbench-shell {
|
|
display: block;
|
|
}
|
|
|
|
.video-workbench-left {
|
|
width: 100%;
|
|
}
|
|
|
|
.video-settings-card {
|
|
position: static;
|
|
top: auto;
|
|
}
|
|
|
|
html[data-theme='dark'] .video-card,
|
|
html[data-theme='dark'] .video-workbench-panel,
|
|
html[data-theme='dark'] .video-settings-card,
|
|
html[data-theme='dark'] .history-panel,
|
|
html[data-theme='dark'] .panel,
|
|
html[data-theme='dark'] .meta-item {
|
|
background: #131a24;
|
|
border-color: #2b3440;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
html[data-theme='dark'] .video-workbench-panel .meta-item {
|
|
background: #131f31;
|
|
border-color: #2b3440;
|
|
}
|
|
|
|
html[data-theme='dark'] .reference-badge {
|
|
background: rgba(15, 23, 42, 0.88);
|
|
}
|
|
|
|
html[data-theme='dark'] .card-title,
|
|
html[data-theme='dark'] .panel-title,
|
|
html[data-theme='dark'] .meta-value,
|
|
html[data-theme='dark'] .preview-empty,
|
|
html[data-theme='dark'] .file-name,
|
|
html[data-theme='dark'] .reference-empty,
|
|
html[data-theme='dark'] .drop-hint,
|
|
html[data-theme='dark'] .status-text,
|
|
html[data-theme='dark'] .video-empty {
|
|
color: #dbe5f0;
|
|
}
|
|
|
|
html[data-theme='dark'] .meta-label,
|
|
html[data-theme='dark'] .field-label,
|
|
html[data-theme='dark'] .progress-meta,
|
|
html[data-theme='dark'] .head-meta {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
html[data-theme='dark'] .preview-shell,
|
|
html[data-theme='dark'] .current-gallery-item,
|
|
html[data-theme='dark'] .edit-preview-wrap,
|
|
html[data-theme='dark'] .video-stage,
|
|
html[data-theme='dark'] .cache-video-list {
|
|
background: #0f1724;
|
|
border-color: #2b3440;
|
|
}
|
|
|
|
html[data-theme='dark'] .reference-add-slot {
|
|
background: #111927;
|
|
border-color: #334155;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
html[data-theme='dark'] .drop-hint {
|
|
background: rgba(15, 23, 36, 0.86);
|
|
border-color: #334155;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
html[data-theme='dark'] .current-gallery-item {
|
|
background: #111927;
|
|
}
|
|
|
|
html[data-theme='dark'] .video-card input.geist-input,
|
|
html[data-theme='dark'] .video-card select.geist-input,
|
|
html[data-theme='dark'] .video-card textarea.geist-input,
|
|
html[data-theme='dark'] .video-workbench-panel input.geist-input,
|
|
html[data-theme='dark'] .video-workbench-panel select.geist-input,
|
|
html[data-theme='dark'] .video-workbench-panel textarea.geist-input {
|
|
background: #0f1724;
|
|
border-color: #334155;
|
|
color: #e6edf3;
|
|
}
|
|
|
|
html[data-theme='dark'] .video-card input.geist-input::placeholder,
|
|
html[data-theme='dark'] .video-card textarea.geist-input::placeholder,
|
|
html[data-theme='dark'] .video-workbench-panel input.geist-input::placeholder,
|
|
html[data-theme='dark'] .video-workbench-panel textarea.geist-input::placeholder {
|
|
color: #7c8ba1;
|
|
}
|
|
|
|
html[data-theme='dark'] .reference-lightbox-image {
|
|
background: #0f1724;
|
|
}
|
|
|
|
html[data-theme='dark'] .history-panel .video-stage {
|
|
background: #0f1724;
|
|
}
|
|
|
|
html[data-theme='dark'] .history-panel .video-item,
|
|
html[data-theme='dark'] .cache-video-item {
|
|
background: #131a24;
|
|
border-color: #2b3440;
|
|
}
|
|
|
|
html[data-theme='dark'] .history-panel .video-item-title,
|
|
html[data-theme='dark'] .history-panel .video-item-bar,
|
|
html[data-theme='dark'] .history-panel .video-item-prompt,
|
|
html[data-theme='dark'] .cache-video-item-title,
|
|
html[data-theme='dark'] .cache-video-item-meta {
|
|
color: #dbe5f0;
|
|
}
|
|
|
|
@media (max-width: 1080px) {
|
|
.video-settings-card {
|
|
position: static;
|
|
top: auto;
|
|
}
|
|
}
|