Files
douyin_guaji-main/webui/styles.css
T

1634 lines
30 KiB
CSS

:root {
--bg: #f4f7fb;
--surface: rgba(255, 255, 255, 0.9);
--surface-solid: #ffffff;
--surface-soft: rgba(248, 250, 252, 0.86);
--surface-muted: #edf3f8;
--surface-elevated: rgba(255, 255, 255, 0.96);
--border: rgba(130, 151, 178, 0.26);
--border-strong: rgba(103, 124, 152, 0.42);
--hairline: rgba(255, 255, 255, 0.72);
--text: #1b2435;
--text-strong: #101828;
--muted: #64748b;
--muted-soft: #94a3b8;
--primary: #2359c7;
--primary-hover: #1d4aa7;
--primary-soft: #edf4ff;
--primary-border: #b8cdf6;
--success: #168456;
--success-soft: #eaf8f2;
--warning: #b7791f;
--warning-soft: #fff8e8;
--warning-border: #f4d58b;
--danger: #d43f3f;
--danger-hover: #b83232;
--danger-soft: #fff1f1;
--danger-border: #f4b8b8;
--on-primary: #ffffff;
--bg-start: #f8fbff;
--bg-mid: #eef4fa;
--bg-end: #e7edf5;
--header-bg: rgba(255, 255, 255, 0.78);
--primary-action-bg: rgba(244, 248, 255, 0.82);
--primary-accent-text: #174ea6;
--accent-cyan: #0891b2;
--accent-emerald: #159a68;
--hover-border: rgba(75, 98, 128, 0.5);
--primary-soft-hover: #e1ecff;
--primary-soft-hover-border: #91b2ee;
--danger-soft-hover: #ffe4e4;
--danger-soft-hover-border: #ee9a9a;
--overview-primary-bg: linear-gradient(135deg, rgba(245, 249, 255, 0.95), rgba(237, 247, 255, 0.82));
--chart-track: #dde7f0;
--preview-bg: linear-gradient(145deg, #f7faff, #edf2f8);
--shadow: 0 18px 44px rgba(36, 48, 72, 0.12), 0 2px 0 rgba(255, 255, 255, 0.84) inset;
--shadow-soft: 0 10px 28px rgba(36, 48, 72, 0.08);
--shadow-hover: 0 24px 54px rgba(36, 48, 72, 0.15), 0 2px 0 rgba(255, 255, 255, 0.9) inset;
--shadow-primary: 0 14px 28px rgba(35, 89, 199, 0.26);
--shadow-primary-soft: 0 12px 28px rgba(35, 89, 199, 0.2);
--shadow-danger-soft: 0 12px 28px rgba(212, 63, 63, 0.18);
--focus-ring: 0 0 0 3px rgba(35, 89, 199, 0.14);
--status-muted-ring: 0 0 0 4px rgba(148, 163, 184, 0.14);
--status-success-ring: 0 0 0 4px rgba(21, 154, 104, 0.14);
--status-danger-ring: 0 0 0 4px rgba(212, 63, 63, 0.14);
--radius: 8px;
--control-height: 36px;
--page-max: 1760px;
--page-pad: 18px;
--layout-gap: 12px;
--shell-gap: 14px;
--rail-width: 216px;
--live-rail-width: 440px;
--panel-max: 980px;
--overview-gap: 12px;
--right-panel-min: 360px;
--config-nav-width: 168px;
--shot-height-desktop: clamp(240px, 28vh, 340px);
--shot-height-tablet: clamp(220px, 30vh, 320px);
--shot-height-mobile: clamp(220px, 32vh, 320px);
--queue-height-desktop: clamp(170px, 24vh, 280px);
--log-height-desktop: clamp(280px, 34vh, 420px);
--log-height-mobile: clamp(240px, 31vh, 360px);
--log-bg: rgba(248, 250, 252, 0.94);
--log-border: rgba(130, 151, 178, 0.24);
--log-text: #243044;
--motion-fast: 140ms ease;
--motion: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
--motion-slow: 520ms cubic-bezier(0.16, 1, 0.3, 1);
}
* {
box-sizing: border-box;
}
html,
body {
min-height: 100%;
}
body {
margin: 0;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
color: var(--text);
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px 28px),
linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 48%, var(--bg-end) 100%);
background-attachment: fixed;
letter-spacing: 0;
}
body::before {
position: fixed;
inset: 0;
z-index: -1;
content: "";
pointer-events: none;
background:
linear-gradient(120deg, rgba(35, 89, 199, 0.08), transparent 38%),
linear-gradient(250deg, rgba(8, 145, 178, 0.08), transparent 42%),
repeating-linear-gradient(90deg, rgba(16, 24, 40, 0.035) 0 1px, transparent 1px 96px);
mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 48%, transparent 100%);
}
@keyframes surfaceIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes sheen {
0%,
72% {
transform: translateX(-120%);
}
86%,
100% {
transform: translateX(120%);
}
}
@keyframes statusPulse {
0%,
100% {
filter: saturate(1);
transform: scale(1);
}
50% {
filter: saturate(1.35);
transform: scale(1.12);
}
}
@keyframes previewScan {
0% {
transform: translateX(-100%);
}
55%,
100% {
transform: translateX(100%);
}
}
button,
input,
select,
textarea {
font: inherit;
}
button {
cursor: pointer;
}
svg {
display: block;
}
.app {
width: min(var(--page-max), 100%);
margin: 0 auto;
padding: var(--page-pad);
}
.header {
position: sticky;
top: 12px;
z-index: 20;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 14px;
border: 1px solid var(--border);
background: var(--header-bg);
border-radius: var(--radius);
box-shadow: var(--shadow);
backdrop-filter: blur(18px) saturate(1.2);
animation: surfaceIn var(--motion-slow) both;
}
.brandBlock {
display: flex;
align-items: center;
gap: 12px;
min-width: 220px;
}
.brandMark {
position: relative;
overflow: hidden;
display: grid;
place-items: center;
flex: 0 0 42px;
width: 42px;
height: 42px;
color: var(--on-primary);
background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
border-radius: var(--radius);
font-size: 17px;
font-weight: 800;
box-shadow: var(--shadow-primary);
}
.brandMark::after {
position: absolute;
inset: 0;
content: "";
background: linear-gradient(130deg, transparent 0 36%, rgba(255, 255, 255, 0.42) 48%, transparent 60% 100%);
transform: translateX(-120%);
animation: sheen 5.6s ease-in-out infinite;
}
.title {
color: var(--text-strong);
font-size: 18px;
font-weight: 760;
line-height: 1.25;
}
.subtitle {
margin-top: 4px;
color: var(--muted);
font-size: 12px;
line-height: 1.35;
}
.header-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
flex-wrap: wrap;
min-width: 0;
}
.actionGroup {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
flex-wrap: wrap;
padding: 4px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-soft);
box-shadow: 0 1px 0 var(--hairline) inset;
}
.primaryActions {
border-color: var(--primary-border);
background: var(--primary-action-bg);
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-width: 0;
min-height: var(--control-height);
padding: 0 12px;
border: 1px solid var(--border-strong);
border-radius: var(--radius);
color: var(--text);
background: var(--surface-elevated);
box-shadow: var(--shadow-soft);
font-size: 13px;
font-weight: 650;
line-height: 1;
white-space: nowrap;
transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast), box-shadow var(--motion), transform var(--motion);
}
.btn:hover {
border-color: var(--hover-border);
background: var(--surface-solid);
box-shadow: var(--shadow-hover);
transform: translateY(-1px);
}
.btn:active {
transform: translateY(1px);
}
.btn:disabled {
cursor: not-allowed;
opacity: 0.55;
transform: none;
}
.btn.isBusy {
cursor: progress;
opacity: 0.78;
}
.btnIcon {
display: inline-flex;
flex: 0 0 16px;
width: 16px;
height: 16px;
}
.btnIcon svg {
width: 16px;
height: 16px;
}
.btnPrimary {
color: var(--on-primary);
border-color: var(--primary);
background: linear-gradient(135deg, var(--primary), #2769df);
box-shadow: var(--shadow-primary-soft);
}
.btnPrimary:hover {
color: var(--on-primary);
border-color: var(--primary-hover);
background: var(--primary-hover);
}
.btnSoft {
color: var(--primary-accent-text);
border-color: var(--primary-border);
background: linear-gradient(180deg, #f5f9ff, var(--primary-soft));
}
.btnSoft:hover {
border-color: var(--primary-soft-hover-border);
background: var(--primary-soft-hover);
}
.btnGhost {
color: var(--text);
border-color: transparent;
background: transparent;
box-shadow: none;
}
.btnGhost:hover {
border-color: var(--border);
background: var(--surface);
}
.btnDanger {
color: var(--on-primary);
border-color: var(--danger);
background: var(--danger);
box-shadow: var(--shadow-danger-soft);
}
.btnDanger:hover {
color: var(--on-primary);
border-color: var(--danger-hover);
background: var(--danger-hover);
}
.btnDangerSoft {
color: var(--danger);
border-color: var(--danger-border);
background: var(--danger-soft);
}
.btnDangerSoft:hover {
border-color: var(--danger-soft-hover-border);
background: var(--danger-soft-hover);
}
.btn.small {
min-height: 30px;
padding: 0 9px;
font-size: 12px;
box-shadow: none;
}
.overview {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: var(--overview-gap);
margin-top: 14px;
}
.overviewCard {
position: relative;
overflow: hidden;
min-width: 0;
padding: 14px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow-soft);
animation: surfaceIn var(--motion-slow) both;
transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
}
.overviewCard:nth-child(2) {
animation-delay: 45ms;
}
.overviewCard:nth-child(3) {
animation-delay: 90ms;
}
.overviewCard:nth-child(4) {
animation-delay: 135ms;
}
.overviewCard::before {
position: absolute;
inset: 0 0 auto;
height: 2px;
content: "";
background: linear-gradient(90deg, var(--primary), var(--accent-cyan), var(--accent-emerald));
opacity: 0.56;
}
.overviewCard:hover {
border-color: var(--hover-border);
box-shadow: var(--shadow-hover);
transform: translateY(-2px);
}
.overviewPrimary {
border-color: var(--primary-border);
background: var(--overview-primary-bg);
}
.overviewLabel {
color: var(--muted);
font-size: 12px;
font-weight: 650;
line-height: 1.3;
}
.overviewValue {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
margin-top: 7px;
color: var(--text-strong);
font-size: 20px;
font-weight: 760;
line-height: 1.2;
overflow-wrap: anywhere;
}
.overviewMeta {
min-height: 18px;
margin-top: 7px;
color: var(--muted);
font-size: 12px;
line-height: 1.35;
overflow-wrap: anywhere;
}
.statusDot {
flex: 0 0 9px;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--muted-soft);
box-shadow: var(--status-muted-ring);
}
.statusDot:not(.statusRunning):not(.statusError) {
background: var(--muted-soft);
box-shadow: var(--status-muted-ring);
}
.statusRunning {
background: var(--success);
box-shadow: var(--status-success-ring);
animation: statusPulse 1.8s ease-in-out infinite;
}
.statusIdle {
background: var(--muted-soft);
box-shadow: var(--status-muted-ring);
}
.statusError {
background: var(--danger);
box-shadow: var(--status-danger-ring);
animation: statusPulse 1.8s ease-in-out infinite;
}
.workspaceShell {
display: grid;
grid-template-columns: var(--rail-width) minmax(0, 1fr);
grid-template-areas:
"rail workspace";
align-items: start;
gap: var(--shell-gap);
margin-top: 14px;
}
.workspaceShell > * {
min-width: 0;
}
.configRail {
position: sticky;
top: 106px;
grid-area: rail;
max-height: calc(100vh - 124px);
overflow: auto;
}
.workspaceShell .configRail {
position: sticky;
top: 106px;
align-self: start;
}
.configWorkspace {
grid-area: workspace;
min-width: 0;
}
.liveRail {
grid-area: workspace;
display: grid;
gap: var(--shell-gap);
min-width: 0;
}
.activityDock {
grid-area: workspace;
display: grid;
grid-template-columns: 1fr;
gap: var(--shell-gap);
min-width: 0;
}
.monitorPanel {
display: grid;
grid-template-columns: minmax(320px, 640px);
gap: var(--shell-gap);
}
.monitorPanel[hidden] {
display: none !important;
}
.cardShot {
display: flex;
flex-direction: column;
}
.card {
position: relative;
overflow: hidden;
min-width: 0;
min-height: 0;
padding: 16px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow);
backdrop-filter: blur(14px) saturate(1.08);
animation: surfaceIn var(--motion-slow) both;
transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
}
.cardShot {
animation-delay: 70ms;
}
.cardReservations {
animation-delay: 120ms;
}
.cardLog {
animation-delay: 170ms;
}
.card::before {
position: absolute;
inset: 0;
content: "";
pointer-events: none;
border-radius: inherit;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.74), transparent 28%),
linear-gradient(120deg, rgba(35, 89, 199, 0.07), transparent 34%);
opacity: 0.72;
}
.card > * {
position: relative;
z-index: 1;
}
.card:hover {
border-color: var(--hover-border);
box-shadow: var(--shadow-hover);
transform: translateY(-1px);
}
.cardScroll {
max-height: none;
overflow: visible;
}
.cardTitle {
display: flex;
align-items: center;
gap: 9px;
min-width: 0;
padding-bottom: 12px;
border-bottom: 1px solid var(--border);
color: var(--text-strong);
font-size: 15px;
font-weight: 760;
line-height: 1.25;
}
.sectionIcon {
display: inline-flex;
flex: 0 0 18px;
width: 18px;
height: 18px;
color: var(--primary);
}
.sectionIcon svg {
width: 18px;
height: 18px;
}
.configLayout {
display: contents;
}
.workspaceHeader {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 16px;
min-width: 0;
margin-bottom: 12px;
padding: 14px 16px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow-soft);
backdrop-filter: blur(14px) saturate(1.08);
}
.workspaceEyebrow {
color: var(--primary-accent-text);
font-size: 11px;
font-weight: 760;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.workspaceTitle {
margin: 4px 0 0;
color: var(--text-strong);
font-size: 20px;
line-height: 1.2;
}
.workspaceHint {
max-width: 360px;
color: var(--muted);
font-size: 12px;
line-height: 1.45;
text-align: right;
}
.sideNav {
position: static;
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
margin-top: 14px;
padding: 6px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-soft);
box-shadow: 0 1px 0 var(--hairline) inset;
}
.tabBtn {
position: relative;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
width: 100%;
min-width: 0;
min-height: 38px;
padding: 0 10px;
border: 1px solid transparent;
border-radius: var(--radius);
color: var(--muted);
background: transparent;
font-size: 13px;
font-weight: 650;
text-align: left;
white-space: nowrap;
transition: color var(--motion-fast), background var(--motion-fast), transform var(--motion-fast), border-color var(--motion-fast);
}
.tabBtn:hover {
color: var(--text);
background: var(--surface);
transform: translateX(2px);
}
.tabBtn.active {
color: var(--primary-accent-text);
border-color: var(--primary-border);
background: linear-gradient(90deg, rgba(226, 238, 255, 0.98), rgba(248, 252, 255, 0.86));
box-shadow: inset 3px 0 0 var(--primary);
}
.tabIcon {
display: inline-flex;
flex: 0 0 16px;
width: 16px;
height: 16px;
}
.tabIcon svg {
width: 16px;
height: 16px;
}
.tabText {
overflow: hidden;
text-overflow: ellipsis;
}
.panels {
min-width: 0;
max-width: var(--panel-max);
}
.panel {
min-width: 0;
padding: 16px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow);
backdrop-filter: blur(14px) saturate(1.08);
animation: surfaceIn var(--motion-slow) both;
}
.panel.cardLog {
overflow: hidden;
}
.panel[hidden] {
display: none !important;
}
.sectionTitle {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
margin: 16px 0 8px;
color: var(--text-strong);
font-size: 14px;
font-weight: 740;
line-height: 1.3;
}
.panel > .sectionTitle:first-child {
margin-top: 0;
}
.row {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
margin-top: 12px;
}
.row.grid2,
.row.grid3 {
display: grid;
align-items: start;
gap: 12px;
}
.row.grid2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.row.grid3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.inline2 {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
min-width: 0;
}
.rowActions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.label {
color: var(--muted);
font-size: 12px;
font-weight: 650;
line-height: 1.35;
}
.input,
.small,
.logSearchBox {
width: 100%;
min-width: 0;
min-height: var(--control-height);
padding: 0 10px;
border: 1px solid var(--border-strong);
border-radius: var(--radius);
color: var(--text);
background: var(--surface-elevated);
font-size: 13px;
outline: none;
transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast), transform var(--motion-fast);
}
.input:hover,
.small:hover,
.logSearchBox:hover {
border-color: var(--hover-border);
}
.input:focus,
.small:focus,
.logSearchBox:focus {
border-color: var(--primary);
box-shadow: var(--focus-ring);
transform: translateY(-1px);
}
.textarea {
min-height: 96px;
padding: 9px 10px;
line-height: 1.55;
resize: vertical;
}
.check {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
min-height: var(--control-height);
padding: 8px 10px;
border: 1px solid var(--border);
border-radius: var(--radius);
color: var(--text);
background: var(--surface-soft);
font-size: 13px;
line-height: 1.35;
}
.check:hover {
border-color: var(--hover-border);
background: var(--surface-elevated);
}
.check input[type="checkbox"] {
flex: 0 0 auto;
width: 15px;
height: 15px;
margin: 0;
accent-color: var(--primary);
}
.check span {
min-width: 0;
overflow-wrap: anywhere;
}
.hint {
min-width: 0;
color: var(--muted);
font-size: 12px;
line-height: 1.45;
overflow-wrap: anywhere;
}
.divider {
height: 1px;
margin: 16px 0;
background: var(--border);
}
.statsGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(154px, 1fr));
gap: 10px;
margin-top: 10px;
}
.stat {
min-width: 0;
padding: 12px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-soft);
box-shadow: 0 1px 0 var(--hairline) inset;
transition: border-color var(--motion-fast), transform var(--motion-fast), background var(--motion-fast);
}
.stat:hover {
border-color: var(--hover-border);
background: var(--surface-elevated);
transform: translateY(-1px);
}
.statLabel {
color: var(--muted);
font-size: 12px;
font-weight: 650;
line-height: 1.35;
}
.statValue {
min-width: 0;
margin-top: 6px;
color: var(--text-strong);
font-size: 19px;
font-weight: 760;
line-height: 1.25;
overflow-wrap: anywhere;
}
.statTrace {
font-size: 14px;
}
.statHint {
min-width: 0;
margin-top: 5px;
color: var(--muted);
font-size: 12px;
line-height: 1.35;
overflow-wrap: anywhere;
}
.chartsGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 12px;
margin-top: 12px;
}
.chartBlock {
min-width: 0;
padding: 12px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-soft);
box-shadow: 0 1px 0 var(--hairline) inset;
}
.chartTitle {
color: var(--text-strong);
font-size: 13px;
font-weight: 720;
line-height: 1.35;
}
.chart {
min-width: 0;
min-height: 76px;
margin-top: 10px;
}
.chart svg {
width: 100%;
height: auto;
}
.timelineSvg {
display: block;
}
.barRow {
display: grid;
grid-template-columns: minmax(78px, 0.9fr) minmax(80px, 2fr) 42px;
align-items: center;
gap: 8px;
min-width: 0;
min-height: 26px;
}
.barRow + .barRow {
margin-top: 8px;
}
.barLabel {
min-width: 0;
color: var(--text);
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.barTrack {
height: 8px;
overflow: hidden;
border-radius: 99px;
background: var(--chart-track);
}
.barFill {
height: 100%;
border-radius: 99px;
background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
transition: width var(--motion-slow);
}
.barValue {
color: var(--muted);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
font-size: 12px;
text-align: right;
}
.table {
min-width: 0;
overflow: hidden;
margin-top: 10px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
}
.tableRow {
display: grid;
grid-template-columns: minmax(92px, 0.65fr) minmax(0, 1.7fr) minmax(54px, 0.45fr);
gap: 10px;
min-width: 0;
padding: 9px 11px;
border-top: 1px solid var(--border);
color: var(--text);
font-size: 12px;
line-height: 1.45;
}
.tableRow:first-child {
border-top: 0;
}
.tableRow > div {
min-width: 0;
overflow-wrap: anywhere;
}
.tableHead {
color: var(--muted);
background: var(--surface-soft);
font-weight: 720;
}
.mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
.preview {
position: relative;
display: flex;
align-items: center;
justify-content: center;
height: var(--shot-height-desktop);
min-height: 0;
max-height: none;
width: 100%;
aspect-ratio: 9 / 16;
margin-top: 14px;
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--preview-bg);
box-shadow: 0 1px 0 var(--hairline) inset, 0 14px 32px rgba(36, 48, 72, 0.08);
transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
}
.preview::before {
position: absolute;
inset: 0;
content: "";
pointer-events: none;
background:
linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent),
repeating-linear-gradient(0deg, rgba(35, 89, 199, 0.035) 0 1px, transparent 1px 18px);
opacity: 0;
transform: translateX(-100%);
}
.preview:hover {
border-color: var(--primary-border);
box-shadow: 0 1px 0 var(--hairline) inset, 0 18px 38px rgba(35, 89, 199, 0.12);
transform: translateY(-1px);
}
.preview.isShotEmpty {
border-style: dashed;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 252, 0.92)),
var(--preview-bg);
}
.preview.isShotEmpty::before {
opacity: 1;
animation: previewScan 2.8s ease-in-out infinite;
}
.preview img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
opacity: 0;
color: transparent;
font-size: 0;
}
.preview img[src*="screenshot.png"][data-loading="false"] {
opacity: 1;
}
.preview.isShotEmpty img {
display: none;
}
#liveShotStatus {
align-self: flex-start;
margin-top: 10px;
}
.reservationsContent {
display: flex;
flex-direction: column;
gap: 8px;
min-width: 0;
margin-top: 12px;
}
.reservationsInfo {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 6px 10px;
min-width: 0;
padding: 9px;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface-soft);
color: var(--text);
font-size: 12px;
line-height: 1.45;
}
.reservationsInfo > div {
min-width: 0;
overflow-wrap: anywhere;
}
.reservationsList {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 8px;
min-width: 0;
max-height: var(--queue-height-desktop);
overflow: auto;
padding-right: 2px;
}
.reservationItem {
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
transition: border-color var(--motion-fast), box-shadow var(--motion), transform var(--motion);
}
.reservationItem:hover {
border-color: var(--hover-border);
box-shadow: var(--shadow-soft);
transform: translateY(-1px);
}
.reservationHeader {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
padding: 9px 10px;
border-bottom: 1px solid var(--border);
background: var(--surface-soft);
}
.reservationHeader.isClickable {
cursor: pointer;
}
.reservationIndex {
color: var(--primary);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
font-size: 12px;
font-weight: 760;
}
.reservationValue {
max-width: 68%;
padding: 3px 8px;
overflow: hidden;
border: 1px solid var(--warning-border);
border-radius: 99px;
color: var(--warning);
background: var(--warning-soft);
font-size: 12px;
font-weight: 720;
text-overflow: ellipsis;
white-space: nowrap;
}
.reservationBody {
display: grid;
gap: 5px;
min-width: 0;
padding: 9px 10px;
color: var(--text);
font-size: 12px;
line-height: 1.45;
}
.reservationBody > div {
min-width: 0;
overflow-wrap: anywhere;
}
.reservationBody.isCollapsed,
.reservationsList.isListCollapsed {
display: none;
}
details {
min-width: 0;
}
summary {
cursor: pointer;
}
summary::-webkit-details-marker {
display: none;
}
summary.sectionTitle {
justify-content: space-between;
gap: 10px;
}
.summaryActions {
display: inline-flex;
align-items: center;
justify-content: flex-end;
gap: 6px;
flex-wrap: wrap;
margin-left: auto;
font-weight: 500;
}
.logRow {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
margin-top: 14px;
}
.singleLogSection {
margin-top: 14px;
}
.logSection {
min-width: 0;
overflow: hidden;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--surface);
box-shadow: 0 1px 0 var(--hairline) inset;
}
.logHeader {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
min-width: 0;
padding: 10px;
border-bottom: 1px solid var(--border);
background: var(--surface-soft);
}
.logTitle {
color: var(--text-strong);
font-size: 13px;
font-weight: 740;
white-space: nowrap;
}
.logHeaderActions {
display: flex;
align-items: center;
justify-content: flex-end;
flex-wrap: wrap;
gap: 7px;
min-width: 0;
}
.logHeaderActions .small {
width: auto;
min-height: 30px;
font-size: 12px;
}
.logSearchBox {
width: 230px;
min-height: 30px;
font-size: 12px;
}
.log {
min-width: 0;
min-height: clamp(250px, 32vh, 390px);
max-height: clamp(250px, 32vh, 390px);
margin: 0;
padding: 12px;
overflow: auto;
border-top: 1px solid var(--log-border);
color: var(--log-text);
background: var(--log-bg);
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
font-size: 12px;
line-height: 1.55;
overflow-wrap: anywhere;
white-space: pre-wrap;
}
.panel.cardLog .log {
min-height: clamp(430px, 58vh, 720px);
max-height: clamp(430px, 58vh, 720px);
}
.log::selection {
color: var(--text-strong);
background: rgba(184, 205, 246, 0.42);
}
@media (max-width: 900px) {
:root {
--page-pad: 14px;
}
.app {
padding: var(--page-pad);
}
.header {
align-items: flex-start;
flex-direction: column;
}
.brandBlock {
min-width: 0;
}
.header-actions,
.actionGroup {
width: 100%;
justify-content: flex-start;
}
.overview {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.workspaceShell {
grid-template-columns: 1fr;
grid-template-areas:
"rail"
"workspace";
}
.configRail,
.liveRail,
.cardLog {
position: static;
max-height: none;
}
.activityDock,
.monitorPanel {
grid-template-columns: 1fr;
}
.configLayout {
display: contents;
}
.sideNav {
position: static;
flex-direction: row;
overflow-x: auto;
scrollbar-width: thin;
}
.tabBtn {
flex: 0 0 auto;
width: auto;
min-width: 104px;
}
.preview {
width: min(520px, 100%);
height: var(--shot-height-tablet);
}
}
@media (max-width: 640px) {
:root {
--page-pad: 10px;
--layout-gap: 10px;
--overview-gap: 8px;
}
.app {
padding: var(--page-pad);
}
.header {
top: 0;
padding: 10px;
}
.brandBlock {
align-items: flex-start;
}
.brandMark {
flex-basis: 36px;
width: 36px;
height: 36px;
font-size: 15px;
}
.title {
font-size: 16px;
}
.subtitle {
font-size: 12px;
}
.actionGroup {
gap: 6px;
padding: 0;
border: 0;
background: transparent;
}
.header-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 6px;
}
.primaryActions,
.secondaryActions {
display: contents;
}
.btn {
width: 100%;
min-height: 34px;
padding: 0 8px;
}
.btn.small {
flex: 0 0 auto;
}
.overview {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.overviewCard {
padding: 12px;
}
.overviewValue {
font-size: 17px;
}
.workspaceShell {
gap: 10px;
}
.card {
padding: 12px;
}
.row.grid2,
.row.grid3,
.inline2 {
grid-template-columns: 1fr;
}
.statsGrid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.chartsGrid,
.logRow {
grid-template-columns: 1fr;
}
.preview {
width: 100%;
height: var(--shot-height-mobile);
}
.logHeader {
align-items: stretch;
flex-direction: column;
}
.logHeaderActions {
justify-content: flex-start;
}
.logSearchBox {
flex: 1 1 100%;
width: 100%;
}
.log {
min-height: var(--log-height-mobile);
max-height: var(--log-height-mobile);
}
.summaryActions {
width: 100%;
justify-content: flex-start;
margin-left: 0;
}
summary.sectionTitle {
align-items: flex-start;
flex-direction: column;
}
}
@media (max-width: 430px) {
.actionGroup {
padding: 3px;
}
.statsGrid {
grid-template-columns: 1fr;
}
.overview {
grid-template-columns: 1fr;
}
.tableRow {
grid-template-columns: 1fr;
gap: 4px;
}
.tableHead {
display: none;
}
.barRow {
grid-template-columns: minmax(0, 1fr) minmax(80px, 1fr) 34px;
}
.preview {
width: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 1ms !important;
animation-iteration-count: 1 !important;
scroll-behavior: auto !important;
transition-duration: 1ms !important;
}
}