- header 滚动时加 isScrolled 类:阴影提一档显得"浮起",区分内容区 - 键盘快捷键:⌘S/Ctrl+S 保存配置,⌘Enter/Ctrl+Enter 启动运行;尊重按钮 disabled 状态 - 通用 tooltip 系统:[data-tooltip] + 可选 data-tooltip-pos="bottom",带小箭头与毛玻璃;移动端禁用避免触摸浮悬 - btnTheme / btnShotFullscreen / 复制按钮 全部接入 tooltip - cache-bust v12 → v13
2753 lines
54 KiB
CSS
2753 lines
54 KiB
CSS
/* ======== Light theme tokens (default) ======== */
|
|
:root {
|
|
--bg: #ffffff;
|
|
--bg-soft: #fafafa;
|
|
--surface: #ffffff;
|
|
--surface-solid: #ffffff;
|
|
--surface-soft: #fafafa;
|
|
--surface-muted: #f4f4f5;
|
|
--border: #e5e5e5;
|
|
--border-strong: #d4d4d4;
|
|
--hairline: rgba(0, 0, 0, 0.04);
|
|
--text: #171717;
|
|
--text-strong: #0a0a0a;
|
|
--muted: #737373;
|
|
--muted-soft: #a3a3a3;
|
|
--primary: #5e6ad2;
|
|
--primary-hover: #4f5ac4;
|
|
--primary-soft: #eef0fb;
|
|
--primary-border: #c5cbef;
|
|
--primary-accent-text: #4f5ac4;
|
|
--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, 255, 0.85);
|
|
--hover-border: #a3a3a3;
|
|
--danger-soft-hover: #fee2e2;
|
|
--danger-soft-hover-border: #fca5a5;
|
|
--overview-primary-bg: #fafafa;
|
|
--chart-track: #e5e5e5;
|
|
--preview-bg: #fafafa;
|
|
--shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
|
|
--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
--focus-ring: 0 0 0 3px rgba(94, 106, 210, 0.18);
|
|
--status-muted-ring: 0 0 0 3px rgba(163, 163, 163, 0.16);
|
|
--status-success-ring: 0 0 0 3px rgba(22, 163, 74, 0.18);
|
|
--status-danger-ring: 0 0 0 3px rgba(220, 38, 38, 0.18);
|
|
|
|
/* 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: 6px;
|
|
--radius-lg: 10px;
|
|
--radius-xl: 14px;
|
|
--text-xs: 11px;
|
|
--text-sm: 12px;
|
|
--text-base: 13px;
|
|
--text-md: 14px;
|
|
--text-lg: 16px;
|
|
--text-xl: 20px;
|
|
--text-2xl: 26px;
|
|
--leading-tight: 1.2;
|
|
--leading-snug: 1.35;
|
|
--leading-normal: 1.5;
|
|
--tracking-tight: -0.01em;
|
|
--tracking-normal: 0;
|
|
--tracking-wide: 0.06em;
|
|
|
|
--radius: 6px;
|
|
--radius-lg: 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: #fafafa;
|
|
--log-border: #e5e5e5;
|
|
--log-text: #171717;
|
|
--motion-fast: 100ms ease;
|
|
--motion: 160ms ease;
|
|
--motion-slow: 240ms ease;
|
|
color-scheme: light;
|
|
}
|
|
|
|
/* ======== Dark theme tokens ======== */
|
|
:root[data-theme="dark"] {
|
|
--bg: #0a0a0a;
|
|
--bg-soft: #0f0f0f;
|
|
--surface: #0f0f0f;
|
|
--surface-solid: #0f0f0f;
|
|
--surface-soft: #141414;
|
|
--surface-muted: #1c1c1c;
|
|
--border: #2a2a2a;
|
|
--border-strong: #3a3a3a;
|
|
--hairline: rgba(255, 255, 255, 0.06);
|
|
--text: #ededed;
|
|
--text-strong: #fafafa;
|
|
--muted: #a1a1aa;
|
|
--muted-soft: #71717a;
|
|
--primary: #8b95ff;
|
|
--primary-hover: #a3acff;
|
|
--primary-soft: #1c2040;
|
|
--primary-border: #353c66;
|
|
--primary-accent-text: #aab5ff;
|
|
--success: #22c55e;
|
|
--success-soft: #0f1f15;
|
|
--warning: #eab308;
|
|
--warning-soft: #221c0a;
|
|
--warning-border: #4d4220;
|
|
--danger: #ef4444;
|
|
--danger-hover: #f87171;
|
|
--danger-soft: #221414;
|
|
--danger-border: #4a2424;
|
|
--on-primary: #ffffff;
|
|
--header-bg: rgba(15, 15, 15, 0.85);
|
|
--hover-border: #4a4a4a;
|
|
--danger-soft-hover: #2d1818;
|
|
--danger-soft-hover-border: #5a2828;
|
|
--overview-primary-bg: #161620;
|
|
--chart-track: #2a2a2a;
|
|
--preview-bg: #0f0f0f;
|
|
--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3);
|
|
--focus-ring: 0 0 0 3px rgba(139, 149, 255, 0.25);
|
|
--status-muted-ring: 0 0 0 3px rgba(113, 113, 122, 0.2);
|
|
--status-success-ring: 0 0 0 3px rgba(34, 197, 94, 0.2);
|
|
--status-danger-ring: 0 0 0 3px rgba(239, 68, 68, 0.2);
|
|
--log-bg: #0a0a0a;
|
|
--log-border: #262626;
|
|
--log-text: #d4d4d8;
|
|
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: "Inter", "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;
|
|
}
|
|
|
|
@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);
|
|
}
|
|
|
|
.header {
|
|
position: sticky;
|
|
top: 12px;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
padding: 12px 16px;
|
|
border: 1px solid var(--border);
|
|
background: 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 {
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 1px 0 var(--border) inset;
|
|
}
|
|
|
|
:root[data-theme="dark"] .header.isScrolled {
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.04) inset;
|
|
}
|
|
|
|
.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, var(--border-strong), transparent);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.brandBlock {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.brandMark {
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: grid;
|
|
place-items: center;
|
|
flex: 0 0 38px;
|
|
width: 38px;
|
|
height: 38px;
|
|
color: var(--on-primary);
|
|
background: linear-gradient(135deg, var(--primary), color-mix(in oklab, var(--primary) 70%, #000 30%));
|
|
border-radius: var(--radius-md);
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(94, 106, 210, 0.3);
|
|
}
|
|
|
|
.brandMark svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
.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 6px 4px 0;
|
|
background: var(--border);
|
|
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);
|
|
}
|
|
|
|
.btnIcon {
|
|
display: inline-flex;
|
|
flex: 0 0 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.btnIcon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.btnPrimary {
|
|
color: var(--on-primary);
|
|
border-color: var(--primary);
|
|
background: linear-gradient(180deg, color-mix(in oklab, var(--primary) 88%, #fff 12%), var(--primary));
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 1px 2px rgba(94, 106, 210, 0.25);
|
|
}
|
|
|
|
.btnPrimary:hover {
|
|
color: var(--on-primary);
|
|
border-color: var(--primary-hover);
|
|
background: var(--primary-hover);
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 2px 6px rgba(94, 106, 210, 0.32);
|
|
}
|
|
|
|
.btnPrimary:active {
|
|
background: color-mix(in oklab, var(--primary-hover) 90%, #000 10%);
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset;
|
|
}
|
|
|
|
.btnSoft {
|
|
color: var(--text);
|
|
border-color: var(--border);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.btnSoft:hover {
|
|
color: var(--text);
|
|
border-color: var(--hover-border);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.btnGhost {
|
|
color: var(--muted);
|
|
border-color: transparent;
|
|
background: transparent;
|
|
}
|
|
|
|
.btnGhost:hover {
|
|
color: var(--text);
|
|
border-color: var(--border);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.btnDanger {
|
|
color: var(--on-primary);
|
|
border-color: var(--danger);
|
|
background: linear-gradient(180deg, color-mix(in oklab, var(--danger) 88%, #fff 12%), var(--danger));
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 1px 2px rgba(220, 38, 38, 0.22);
|
|
}
|
|
|
|
.btnDanger:hover {
|
|
color: var(--on-primary);
|
|
border-color: var(--danger-hover);
|
|
background: var(--danger-hover);
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 2px 6px rgba(220, 38, 38, 0.3);
|
|
}
|
|
|
|
.btnDanger:active {
|
|
background: color-mix(in oklab, var(--danger-hover) 90%, #000 10%);
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) inset;
|
|
}
|
|
|
|
.btnDangerSoft {
|
|
color: var(--danger);
|
|
border-color: var(--danger-border);
|
|
background: var(--danger-soft);
|
|
}
|
|
|
|
.btnDangerSoft:hover {
|
|
color: var(--danger);
|
|
border-color: var(--danger-soft-hover-border);
|
|
background: var(--danger-soft-hover);
|
|
}
|
|
|
|
.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: 14px 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow-soft);
|
|
animation: surfaceIn var(--motion-slow) both;
|
|
transition: border-color var(--motion), box-shadow var(--motion-fast);
|
|
}
|
|
|
|
.overviewCard::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 14px;
|
|
bottom: 14px;
|
|
width: 2px;
|
|
content: "";
|
|
border-radius: 0 2px 2px 0;
|
|
background: var(--border-strong);
|
|
opacity: 0.5;
|
|
transition: background var(--motion-fast), opacity var(--motion-fast);
|
|
}
|
|
|
|
.overviewCard:hover {
|
|
border-color: var(--hover-border);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.overviewCard:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.overviewPrimary {
|
|
border-color: var(--primary-border);
|
|
background: var(--overview-primary-bg);
|
|
}
|
|
|
|
.overviewPrimary::before {
|
|
background: var(--primary);
|
|
opacity: 1;
|
|
}
|
|
|
|
.overviewLabel {
|
|
color: var(--muted);
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
line-height: 1.3;
|
|
letter-spacing: var(--tracking-wide);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.overviewValue {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
margin-top: 8px;
|
|
color: var(--text-strong);
|
|
font-size: var(--text-xl);
|
|
font-weight: 600;
|
|
line-height: var(--leading-tight);
|
|
letter-spacing: var(--tracking-tight);
|
|
font-variant-numeric: tabular-nums;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.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 8px;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--muted-soft);
|
|
box-shadow: var(--status-muted-ring);
|
|
}
|
|
|
|
.statusDot:not(.statusRunning):not(.statusError) {
|
|
background: var(--muted-soft);
|
|
box-shadow: var(--status-muted-ring);
|
|
}
|
|
|
|
.statusRunning {
|
|
background: var(--success);
|
|
box-shadow: var(--status-success-ring);
|
|
}
|
|
|
|
.statusRunning::after {
|
|
position: absolute;
|
|
inset: -4px;
|
|
content: "";
|
|
border-radius: 50%;
|
|
border: 1px solid var(--success);
|
|
opacity: 0.5;
|
|
animation: statusRing 1.8s ease-out infinite;
|
|
}
|
|
|
|
@keyframes statusRing {
|
|
0% {
|
|
transform: scale(0.8);
|
|
opacity: 0.7;
|
|
}
|
|
100% {
|
|
transform: scale(1.6);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.statusIdle {
|
|
background: var(--muted-soft);
|
|
box-shadow: var(--status-muted-ring);
|
|
}
|
|
|
|
.statusError {
|
|
background: var(--danger);
|
|
box-shadow: var(--status-danger-ring);
|
|
animation: statusPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.workspaceShell {
|
|
display: grid;
|
|
grid-template-columns: var(--rail-width) minmax(0, 1fr);
|
|
grid-template-areas:
|
|
"rail workspace";
|
|
align-items: start;
|
|
gap: var(--shell-gap);
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.workspaceShell > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
.configRail {
|
|
position: sticky;
|
|
top: 106px;
|
|
grid-area: rail;
|
|
max-height: calc(100vh - 124px);
|
|
overflow: auto;
|
|
}
|
|
|
|
.workspaceShell .configRail {
|
|
position: sticky;
|
|
top: 106px;
|
|
align-self: start;
|
|
}
|
|
|
|
.configWorkspace {
|
|
grid-area: workspace;
|
|
min-width: 0;
|
|
}
|
|
|
|
.liveRail {
|
|
grid-area: workspace;
|
|
display: grid;
|
|
gap: var(--shell-gap);
|
|
min-width: 0;
|
|
}
|
|
|
|
.activityDock {
|
|
grid-area: workspace;
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: var(--shell-gap);
|
|
min-width: 0;
|
|
}
|
|
|
|
.monitorPanel {
|
|
display: grid;
|
|
grid-template-columns: minmax(320px, 640px);
|
|
gap: var(--shell-gap);
|
|
}
|
|
|
|
.monitorPanel[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.cardShot {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow);
|
|
animation: surfaceIn var(--motion-slow) both;
|
|
transition: border-color var(--motion);
|
|
}
|
|
|
|
.cardShot {
|
|
animation-delay: 40ms;
|
|
}
|
|
|
|
.cardReservations {
|
|
animation-delay: 80ms;
|
|
}
|
|
|
|
.cardLog {
|
|
animation-delay: 120ms;
|
|
}
|
|
|
|
.card > * {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--hover-border);
|
|
}
|
|
|
|
.cardScroll {
|
|
max-height: none;
|
|
overflow: visible;
|
|
}
|
|
|
|
.cardTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
min-width: 0;
|
|
padding-bottom: 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
color: var(--text-strong);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.sectionIcon {
|
|
display: inline-flex;
|
|
flex: 0 0 18px;
|
|
width: 18px;
|
|
height: 18px;
|
|
color: var(--primary);
|
|
}
|
|
|
|
.sectionIcon svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.configLayout {
|
|
display: contents;
|
|
}
|
|
|
|
.workspaceHeader {
|
|
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: 2px;
|
|
content: "";
|
|
border-radius: 0 2px 2px 0;
|
|
background: var(--primary);
|
|
}
|
|
|
|
.workspaceEyebrow {
|
|
color: var(--muted);
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
letter-spacing: var(--tracking-wide);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.workspaceTitle {
|
|
margin: 4px 0 0;
|
|
color: var(--text-strong);
|
|
font-size: var(--text-xl);
|
|
font-weight: 600;
|
|
line-height: var(--leading-tight);
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
|
|
.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: 32px;
|
|
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);
|
|
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(--hover-border);
|
|
}
|
|
|
|
.workspaceSearch input:focus-visible {
|
|
border-color: var(--primary);
|
|
background: var(--surface);
|
|
box-shadow: 0 0 0 1px var(--primary), var(--focus-ring);
|
|
}
|
|
|
|
.workspaceSearchIcon {
|
|
position: absolute;
|
|
left: 9px;
|
|
top: 50%;
|
|
width: 14px;
|
|
height: 14px;
|
|
margin-top: -7px;
|
|
color: var(--muted-soft);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.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: var(--surface-muted);
|
|
}
|
|
|
|
.workspaceSearchKbd {
|
|
position: absolute;
|
|
right: 30px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
height: 18px;
|
|
padding: 0 5px;
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: 4px;
|
|
background: var(--surface);
|
|
color: var(--muted);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: 10px;
|
|
letter-spacing: 0.04em;
|
|
pointer-events: none;
|
|
transition: opacity var(--motion-fast);
|
|
}
|
|
|
|
.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: static;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
margin-top: 14px;
|
|
padding: 6px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--surface-soft);
|
|
box-shadow: 0 1px 0 var(--hairline) inset;
|
|
}
|
|
|
|
/* Floating active indicator: a thin vertical bar that slides between tabs.
|
|
Position is driven by --tab-indicator-y / --tab-indicator-h CSS vars
|
|
updated from JS whenever the active tab changes. */
|
|
.sideNav {
|
|
position: relative;
|
|
--tab-indicator-y: 6px;
|
|
--tab-indicator-h: 14px;
|
|
--tab-indicator-opacity: 0;
|
|
}
|
|
|
|
.sideNav::before {
|
|
position: absolute;
|
|
left: 4px;
|
|
top: var(--tab-indicator-y);
|
|
width: 2px;
|
|
height: var(--tab-indicator-h);
|
|
content: "";
|
|
border-radius: 2px;
|
|
background: var(--primary);
|
|
opacity: var(--tab-indicator-opacity);
|
|
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: 9px;
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 36px;
|
|
padding: 0 10px 0 12px;
|
|
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;
|
|
transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast);
|
|
}
|
|
|
|
.tabBtn::before {
|
|
/* Disabled: sideNav now owns the floating active indicator. */
|
|
display: none;
|
|
}
|
|
|
|
.tabBtn:hover {
|
|
color: var(--text);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.tabBtn.active {
|
|
color: var(--text-strong);
|
|
background: var(--surface-muted);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.tabBtn.active::before {
|
|
display: none;
|
|
}
|
|
|
|
.tabIcon {
|
|
display: inline-flex;
|
|
flex: 0 0 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
color: var(--muted-soft);
|
|
}
|
|
|
|
.tabBtn.active .tabIcon,
|
|
.tabBtn:hover .tabIcon {
|
|
color: currentColor;
|
|
}
|
|
|
|
.tabIcon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.tabText {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.panels {
|
|
min-width: 0;
|
|
max-width: var(--panel-max);
|
|
}
|
|
|
|
.panel {
|
|
min-width: 0;
|
|
padding: 18px 20px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow-soft);
|
|
animation: surfaceIn var(--motion-slow) both;
|
|
}
|
|
|
|
.panel.cardLog {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.sectionTitle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
margin: 20px 0 10px;
|
|
padding: 6px 0 8px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
line-height: 1.3;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.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);
|
|
outline: none;
|
|
transition: border-color var(--motion-fast), box-shadow var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.input:hover,
|
|
.small:hover,
|
|
.logSearchBox:hover {
|
|
border-color: var(--hover-border);
|
|
}
|
|
|
|
.input:focus-visible,
|
|
.small:focus-visible,
|
|
.logSearchBox:focus-visible {
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 1px var(--primary), var(--focus-ring);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
.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;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: 60px;
|
|
padding: 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: 14px;
|
|
height: 14px;
|
|
border: 1.5px dashed currentColor;
|
|
border-radius: 50%;
|
|
opacity: 0.6;
|
|
flex: 0 0 14px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.stat {
|
|
min-width: 0;
|
|
padding: 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
transition: border-color var(--motion-fast), background var(--motion-fast);
|
|
}
|
|
|
|
.stat:hover {
|
|
border-color: var(--hover-border);
|
|
background: var(--surface-soft);
|
|
}
|
|
|
|
.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-size: var(--text-xl);
|
|
font-weight: 600;
|
|
line-height: var(--leading-tight);
|
|
letter-spacing: var(--tracking-tight);
|
|
font-variant-numeric: tabular-nums;
|
|
overflow-wrap: anywhere;
|
|
transition: color var(--motion-fast);
|
|
}
|
|
|
|
.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(--text);
|
|
border-color: var(--border);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.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 {
|
|
min-width: 0;
|
|
padding: 14px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface-soft);
|
|
transition: border-color var(--motion-fast);
|
|
}
|
|
|
|
.chartBlock:hover {
|
|
border-color: var(--hover-border);
|
|
}
|
|
|
|
.chartTitle {
|
|
color: var(--text-strong);
|
|
font-size: var(--text-base);
|
|
font-weight: 550;
|
|
line-height: var(--leading-snug);
|
|
}
|
|
|
|
.chart {
|
|
min-width: 0;
|
|
min-height: 76px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.chart svg {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.timelineSvg {
|
|
display: block;
|
|
}
|
|
|
|
.barRow {
|
|
display: grid;
|
|
grid-template-columns: minmax(78px, 0.9fr) minmax(80px, 2fr) 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);
|
|
}
|
|
|
|
.barFill {
|
|
height: 100%;
|
|
border-radius: 99px;
|
|
background: linear-gradient(90deg, color-mix(in oklab, var(--primary) 80%, #fff 20%), var(--primary));
|
|
transition: width var(--motion-slow);
|
|
}
|
|
|
|
.barValue {
|
|
color: var(--muted);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-sm);
|
|
font-variant-numeric: tabular-nums;
|
|
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 {
|
|
display: grid;
|
|
grid-template-columns: minmax(92px, 0.65fr) minmax(0, 1.7fr) minmax(54px, 0.45fr);
|
|
gap: 12px;
|
|
min-width: 0;
|
|
padding: 10px 14px;
|
|
border-top: 1px solid var(--border);
|
|
color: var(--text);
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-snug);
|
|
transition: background var(--motion-fast);
|
|
}
|
|
|
|
.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: 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: var(--surface-soft);
|
|
}
|
|
|
|
.tableRow:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.tableRow > div {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.tableRow .mono {
|
|
font-variant-numeric: tabular-nums;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.tableHead {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1;
|
|
color: var(--muted);
|
|
background: var(--surface-muted);
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
letter-spacing: var(--tracking-wide);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.mono {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
}
|
|
|
|
.preview {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: var(--shot-height-desktop);
|
|
min-height: 0;
|
|
max-height: none;
|
|
width: 100%;
|
|
aspect-ratio: 9 / 16;
|
|
margin-top: 14px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--preview-bg);
|
|
transition: border-color var(--motion);
|
|
}
|
|
|
|
.preview::after {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
content: "";
|
|
border-radius: inherit;
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
|
|
}
|
|
|
|
.preview:hover {
|
|
border-color: var(--hover-border);
|
|
}
|
|
|
|
.preview.isShotEmpty {
|
|
border-style: dashed;
|
|
background:
|
|
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) 16%, 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 {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
|
|
}
|
|
|
|
.reservationItem:hover {
|
|
border-color: var(--hover-border);
|
|
box-shadow: var(--shadow-soft);
|
|
}
|
|
|
|
.reservationItem.isImminent {
|
|
border-color: var(--warning);
|
|
background: 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: 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) 35%, transparent); }
|
|
50% { box-shadow: 0 0 0 6px 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: var(--surface-soft);
|
|
}
|
|
|
|
.reservationHeader.isClickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.reservationIndex {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--text);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-sm);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.reservationIndex::before {
|
|
display: inline-block;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--primary);
|
|
content: "";
|
|
}
|
|
|
|
.reservationValue {
|
|
max-width: 68%;
|
|
padding: 3px 9px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--warning-border);
|
|
border-radius: 99px;
|
|
color: var(--warning);
|
|
background: var(--warning-soft);
|
|
font-size: var(--text-xs);
|
|
font-weight: 600;
|
|
letter-spacing: var(--tracking-wide);
|
|
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: 10px;
|
|
height: 10px;
|
|
flex: 0 0 10px;
|
|
content: "";
|
|
background: 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='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;
|
|
opacity: 0.6;
|
|
transition: transform var(--motion-fast), opacity var(--motion-fast);
|
|
}
|
|
|
|
details[open] > summary.sectionTitle::before {
|
|
transform: rotate(90deg);
|
|
opacity: 1;
|
|
}
|
|
|
|
.summaryActions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
margin-left: auto;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.logRow {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.singleLogSection {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.logSection {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
box-shadow: 0 1px 0 var(--hairline) inset;
|
|
}
|
|
|
|
.logHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 10px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: var(--surface-soft);
|
|
}
|
|
|
|
.logTitle {
|
|
color: var(--text-strong);
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.logHeaderActions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.logHeaderActions .small {
|
|
width: auto;
|
|
min-height: 30px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.logSearchBox {
|
|
width: 230px;
|
|
min-height: 30px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.log {
|
|
min-width: 0;
|
|
min-height: clamp(250px, 32vh, 390px);
|
|
max-height: clamp(250px, 32vh, 390px);
|
|
margin: 0;
|
|
padding: 12px 14px;
|
|
overflow: auto;
|
|
border-top: 1px solid var(--log-border);
|
|
color: var(--log-text);
|
|
background: var(--log-bg);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-sm);
|
|
line-height: 1.6;
|
|
overflow-wrap: anywhere;
|
|
white-space: pre-wrap;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border-strong) transparent;
|
|
}
|
|
|
|
.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(--text) 6%, transparent) 50%,
|
|
transparent 100%) var(--surface-muted);
|
|
background-size: 200% 100%;
|
|
background-repeat: no-repeat;
|
|
animation: skeletonShimmer 1.6s 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;
|
|
}
|
|
}
|
|
|
|
/* ==================== 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: 5px 8px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
font-size: var(--text-xs);
|
|
font-weight: 500;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
white-space: nowrap;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
:root[data-theme="dark"] [data-tooltip]::before {
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
[data-tooltip]::after {
|
|
content: "";
|
|
width: 8px;
|
|
height: 8px;
|
|
bottom: calc(100% + 4px);
|
|
border: 1px solid var(--border);
|
|
border-top: 0;
|
|
border-left: 0;
|
|
background: var(--surface);
|
|
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: var(--border-strong);
|
|
border: 2px solid transparent;
|
|
background-clip: padding-box;
|
|
border-radius: 99px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background: var(--hover-border);
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
/* ==================== App footer ==================== */
|
|
.appFooter {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
padding: 10px 14px;
|
|
border-top: 1px solid var(--border);
|
|
color: var(--muted);
|
|
font-size: var(--text-xs);
|
|
letter-spacing: var(--tracking-wide);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.appFooterLeft,
|
|
.appFooterRight {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.appConnDot {
|
|
width: 6px;
|
|
height: 6px;
|
|
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: var(--success);
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--success) 16%, transparent);
|
|
}
|
|
|
|
.appConnDot[data-state="error"] {
|
|
background: var(--danger);
|
|
box-shadow: 0 0 0 3px color-mix(in oklab, var(--danger) 16%, transparent);
|
|
animation: statusPulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.appConnText,
|
|
.appFooterMeta {
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.appFooterDivider {
|
|
color: var(--muted-soft);
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.appFooter {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
/* ==================== 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: 18px 1fr auto;
|
|
align-items: start;
|
|
gap: 10px;
|
|
padding: 12px 12px 12px 14px;
|
|
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: var(--muted-soft);
|
|
}
|
|
|
|
.toast-success {
|
|
border-color: color-mix(in oklab, var(--success) 30%, var(--border));
|
|
}
|
|
.toast-success::before { background: var(--success); }
|
|
.toast-success .toastIcon { color: var(--success); }
|
|
|
|
.toast-error {
|
|
border-color: color-mix(in oklab, var(--danger) 30%, var(--border));
|
|
}
|
|
.toast-error::before { background: var(--danger); }
|
|
.toast-error .toastIcon { color: var(--danger); }
|
|
|
|
.toast-warn {
|
|
border-color: color-mix(in oklab, var(--warning) 30%, var(--border));
|
|
}
|
|
.toast-warn::before { background: var(--warning); }
|
|
.toast-warn .toastIcon { color: var(--warning); }
|
|
|
|
.toast-info::before { background: var(--primary); }
|
|
.toast-info .toastIcon { color: var(--primary); }
|
|
|
|
.toastIcon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.toastIcon svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
.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(--text);
|
|
background: var(--surface-muted);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|