807 lines
19 KiB
CSS
807 lines
19 KiB
CSS
@import 'tailwindcss';
|
|
|
|
/* 微信风格明暗主题:灰阶表面搭配绿色操作态,业务排版保持不变。 */
|
|
@theme {
|
|
--color-ink: var(--app-ink);
|
|
--color-muted: var(--app-muted);
|
|
--color-faint: var(--app-muted);
|
|
--color-line: var(--app-border);
|
|
--color-accent: var(--app-accent-text);
|
|
--color-danger: var(--app-danger);
|
|
--color-success: var(--app-success);
|
|
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
background: var(--app-body);
|
|
color: var(--color-ink);
|
|
font-family: var(--font-sans);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
button,
|
|
input,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
button,
|
|
a,
|
|
summary {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
button:not(:disabled),
|
|
summary,
|
|
select {
|
|
cursor: pointer;
|
|
}
|
|
button:disabled {
|
|
opacity: 0.45;
|
|
cursor: not-allowed;
|
|
}
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
:focus-visible {
|
|
outline: 2px solid var(--color-accent);
|
|
outline-offset: 3px;
|
|
}
|
|
input:focus-visible,
|
|
textarea:focus-visible,
|
|
select:focus-visible {
|
|
outline-offset: 1px;
|
|
}
|
|
::selection {
|
|
background: var(--app-selected);
|
|
color: var(--app-ink);
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
.identity-workspace {
|
|
display: grid;
|
|
grid-template-columns: 240px minmax(0, 1fr);
|
|
align-items: start;
|
|
gap: 20px;
|
|
}
|
|
.identity-subject-list {
|
|
max-height: 560px;
|
|
overflow: hidden;
|
|
}
|
|
.casting-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
.casting-stats div {
|
|
padding: 10px 12px;
|
|
border-radius: 4px;
|
|
background: var(--app-subtle);
|
|
}
|
|
.casting-stats dt {
|
|
color: var(--color-muted);
|
|
font-size: 10px;
|
|
}
|
|
.casting-stats dd {
|
|
margin-top: 5px;
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 13px;
|
|
}
|
|
@media (max-width: 900px) {
|
|
.identity-workspace {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.identity-subject-list {
|
|
max-height: 220px;
|
|
}
|
|
.casting-stats {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
.page-container {
|
|
max-width: 1540px;
|
|
margin-inline: auto;
|
|
padding: 37px 40px 56px;
|
|
}
|
|
.page-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 28px;
|
|
}
|
|
.page-heading h1 {
|
|
margin: 9px 0 0;
|
|
font-size: 27px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.035em;
|
|
line-height: 1.4;
|
|
}
|
|
.eyebrow {
|
|
font-size: 10px;
|
|
letter-spacing: 0.11em;
|
|
color: var(--color-muted);
|
|
font-weight: 500;
|
|
}
|
|
.page-description {
|
|
margin-top: 9px;
|
|
color: var(--color-muted);
|
|
font-size: 12px;
|
|
line-height: 1.7;
|
|
}
|
|
.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
padding: 9px 14px;
|
|
min-height: 36px;
|
|
border: 1px solid transparent;
|
|
border-radius: 5px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
transition:
|
|
background 0.15s,
|
|
border-color 0.15s;
|
|
}
|
|
.button-primary {
|
|
background: var(--app-accent);
|
|
color: var(--app-on-accent);
|
|
border-color: var(--app-accent);
|
|
}
|
|
.button-primary:hover:not(:disabled) {
|
|
background: var(--app-accent-hover);
|
|
}
|
|
.button-secondary {
|
|
background: var(--app-surface);
|
|
border-color: var(--app-border);
|
|
color: var(--app-ink);
|
|
}
|
|
.button-secondary:hover:not(:disabled) {
|
|
background: var(--app-subtle);
|
|
border-color: var(--app-border);
|
|
}
|
|
|
|
.text-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
color: var(--color-muted);
|
|
padding: 6px 0;
|
|
}
|
|
.text-button:hover:not(:disabled) {
|
|
color: var(--color-accent);
|
|
}
|
|
.panel {
|
|
background: var(--app-surface);
|
|
border: 1px solid var(--color-line);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.search-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: var(--app-surface);
|
|
border: 1px solid var(--color-line);
|
|
border-radius: 5px;
|
|
padding: 7px 10px;
|
|
color: var(--color-muted);
|
|
}
|
|
.search-field input {
|
|
background: transparent;
|
|
border: none;
|
|
outline: none;
|
|
font-size: 11px;
|
|
width: 145px;
|
|
color: var(--color-ink);
|
|
}
|
|
.search-field:focus-within {
|
|
border-color: var(--color-accent);
|
|
}
|
|
.table-scroll {
|
|
overflow: hidden;
|
|
}
|
|
.project-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
font-size: 12px;
|
|
}
|
|
.project-table th {
|
|
padding: 13px 20px;
|
|
background: var(--app-surface);
|
|
color: var(--color-muted);
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
border-bottom: 1px solid var(--color-line);
|
|
white-space: nowrap;
|
|
}
|
|
.project-table td {
|
|
padding: 21px 20px;
|
|
border-bottom: 1px solid var(--app-subtle);
|
|
}
|
|
.project-table tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
.project-table tbody tr:hover {
|
|
background: var(--app-surface);
|
|
}
|
|
|
|
.production-controls {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 1.6fr) minmax(110px, 0.5fr) minmax(230px, 1fr) auto;
|
|
align-items: end;
|
|
gap: 18px;
|
|
}
|
|
.production-pipeline {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 14px;
|
|
}
|
|
.production-pipeline-card {
|
|
padding: 20px;
|
|
}
|
|
.production-step {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
flex-shrink: 0;
|
|
border: 1px solid var(--app-border);
|
|
border-radius: 5px;
|
|
background: var(--app-subtle);
|
|
color: var(--app-ink);
|
|
}
|
|
.production-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
}
|
|
.production-stats div,
|
|
.production-status-grid div {
|
|
padding: 10px;
|
|
border-radius: 4px;
|
|
background: var(--app-subtle);
|
|
}
|
|
.production-stats dt,
|
|
.production-status-grid dt {
|
|
color: var(--color-muted);
|
|
font-size: 10px;
|
|
}
|
|
.production-stats dd,
|
|
.production-status-grid dd {
|
|
margin-top: 5px;
|
|
font-size: 13px;
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
.production-status-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
.production-workspace {
|
|
display: grid;
|
|
grid-template-columns: 220px minmax(0, 1fr);
|
|
align-items: start;
|
|
overflow: hidden;
|
|
}
|
|
.production-shot-list {
|
|
max-height: 760px;
|
|
overflow: hidden;
|
|
border-right: 1px solid var(--color-line);
|
|
background: var(--app-surface);
|
|
padding-block: 8px;
|
|
}
|
|
.production-stage {
|
|
padding: 20px 0;
|
|
border-top: 1px solid var(--color-line);
|
|
}
|
|
.production-stage:first-of-type {
|
|
border-top: none;
|
|
}
|
|
.production-stage-heading {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
.keyframe-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 12px;
|
|
}
|
|
.keyframe-card {
|
|
overflow: hidden;
|
|
border: 1px solid var(--color-line);
|
|
border-radius: 5px;
|
|
background: var(--app-surface);
|
|
}
|
|
.keyframe-card .asset-image {
|
|
aspect-ratio: 16 / 9;
|
|
border-radius: 0;
|
|
}
|
|
.video-record {
|
|
display: flex;
|
|
overflow: hidden;
|
|
border: 1px solid var(--color-line);
|
|
border-radius: 5px;
|
|
background: var(--app-surface);
|
|
}
|
|
.production-video {
|
|
width: min(44%, 390px);
|
|
min-height: 170px;
|
|
background: var(--app-ink);
|
|
object-fit: contain;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.production-pipeline {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.production-controls {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
@media (max-width: 760px) {
|
|
.production-controls,
|
|
.production-workspace {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.production-shot-list {
|
|
display: flex;
|
|
max-height: none;
|
|
overflow: hidden;
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--color-line);
|
|
}
|
|
.production-status-grid,
|
|
.keyframe-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
.video-record {
|
|
display: block;
|
|
}
|
|
.production-video {
|
|
width: 100%;
|
|
}
|
|
}
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 300px;
|
|
padding: 52px 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.dialog-footer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 10px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid var(--color-line);
|
|
}
|
|
.field-label {
|
|
display: block;
|
|
margin-bottom: 9px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--app-ink);
|
|
}
|
|
.input {
|
|
width: 100%;
|
|
background: var(--app-surface);
|
|
color: var(--color-ink);
|
|
border: 1px solid var(--app-border);
|
|
border-radius: 5px;
|
|
padding: 9px 11px;
|
|
font-size: 12px;
|
|
line-height: 1.7;
|
|
}
|
|
.input::placeholder {
|
|
color: var(--app-muted);
|
|
}
|
|
.input:disabled {
|
|
background: var(--app-subtle);
|
|
opacity: 0.6;
|
|
}
|
|
.alert {
|
|
padding: 12px 15px;
|
|
border: 1px solid var(--app-border);
|
|
border-radius: 5px;
|
|
background: var(--app-subtle);
|
|
color: var(--app-ink);
|
|
font-size: 12px;
|
|
line-height: 1.8;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.alert-error {
|
|
border-color: var(--app-border);
|
|
background: var(--app-subtle);
|
|
color: var(--app-ink);
|
|
}
|
|
|
|
.stage-strip {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
.stage-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
color: var(--app-muted);
|
|
font-size: 11px;
|
|
}
|
|
.stage-item.done {
|
|
color: var(--app-ink);
|
|
}
|
|
.stage-arrow {
|
|
margin-left: 12px;
|
|
color: var(--app-muted);
|
|
}
|
|
|
|
.content-with-history {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 207px;
|
|
min-height: 480px;
|
|
overflow: hidden;
|
|
}
|
|
.history-panel {
|
|
padding: 23px 21px;
|
|
background: var(--app-surface);
|
|
border-left: 1px solid var(--color-line);
|
|
}
|
|
|
|
.form-image-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
|
|
gap: 20px;
|
|
}
|
|
.form-image-card {
|
|
overflow: hidden;
|
|
}
|
|
.asset-image {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 100%;
|
|
aspect-ratio: 4 / 3;
|
|
overflow: hidden;
|
|
background: var(--app-subtle);
|
|
}
|
|
.asset-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
.asset-image-empty {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 20px;
|
|
color: var(--color-muted);
|
|
font-size: 11px;
|
|
text-align: center;
|
|
}
|
|
.image-history {
|
|
overflow: hidden;
|
|
}
|
|
.image-history-item .asset-image-empty {
|
|
font-size: 9px;
|
|
padding: 6px;
|
|
gap: 4px;
|
|
}
|
|
.image-history-item .asset-image-empty svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.storyboard-controls {
|
|
display: grid;
|
|
grid-template-columns: minmax(180px, 1fr) 100px 145px auto;
|
|
gap: 18px;
|
|
align-items: end;
|
|
}
|
|
.generation-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding-top: 20px;
|
|
margin-top: 20px;
|
|
border-top: 1px solid var(--color-line);
|
|
}
|
|
.generation-row > div:last-child {
|
|
flex-shrink: 0;
|
|
}
|
|
.storyboard-workspace {
|
|
display: grid;
|
|
grid-template-columns: 220px minmax(0, 1fr);
|
|
overflow: hidden;
|
|
}
|
|
.shot-list {
|
|
max-height: 1000px;
|
|
overflow: hidden;
|
|
border-right: 1px solid var(--color-line);
|
|
background: var(--app-surface);
|
|
padding: 0 8px 20px;
|
|
}
|
|
.reference-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
gap: 14px;
|
|
}
|
|
.reference-card {
|
|
border: 1px solid var(--color-line);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
.reference-placeholder {
|
|
display: grid;
|
|
place-items: center;
|
|
aspect-ratio: 4 / 3;
|
|
font-size: 11px;
|
|
color: var(--color-muted);
|
|
background: var(--app-subtle);
|
|
}
|
|
.storyboard-json {
|
|
padding: 16px;
|
|
border-radius: 4px;
|
|
background: var(--app-subtle);
|
|
font:
|
|
11px/1.9 ui-monospace,
|
|
monospace;
|
|
}
|
|
.script-summary {
|
|
font-size: 12px;
|
|
color: var(--color-muted);
|
|
line-height: 1.9;
|
|
padding: 17px 0 22px;
|
|
margin-bottom: 23px;
|
|
border-bottom: 1px solid var(--color-line);
|
|
}
|
|
.script-body {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
font-size: 14px;
|
|
line-height: 2.15;
|
|
color: var(--app-ink);
|
|
}
|
|
.script-notes {
|
|
margin-top: 36px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid var(--color-line);
|
|
font-size: 12px;
|
|
}
|
|
.script-notes dt {
|
|
color: var(--app-ink);
|
|
font-weight: 500;
|
|
margin-bottom: 6px;
|
|
}
|
|
.script-notes dd {
|
|
color: var(--color-muted);
|
|
line-height: 1.8;
|
|
margin-bottom: 15px;
|
|
}
|
|
.detail-grid {
|
|
display: grid;
|
|
grid-template-columns: 70px minmax(0, 1fr);
|
|
gap: 15px;
|
|
font-size: 12px;
|
|
line-height: 1.9;
|
|
}
|
|
.detail-grid dt {
|
|
color: var(--color-muted);
|
|
}
|
|
.detail-grid dd {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.json-view {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
padding: 16px;
|
|
background: var(--app-subtle);
|
|
border-radius: 4px;
|
|
font:
|
|
11px/1.9 ui-monospace,
|
|
monospace;
|
|
}
|
|
|
|
.breakdown-config {
|
|
display: grid;
|
|
grid-template-columns: 145px minmax(0, 1fr) auto;
|
|
align-items: start;
|
|
gap: 28px;
|
|
}
|
|
|
|
.group-preview {
|
|
margin-top: 24px;
|
|
border-top: 1px solid var(--color-line);
|
|
padding-top: 20px;
|
|
}
|
|
.group-chip {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
border: 1px solid var(--app-subtle);
|
|
background: var(--app-surface);
|
|
border-radius: 4px;
|
|
padding: 8px 11px;
|
|
font-size: 11px;
|
|
}
|
|
.recovery-strip {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 15px;
|
|
padding: 17px;
|
|
border: 1px dashed var(--app-border);
|
|
border-radius: 5px;
|
|
}
|
|
.subject-ref {
|
|
display: inline-flex;
|
|
background: var(--app-subtle);
|
|
padding: 3px 6px;
|
|
border-radius: 3px;
|
|
color: var(--app-ink);
|
|
font-size: 10px;
|
|
}
|
|
.subject-details summary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
color: var(--app-ink);
|
|
font-size: 11px;
|
|
list-style: none;
|
|
}
|
|
.subject-details summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
.subject-details[open] summary svg {
|
|
transform: rotate(180deg);
|
|
}
|
|
.beat-section {
|
|
margin-top: 25px;
|
|
padding-top: 23px;
|
|
border-top: 1px solid var(--color-line);
|
|
}
|
|
.beat-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.beat-number {
|
|
color: var(--app-muted);
|
|
font:
|
|
11px ui-monospace,
|
|
monospace;
|
|
}
|
|
.shot-row {
|
|
display: flex;
|
|
gap: 17px;
|
|
padding: 17px;
|
|
border: 1px solid var(--app-subtle);
|
|
border-radius: 5px;
|
|
background: var(--app-surface);
|
|
}
|
|
.shot-label {
|
|
flex-shrink: 0;
|
|
width: 47px;
|
|
font-size: 10px;
|
|
color: var(--app-muted);
|
|
}
|
|
.skip-link {
|
|
position: fixed;
|
|
z-index: 100;
|
|
top: -80px;
|
|
left: 15px;
|
|
padding: 10px 15px;
|
|
background: var(--app-surface);
|
|
border: 1px solid var(--color-accent);
|
|
}
|
|
.skip-link:focus {
|
|
top: 10px;
|
|
}
|
|
}
|
|
|
|
/* 中等宽度保留正文空间,执行记录下移,移动端导航收为图标。 */
|
|
@media (max-width: 1200px) {
|
|
.generation-row {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
.storyboard-controls {
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
}
|
|
.page-container {
|
|
padding-inline: 26px;
|
|
}
|
|
|
|
.content-with-history {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.history-panel {
|
|
border-left: 0;
|
|
border-top: 1px solid var(--color-line);
|
|
}
|
|
|
|
.breakdown-config {
|
|
grid-template-columns: 120px minmax(0, 1fr);
|
|
gap: 20px;
|
|
}
|
|
.breakdown-config > button {
|
|
grid-column: 1 / -1;
|
|
justify-self: start;
|
|
}
|
|
}
|
|
@media (max-width: 760px) {
|
|
.storyboard-controls {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 12px;
|
|
}
|
|
.storyboard-workspace {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.shot-list {
|
|
max-height: 240px;
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--color-line);
|
|
}
|
|
|
|
.page-container {
|
|
padding: 25px 18px 40px;
|
|
}
|
|
|
|
.page-heading {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
.page-heading h1 {
|
|
font-size: 23px;
|
|
}
|
|
|
|
.breakdown-config {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.stage-strip {
|
|
gap: 9px;
|
|
}
|
|
.stage-arrow {
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.project-table td,
|
|
.project-table th {
|
|
padding-inline: 14px;
|
|
}
|
|
.shot-row {
|
|
gap: 12px;
|
|
padding: 13px;
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|