refactor(webui): extract CSS tokens and base rules
This commit is contained in:
1 parent
8351908232
commit
4db6431757
4 files changed
+245
-243
No files matched your search
@@ -0,0 +1,73 @@
|
||||
* {
|
||||
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: "IBM Plex Sans", "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;
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
/* ======== Light theme tokens (default) ======== */
|
||||
:root {
|
||||
--bg: #fbf7ec;
|
||||
--bg-soft: #f5efde;
|
||||
--surface: #ffffff;
|
||||
--surface-solid: #ffffff;
|
||||
--surface-soft: #fbf7ec;
|
||||
--surface-muted: #eee5d2;
|
||||
--border: #dcd2bb;
|
||||
--border-strong: #b8aa8c;
|
||||
--hairline: rgba(0, 0, 0, 0.05);
|
||||
--text: #14161a;
|
||||
--text-strong: #050608;
|
||||
--muted: #6b6041;
|
||||
--muted-soft: #a39879;
|
||||
--primary: #f59e0b;
|
||||
--primary-hover: #d97706;
|
||||
--primary-soft: #fef3c7;
|
||||
--primary-border: #fcd34d;
|
||||
--primary-accent-text: #92400e;
|
||||
--secondary: #4f46e5;
|
||||
--secondary-soft: #eef2ff;
|
||||
--secondary-border: #c7d2fe;
|
||||
--success: #16a34a;
|
||||
--success-soft: #f0fdf4;
|
||||
--warning: #ea580c;
|
||||
--warning-soft: #fff7ed;
|
||||
--warning-border: #fed7aa;
|
||||
--danger: #dc2626;
|
||||
--danger-hover: #b91c1c;
|
||||
--danger-soft: #fef2f2;
|
||||
--danger-border: #fecaca;
|
||||
--on-primary: #ffffff;
|
||||
--header-bg: rgba(251, 247, 236, 0.78);
|
||||
--hover-border: #8a7d62;
|
||||
--danger-soft-hover: #fee2e2;
|
||||
--danger-soft-hover-border: #fca5a5;
|
||||
--overview-primary-bg: linear-gradient(135deg, #fef3c7 0%, #fbf7ec 60%, #eef2ff 100%);
|
||||
--chart-track: #dcd2bb;
|
||||
--preview-bg: #f5efde;
|
||||
--shadow: 0 1px 2px rgba(45, 30, 10, 0.05), 0 4px 12px rgba(45, 30, 10, 0.07);
|
||||
--shadow-soft: 0 1px 2px rgba(45, 30, 10, 0.05);
|
||||
--shadow-glow-primary: 0 4px 20px -4px rgba(245, 158, 11, 0.42), 0 1px 3px rgba(217, 119, 6, 0.18);
|
||||
--shadow-glow-secondary: 0 4px 20px -4px rgba(79, 70, 229, 0.36), 0 1px 3px rgba(79, 70, 229, 0.14);
|
||||
--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(245, 158, 11, 0.32);
|
||||
--status-muted-ring: 0 0 0 3px rgba(163, 152, 121, 0.22);
|
||||
--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(245, 158, 11, 0.13) 0%, transparent 42%);
|
||||
--mesh-blob-2: radial-gradient(at 88% 14%, rgba(79, 70, 229, 0.10) 0%, transparent 45%);
|
||||
--mesh-blob-3: radial-gradient(at 70% 92%, rgba(245, 158, 11, 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: 12px;
|
||||
--text-sm: 13px;
|
||||
--text-base: 15px;
|
||||
--text-md: 16px;
|
||||
--text-lg: 18px;
|
||||
--text-xl: 24px;
|
||||
--text-2xl: 36px;
|
||||
--leading-tight: 1.2;
|
||||
--leading-snug: 1.4;
|
||||
--leading-normal: 1.55;
|
||||
--tracking-tight: -0.015em;
|
||||
--tracking-normal: 0;
|
||||
--tracking-wide: 0.06em;
|
||||
|
||||
--radius: 8px;
|
||||
--control-height: 38px;
|
||||
--page-max: 1760px;
|
||||
--page-pad: 18px;
|
||||
--layout-gap: 12px;
|
||||
--shell-gap: 14px;
|
||||
--rail-width: 232px;
|
||||
--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: #14110b;
|
||||
--log-border: #2a2418;
|
||||
--log-text: #e0d4b8;
|
||||
--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: #0c0a07;
|
||||
--bg-soft: #11100a;
|
||||
--surface: #16140e;
|
||||
--surface-solid: #16140e;
|
||||
--surface-soft: #1a1812;
|
||||
--surface-muted: #25221a;
|
||||
--border: #353025;
|
||||
--border-strong: #4a4332;
|
||||
--hairline: rgba(255, 255, 255, 0.05);
|
||||
--text: #f0ebd8;
|
||||
--text-strong: #ffffff;
|
||||
--muted: #b8aa8c;
|
||||
--muted-soft: #7a705a;
|
||||
--primary: #fbbf24;
|
||||
--primary-hover: #fcd34d;
|
||||
--primary-soft: #2a1f0a;
|
||||
--primary-border: #5a4220;
|
||||
--primary-accent-text: #fde68a;
|
||||
--secondary: #818cf8;
|
||||
--secondary-soft: #1e1f3a;
|
||||
--secondary-border: #4338ca;
|
||||
--success: #34d399;
|
||||
--success-soft: #0f2920;
|
||||
--warning: #fb923c;
|
||||
--warning-soft: #2a1505;
|
||||
--warning-border: #7a3a10;
|
||||
--danger: #f87171;
|
||||
--danger-hover: #fca5a5;
|
||||
--danger-soft: #2a1414;
|
||||
--danger-border: #5a2828;
|
||||
--on-primary: #ffffff;
|
||||
--header-bg: rgba(22, 20, 14, 0.74);
|
||||
--hover-border: #5a5240;
|
||||
--danger-soft-hover: #3a1a1a;
|
||||
--danger-soft-hover-border: #6e2a2a;
|
||||
--overview-primary-bg: linear-gradient(135deg, #2a1f0a 0%, #16140e 60%, #1e1f3a 100%);
|
||||
--chart-track: #353025;
|
||||
--preview-bg: #11100a;
|
||||
--shadow: 0 4px 12px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
|
||||
--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.45);
|
||||
--shadow-glow-primary: 0 4px 24px -4px rgba(251, 191, 36, 0.50), 0 1px 4px rgba(251, 191, 36, 0.22);
|
||||
--shadow-glow-secondary: 0 4px 24px -4px rgba(129, 140, 248, 0.42), 0 1px 4px rgba(129, 140, 248, 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(251, 191, 36, 0.34);
|
||||
--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: #0c0a07;
|
||||
--log-border: #353025;
|
||||
--log-text: #e0d4b8;
|
||||
|
||||
--mesh-blob-1: radial-gradient(at 12% 18%, rgba(251, 191, 36, 0.18) 0%, transparent 42%);
|
||||
--mesh-blob-2: radial-gradient(at 88% 14%, rgba(129, 140, 248, 0.13) 0%, transparent 45%);
|
||||
--mesh-blob-3: radial-gradient(at 70% 92%, rgba(251, 191, 36, 0.11) 0%, transparent 48%);
|
||||
--grain-opacity: 0.30;
|
||||
|
||||
color-scheme: dark;
|
||||
}
|
||||
+3
-1
@@ -20,7 +20,9 @@
|
||||
})();
|
||||
</script>
|
||||
<!-- WebUI CSS modules are loaded before the compatibility remainder. -->
|
||||
<link rel="stylesheet" href="styles.css?v=console-20260520-theme-v35" />
|
||||
<link rel="stylesheet" href="css/tokens.css?v=console-20260531-split-css-1" />
|
||||
<link rel="stylesheet" href="css/base.css?v=console-20260531-split-css-1" />
|
||||
<link rel="stylesheet" href="styles.css?v=console-20260531-split-css-1" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="app">
|
||||
|
||||
@@ -1,205 +1,3 @@
|
||||
/* ======== Light theme tokens (default) ======== */
|
||||
:root {
|
||||
--bg: #fbf7ec;
|
||||
--bg-soft: #f5efde;
|
||||
--surface: #ffffff;
|
||||
--surface-solid: #ffffff;
|
||||
--surface-soft: #fbf7ec;
|
||||
--surface-muted: #eee5d2;
|
||||
--border: #dcd2bb;
|
||||
--border-strong: #b8aa8c;
|
||||
--hairline: rgba(0, 0, 0, 0.05);
|
||||
--text: #14161a;
|
||||
--text-strong: #050608;
|
||||
--muted: #6b6041;
|
||||
--muted-soft: #a39879;
|
||||
--primary: #f59e0b;
|
||||
--primary-hover: #d97706;
|
||||
--primary-soft: #fef3c7;
|
||||
--primary-border: #fcd34d;
|
||||
--primary-accent-text: #92400e;
|
||||
--secondary: #4f46e5;
|
||||
--secondary-soft: #eef2ff;
|
||||
--secondary-border: #c7d2fe;
|
||||
--success: #16a34a;
|
||||
--success-soft: #f0fdf4;
|
||||
--warning: #ea580c;
|
||||
--warning-soft: #fff7ed;
|
||||
--warning-border: #fed7aa;
|
||||
--danger: #dc2626;
|
||||
--danger-hover: #b91c1c;
|
||||
--danger-soft: #fef2f2;
|
||||
--danger-border: #fecaca;
|
||||
--on-primary: #ffffff;
|
||||
--header-bg: rgba(251, 247, 236, 0.78);
|
||||
--hover-border: #8a7d62;
|
||||
--danger-soft-hover: #fee2e2;
|
||||
--danger-soft-hover-border: #fca5a5;
|
||||
--overview-primary-bg: linear-gradient(135deg, #fef3c7 0%, #fbf7ec 60%, #eef2ff 100%);
|
||||
--chart-track: #dcd2bb;
|
||||
--preview-bg: #f5efde;
|
||||
--shadow: 0 1px 2px rgba(45, 30, 10, 0.05), 0 4px 12px rgba(45, 30, 10, 0.07);
|
||||
--shadow-soft: 0 1px 2px rgba(45, 30, 10, 0.05);
|
||||
--shadow-glow-primary: 0 4px 20px -4px rgba(245, 158, 11, 0.42), 0 1px 3px rgba(217, 119, 6, 0.18);
|
||||
--shadow-glow-secondary: 0 4px 20px -4px rgba(79, 70, 229, 0.36), 0 1px 3px rgba(79, 70, 229, 0.14);
|
||||
--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(245, 158, 11, 0.32);
|
||||
--status-muted-ring: 0 0 0 3px rgba(163, 152, 121, 0.22);
|
||||
--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(245, 158, 11, 0.13) 0%, transparent 42%);
|
||||
--mesh-blob-2: radial-gradient(at 88% 14%, rgba(79, 70, 229, 0.10) 0%, transparent 45%);
|
||||
--mesh-blob-3: radial-gradient(at 70% 92%, rgba(245, 158, 11, 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: 12px;
|
||||
--text-sm: 13px;
|
||||
--text-base: 15px;
|
||||
--text-md: 16px;
|
||||
--text-lg: 18px;
|
||||
--text-xl: 24px;
|
||||
--text-2xl: 36px;
|
||||
--leading-tight: 1.2;
|
||||
--leading-snug: 1.4;
|
||||
--leading-normal: 1.55;
|
||||
--tracking-tight: -0.015em;
|
||||
--tracking-normal: 0;
|
||||
--tracking-wide: 0.06em;
|
||||
|
||||
--radius: 8px;
|
||||
--control-height: 38px;
|
||||
--page-max: 1760px;
|
||||
--page-pad: 18px;
|
||||
--layout-gap: 12px;
|
||||
--shell-gap: 14px;
|
||||
--rail-width: 232px;
|
||||
--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: #14110b;
|
||||
--log-border: #2a2418;
|
||||
--log-text: #e0d4b8;
|
||||
--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: #0c0a07;
|
||||
--bg-soft: #11100a;
|
||||
--surface: #16140e;
|
||||
--surface-solid: #16140e;
|
||||
--surface-soft: #1a1812;
|
||||
--surface-muted: #25221a;
|
||||
--border: #353025;
|
||||
--border-strong: #4a4332;
|
||||
--hairline: rgba(255, 255, 255, 0.05);
|
||||
--text: #f0ebd8;
|
||||
--text-strong: #ffffff;
|
||||
--muted: #b8aa8c;
|
||||
--muted-soft: #7a705a;
|
||||
--primary: #fbbf24;
|
||||
--primary-hover: #fcd34d;
|
||||
--primary-soft: #2a1f0a;
|
||||
--primary-border: #5a4220;
|
||||
--primary-accent-text: #fde68a;
|
||||
--secondary: #818cf8;
|
||||
--secondary-soft: #1e1f3a;
|
||||
--secondary-border: #4338ca;
|
||||
--success: #34d399;
|
||||
--success-soft: #0f2920;
|
||||
--warning: #fb923c;
|
||||
--warning-soft: #2a1505;
|
||||
--warning-border: #7a3a10;
|
||||
--danger: #f87171;
|
||||
--danger-hover: #fca5a5;
|
||||
--danger-soft: #2a1414;
|
||||
--danger-border: #5a2828;
|
||||
--on-primary: #ffffff;
|
||||
--header-bg: rgba(22, 20, 14, 0.74);
|
||||
--hover-border: #5a5240;
|
||||
--danger-soft-hover: #3a1a1a;
|
||||
--danger-soft-hover-border: #6e2a2a;
|
||||
--overview-primary-bg: linear-gradient(135deg, #2a1f0a 0%, #16140e 60%, #1e1f3a 100%);
|
||||
--chart-track: #353025;
|
||||
--preview-bg: #11100a;
|
||||
--shadow: 0 4px 12px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
|
||||
--shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.45);
|
||||
--shadow-glow-primary: 0 4px 24px -4px rgba(251, 191, 36, 0.50), 0 1px 4px rgba(251, 191, 36, 0.22);
|
||||
--shadow-glow-secondary: 0 4px 24px -4px rgba(129, 140, 248, 0.42), 0 1px 4px rgba(129, 140, 248, 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(251, 191, 36, 0.34);
|
||||
--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: #0c0a07;
|
||||
--log-border: #353025;
|
||||
--log-text: #e0d4b8;
|
||||
|
||||
--mesh-blob-1: radial-gradient(at 12% 18%, rgba(251, 191, 36, 0.18) 0%, transparent 42%);
|
||||
--mesh-blob-2: radial-gradient(at 88% 14%, rgba(129, 140, 248, 0.13) 0%, transparent 45%);
|
||||
--mesh-blob-3: radial-gradient(at 70% 92%, rgba(251, 191, 36, 0.11) 0%, transparent 48%);
|
||||
--grain-opacity: 0.30;
|
||||
|
||||
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: "IBM Plex Sans", "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;
|
||||
@@ -294,20 +92,6 @@ body.is-running::before {
|
||||
}
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.app {
|
||||
width: min(var(--page-max), 100%);
|
||||
@@ -3565,32 +3349,6 @@ body.is-running .logTitle::after {
|
||||
[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 {
|
||||
|
||||
Reference in new issue
Block a user