76 lines
5.0 KiB
CSS
76 lines
5.0 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg: #101417;
|
|
--surface: #171d21;
|
|
--surface-raised: #1e272c;
|
|
--line: #2c373d;
|
|
--text: #edf3f2;
|
|
--muted: #93a2a5;
|
|
--cyan: #55d5c2;
|
|
--cyan-deep: #183d3b;
|
|
--orange: #ffb454;
|
|
--red: #ff786b;
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); }
|
|
button, input, select { font: inherit; }
|
|
button { cursor: pointer; }
|
|
.app-shell { width: min(1380px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 40px; }
|
|
.topbar, .panel-heading, .stage-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
|
|
.topbar { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
|
|
.eyebrow { margin: 0 0 7px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; }
|
|
h1, h2, p { margin-top: 0; }
|
|
h1 { margin-bottom: 0; font-size: clamp(24px, 4vw, 38px); letter-spacing: 0; }
|
|
h2 { margin-bottom: 0; font-size: 17px; }
|
|
.status-pill { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); font-size: 12px; white-space: nowrap; }
|
|
.status-ready { border-color: #286f67; background: var(--cyan-deep); color: var(--cyan); }
|
|
.status-alert { border-color: #81473f; background: #392321; color: var(--red); }
|
|
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; margin-top: 22px; }
|
|
.stage-panel, .control-panel { border: 1px solid var(--line); background: var(--surface); }
|
|
.stage-panel { min-width: 0; padding: 20px; }
|
|
.control-panel { padding: 20px; }
|
|
.muted { color: var(--muted); font-size: 13px; }
|
|
.media-stage { position: relative; display: grid; place-items: center; min-height: min(66vh, 680px); margin: 20px 0 16px; overflow: hidden; background: #0a0d0e; border: 1px solid var(--line); }
|
|
.media-stage img, .media-stage video { display: block; width: 100%; height: 100%; max-height: min(66vh, 680px); object-fit: contain; }
|
|
.media-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
|
|
.empty-state { display: grid; justify-items: center; gap: 8px; color: var(--muted); text-align: center; }
|
|
.empty-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--cyan); font-size: 26px; }
|
|
.loading-state { position: absolute; inset: auto 16px 16px auto; padding: 10px 12px; background: #0e1718e8; border: 1px solid #286f67; color: var(--cyan); font-size: 12px; }
|
|
.stage-footer { color: var(--muted); font-size: 12px; }
|
|
.control-stack { display: grid; gap: 10px; margin-top: 22px; }
|
|
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; padding: 0 15px; font-weight: 700; }
|
|
.button:disabled { cursor: not-allowed; opacity: 0.45; }
|
|
.button-primary { background: var(--cyan); color: #0b1918; }
|
|
.button-secondary { border-color: #3b5658; background: var(--surface-raised); color: var(--text); }
|
|
.button-secondary:hover, .button-quiet:hover { border-color: var(--cyan); color: var(--cyan); }
|
|
.button-quiet { border-color: var(--line); background: transparent; color: var(--muted); }
|
|
.upload-control { display: grid; gap: 8px; }
|
|
.upload-control input { position: absolute; width: 1px; height: 1px; opacity: 0; }
|
|
.upload-control small { color: var(--muted); font-size: 11px; }
|
|
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
|
|
.setting-row select { min-height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 0 10px; background: var(--surface-raised); color: var(--text); }
|
|
.alert-status { margin-top: 14px; border: 1px solid var(--line); padding: 10px 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
|
|
.alert-triggered { border-color: #81473f; background: #392321; color: var(--red); }
|
|
.divider { height: 1px; margin: 24px 0; background: var(--line); }
|
|
.compact-heading { margin-bottom: 14px; }
|
|
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
|
.metric-card { display: grid; gap: 8px; min-height: 78px; padding: 12px; border: 1px solid var(--line); background: var(--surface-raised); }
|
|
.metric-card span { color: var(--muted); font-size: 12px; }
|
|
.metric-card strong { font-size: 20px; }
|
|
.detection-list { display: grid; gap: 8px; margin-top: 14px; }
|
|
.detection-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
|
|
.detection-row strong { color: var(--orange); }
|
|
@media (max-width: 860px) {
|
|
.app-shell { width: min(100% - 24px, 680px); padding-top: 18px; }
|
|
.workspace { grid-template-columns: 1fr; }
|
|
.media-stage { min-height: 48vh; }
|
|
}
|
|
@media (max-width: 480px) {
|
|
.topbar { align-items: flex-start; flex-direction: column; }
|
|
.stage-panel, .control-panel { padding: 14px; }
|
|
.stage-footer { align-items: flex-end; flex-direction: column; }
|
|
.stage-footer .button { width: 100%; }
|
|
}
|