全局 running 信号 - body.is-running 在视口顶部 fixed 2px 粉→青→粉横向 sweep glow line - 2.8s 横向滚动 + 4px primary drop-shadow,进程"心跳"信号 滚动条 - 全局 webkit-scrollbar-thumb 改 180deg 粉→青渐变(55% mix) - hover 升级为纯色 primary→secondary 渐变 骨架屏 - shimmer 渐变改为粉/青双色横扫(35% / 65% 节点 22% mix) - 节奏 1.6s → 1.8s 更柔和 截图区取景器 - previewBracket hover 时 18→22px + drop-shadow 6→10px primary 75% - 尺寸 + glow 同步过渡 Timeline 折线 - SVG defs 加 feGaussianBlur (1.6) + feMerge glow filter - 折线 stroke-width 1.5→1.8 并应用 filter,霓虹光晕 - 与 chart hover 渐变协同 cache-bust v29 → v30
4236 lines
97 KiB
CSS
4236 lines
97 KiB
CSS
/* ======== Light theme tokens (default) ======== */
|
|
:root {
|
|
--bg: #fafaf7;
|
|
--bg-soft: #f5f5f0;
|
|
--surface: #ffffff;
|
|
--surface-solid: #ffffff;
|
|
--surface-soft: #fafaf7;
|
|
--surface-muted: #f1f0eb;
|
|
--border: #e7e3da;
|
|
--border-strong: #c9c2b3;
|
|
--hairline: rgba(0, 0, 0, 0.04);
|
|
--text: #1a1a1a;
|
|
--text-strong: #050505;
|
|
--muted: #6b6657;
|
|
--muted-soft: #a39d8c;
|
|
--primary: #ec4899;
|
|
--primary-hover: #db2777;
|
|
--primary-soft: #fdf2f8;
|
|
--primary-border: #fbcfe8;
|
|
--primary-accent-text: #be185d;
|
|
--secondary: #06b6d4;
|
|
--secondary-soft: #ecfeff;
|
|
--secondary-border: #a5f3fc;
|
|
--success: #16a34a;
|
|
--success-soft: #f0fdf4;
|
|
--warning: #d97706;
|
|
--warning-soft: #fffbeb;
|
|
--warning-border: #fde68a;
|
|
--danger: #dc2626;
|
|
--danger-hover: #b91c1c;
|
|
--danger-soft: #fef2f2;
|
|
--danger-border: #fecaca;
|
|
--on-primary: #ffffff;
|
|
--header-bg: rgba(255, 255, 252, 0.78);
|
|
--hover-border: #8a8270;
|
|
--danger-soft-hover: #fee2e2;
|
|
--danger-soft-hover-border: #fca5a5;
|
|
--overview-primary-bg: linear-gradient(135deg, #fdf2f8 0%, #fafaf7 60%, #ecfeff 100%);
|
|
--chart-track: #e7e3da;
|
|
--preview-bg: #f5f5f0;
|
|
--shadow: 0 1px 2px rgba(40, 30, 50, 0.04), 0 4px 12px rgba(40, 30, 50, 0.06);
|
|
--shadow-soft: 0 1px 2px rgba(40, 30, 50, 0.04);
|
|
--shadow-glow-primary: 0 4px 20px -4px rgba(236, 72, 153, 0.35), 0 1px 3px rgba(236, 72, 153, 0.15);
|
|
--shadow-glow-secondary: 0 4px 20px -4px rgba(6, 182, 212, 0.32), 0 1px 3px rgba(6, 182, 212, 0.12);
|
|
--shadow-glow-danger: 0 4px 20px -4px rgba(220, 38, 38, 0.32), 0 1px 3px rgba(220, 38, 38, 0.12);
|
|
--focus-ring: 0 0 0 3px rgba(236, 72, 153, 0.22);
|
|
--status-muted-ring: 0 0 0 3px rgba(163, 157, 140, 0.18);
|
|
--status-success-ring: 0 0 0 3px rgba(22, 163, 74, 0.22);
|
|
--status-danger-ring: 0 0 0 3px rgba(220, 38, 38, 0.22);
|
|
|
|
/* Decorative gradient mesh (light) */
|
|
--mesh-blob-1: radial-gradient(at 12% 18%, rgba(236, 72, 153, 0.10) 0%, transparent 42%);
|
|
--mesh-blob-2: radial-gradient(at 88% 14%, rgba(6, 182, 212, 0.10) 0%, transparent 45%);
|
|
--mesh-blob-3: radial-gradient(at 70% 92%, rgba(244, 114, 182, 0.08) 0%, transparent 48%);
|
|
--grain-opacity: 0.28;
|
|
|
|
/* Design tokens — spacing / radius / typography scale */
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 20px;
|
|
--space-6: 24px;
|
|
--space-8: 32px;
|
|
--radius-sm: 4px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 12px;
|
|
--radius-xl: 18px;
|
|
--text-xs: 11px;
|
|
--text-sm: 12px;
|
|
--text-base: 13px;
|
|
--text-md: 14px;
|
|
--text-lg: 16px;
|
|
--text-xl: 22px;
|
|
--text-2xl: 32px;
|
|
--leading-tight: 1.2;
|
|
--leading-snug: 1.35;
|
|
--leading-normal: 1.5;
|
|
--tracking-tight: -0.015em;
|
|
--tracking-normal: 0;
|
|
--tracking-wide: 0.06em;
|
|
|
|
--radius: 8px;
|
|
--control-height: 34px;
|
|
--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: #15151a;
|
|
--log-border: #2a2a30;
|
|
--log-text: #e5e5dc;
|
|
--motion-fast: 100ms ease;
|
|
--motion: 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
--motion-slow: 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
color-scheme: light;
|
|
}
|
|
|
|
/* ======== Dark theme tokens ======== */
|
|
:root[data-theme="dark"] {
|
|
--bg: #08080c;
|
|
--bg-soft: #0c0c12;
|
|
--surface: #11111a;
|
|
--surface-solid: #11111a;
|
|
--surface-soft: #15151f;
|
|
--surface-muted: #1c1c28;
|
|
--border: #25253a;
|
|
--border-strong: #353550;
|
|
--hairline: rgba(255, 255, 255, 0.06);
|
|
--text: #ededed;
|
|
--text-strong: #ffffff;
|
|
--muted: #b8b8c4;
|
|
--muted-soft: #74748a;
|
|
--primary: #f472b6;
|
|
--primary-hover: #f9a8d4;
|
|
--primary-soft: #2a1326;
|
|
--primary-border: #5a2348;
|
|
--primary-accent-text: #fbcfe8;
|
|
--secondary: #22d3ee;
|
|
--secondary-soft: #0d2a30;
|
|
--secondary-border: #155a68;
|
|
--success: #34d399;
|
|
--success-soft: #0f2920;
|
|
--warning: #fbbf24;
|
|
--warning-soft: #2a1f0a;
|
|
--warning-border: #5a4220;
|
|
--danger: #f87171;
|
|
--danger-hover: #fca5a5;
|
|
--danger-soft: #2a1414;
|
|
--danger-border: #5a2828;
|
|
--on-primary: #ffffff;
|
|
--header-bg: rgba(17, 17, 26, 0.74);
|
|
--hover-border: #50506e;
|
|
--danger-soft-hover: #3a1a1a;
|
|
--danger-soft-hover-border: #6e2a2a;
|
|
--overview-primary-bg: linear-gradient(135deg, #1f1124 0%, #11111a 60%, #0a2630 100%);
|
|
--chart-track: #25253a;
|
|
--preview-bg: #0c0c12;
|
|
--shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
|
|
--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.4);
|
|
--shadow-glow-primary: 0 4px 24px -4px rgba(244, 114, 182, 0.45), 0 1px 4px rgba(244, 114, 182, 0.2);
|
|
--shadow-glow-secondary: 0 4px 24px -4px rgba(34, 211, 238, 0.42), 0 1px 4px rgba(34, 211, 238, 0.18);
|
|
--shadow-glow-danger: 0 4px 24px -4px rgba(248, 113, 113, 0.42), 0 1px 4px rgba(248, 113, 113, 0.18);
|
|
--focus-ring: 0 0 0 3px rgba(244, 114, 182, 0.3);
|
|
--status-muted-ring: 0 0 0 3px rgba(116, 116, 138, 0.22);
|
|
--status-success-ring: 0 0 0 3px rgba(52, 211, 153, 0.25);
|
|
--status-danger-ring: 0 0 0 3px rgba(248, 113, 113, 0.25);
|
|
--log-bg: #08080c;
|
|
--log-border: #25253a;
|
|
--log-text: #d4d4dc;
|
|
|
|
--mesh-blob-1: radial-gradient(at 12% 18%, rgba(244, 114, 182, 0.14) 0%, transparent 42%);
|
|
--mesh-blob-2: radial-gradient(at 88% 14%, rgba(34, 211, 238, 0.12) 0%, transparent 45%);
|
|
--mesh-blob-3: radial-gradient(at 70% 92%, rgba(192, 132, 252, 0.10) 0%, transparent 48%);
|
|
--grain-opacity: 0.35;
|
|
|
|
color-scheme: dark;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
min-height: 100%;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: "Manrope", "PingFang SC", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
color: var(--text);
|
|
background: var(--bg);
|
|
letter-spacing: -0.005em;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
transition: color 200ms ease, background-color 200ms ease;
|
|
position: relative;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* Atmospheric layer 1: gradient mesh blobs */
|
|
body::before {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -2;
|
|
content: "";
|
|
pointer-events: none;
|
|
background-image: var(--mesh-blob-1), var(--mesh-blob-2), var(--mesh-blob-3);
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
/* Atmospheric layer 2: SVG grain noise (turbulence) */
|
|
body::after {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
content: "";
|
|
pointer-events: none;
|
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
|
|
opacity: var(--grain-opacity);
|
|
mix-blend-mode: overlay;
|
|
}
|
|
|
|
/* When body.is-running: thin pink sweep glow line at top edge of viewport */
|
|
body.is-running::before {
|
|
content: "";
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
height: 2px;
|
|
z-index: 1000;
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
|
|
background-size: 200% 100%;
|
|
animation: runningPulse 2.8s linear infinite;
|
|
filter: drop-shadow(0 0 4px color-mix(in oklab, var(--primary) 70%, transparent));
|
|
}
|
|
|
|
@keyframes runningPulse {
|
|
0% { background-position: -100% 0; opacity: 0.85; }
|
|
50% { opacity: 1; }
|
|
100% { background-position: 200% 0; opacity: 0.85; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
body.is-running::before { animation: none; }
|
|
}
|
|
|
|
/* When toggling theme, briefly enable transitions on common chrome surfaces.
|
|
The .isThemeSwitching class is added by JS for ~250ms during the toggle. */
|
|
:root.isThemeSwitching .header,
|
|
:root.isThemeSwitching .card,
|
|
:root.isThemeSwitching .panel,
|
|
:root.isThemeSwitching .overviewCard,
|
|
:root.isThemeSwitching .stat,
|
|
:root.isThemeSwitching .btn,
|
|
:root.isThemeSwitching .input,
|
|
:root.isThemeSwitching .check,
|
|
:root.isThemeSwitching .tabBtn,
|
|
:root.isThemeSwitching .table,
|
|
:root.isThemeSwitching .tableRow,
|
|
:root.isThemeSwitching .logSection,
|
|
:root.isThemeSwitching .log,
|
|
:root.isThemeSwitching .preview,
|
|
:root.isThemeSwitching .reservationItem,
|
|
:root.isThemeSwitching .chartBlock,
|
|
:root.isThemeSwitching .toast,
|
|
:root.isThemeSwitching .appFooter,
|
|
:root.isThemeSwitching .workspaceHeader {
|
|
transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease !important;
|
|
}
|
|
|
|
@keyframes surfaceIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(4px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@keyframes statusPulse {
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
opacity: 0.6;
|
|
}
|
|
}
|
|
|
|
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);
|
|
animation: appFadeIn 220ms ease both;
|
|
}
|
|
|
|
@keyframes appFadeIn {
|
|
from { opacity: 0; transform: translateY(2px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.app { animation: none; }
|
|
}
|
|
|
|
.header {
|
|
position: sticky;
|
|
top: 12px;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
padding: 14px 18px;
|
|
border: 1px solid var(--border);
|
|
background:
|
|
linear-gradient(180deg, color-mix(in oklab, var(--primary) 4%, transparent), transparent 60%),
|
|
var(--header-bg);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow);
|
|
backdrop-filter: blur(14px) saturate(1.1);
|
|
animation: surfaceIn var(--motion-slow) both;
|
|
transition: box-shadow var(--motion), border-color var(--motion);
|
|
}
|
|
|
|
.header.isScrolled {
|
|
border-color: var(--primary-border);
|
|
box-shadow: 0 6px 24px -2px color-mix(in oklab, var(--primary) 20%, transparent), 0 1px 0 var(--border) inset;
|
|
}
|
|
|
|
:root[data-theme="dark"] .header.isScrolled {
|
|
box-shadow: 0 6px 24px -2px color-mix(in oklab, var(--primary) 28%, transparent), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
|
|
}
|
|
|
|
/* Top hairline gradient */
|
|
.header::before {
|
|
position: absolute;
|
|
inset: 0 0 auto;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 65%, transparent), color-mix(in oklab, var(--secondary) 65%, transparent), transparent);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Bottom sweep glow when scrolled */
|
|
.header::after {
|
|
position: absolute;
|
|
inset: auto 0 -1px 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
|
|
background-size: 200% 100%;
|
|
opacity: 0;
|
|
transition: opacity 200ms ease;
|
|
animation: headerSweep 6s linear infinite;
|
|
}
|
|
|
|
.header.isScrolled::after {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
@keyframes headerSweep {
|
|
to { background-position: 200% 0; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.header::after { animation: none; }
|
|
}
|
|
|
|
.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:
|
|
conic-gradient(from 215deg, #f472b6, #ec4899, #be185d, #06b6d4, #22d3ee, #f472b6);
|
|
border-radius: var(--radius-md);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.35) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.2) inset,
|
|
0 4px 14px -2px rgba(236, 72, 153, 0.45),
|
|
0 1px 3px rgba(0, 0, 0, 0.18);
|
|
transition: transform var(--motion), box-shadow var(--motion);
|
|
}
|
|
|
|
/* Specular highlight that drifts on idle */
|
|
.brandMark::before {
|
|
position: absolute;
|
|
inset: 0;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.55), transparent 38%);
|
|
mix-blend-mode: screen;
|
|
animation: brandShine 9s ease-in-out infinite alternate;
|
|
}
|
|
|
|
/* Glassy inner ring */
|
|
.brandMark::after {
|
|
position: absolute;
|
|
inset: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
border-radius: calc(var(--radius-md) - 1px);
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 55%);
|
|
mix-blend-mode: overlay;
|
|
}
|
|
|
|
.brandMark svg {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 22px;
|
|
height: 22px;
|
|
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
|
|
}
|
|
|
|
@keyframes brandShine {
|
|
0% { transform: translate(0, 0); }
|
|
100% { transform: translate(8%, 6%); }
|
|
}
|
|
|
|
.brandBlock:hover .brandMark {
|
|
transform: translateY(-1px) scale(1.03);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.4) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.22) inset,
|
|
0 8px 22px -4px rgba(236, 72, 153, 0.55),
|
|
0 1px 3px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.brandMark::before {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.title {
|
|
color: var(--text-strong);
|
|
font-size: var(--text-lg);
|
|
font-weight: 600;
|
|
line-height: var(--leading-tight);
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
|
|
.subtitle {
|
|
margin-top: 3px;
|
|
color: var(--muted);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.actionGroup {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.secondaryActions::before {
|
|
align-self: stretch;
|
|
width: 1px;
|
|
margin: 4px 8px 4px 2px;
|
|
background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--primary) 35%, transparent), transparent);
|
|
content: "";
|
|
}
|
|
|
|
.primaryActions {
|
|
border: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
#btnTheme {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
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);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast);
|
|
}
|
|
|
|
.btn:hover {
|
|
border-color: var(--hover-border);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.btn:active {
|
|
background: var(--surface-soft);
|
|
}
|
|
|
|
.btn:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.btn.isBusy {
|
|
cursor: progress;
|
|
opacity: 0.85;
|
|
pointer-events: none;
|
|
position: relative;
|
|
}
|
|
|
|
.btn.isBusy .btnIcon {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.btn.isBusy::before {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-top: -7px;
|
|
content: "";
|
|
border-radius: 50%;
|
|
border: 2px solid currentColor;
|
|
border-top-color: transparent;
|
|
opacity: 0.85;
|
|
animation: btnSpin 720ms linear infinite;
|
|
}
|
|
|
|
.btn.isBusy:not(:has(.btnIcon))::before {
|
|
position: relative;
|
|
left: 0;
|
|
top: 0;
|
|
margin: 0 6px 0 0;
|
|
display: inline-block;
|
|
}
|
|
|
|
@keyframes btnSpin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.btn.isBusy::before {
|
|
animation-duration: 2s;
|
|
}
|
|
}
|
|
|
|
.btn:focus-visible,
|
|
.tabBtn:focus-visible {
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--primary);
|
|
}
|
|
|
|
/* Button kbd hint: render data-kbd badge when [data-kbd-mod] is present */
|
|
.btn[data-kbd]::after {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 6px;
|
|
padding: 0 6px;
|
|
height: 18px;
|
|
border: 1px solid color-mix(in oklab, currentColor 28%, transparent);
|
|
border-bottom-width: 2px;
|
|
border-radius: 4px;
|
|
color: inherit;
|
|
background: color-mix(in oklab, var(--surface) 30%, transparent);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: 10px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.04em;
|
|
line-height: 1;
|
|
content: attr(data-kbd-prefix) attr(data-kbd);
|
|
pointer-events: none;
|
|
opacity: 0.55;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
.btn[data-kbd]:hover::after {
|
|
opacity: 1;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.btn[data-kbd]::after {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.btnIcon {
|
|
display: inline-flex;
|
|
flex: 0 0 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.btnIcon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.btnPrimary {
|
|
position: relative;
|
|
color: var(--on-primary);
|
|
border-color: transparent;
|
|
background:
|
|
linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 45%),
|
|
linear-gradient(135deg, #f472b6 0%, #ec4899 50%, #db2777 100%);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.32) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.18) inset,
|
|
0 6px 16px -4px rgba(236, 72, 153, 0.5),
|
|
0 1px 3px rgba(190, 24, 93, 0.25);
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
|
|
isolation: isolate;
|
|
}
|
|
|
|
.btnPrimary::before {
|
|
position: absolute;
|
|
inset: -2px;
|
|
z-index: -1;
|
|
content: "";
|
|
border-radius: inherit;
|
|
padding: 2px;
|
|
background: conic-gradient(from 0deg, #f472b6, #06b6d4, #f472b6);
|
|
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
|
-webkit-mask-composite: xor;
|
|
mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
|
|
mask-composite: exclude;
|
|
opacity: 0;
|
|
transition: opacity 200ms ease;
|
|
}
|
|
|
|
.btnPrimary:hover {
|
|
color: var(--on-primary);
|
|
transform: translateY(-1px);
|
|
background:
|
|
linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 45%),
|
|
linear-gradient(135deg, #f9a8d4 0%, #f472b6 50%, #ec4899 100%);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.4) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.18) inset,
|
|
0 10px 24px -4px rgba(236, 72, 153, 0.62),
|
|
0 2px 4px rgba(190, 24, 93, 0.3);
|
|
}
|
|
|
|
.btnPrimary:hover::before {
|
|
opacity: 1;
|
|
animation: btnConic 1.6s linear infinite;
|
|
}
|
|
|
|
.btnPrimary:active {
|
|
transform: translateY(0);
|
|
background: linear-gradient(135deg, #db2777, #be185d);
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25) inset;
|
|
}
|
|
|
|
@keyframes btnConic {
|
|
to { --conic-angle: 360deg; }
|
|
}
|
|
|
|
.btnSoft {
|
|
color: var(--text-strong);
|
|
border-color: var(--border);
|
|
background: linear-gradient(180deg, var(--surface), var(--surface-soft));
|
|
box-shadow: 0 1px 0 var(--hairline) inset, 0 1px 2px rgba(40, 30, 50, 0.04);
|
|
}
|
|
|
|
.btnSoft:hover {
|
|
color: var(--text-strong);
|
|
border-color: var(--primary-border);
|
|
background: linear-gradient(180deg, var(--surface), var(--primary-soft));
|
|
box-shadow: 0 1px 0 var(--hairline) inset, 0 4px 12px -4px rgba(236, 72, 153, 0.18);
|
|
}
|
|
|
|
.btnGhost {
|
|
color: var(--muted);
|
|
border-color: transparent;
|
|
background: transparent;
|
|
}
|
|
|
|
.btnGhost:hover {
|
|
color: var(--text-strong);
|
|
border-color: var(--border);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.btnDanger {
|
|
position: relative;
|
|
color: var(--on-primary);
|
|
border-color: transparent;
|
|
background:
|
|
linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 45%),
|
|
linear-gradient(135deg, #fb7185 0%, #ef4444 50%, #b91c1c 100%);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.32) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.18) inset,
|
|
0 6px 16px -4px rgba(220, 38, 38, 0.5),
|
|
0 1px 3px rgba(127, 29, 29, 0.25);
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.btnDanger:hover {
|
|
color: var(--on-primary);
|
|
transform: translateY(-1px);
|
|
background:
|
|
linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 45%),
|
|
linear-gradient(135deg, #fda4af 0%, #fb7185 50%, #ef4444 100%);
|
|
box-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.4) inset,
|
|
0 -1px 0 rgba(0, 0, 0, 0.18) inset,
|
|
0 10px 24px -4px rgba(220, 38, 38, 0.62),
|
|
0 2px 4px rgba(127, 29, 29, 0.3);
|
|
}
|
|
|
|
.btnDanger:active {
|
|
transform: translateY(0);
|
|
background: linear-gradient(135deg, #b91c1c, #7f1d1d);
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25) inset;
|
|
}
|
|
|
|
.btnDangerSoft {
|
|
color: var(--danger);
|
|
border-color: var(--danger-border);
|
|
background: var(--danger-soft);
|
|
box-shadow: 0 1px 0 var(--hairline) inset;
|
|
}
|
|
|
|
.btnDangerSoft:hover {
|
|
color: var(--danger);
|
|
border-color: var(--danger);
|
|
background: var(--danger-soft-hover);
|
|
box-shadow: 0 1px 0 var(--hairline) inset, 0 4px 12px -4px rgba(220, 38, 38, 0.32);
|
|
}
|
|
|
|
.btn.small {
|
|
min-height: 28px;
|
|
padding: 0 9px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.btnIconOnly {
|
|
width: var(--control-height);
|
|
padding: 0;
|
|
}
|
|
|
|
/* Theme toggle: show sun in dark mode, moon in light mode */
|
|
.themeIconSun,
|
|
.themeIconMoon {
|
|
display: none;
|
|
}
|
|
|
|
:root[data-theme="dark"] .themeIconSun {
|
|
display: inline-flex;
|
|
}
|
|
|
|
:root:not([data-theme="dark"]) .themeIconMoon {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.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: 18px 20px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
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);
|
|
}
|
|
|
|
/* Top hairline highlight (gradient pink → cyan) */
|
|
.overviewCard::after {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 65%, transparent), color-mix(in oklab, var(--secondary) 65%, transparent), transparent);
|
|
opacity: 0.55;
|
|
}
|
|
|
|
/* Left accent stripe — turns into gradient on primary card */
|
|
.overviewCard::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 16px;
|
|
bottom: 16px;
|
|
width: 3px;
|
|
content: "";
|
|
border-radius: 0 3px 3px 0;
|
|
background: var(--border-strong);
|
|
opacity: 0.45;
|
|
transition: background var(--motion-fast), opacity var(--motion-fast);
|
|
}
|
|
|
|
.overviewCard:hover {
|
|
border-color: var(--primary-border);
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--shadow), 0 0 0 1px color-mix(in oklab, var(--primary) 22%, transparent), 0 14px 32px -10px color-mix(in oklab, var(--primary) 28%, transparent);
|
|
}
|
|
|
|
.overviewCard:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.overviewPrimary {
|
|
border-color: var(--primary-border);
|
|
background: var(--overview-primary-bg);
|
|
}
|
|
|
|
.overviewPrimary::before {
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary));
|
|
opacity: 1;
|
|
}
|
|
|
|
.overviewLabel {
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.overviewValue {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
margin-top: 10px;
|
|
color: var(--text-strong);
|
|
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-2xl);
|
|
font-weight: 600;
|
|
line-height: 1.05;
|
|
letter-spacing: -0.025em;
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: "ss01", "tnum";
|
|
overflow-wrap: anywhere;
|
|
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
:root[data-theme="dark"] .overviewValue {
|
|
text-shadow: 0 0 24px color-mix(in oklab, var(--primary) 18%, transparent);
|
|
}
|
|
|
|
.overviewMeta {
|
|
min-height: 18px;
|
|
margin-top: 6px;
|
|
color: var(--muted);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.overviewSpark {
|
|
display: block;
|
|
width: 100%;
|
|
height: 22px;
|
|
margin-top: 8px;
|
|
color: var(--primary);
|
|
opacity: 0;
|
|
transition: opacity var(--motion);
|
|
}
|
|
|
|
.overviewSpark.hasData {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.statusDot {
|
|
position: relative;
|
|
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: radial-gradient(circle at 30% 30%, #5eead4, var(--success));
|
|
box-shadow:
|
|
var(--status-success-ring),
|
|
0 0 8px color-mix(in oklab, var(--success) 60%, transparent),
|
|
0 0 16px color-mix(in oklab, var(--success) 30%, transparent);
|
|
}
|
|
|
|
.statusRunning::before {
|
|
position: absolute;
|
|
inset: -4px;
|
|
content: "";
|
|
border-radius: 50%;
|
|
border: 1.5px solid var(--success);
|
|
opacity: 0.6;
|
|
animation: statusRing 1.8s ease-out infinite;
|
|
}
|
|
|
|
.statusRunning::after {
|
|
position: absolute;
|
|
inset: -4px;
|
|
content: "";
|
|
border-radius: 50%;
|
|
border: 1px solid var(--secondary);
|
|
opacity: 0.5;
|
|
animation: statusRing 1.8s ease-out 0.9s infinite;
|
|
}
|
|
|
|
@keyframes statusRing {
|
|
0% {
|
|
transform: scale(0.8);
|
|
opacity: 0.75;
|
|
}
|
|
100% {
|
|
transform: scale(2);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.statusIdle {
|
|
background: var(--muted-soft);
|
|
box-shadow: var(--status-muted-ring);
|
|
}
|
|
|
|
.statusError {
|
|
background: radial-gradient(circle at 30% 30%, #fda4af, var(--danger));
|
|
box-shadow:
|
|
var(--status-danger-ring),
|
|
0 0 12px color-mix(in oklab, var(--danger) 60%, transparent);
|
|
animation: statusPulse 1.6s 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: 18px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow);
|
|
animation: surfaceIn var(--motion-slow) both;
|
|
transition: border-color var(--motion), box-shadow var(--motion), transform var(--motion);
|
|
}
|
|
|
|
/* Top highlight hairline */
|
|
.card::before {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 65%, transparent), color-mix(in oklab, var(--secondary) 65%, transparent), transparent);
|
|
opacity: 0.45;
|
|
transition: opacity var(--motion);
|
|
}
|
|
|
|
.card:hover::before {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.cardShot {
|
|
animation-delay: 40ms;
|
|
}
|
|
|
|
.cardReservations {
|
|
animation-delay: 80ms;
|
|
}
|
|
|
|
.cardLog {
|
|
animation-delay: 120ms;
|
|
}
|
|
|
|
.card > * {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--primary-border);
|
|
box-shadow: var(--shadow), 0 0 0 1px color-mix(in oklab, var(--primary) 25%, transparent), 0 12px 28px -10px color-mix(in oklab, var(--primary) 28%, transparent);
|
|
}
|
|
|
|
.cardScroll {
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.cardTitle {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding-bottom: 14px;
|
|
margin-bottom: 4px;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text-strong);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
|
|
/* Status chip on the right of card titles, shows up when body.is-running */
|
|
.cardTitle::after {
|
|
margin-left: auto;
|
|
padding: 0 8px;
|
|
height: 19px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
border: 1px solid color-mix(in oklab, var(--muted) 40%, transparent);
|
|
border-radius: 99px;
|
|
background: color-mix(in oklab, var(--muted) 12%, transparent);
|
|
color: var(--muted);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
content: "READY";
|
|
flex-shrink: 0;
|
|
transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast);
|
|
}
|
|
|
|
body.is-running .cardTitle::after {
|
|
border-color: color-mix(in oklab, var(--success) 50%, transparent);
|
|
background: color-mix(in oklab, var(--success) 16%, transparent);
|
|
color: var(--success);
|
|
content: "● LIVE";
|
|
}
|
|
|
|
.cardTitle .sectionIcon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 0 0 28px;
|
|
width: 28px;
|
|
height: 28px;
|
|
border: 1px solid var(--primary-border);
|
|
border-radius: var(--radius-sm);
|
|
background:
|
|
linear-gradient(135deg, color-mix(in oklab, var(--primary) 18%, transparent), color-mix(in oklab, var(--secondary) 18%, transparent)),
|
|
var(--primary-soft);
|
|
color: var(--primary);
|
|
box-shadow: 0 0 12px -4px color-mix(in oklab, var(--primary) 40%, transparent);
|
|
}
|
|
|
|
.cardTitle .sectionIcon svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.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 {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
min-width: 0;
|
|
margin-bottom: var(--space-3);
|
|
padding: var(--space-4) var(--space-5);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.workspaceHeader::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: var(--space-4);
|
|
bottom: var(--space-4);
|
|
width: 3px;
|
|
content: "";
|
|
border-radius: 0 3px 3px 0;
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary));
|
|
box-shadow: 0 0 12px -2px color-mix(in oklab, var(--primary) 50%, transparent);
|
|
}
|
|
|
|
.workspaceHeader::after {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 50%, transparent), color-mix(in oklab, var(--secondary) 50%, transparent), transparent);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.workspaceEyebrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--primary-accent-text);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.workspaceEyebrow::before {
|
|
width: 6px;
|
|
height: 6px;
|
|
flex: 0 0 6px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
box-shadow: 0 0 8px color-mix(in oklab, var(--primary) 60%, transparent);
|
|
content: "";
|
|
}
|
|
|
|
.workspaceTitle {
|
|
margin: 6px 0 0;
|
|
color: var(--text-strong);
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
line-height: 1.05;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.workspaceHint {
|
|
max-width: 360px;
|
|
color: var(--muted);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
text-align: right;
|
|
}
|
|
|
|
.workspaceSearch {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
width: clamp(220px, 32vw, 360px);
|
|
}
|
|
|
|
.workspaceSearch input {
|
|
width: 100%;
|
|
min-height: 34px;
|
|
padding: 0 64px 0 30px;
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
background: var(--surface-soft);
|
|
font-size: var(--text-sm);
|
|
caret-color: var(--primary);
|
|
outline: none;
|
|
transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.workspaceSearch input::-webkit-search-cancel-button {
|
|
display: none;
|
|
}
|
|
|
|
.workspaceSearch input:hover {
|
|
border-color: var(--primary-border);
|
|
}
|
|
|
|
.workspaceSearch input:focus-visible {
|
|
border-color: var(--primary);
|
|
background: color-mix(in oklab, var(--primary-soft) 30%, var(--surface));
|
|
box-shadow:
|
|
0 0 0 1px var(--primary),
|
|
0 0 0 4px color-mix(in oklab, var(--primary) 22%, transparent),
|
|
0 0 16px -2px color-mix(in oklab, var(--primary) 45%, transparent);
|
|
}
|
|
|
|
/* Icon turns primary on focus */
|
|
.workspaceSearch:focus-within .workspaceSearchIcon {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.workspaceSearchIcon {
|
|
position: absolute;
|
|
left: 9px;
|
|
top: 50%;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-top: -7px;
|
|
color: var(--muted-soft);
|
|
pointer-events: none;
|
|
transition: color var(--motion-fast);
|
|
}
|
|
|
|
.workspaceSearchClear {
|
|
position: absolute;
|
|
right: 6px;
|
|
top: 50%;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-top: -10px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--muted-soft);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transition: color var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.workspaceSearchClear:hover {
|
|
color: var(--text);
|
|
background: color-mix(in oklab, var(--primary-soft) 60%, transparent);
|
|
}
|
|
|
|
.workspaceSearchKbd {
|
|
position: absolute;
|
|
right: 30px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
height: 18px;
|
|
padding: 0 6px;
|
|
border: 1px solid color-mix(in oklab, var(--primary) 40%, var(--border-strong));
|
|
border-radius: 4px;
|
|
background: color-mix(in oklab, var(--primary) 6%, var(--surface));
|
|
color: var(--primary-accent-text);
|
|
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
pointer-events: none;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
.workspaceSearchCount {
|
|
position: absolute;
|
|
right: 30px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
padding: 1px 7px;
|
|
border-radius: 99px;
|
|
background: var(--primary-soft);
|
|
color: var(--primary-accent-text);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 10px;
|
|
font-variant-numeric: tabular-nums;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.workspaceSearchCount[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.workspaceSearch:focus-within .workspaceSearchKbd,
|
|
.workspaceSearch input:not(:placeholder-shown) ~ .workspaceSearchKbd {
|
|
opacity: 0;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.workspaceSearchKbd {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.row.isSearchHidden,
|
|
.sectionTitle.isSearchHidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.configSearchEmpty {
|
|
margin: 12px 0;
|
|
padding: 24px;
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius-md);
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.sideNav {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
margin-top: 14px;
|
|
padding: 8px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background:
|
|
linear-gradient(180deg, color-mix(in oklab, var(--primary-soft) 50%, transparent), transparent 60%),
|
|
var(--surface-soft);
|
|
box-shadow: 0 1px 0 var(--hairline) inset;
|
|
counter-reset: tabIdx;
|
|
--tab-indicator-y: 6px;
|
|
--tab-indicator-h: 14px;
|
|
--tab-indicator-opacity: 0;
|
|
}
|
|
|
|
.sideNav::before {
|
|
position: absolute;
|
|
left: 6px;
|
|
top: var(--tab-indicator-y);
|
|
width: 3px;
|
|
height: var(--tab-indicator-h);
|
|
content: "";
|
|
border-radius: 3px;
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary));
|
|
opacity: var(--tab-indicator-opacity);
|
|
box-shadow: 0 0 10px color-mix(in oklab, var(--primary) 70%, transparent);
|
|
transition: top 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
|
|
height 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
|
|
opacity var(--motion-fast);
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.sideNav::before {
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
}
|
|
|
|
.tabBtn {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 38px;
|
|
padding: 0 12px 0 18px;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-md);
|
|
color: var(--muted);
|
|
background: transparent;
|
|
font-size: var(--text-base);
|
|
font-weight: 500;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
letter-spacing: var(--tracking-tight);
|
|
counter-increment: tabIdx;
|
|
transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast), padding var(--motion-fast);
|
|
}
|
|
|
|
/* Channel slot ID — small mono number prefix */
|
|
.tabBtn::before {
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 9px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
color: var(--muted-soft);
|
|
content: counter(tabIdx, decimal-leading-zero);
|
|
margin-right: 2px;
|
|
display: inline-block;
|
|
opacity: 0.7;
|
|
transition: color var(--motion-fast), opacity var(--motion-fast);
|
|
}
|
|
|
|
/* Right-side mini cyan dot on hover */
|
|
.tabBtn::after {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 50%;
|
|
transform: translateY(-50%) scale(0.4);
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: var(--secondary);
|
|
box-shadow: 0 0 6px var(--secondary);
|
|
content: "";
|
|
opacity: 0;
|
|
transition: opacity var(--motion-fast), transform var(--motion-fast);
|
|
}
|
|
|
|
.tabBtn:hover {
|
|
color: var(--text);
|
|
background: color-mix(in oklab, var(--surface-muted) 70%, var(--primary-soft) 30%);
|
|
}
|
|
|
|
.tabBtn:hover::before {
|
|
color: var(--primary);
|
|
opacity: 1;
|
|
}
|
|
|
|
.tabBtn:hover::after {
|
|
opacity: 0.7;
|
|
transform: translateY(-50%) scale(1);
|
|
}
|
|
|
|
.tabBtn.active {
|
|
color: var(--text-strong);
|
|
background:
|
|
linear-gradient(90deg, color-mix(in oklab, var(--primary) 14%, transparent), transparent 70%),
|
|
color-mix(in oklab, var(--surface-muted) 50%, var(--primary-soft) 50%);
|
|
box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 25%, transparent);
|
|
}
|
|
|
|
.tabBtn.active::before {
|
|
color: var(--primary);
|
|
opacity: 1;
|
|
}
|
|
|
|
.tabBtn.active::after {
|
|
opacity: 1;
|
|
transform: translateY(-50%) scale(1);
|
|
background: var(--primary);
|
|
box-shadow: 0 0 8px var(--primary);
|
|
}
|
|
|
|
.tabIcon {
|
|
display: inline-flex;
|
|
flex: 0 0 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--muted-soft);
|
|
transition: color var(--motion-fast);
|
|
}
|
|
|
|
.tabBtn.active .tabIcon,
|
|
.tabBtn:hover .tabIcon {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.tabIcon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.tabText {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.tabBtn[data-badge]:not([data-badge="0"])::after {
|
|
margin-left: auto;
|
|
padding: 1px 6px;
|
|
border-radius: 99px;
|
|
background: var(--surface-muted);
|
|
color: var(--muted);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: 10px;
|
|
font-variant-numeric: tabular-nums;
|
|
line-height: 1.4;
|
|
content: attr(data-badge);
|
|
}
|
|
|
|
.tabBtn.active[data-badge]:not([data-badge="0"])::after {
|
|
background: var(--primary);
|
|
color: var(--on-primary);
|
|
}
|
|
|
|
.panels {
|
|
min-width: 0;
|
|
max-width: var(--panel-max);
|
|
}
|
|
|
|
.panel {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
padding: 22px 22px 24px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background:
|
|
radial-gradient(at 0% 0%, color-mix(in oklab, var(--primary) 6%, transparent), transparent 45%),
|
|
radial-gradient(at 100% 100%, color-mix(in oklab, var(--secondary) 5%, transparent), transparent 45%),
|
|
var(--surface);
|
|
box-shadow: var(--shadow-soft);
|
|
transition: border-color var(--motion), box-shadow var(--motion);
|
|
}
|
|
|
|
.panel::before {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 60%, transparent), color-mix(in oklab, var(--secondary) 60%, transparent), transparent);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.panel.active {
|
|
animation: panelFadeIn 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
}
|
|
|
|
.panel.active:hover {
|
|
border-color: color-mix(in oklab, var(--primary) 30%, var(--border));
|
|
}
|
|
|
|
@keyframes panelFadeIn {
|
|
from { opacity: 0; transform: translateY(4px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.panel.active {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.panel.cardLog {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.sectionTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
margin: 22px 0 12px;
|
|
padding: 6px 0 8px;
|
|
color: var(--muted);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
line-height: 1.3;
|
|
border-bottom: 1px solid var(--border);
|
|
position: sticky;
|
|
top: 64px;
|
|
z-index: 4;
|
|
background: linear-gradient(180deg, var(--surface) 70%, color-mix(in oklab, var(--surface) 0%, transparent));
|
|
backdrop-filter: blur(6px);
|
|
transition: box-shadow var(--motion-fast);
|
|
counter-increment: sectionIdx;
|
|
}
|
|
|
|
.panels {
|
|
counter-reset: sectionIdx;
|
|
}
|
|
|
|
/* When sticky-pinned (top:64px is reached), elevate with a subtle shadow */
|
|
.sectionTitle:not(.cardTitle):not(summary) {
|
|
box-shadow: 0 0 0 0 transparent;
|
|
}
|
|
|
|
@supports (position: sticky) {
|
|
.sectionTitle.isStuck {
|
|
box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.12), 0 1px 0 var(--border);
|
|
}
|
|
}
|
|
|
|
:root[data-theme="dark"] .sectionTitle.isStuck {
|
|
box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.5), 0 1px 0 var(--border);
|
|
}
|
|
|
|
.cardTitle.sectionTitle,
|
|
summary.sectionTitle {
|
|
position: static;
|
|
background: transparent;
|
|
backdrop-filter: none;
|
|
}
|
|
|
|
/* Section number (mono leading-zero) replaces the dot */
|
|
.sectionTitle::before {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 22px;
|
|
height: 16px;
|
|
padding: 0 5px;
|
|
border: 1px solid color-mix(in oklab, var(--primary) 35%, var(--border));
|
|
border-radius: 4px;
|
|
background: color-mix(in oklab, var(--primary) 8%, transparent);
|
|
color: var(--primary);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
flex: 0 0 auto;
|
|
content: "§ " counter(sectionIdx, decimal-leading-zero);
|
|
}
|
|
|
|
/* Trailing line that extends to the right edge */
|
|
.sectionTitle::after {
|
|
flex: 1 1 auto;
|
|
height: 1px;
|
|
margin-left: 4px;
|
|
content: "";
|
|
background: linear-gradient(90deg, color-mix(in oklab, var(--primary) 20%, transparent), transparent);
|
|
}
|
|
|
|
.cardTitle.sectionTitle::before,
|
|
summary.sectionTitle::before,
|
|
.cardTitle.sectionTitle::after,
|
|
summary.sectionTitle::after {
|
|
display: none;
|
|
}
|
|
|
|
.panel > .sectionTitle:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* Headline-style section titles: when used as a card heading or nested heading,
|
|
keep the original strong color and bigger size. */
|
|
.cardTitle.sectionTitle,
|
|
summary.sectionTitle {
|
|
margin: 0;
|
|
padding: 0 0 12px;
|
|
color: var(--text-strong);
|
|
font-size: 14px;
|
|
letter-spacing: -0.005em;
|
|
text-transform: none;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.row.grid2,
|
|
.row.grid3 {
|
|
display: grid;
|
|
align-items: start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.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: 0;
|
|
min-width: 0;
|
|
border-radius: var(--radius-md);
|
|
isolation: isolate;
|
|
}
|
|
|
|
.inline2 > .input,
|
|
.inline2 > input {
|
|
border-radius: 0;
|
|
margin-left: -1px;
|
|
}
|
|
|
|
.inline2 > .input:first-child,
|
|
.inline2 > input:first-child {
|
|
border-top-left-radius: var(--radius-md);
|
|
border-bottom-left-radius: var(--radius-md);
|
|
margin-left: 0;
|
|
}
|
|
|
|
.inline2 > .input:last-child,
|
|
.inline2 > input:last-child {
|
|
border-top-right-radius: var(--radius-md);
|
|
border-bottom-right-radius: var(--radius-md);
|
|
}
|
|
|
|
.inline2 > .input:focus-visible,
|
|
.inline2 > input:focus-visible {
|
|
z-index: 1;
|
|
}
|
|
|
|
.inline2 > span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 6px;
|
|
color: var(--muted);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
.rowActions {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-2);
|
|
margin-top: var(--space-4);
|
|
padding-top: var(--space-3);
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.rowActions .btnPrimary {
|
|
order: -1;
|
|
}
|
|
|
|
.label {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
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-md);
|
|
color: var(--text);
|
|
background: var(--surface);
|
|
font-size: var(--text-base);
|
|
caret-color: var(--primary);
|
|
outline: none;
|
|
transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
input[type="number"].input,
|
|
input[type="text"].input[id*="ip"],
|
|
input[type="text"].input[id*="path"],
|
|
input[type="text"].input[id*="port"],
|
|
.statTrace,
|
|
input[id^="yanghao_"][type="number"] {
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-feature-settings: "ss01", "tnum";
|
|
}
|
|
|
|
.input:hover,
|
|
.small:hover,
|
|
.logSearchBox:hover {
|
|
border-color: var(--primary-border);
|
|
}
|
|
|
|
.input:focus-visible,
|
|
.small:focus-visible,
|
|
.logSearchBox:focus-visible {
|
|
border-color: var(--primary);
|
|
background: color-mix(in oklab, var(--primary-soft) 35%, var(--surface));
|
|
box-shadow:
|
|
0 0 0 1px var(--primary),
|
|
0 0 0 4px color-mix(in oklab, var(--primary) 20%, transparent),
|
|
0 0 14px -2px color-mix(in oklab, var(--primary) 40%, transparent);
|
|
}
|
|
|
|
.input::placeholder,
|
|
.small::placeholder,
|
|
.logSearchBox::placeholder {
|
|
color: var(--muted-soft);
|
|
}
|
|
|
|
select.input {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
|
|
linear-gradient(135deg, var(--muted) 50%, transparent 50%);
|
|
background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
|
|
background-size: 5px 5px, 5px 5px;
|
|
background-repeat: no-repeat;
|
|
padding-right: 28px;
|
|
}
|
|
|
|
/* Number inputs: hide native spinner everywhere, keep arrow keys */
|
|
input[type="number"] {
|
|
-moz-appearance: textfield;
|
|
appearance: textfield;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
input[type="number"]::-webkit-inner-spin-button,
|
|
input[type="number"]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Custom number stepper: wraps an input with .numStepperWrap, +/- buttons appear on hover/focus */
|
|
.numStepperWrap {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
|
|
.numStepperWrap > input[type="number"] {
|
|
padding-right: 32px;
|
|
}
|
|
|
|
.numStepperBtns {
|
|
position: absolute;
|
|
right: 4px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: inline-flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
opacity: 0;
|
|
transition: opacity var(--motion-fast);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.numStepperWrap:hover .numStepperBtns,
|
|
.numStepperWrap:focus-within .numStepperBtns {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.numStepperBtn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 12px;
|
|
padding: 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: 3px;
|
|
color: var(--muted);
|
|
background: var(--surface);
|
|
cursor: pointer;
|
|
transition: color var(--motion-fast), border-color var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.numStepperBtn:hover {
|
|
color: var(--text);
|
|
border-color: var(--hover-border);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.numStepperBtn:active {
|
|
background: var(--primary-soft);
|
|
color: var(--primary-accent-text);
|
|
}
|
|
|
|
.numStepperBtn svg {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
.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: 7px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
color: var(--text);
|
|
background: var(--surface-soft);
|
|
font-size: var(--text-base);
|
|
line-height: var(--leading-snug);
|
|
transition: border-color var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.check:hover {
|
|
border-color: var(--hover-border);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.check:has(input[type="checkbox"]:checked) {
|
|
border-color: var(--primary-border);
|
|
background: var(--primary-soft);
|
|
}
|
|
|
|
.check input[type="checkbox"] {
|
|
flex: 0 0 auto;
|
|
width: 15px;
|
|
height: 15px;
|
|
margin: 0;
|
|
accent-color: var(--primary);
|
|
}
|
|
|
|
/* Toggle switch variant: add class .check.isToggle, the checkbox renders as a sliding switch.
|
|
Apply by toggling .isToggle on existing .check labels. */
|
|
.check.isToggle {
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.check.isToggle input[type="checkbox"] {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
position: relative;
|
|
flex: 0 0 32px;
|
|
width: 32px;
|
|
height: 18px;
|
|
border-radius: 999px;
|
|
background: var(--border-strong);
|
|
cursor: pointer;
|
|
transition: background var(--motion-fast);
|
|
}
|
|
|
|
.check.isToggle input[type="checkbox"]::after {
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 2px;
|
|
content: "";
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: var(--surface);
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
|
|
transition: transform var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.check.isToggle input[type="checkbox"]:checked {
|
|
background: linear-gradient(90deg, var(--primary), var(--secondary));
|
|
box-shadow: 0 0 12px -2px color-mix(in oklab, var(--primary) 55%, transparent);
|
|
}
|
|
|
|
.check.isToggle input[type="checkbox"]:checked::after {
|
|
transform: translateX(14px);
|
|
background: #fff;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 8px color-mix(in oklab, var(--primary) 40%, transparent);
|
|
}
|
|
|
|
.check.isToggle input[type="checkbox"]:focus-visible {
|
|
outline: none;
|
|
box-shadow: var(--focus-ring), 0 0 12px -2px color-mix(in oklab, var(--primary) 55%, transparent);
|
|
}
|
|
|
|
.check span {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.hint {
|
|
min-width: 0;
|
|
color: var(--muted);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
/* Empty-state hint inside table / chart / reservations: dashed framed placeholder */
|
|
.table > .hint:only-child,
|
|
.chart > .hint:only-child,
|
|
.reservationsContent > .hint:only-child {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: 80px;
|
|
padding: 24px 16px;
|
|
border: 1px dashed var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: color-mix(in oklab, var(--surface-soft) 60%, transparent);
|
|
color: var(--muted-soft);
|
|
font-size: var(--text-sm);
|
|
text-align: center;
|
|
}
|
|
|
|
.table > .hint:only-child::before,
|
|
.chart > .hint:only-child::before,
|
|
.reservationsContent > .hint:only-child::before {
|
|
content: "";
|
|
width: 28px;
|
|
height: 28px;
|
|
flex: 0 0 28px;
|
|
background-color: currentColor;
|
|
-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/></svg>") no-repeat center / contain;
|
|
mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/></svg>") no-repeat center / contain;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.divider {
|
|
height: 1px;
|
|
margin: 16px 0;
|
|
background: var(--border);
|
|
}
|
|
|
|
.statsGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.statsGridHero {
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.statHero {
|
|
padding: 20px 22px;
|
|
border-color: color-mix(in oklab, var(--primary) 22%, var(--border));
|
|
background:
|
|
radial-gradient(at 100% 0%, color-mix(in oklab, var(--primary) 8%, transparent), transparent 55%),
|
|
var(--surface);
|
|
box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 12%, transparent), 0 4px 16px -8px color-mix(in oklab, var(--primary) 35%, transparent);
|
|
}
|
|
|
|
.statHero::before {
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary)) !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.statHero .statLabel {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.statHero .statValue {
|
|
font-size: var(--text-2xl);
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
.stat {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
padding: 14px 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
transition: border-color var(--motion-fast), background var(--motion-fast), box-shadow var(--motion-fast);
|
|
}
|
|
|
|
/* Top hairline */
|
|
.stat::after {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 35%, transparent), transparent);
|
|
opacity: 0;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
/* Left accent stripe (defaults muted, switches color via stateOk/Warn/Error) */
|
|
.stat::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 12px;
|
|
bottom: 12px;
|
|
width: 2px;
|
|
content: "";
|
|
border-radius: 0 2px 2px 0;
|
|
background: var(--border-strong);
|
|
opacity: 0;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
.stat:has(.stateOk)::before { background: var(--success); opacity: 1; }
|
|
.stat:has(.stateWarn)::before { background: var(--warning); opacity: 1; }
|
|
.stat:has(.stateError)::before { background: var(--danger); opacity: 1; }
|
|
|
|
.stat:hover {
|
|
border-color: var(--primary-border);
|
|
background: color-mix(in oklab, var(--primary-soft) 30%, var(--surface));
|
|
box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 14%, transparent), 0 6px 18px -8px color-mix(in oklab, var(--primary) 28%, transparent);
|
|
}
|
|
|
|
.stat:hover::after,
|
|
.stat:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.statLabel {
|
|
color: var(--muted);
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
letter-spacing: var(--tracking-wide);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.statValue {
|
|
min-width: 0;
|
|
margin-top: 8px;
|
|
color: var(--text-strong);
|
|
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-xl);
|
|
font-weight: 600;
|
|
line-height: var(--leading-tight);
|
|
letter-spacing: -0.02em;
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: "ss01", "tnum";
|
|
overflow-wrap: anywhere;
|
|
transition: color var(--motion-fast);
|
|
}
|
|
|
|
.statValue.stateOk {
|
|
color: var(--success);
|
|
}
|
|
|
|
.statValue.stateMuted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.statValue.stateError {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.statValue.stateWarn {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.statTrend {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-left: 6px;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
font-size: 9px;
|
|
line-height: 1;
|
|
font-weight: 700;
|
|
letter-spacing: 0;
|
|
opacity: 0;
|
|
}
|
|
|
|
.statTrend.isUp {
|
|
color: var(--success);
|
|
background: color-mix(in oklab, var(--success) 14%, transparent);
|
|
}
|
|
|
|
.statTrend.isDown {
|
|
color: var(--danger);
|
|
background: color-mix(in oklab, var(--danger) 14%, transparent);
|
|
}
|
|
|
|
.statTrend.isFading {
|
|
animation: statTrendFade 1100ms ease forwards;
|
|
}
|
|
|
|
@keyframes statTrendFade {
|
|
0% { opacity: 0; transform: translateY(2px) scale(0.85); }
|
|
20% { opacity: 1; transform: translateY(0) scale(1); }
|
|
80% { opacity: 1; transform: translateY(0) scale(1); }
|
|
100% { opacity: 0; transform: translateY(-2px) scale(0.95); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.statTrend.isFading { animation: none; opacity: 1; }
|
|
}
|
|
|
|
.statValue.hasCopy {
|
|
position: relative;
|
|
padding-right: 28px;
|
|
}
|
|
|
|
.copyBtn {
|
|
position: absolute;
|
|
right: 4px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
padding: 0;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius-sm);
|
|
background: transparent;
|
|
color: var(--muted-soft);
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
transition: opacity var(--motion-fast), color var(--motion-fast),
|
|
background var(--motion-fast), border-color var(--motion-fast);
|
|
}
|
|
|
|
.statValue.hasCopy:hover .copyBtn,
|
|
.statValue.hasCopy:focus-within .copyBtn,
|
|
.copyBtn:focus-visible {
|
|
opacity: 1;
|
|
}
|
|
|
|
.copyBtn:hover {
|
|
color: var(--primary);
|
|
border-color: color-mix(in oklab, var(--primary) 50%, transparent);
|
|
background: color-mix(in oklab, var(--primary-soft) 60%, transparent);
|
|
box-shadow: 0 0 10px -2px color-mix(in oklab, var(--primary) 50%, transparent);
|
|
}
|
|
|
|
.statValue.isFlash {
|
|
animation: statFlash 700ms ease-out;
|
|
}
|
|
|
|
@keyframes statFlash {
|
|
0% { color: var(--primary); }
|
|
100% { color: var(--text-strong); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.statValue.isFlash {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.statTrace {
|
|
font-size: var(--text-md);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
}
|
|
|
|
.statHint {
|
|
min-width: 0;
|
|
margin-top: 6px;
|
|
color: var(--muted);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.chartsGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 12px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.chartBlock {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
padding: 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background:
|
|
radial-gradient(at 100% 0%, color-mix(in oklab, var(--primary) 7%, transparent), transparent 55%),
|
|
var(--surface-soft);
|
|
transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
|
|
}
|
|
|
|
.chartBlock::before {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 55%, transparent), color-mix(in oklab, var(--secondary) 55%, transparent), transparent);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.chartBlock:hover {
|
|
border-color: var(--primary-border);
|
|
box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 18%, transparent), 0 8px 22px -8px color-mix(in oklab, var(--primary) 28%, transparent);
|
|
}
|
|
|
|
.chartTitle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text-strong);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
line-height: var(--leading-snug);
|
|
}
|
|
|
|
.chartTitle::before {
|
|
width: 6px;
|
|
height: 6px;
|
|
flex: 0 0 6px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
box-shadow: 0 0 6px color-mix(in oklab, var(--primary) 50%, transparent);
|
|
content: "";
|
|
}
|
|
|
|
.chart {
|
|
min-width: 0;
|
|
min-height: 76px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.chart svg {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.timelineSvg {
|
|
display: block;
|
|
}
|
|
|
|
.timelineTip {
|
|
position: absolute;
|
|
z-index: 5;
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 140px;
|
|
max-width: 200px;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--surface);
|
|
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
|
|
color: var(--text);
|
|
font-size: var(--text-xs);
|
|
font-variant-numeric: tabular-nums;
|
|
pointer-events: none;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
:root[data-theme="dark"] .timelineTip {
|
|
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
|
|
}
|
|
|
|
.timelineTipTime {
|
|
color: var(--muted);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: 10px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.timelineTipBody {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
align-items: center;
|
|
gap: 4px 10px;
|
|
}
|
|
|
|
.timelineTipBody span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.timelineTipBody b {
|
|
color: var(--text-strong);
|
|
font-weight: 600;
|
|
text-align: right;
|
|
}
|
|
|
|
.timelineDotMark {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.barRow {
|
|
display: grid;
|
|
grid-template-columns: minmax(78px, 0.9fr) minmax(80px, 2fr) 48px;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
min-height: 24px;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
.barRow + .barRow {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.barRow:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.chartBlock:hover .barRow:not(:hover) {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.barLabel {
|
|
min-width: 0;
|
|
color: var(--text);
|
|
font-size: var(--text-sm);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.barTrack {
|
|
position: relative;
|
|
height: 6px;
|
|
overflow: hidden;
|
|
border-radius: 99px;
|
|
background: var(--chart-track);
|
|
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04) inset;
|
|
}
|
|
|
|
.barFill {
|
|
position: relative;
|
|
height: 100%;
|
|
border-radius: 99px;
|
|
background: linear-gradient(90deg, var(--secondary), var(--primary));
|
|
box-shadow: 0 0 8px -1px color-mix(in oklab, var(--primary) 50%, transparent);
|
|
transition: width var(--motion-slow);
|
|
}
|
|
|
|
.barFill::after {
|
|
position: absolute;
|
|
inset: 0;
|
|
content: "";
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
|
|
background-size: 50% 100%;
|
|
background-repeat: no-repeat;
|
|
background-position: -50% 0;
|
|
animation: barShimmer 2.4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes barShimmer {
|
|
0% { background-position: -50% 0; }
|
|
60%, 100% { background-position: 150% 0; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.barFill::after { animation: none; opacity: 0; }
|
|
}
|
|
|
|
.barValue {
|
|
color: var(--muted);
|
|
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-sm);
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: "ss01", "tnum";
|
|
text-align: right;
|
|
}
|
|
|
|
.table {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
margin-top: 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.tableRow {
|
|
position: relative;
|
|
display: grid;
|
|
grid-template-columns: minmax(92px, 0.65fr) minmax(0, 1.7fr) minmax(54px, 0.45fr);
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding: 11px 14px 11px 18px;
|
|
border-top: 1px solid var(--border);
|
|
color: var(--text);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
transition: background var(--motion-fast), padding var(--motion-fast);
|
|
}
|
|
|
|
/* Left-side hover accent stripe */
|
|
.tableRow:not(.tableHead)::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 8px;
|
|
bottom: 8px;
|
|
width: 2px;
|
|
content: "";
|
|
border-radius: 0 2px 2px 0;
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary));
|
|
opacity: 0;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
.tableRow:not(.tableHead):hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.tableRow:not(.tableHead) > div:not(:last-child) {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tableRow:not(.tableHead) > div:not(:last-child):hover {
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.tableRow:not(.tableHead):hover {
|
|
background: color-mix(in oklab, var(--primary-soft) 35%, var(--surface-soft));
|
|
}
|
|
|
|
.tableRow:nth-child(odd):not(.tableHead) {
|
|
background: color-mix(in oklab, var(--surface-soft) 50%, transparent);
|
|
}
|
|
|
|
.tableRow:nth-child(odd):not(.tableHead):hover {
|
|
background: color-mix(in oklab, var(--primary-soft) 35%, var(--surface-soft));
|
|
}
|
|
|
|
.tableRow:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.tableRow > div {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.tableRow .mono {
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: "ss01";
|
|
color: var(--muted);
|
|
}
|
|
|
|
.tableHead {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
color: var(--primary);
|
|
background:
|
|
linear-gradient(90deg, color-mix(in oklab, var(--primary) 8%, transparent), transparent 60%),
|
|
var(--surface-muted);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
border-bottom: 1px solid color-mix(in oklab, var(--primary) 25%, var(--border));
|
|
}
|
|
|
|
.mono {
|
|
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-feature-settings: "ss01", "tnum";
|
|
}
|
|
|
|
.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-lg);
|
|
background: var(--preview-bg);
|
|
transition: border-color var(--motion), box-shadow var(--motion);
|
|
isolation: isolate;
|
|
}
|
|
|
|
.preview:hover {
|
|
border-color: var(--primary-border);
|
|
box-shadow: 0 0 0 1px color-mix(in oklab, var(--primary) 20%, transparent), 0 14px 36px -12px color-mix(in oklab, var(--primary) 25%, transparent);
|
|
}
|
|
|
|
/* Viewfinder corner brackets */
|
|
.previewBracket {
|
|
position: absolute;
|
|
width: 18px;
|
|
height: 18px;
|
|
z-index: 3;
|
|
pointer-events: none;
|
|
border: 2px solid var(--primary);
|
|
filter: drop-shadow(0 0 6px color-mix(in oklab, var(--primary) 50%, transparent));
|
|
transition: width var(--motion), height var(--motion), border-color var(--motion-fast), filter var(--motion-fast);
|
|
}
|
|
|
|
.preview:hover .previewBracket {
|
|
width: 22px;
|
|
height: 22px;
|
|
filter: drop-shadow(0 0 10px color-mix(in oklab, var(--primary) 75%, transparent));
|
|
}
|
|
|
|
.previewBracketTL { top: 8px; left: 8px; border-right: 0; border-bottom: 0; border-top-left-radius: 4px; }
|
|
.previewBracketTR { top: 8px; right: 8px; border-left: 0; border-bottom: 0; border-top-right-radius: 4px; }
|
|
.previewBracketBL { bottom: 8px; left: 8px; border-right: 0; border-top: 0; border-bottom-left-radius: 4px; }
|
|
.previewBracketBR { bottom: 8px; right: 8px; border-left: 0; border-top: 0; border-bottom-right-radius: 4px; }
|
|
|
|
/* REC tag (visible only when body.is-running) */
|
|
.previewRec {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 36px;
|
|
z-index: 3;
|
|
display: none;
|
|
align-items: center;
|
|
gap: 6px;
|
|
height: 22px;
|
|
padding: 0 8px 0 7px;
|
|
border-radius: 99px;
|
|
background: color-mix(in oklab, var(--danger) 22%, rgba(0, 0, 0, 0.65));
|
|
color: #fff;
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
body.is-running .previewRec {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.previewRecDot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--danger);
|
|
box-shadow: 0 0 8px var(--danger);
|
|
animation: recBlink 1s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes recBlink {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.35; }
|
|
}
|
|
|
|
.preview.isShotEmpty {
|
|
border-style: dashed;
|
|
background:
|
|
radial-gradient(circle at 30% 20%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 55%),
|
|
radial-gradient(circle at 70% 80%, color-mix(in oklab, var(--secondary) 14%, transparent), transparent 55%),
|
|
repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in oklab, var(--border) 50%, transparent) 12px 13px),
|
|
var(--surface-soft);
|
|
}
|
|
|
|
.preview.isShotEmpty::before {
|
|
position: absolute;
|
|
inset: 0;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--primary) 22%, transparent), transparent);
|
|
background-size: 100% 200%;
|
|
animation: previewScan 2.4s ease-in-out infinite;
|
|
mix-blend-mode: plus-lighter;
|
|
}
|
|
|
|
@keyframes previewScan {
|
|
0% {
|
|
background-position: 0 -100%;
|
|
opacity: 0;
|
|
}
|
|
40% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
background-position: 0 100%;
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.preview img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
opacity: 0;
|
|
color: transparent;
|
|
font-size: 0;
|
|
transition: opacity var(--motion-slow);
|
|
}
|
|
|
|
.previewTs {
|
|
position: absolute;
|
|
left: 8px;
|
|
bottom: 8px;
|
|
z-index: 2;
|
|
padding: 3px 7px;
|
|
border-radius: 99px;
|
|
background: color-mix(in oklab, var(--surface) 70%, transparent);
|
|
border: 1px solid var(--border);
|
|
color: var(--muted);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 10px;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: 0.02em;
|
|
pointer-events: none;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.previewFullscreen {
|
|
position: absolute;
|
|
right: 8px;
|
|
top: 8px;
|
|
z-index: 2;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
padding: 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: color-mix(in oklab, var(--surface) 70%, transparent);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
opacity: 0;
|
|
backdrop-filter: blur(8px);
|
|
transition: opacity var(--motion-fast), color var(--motion-fast),
|
|
background var(--motion-fast), border-color var(--motion-fast);
|
|
}
|
|
|
|
.preview:hover .previewFullscreen,
|
|
.previewFullscreen:focus-visible {
|
|
opacity: 1;
|
|
}
|
|
|
|
.previewFullscreen:hover {
|
|
color: var(--text);
|
|
border-color: var(--hover-border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.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 14px;
|
|
min-width: 0;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface-soft);
|
|
color: var(--text);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.reservationsInfo > div {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.reservationsList {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 10px;
|
|
min-width: 0;
|
|
max-height: var(--queue-height-desktop);
|
|
overflow: auto;
|
|
padding-right: 2px;
|
|
}
|
|
|
|
.reservationItem {
|
|
position: relative;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background:
|
|
radial-gradient(at 100% 0%, color-mix(in oklab, var(--primary) 8%, transparent), transparent 50%),
|
|
var(--surface);
|
|
transition: border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast);
|
|
}
|
|
|
|
.reservationItem::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 10px;
|
|
bottom: 10px;
|
|
width: 3px;
|
|
content: "";
|
|
border-radius: 0 3px 3px 0;
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary));
|
|
opacity: 0;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
.reservationItem:hover {
|
|
border-color: var(--primary-border);
|
|
transform: translateY(-1px);
|
|
box-shadow: var(--shadow-soft), 0 0 0 1px color-mix(in oklab, var(--primary) 22%, transparent), 0 12px 28px -10px color-mix(in oklab, var(--primary) 28%, transparent);
|
|
}
|
|
|
|
.reservationItem:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.reservationItem.isImminent::before,
|
|
.reservationItem.isDue::before {
|
|
display: none;
|
|
}
|
|
|
|
.reservationItem.isImminent {
|
|
border-color: var(--warning);
|
|
background:
|
|
radial-gradient(at 100% 0%, color-mix(in oklab, var(--warning) 18%, transparent), transparent 50%),
|
|
color-mix(in oklab, var(--warning-soft) 60%, var(--surface));
|
|
animation: imminentPulse 1.6s ease-in-out infinite;
|
|
}
|
|
|
|
.reservationItem.isImminent .reservationValue {
|
|
border-color: var(--warning);
|
|
background: var(--warning);
|
|
color: var(--on-primary);
|
|
}
|
|
|
|
.reservationItem.isDue {
|
|
border-color: var(--danger);
|
|
background:
|
|
radial-gradient(at 100% 0%, color-mix(in oklab, var(--danger) 22%, transparent), transparent 50%),
|
|
color-mix(in oklab, var(--danger-soft) 50%, var(--surface));
|
|
}
|
|
|
|
.reservationItem.isDue .reservationValue {
|
|
border-color: var(--danger);
|
|
background: var(--danger);
|
|
color: var(--on-primary);
|
|
}
|
|
|
|
@keyframes imminentPulse {
|
|
0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--warning) 45%, transparent); }
|
|
50% { box-shadow: 0 0 0 8px transparent; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.reservationItem.isImminent {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.reservationHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: linear-gradient(180deg, var(--surface-soft), transparent);
|
|
}
|
|
|
|
.reservationHeader.isClickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.reservationIndex {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text-strong);
|
|
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-sm);
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.reservationIndex::before {
|
|
display: inline-block;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle at 30% 30%, #fbcfe8, var(--primary));
|
|
box-shadow: 0 0 8px var(--primary);
|
|
content: "";
|
|
}
|
|
|
|
.reservationValue {
|
|
max-width: 68%;
|
|
padding: 3px 10px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--warning-border);
|
|
border-radius: 99px;
|
|
color: var(--warning);
|
|
background: var(--warning-soft);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.reservationBody {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
padding: 10px 12px;
|
|
color: var(--text);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.reservationBody > div {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.reservationBody.isCollapsed,
|
|
.reservationsList.isListCollapsed {
|
|
display: none;
|
|
}
|
|
|
|
details {
|
|
min-width: 0;
|
|
}
|
|
|
|
summary {
|
|
cursor: pointer;
|
|
list-style: none;
|
|
}
|
|
|
|
summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
summary.sectionTitle {
|
|
justify-content: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
summary.sectionTitle::before {
|
|
width: 14px;
|
|
height: 14px;
|
|
flex: 0 0 14px;
|
|
display: inline-block;
|
|
content: "";
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") no-repeat center / contain;
|
|
mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>") no-repeat center / contain;
|
|
filter: drop-shadow(0 0 4px color-mix(in oklab, var(--primary) 50%, transparent));
|
|
opacity: 0.85;
|
|
transition: transform var(--motion), opacity var(--motion-fast), filter var(--motion-fast);
|
|
}
|
|
|
|
details[open] > summary.sectionTitle::before {
|
|
transform: rotate(90deg);
|
|
opacity: 1;
|
|
filter: drop-shadow(0 0 6px color-mix(in oklab, var(--primary) 70%, transparent));
|
|
}
|
|
|
|
.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-md);
|
|
background: var(--surface);
|
|
transition: border-color var(--motion-fast);
|
|
}
|
|
|
|
.logSection:hover {
|
|
border-color: var(--hover-border);
|
|
}
|
|
|
|
.logHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: linear-gradient(180deg, var(--surface-soft), var(--surface));
|
|
}
|
|
|
|
.logTitle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text-strong);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
|
|
.logTitle::before {
|
|
width: 4px;
|
|
height: 4px;
|
|
flex: 0 0 4px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
content: "";
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.logHeaderActions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.logHeaderActions .small {
|
|
width: auto;
|
|
min-height: 28px;
|
|
padding: 0 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.logHeaderActions select.small {
|
|
background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
|
|
padding-right: 24px;
|
|
}
|
|
|
|
.logSearchBox {
|
|
width: 230px;
|
|
min-height: 30px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.log {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: clamp(250px, 32vh, 390px);
|
|
max-height: clamp(250px, 32vh, 390px);
|
|
margin: 0;
|
|
padding: 14px 16px 14px 18px;
|
|
overflow: auto;
|
|
border-top: 1px solid var(--log-border);
|
|
color: var(--log-text);
|
|
background:
|
|
linear-gradient(180deg, transparent, transparent 50%, color-mix(in oklab, var(--secondary) 4%, transparent) 50%) 0 0 / 100% 4px,
|
|
var(--log-bg);
|
|
font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-sm);
|
|
font-feature-settings: "ss01";
|
|
line-height: 1.6;
|
|
overflow-wrap: anywhere;
|
|
white-space: pre-wrap;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border-strong) transparent;
|
|
}
|
|
|
|
/* CRT-style soft scanline overlay */
|
|
.log::before {
|
|
position: sticky;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 0;
|
|
z-index: 0;
|
|
content: "";
|
|
display: block;
|
|
}
|
|
|
|
/* Subtle prompt indicator on the first line — purely decorative */
|
|
.log::after {
|
|
position: absolute;
|
|
left: 6px;
|
|
top: 14px;
|
|
width: 6px;
|
|
height: 13px;
|
|
content: "";
|
|
background: var(--primary);
|
|
box-shadow: 0 0 6px var(--primary);
|
|
opacity: 0.7;
|
|
animation: cursorBlink 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes cursorBlink {
|
|
0%, 49% { opacity: 0.85; }
|
|
50%, 100% { opacity: 0.18; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.log::after { animation: none; }
|
|
}
|
|
|
|
.log::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
.log::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.log::-webkit-scrollbar-thumb {
|
|
background: var(--border-strong);
|
|
border: 2px solid var(--log-bg);
|
|
border-radius: 99px;
|
|
}
|
|
|
|
.log::-webkit-scrollbar-thumb:hover {
|
|
background: var(--hover-border);
|
|
}
|
|
|
|
.panel.cardLog .log {
|
|
min-height: clamp(430px, 58vh, 720px);
|
|
max-height: clamp(430px, 58vh, 720px);
|
|
}
|
|
|
|
.log::selection {
|
|
color: var(--text-strong);
|
|
background: color-mix(in oklab, var(--primary) 25%, transparent);
|
|
}
|
|
|
|
/* Log line classification colors */
|
|
.logLine {
|
|
display: inline;
|
|
}
|
|
|
|
.logError {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.logWarn {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.logSuccess {
|
|
color: var(--success);
|
|
}
|
|
|
|
.logInfo {
|
|
color: var(--text);
|
|
}
|
|
|
|
.logDebug {
|
|
color: var(--muted-soft);
|
|
}
|
|
|
|
/* ==================== Skeleton placeholders ==================== */
|
|
@keyframes skeletonShimmer {
|
|
0% { background-position: -200% 0; }
|
|
100% { background-position: 200% 0; }
|
|
}
|
|
|
|
.skeleton {
|
|
position: relative;
|
|
overflow: hidden;
|
|
background:
|
|
linear-gradient(90deg,
|
|
transparent 0,
|
|
color-mix(in oklab, var(--primary) 22%, transparent) 35%,
|
|
color-mix(in oklab, var(--secondary) 22%, transparent) 65%,
|
|
transparent 100%) var(--surface-muted);
|
|
background-size: 200% 100%;
|
|
background-repeat: no-repeat;
|
|
animation: skeletonShimmer 1.8s linear infinite;
|
|
border-radius: var(--radius-sm);
|
|
color: transparent !important;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.skeleton * {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.skeletonText {
|
|
display: inline-block;
|
|
width: var(--skeleton-w, 60%);
|
|
height: 0.85em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.skeleton {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* Connected button group: shared border, no doubled middle border */
|
|
.btnGroup {
|
|
display: inline-flex;
|
|
align-items: stretch;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.btnGroup > .btn {
|
|
border-radius: 0;
|
|
margin-left: -1px;
|
|
}
|
|
|
|
.btnGroup > .btn:first-child {
|
|
border-top-left-radius: var(--radius-md);
|
|
border-bottom-left-radius: var(--radius-md);
|
|
margin-left: 0;
|
|
}
|
|
|
|
.btnGroup > .btn:last-child {
|
|
border-top-right-radius: var(--radius-md);
|
|
border-bottom-right-radius: var(--radius-md);
|
|
}
|
|
|
|
.btnGroup > .btn:hover,
|
|
.btnGroup > .btn:focus-visible {
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Scroll-to-top floating button */
|
|
.scrollTopBtn {
|
|
position: fixed;
|
|
right: 20px;
|
|
bottom: 70px;
|
|
z-index: 70;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 38px;
|
|
height: 38px;
|
|
padding: 0;
|
|
border: 1px solid color-mix(in oklab, var(--primary) 30%, var(--border));
|
|
border-radius: 50%;
|
|
background:
|
|
radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--primary) 16%, transparent), transparent 60%),
|
|
color-mix(in oklab, var(--surface) 75%, transparent);
|
|
color: var(--muted);
|
|
cursor: pointer;
|
|
box-shadow:
|
|
0 4px 16px -2px color-mix(in oklab, var(--primary) 30%, transparent),
|
|
0 2px 6px rgba(0, 0, 0, 0.1);
|
|
backdrop-filter: blur(10px);
|
|
transition: opacity 180ms ease, transform 180ms ease, color var(--motion-fast),
|
|
border-color var(--motion-fast), background var(--motion-fast),
|
|
box-shadow var(--motion-fast);
|
|
}
|
|
|
|
.scrollTopBtn[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.scrollTopBtn:hover {
|
|
color: var(--primary);
|
|
border-color: var(--primary);
|
|
background:
|
|
radial-gradient(circle at 30% 25%, color-mix(in oklab, var(--primary) 26%, transparent), transparent 60%),
|
|
var(--surface);
|
|
transform: translateY(-2px);
|
|
box-shadow:
|
|
0 6px 24px -2px color-mix(in oklab, var(--primary) 50%, transparent),
|
|
0 2px 8px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.scrollTopBtn {
|
|
right: 12px;
|
|
bottom: 80px;
|
|
}
|
|
}
|
|
|
|
/* Device select wrapper with status dot */
|
|
.deviceSelectWrap {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
|
|
.deviceSelectWrap select {
|
|
padding-right: 40px;
|
|
}
|
|
|
|
.deviceSelectDot {
|
|
position: absolute;
|
|
right: 28px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--muted-soft);
|
|
box-shadow: 0 0 0 2px color-mix(in oklab, var(--muted-soft) 16%, transparent);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.deviceSelectDot[data-state="ok"] {
|
|
background: var(--success);
|
|
box-shadow: 0 0 0 2px color-mix(in oklab, var(--success) 16%, transparent);
|
|
}
|
|
|
|
/* ==================== Tooltip (data-tooltip) ==================== */
|
|
[data-tooltip] {
|
|
position: relative;
|
|
}
|
|
|
|
[data-tooltip]::before,
|
|
[data-tooltip]::after {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: calc(100% + 8px);
|
|
transform: translateX(-50%) translateY(2px);
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity 120ms ease, transform 120ms ease;
|
|
z-index: 50;
|
|
}
|
|
|
|
[data-tooltip]::before {
|
|
content: attr(data-tooltip);
|
|
padding: 6px 10px;
|
|
border: 1px solid color-mix(in oklab, var(--primary) 35%, var(--border));
|
|
border-radius: var(--radius-sm);
|
|
background: color-mix(in oklab, var(--surface) 90%, transparent);
|
|
color: var(--text-strong);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: none;
|
|
white-space: nowrap;
|
|
box-shadow:
|
|
0 0 0 1px color-mix(in oklab, var(--primary) 20%, transparent),
|
|
0 4px 14px -2px color-mix(in oklab, var(--primary) 40%, transparent);
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
:root[data-theme="dark"] [data-tooltip]::before {
|
|
box-shadow:
|
|
0 0 0 1px color-mix(in oklab, var(--primary) 28%, transparent),
|
|
0 4px 14px -2px color-mix(in oklab, var(--primary) 50%, transparent);
|
|
}
|
|
|
|
[data-tooltip]::after {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
bottom: calc(100% + 4px);
|
|
border: 1px solid color-mix(in oklab, var(--primary) 35%, var(--border));
|
|
border-top: 0;
|
|
border-left: 0;
|
|
background: color-mix(in oklab, var(--surface) 90%, transparent);
|
|
transform: translateX(-50%) rotate(45deg);
|
|
}
|
|
|
|
[data-tooltip]:hover::before,
|
|
[data-tooltip]:hover::after,
|
|
[data-tooltip]:focus-visible::before,
|
|
[data-tooltip]:focus-visible::after {
|
|
opacity: 1;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
[data-tooltip]:hover::after,
|
|
[data-tooltip]:focus-visible::after {
|
|
transform: translateX(-50%) rotate(45deg);
|
|
}
|
|
|
|
/* Position bottom (below the trigger) */
|
|
[data-tooltip][data-tooltip-pos="bottom"]::before,
|
|
[data-tooltip][data-tooltip-pos="bottom"]::after {
|
|
bottom: auto;
|
|
top: calc(100% + 8px);
|
|
}
|
|
|
|
[data-tooltip][data-tooltip-pos="bottom"]::after {
|
|
top: calc(100% + 4px);
|
|
border: 1px solid var(--border);
|
|
border-bottom: 0;
|
|
border-right: 0;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
[data-tooltip]::before,
|
|
[data-tooltip]::after { display: none; }
|
|
}
|
|
|
|
/* Global thin scrollbars */
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border-strong) transparent;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 55%, var(--border-strong)), color-mix(in oklab, var(--secondary) 55%, var(--border-strong)));
|
|
border: 2px solid transparent;
|
|
background-clip: padding-box;
|
|
border-radius: 99px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background: linear-gradient(180deg, var(--primary), var(--secondary));
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
/* ==================== Shortcuts help overlay ==================== */
|
|
.shortcutsOverlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 90;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background: color-mix(in oklab, var(--bg) 70%, transparent);
|
|
backdrop-filter: blur(6px);
|
|
opacity: 0;
|
|
transition: opacity 160ms ease;
|
|
}
|
|
|
|
.shortcutsOverlay.isVisible {
|
|
opacity: 1;
|
|
}
|
|
|
|
.shortcutsCard {
|
|
position: relative;
|
|
width: min(420px, 100%);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--surface);
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
transform: translateY(8px) scale(0.98);
|
|
transition: transform 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
}
|
|
|
|
.shortcutsCard::before {
|
|
position: absolute;
|
|
inset: 0 0 auto 0;
|
|
height: 1px;
|
|
content: "";
|
|
pointer-events: none;
|
|
background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--primary) 70%, transparent), color-mix(in oklab, var(--secondary) 70%, transparent), transparent);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
:root[data-theme="dark"] .shortcutsCard {
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.shortcutsOverlay.isVisible .shortcutsCard {
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
|
|
.shortcutsHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 14px 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface-soft);
|
|
}
|
|
|
|
.shortcutsTitle {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-strong);
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
|
|
.shortcutsClose {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transition: color var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.shortcutsClose:hover {
|
|
color: var(--primary);
|
|
background: color-mix(in oklab, var(--primary-soft) 60%, transparent);
|
|
box-shadow: 0 0 10px -2px color-mix(in oklab, var(--primary) 45%, transparent);
|
|
}
|
|
|
|
.shortcutsList {
|
|
display: grid;
|
|
gap: 2px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.shortcutsRow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 8px 10px;
|
|
border-radius: var(--radius-sm);
|
|
font-size: var(--text-sm);
|
|
color: var(--text);
|
|
}
|
|
|
|
.shortcutsRow:hover {
|
|
background: var(--surface-soft);
|
|
}
|
|
|
|
.shortcutsDesc {
|
|
color: var(--text);
|
|
}
|
|
|
|
.shortcutsKeys {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.shortcutsKeys kbd {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 22px;
|
|
height: 22px;
|
|
padding: 0 6px;
|
|
border: 1px solid var(--border-strong);
|
|
border-bottom-width: 2px;
|
|
border-radius: 5px;
|
|
background: var(--surface);
|
|
color: var(--text-strong);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: 11px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.shortcutsPlus {
|
|
color: var(--muted-soft);
|
|
font-size: 10px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.shortcutsOverlay,
|
|
.shortcutsCard {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
/* ==================== App footer ==================== */
|
|
.appFooter {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
padding: 12px 16px;
|
|
border-top: 1px solid color-mix(in oklab, var(--primary) 22%, var(--border));
|
|
color: var(--muted);
|
|
font-family: "JetBrains Mono", ui-monospace, monospace;
|
|
font-size: 10px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--primary) 4%, transparent));
|
|
}
|
|
|
|
.appFooterLeft,
|
|
.appFooterRight {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.appConnDot {
|
|
position: relative;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: var(--muted-soft);
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--muted-soft) 16%, transparent);
|
|
}
|
|
|
|
.appConnDot[data-state="ok"] {
|
|
background: radial-gradient(circle at 30% 30%, #5eead4, var(--success));
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--success) 18%, transparent), 0 0 8px color-mix(in oklab, var(--success) 50%, transparent);
|
|
}
|
|
|
|
.appConnDot[data-state="ok"]::after {
|
|
position: absolute;
|
|
inset: -4px;
|
|
content: "";
|
|
border-radius: 50%;
|
|
border: 1px solid var(--success);
|
|
opacity: 0.5;
|
|
animation: footerRipple 2.4s ease-out infinite;
|
|
}
|
|
|
|
.appConnDot[data-state="error"] {
|
|
background: var(--danger);
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--danger) 18%, transparent), 0 0 8px color-mix(in oklab, var(--danger) 60%, transparent);
|
|
animation: statusPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes footerRipple {
|
|
0% { transform: scale(0.8); opacity: 0.6; }
|
|
100% { transform: scale(2.0); opacity: 0; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.appConnDot[data-state="ok"]::after { animation: none; }
|
|
}
|
|
|
|
.appConnText,
|
|
.appFooterMeta {
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: "ss01", "tnum";
|
|
}
|
|
|
|
.appFooterMeta em {
|
|
font-style: normal;
|
|
color: var(--text-strong);
|
|
letter-spacing: 0;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.hudPing em { color: var(--secondary); }
|
|
.hudFps em { color: var(--primary); }
|
|
|
|
.appFooterDivider {
|
|
color: var(--muted-soft);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.appFooter {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
.appFooter .hudPing,
|
|
.appFooter .hudFps {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* ==================== Toast ==================== */
|
|
.toastContainer {
|
|
position: fixed;
|
|
right: 20px;
|
|
bottom: 20px;
|
|
z-index: 100;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-width: min(420px, calc(100vw - 40px));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
display: grid;
|
|
grid-template-columns: 22px 1fr auto;
|
|
align-items: start;
|
|
gap: 10px;
|
|
padding: 12px 12px 12px 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
pointer-events: auto;
|
|
animation: toastIn 200ms cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
:root[data-theme="dark"] .toast {
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.toast::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 3px;
|
|
content: "";
|
|
background: linear-gradient(180deg, var(--muted-soft), color-mix(in oklab, var(--muted-soft) 40%, transparent));
|
|
}
|
|
|
|
.toast-success {
|
|
border-color: color-mix(in oklab, var(--success) 30%, var(--border));
|
|
}
|
|
.toast-success::before { background: linear-gradient(180deg, var(--success), color-mix(in oklab, var(--success) 30%, transparent)); }
|
|
.toast-success .toastIcon {
|
|
color: var(--success);
|
|
background: color-mix(in oklab, var(--success) 12%, transparent);
|
|
box-shadow: 0 0 10px -2px color-mix(in oklab, var(--success) 60%, transparent);
|
|
}
|
|
|
|
.toast-error {
|
|
border-color: color-mix(in oklab, var(--danger) 30%, var(--border));
|
|
}
|
|
.toast-error::before { background: linear-gradient(180deg, var(--danger), color-mix(in oklab, var(--danger) 30%, transparent)); }
|
|
.toast-error .toastIcon {
|
|
color: var(--danger);
|
|
background: color-mix(in oklab, var(--danger) 12%, transparent);
|
|
box-shadow: 0 0 10px -2px color-mix(in oklab, var(--danger) 60%, transparent);
|
|
}
|
|
|
|
.toast-warn {
|
|
border-color: color-mix(in oklab, var(--warning) 30%, var(--border));
|
|
}
|
|
.toast-warn::before { background: linear-gradient(180deg, var(--warning), color-mix(in oklab, var(--warning) 30%, transparent)); }
|
|
.toast-warn .toastIcon {
|
|
color: var(--warning);
|
|
background: color-mix(in oklab, var(--warning) 12%, transparent);
|
|
box-shadow: 0 0 10px -2px color-mix(in oklab, var(--warning) 60%, transparent);
|
|
}
|
|
|
|
.toast-info::before { background: linear-gradient(180deg, var(--primary), var(--secondary)); }
|
|
.toast-info .toastIcon {
|
|
color: var(--primary);
|
|
background: color-mix(in oklab, var(--primary) 14%, transparent);
|
|
box-shadow: 0 0 10px -2px color-mix(in oklab, var(--primary) 60%, transparent);
|
|
}
|
|
|
|
.toastIcon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
margin-top: 0;
|
|
border-radius: 50%;
|
|
flex: 0 0 22px;
|
|
}
|
|
|
|
.toastIcon svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.toastBody {
|
|
min-width: 0;
|
|
color: var(--text);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.toastClose {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 22px;
|
|
height: 22px;
|
|
margin: -2px -2px 0 4px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: var(--radius-sm);
|
|
color: var(--muted-soft);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
transition: background var(--motion-fast), color var(--motion-fast);
|
|
}
|
|
|
|
.toastClose:hover {
|
|
color: var(--primary);
|
|
background: color-mix(in oklab, var(--primary-soft) 60%, transparent);
|
|
box-shadow: 0 0 10px -2px color-mix(in oklab, var(--primary) 45%, transparent);
|
|
}
|
|
|
|
.toast.isLeaving {
|
|
animation: toastOut 220ms ease forwards;
|
|
}
|
|
|
|
@keyframes toastIn {
|
|
from { opacity: 0; transform: translateY(8px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
@keyframes toastOut {
|
|
to { opacity: 0; transform: translateY(-4px); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.toast,
|
|
.toast.isLeaving {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.toastContainer {
|
|
right: 12px;
|
|
bottom: 12px;
|
|
left: 12px;
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|
|
.secondaryActions::before {
|
|
display: none;
|
|
}
|
|
|
|
#btnTheme {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.workspaceHeader {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.workspaceSearch {
|
|
width: 100%;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.subtitle {
|
|
display: none;
|
|
}
|
|
|
|
.appConnText {
|
|
display: none;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.inline2 > .input,
|
|
.inline2 > input {
|
|
border-radius: var(--radius-md);
|
|
margin-left: 0;
|
|
}
|
|
|
|
.workspaceHeader {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.workspaceSearch {
|
|
width: 100%;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|