revert(ui): remove recent UI dashboard/theme commits from main

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Val Alexander
2026-02-22 12:57:44 -06:00
parent 8eb71cec26
commit 26ab93f0eb
46 changed files with 2074 additions and 2701 deletions

View File

@@ -96,55 +96,55 @@
--radius-full: 9999px;
}
/* ─── Theme: light — Luxe Cream & Coral ─── */
/* ─── Theme: light (Docs) — Warm Editorial Dark ─── */
:root[data-theme="light"] {
color-scheme: light;
color-scheme: dark;
--vscode-bg: #faf7f2;
--vscode-sidebar: #f5f0e8;
--vscode-panel: #fffef9;
--vscode-panel-border: rgba(26, 22, 20, 0.08);
--vscode-surface: #fffef9;
--vscode-hover: #f0ebe3;
--vscode-contrast: #f0ebe3;
--vscode-text: #1a1614;
--vscode-muted: #6b5d54;
--vscode-subtle: #9c8f84;
--vscode-ghost: #ebe6df;
--vscode-accent: #c73526;
--vscode-accent-alpha: rgba(199, 53, 38, 0.12);
--vscode-selection: rgba(199, 53, 38, 0.18);
--vscode-success: #0d9b7a;
--vscode-danger: #c73526;
--vscode-bg: #0e0c0e;
--vscode-sidebar: #131012;
--vscode-panel: #161214;
--vscode-panel-border: rgba(255, 255, 255, 0.06);
--vscode-surface: #1a1618;
--vscode-hover: #201c1e;
--vscode-contrast: #080608;
--vscode-text: #d5d0cf;
--vscode-muted: #7a7472;
--vscode-subtle: #4a4442;
--vscode-ghost: #1a1616;
--vscode-accent: #ca3a29;
--vscode-accent-alpha: rgba(202, 58, 41, 0.14);
--vscode-selection: #3d1418;
--vscode-success: #00d4aa;
--vscode-danger: #ca3a29;
--kn-claw: #c73526;
--kn-claw-bright: #e85a4a;
--kn-claw-dim: rgba(199, 53, 38, 0.14);
--kn-claw-ember: #d94a3a;
--kn-claw-deep: #9a2a1e;
--kn-ocean: #faf7f2;
--kn-ocean-bright: #fffef9;
--kn-ocean-mid: #f5f0e8;
--kn-ocean-dim: rgba(250, 247, 242, 0.9);
--kn-ocean-deep: #f0ebe3;
--kn-silver: #6b5d54;
--kn-silver-bright: #1a1614;
--kn-silver-dim: rgba(107, 93, 84, 0.12);
--kn-bioluminescence: #0d9b7a;
--kn-warm-dark: #1a1614;
--kn-void: #ebe6df;
--kn-claw: #ca3a29;
--kn-claw-bright: #fd8e2e;
--kn-claw-dim: rgba(202, 58, 41, 0.12);
--kn-claw-ember: #fb9231;
--kn-claw-deep: #9a2d1f;
--kn-ocean: #0e0c0e;
--kn-ocean-bright: #201c1e;
--kn-ocean-mid: #161214;
--kn-ocean-dim: rgba(14, 12, 14, 0.8);
--kn-ocean-deep: #0e0c0e;
--kn-silver: #8a7e72;
--kn-silver-bright: #c0b4a8;
--kn-silver-dim: rgba(138, 126, 114, 0.12);
--kn-bioluminescence: #00d4aa;
--kn-warm-dark: #1a1416;
--kn-void: #1a1416;
--glass-blur: 12px;
--glass-saturate: 110%;
--glass-bg: rgba(255, 254, 249, 0.88);
--glass-bg-elevated: rgba(255, 255, 255, 0.95);
--glass-border: rgba(26, 22, 20, 0.1);
--glass-border-hover: rgba(199, 53, 38, 0.35);
--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
--glass-shadow-sm: 0 2px 12px rgba(26, 22, 20, 0.06), 0 1px 3px rgba(26, 22, 20, 0.04);
--glass-shadow-md: 0 8px 32px rgba(26, 22, 20, 0.08), 0 2px 8px rgba(26, 22, 20, 0.04);
--glass-shadow-lg: 0 20px 56px rgba(26, 22, 20, 0.12), 0 4px 16px rgba(26, 22, 20, 0.06);
--glass-blur: 0px;
--glass-saturate: 100%;
--glass-bg: rgba(22, 18, 20, 0.95);
--glass-bg-elevated: rgba(26, 22, 24, 0.96);
--glass-border: rgba(255, 255, 255, 0.06);
--glass-border-hover: rgba(202, 58, 41, 0.25);
--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.03);
--glass-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
--glass-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
--glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
--radius-xs: 4px;
--radius-sm: 8px;
@@ -270,6 +270,64 @@
--radius-full: 0px;
}
/* ─── Theme: openai — Crimson Glassmorphic ─── */
:root[data-theme="openai"] {
color-scheme: dark;
--vscode-bg: #0c0606;
--vscode-sidebar: #100808;
--vscode-panel: #140a0a;
--vscode-panel-border: rgba(202, 58, 41, 0.12);
--vscode-surface: #1a0e0e;
--vscode-hover: #221414;
--vscode-contrast: #060202;
--vscode-text: #e8d8d4;
--vscode-muted: #8a6a64;
--vscode-subtle: #4a3430;
--vscode-ghost: #1a0e0e;
--vscode-accent: #ca3a29;
--vscode-accent-alpha: rgba(202, 58, 41, 0.18);
--vscode-selection: #7d261c;
--vscode-success: #fd8e2e;
--vscode-danger: #ca3a29;
--kn-claw: #ca3a29;
--kn-claw-bright: #ff4e41;
--kn-claw-dim: rgba(202, 58, 41, 0.15);
--kn-claw-ember: #fd8e2e;
--kn-claw-deep: #9a2d1f;
--kn-ocean: #0c0606;
--kn-ocean-bright: #221414;
--kn-ocean-mid: #140a0a;
--kn-ocean-dim: rgba(12, 6, 6, 0.8);
--kn-ocean-deep: #0c0606;
--kn-silver: #8a6a64;
--kn-silver-bright: #c0a49c;
--kn-silver-dim: rgba(138, 106, 100, 0.12);
--kn-bioluminescence: #fd8e2e;
--kn-warm-dark: #221016;
--kn-void: #221016;
--glass-blur: 14px;
--glass-saturate: 130%;
--glass-bg: rgba(20, 10, 10, 0.78);
--glass-bg-elevated: rgba(26, 14, 14, 0.85);
--glass-border: rgba(202, 58, 41, 0.12);
--glass-border-hover: rgba(202, 58, 41, 0.4);
--glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.05);
--glass-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 4px rgba(202, 58, 41, 0.08);
--glass-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 12px rgba(202, 58, 41, 0.1);
--glass-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(202, 58, 41, 0.12);
--radius-xs: 4px;
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 20px;
--radius-full: 9999px;
}
/* ─── Theme: clawdash — Chrome Metallic ─── */
:root[data-theme="clawdash"] {
@@ -337,6 +395,7 @@
:root[data-theme="light"],
:root[data-theme="openknot"],
:root[data-theme="fieldmanual"],
:root[data-theme="openai"],
:root[data-theme="clawdash"] {
/* Core surfaces */
--bg: var(--vscode-bg);
@@ -491,16 +550,6 @@
--agent-tab-hover-bg: var(--vscode-accent-alpha);
}
/* Light theme semantic overrides (accent buttons need dark text) */
:root[data-theme="light"] {
--card-highlight: rgba(255, 255, 255, 0.85);
--accent-foreground: #ffffff;
--primary-foreground: #ffffff;
--destructive-foreground: #ffffff;
--focus-offset-color: var(--bg);
--grid-line: rgba(26, 22, 20, 0.06);
}
/* ─── Accessibility: High Contrast ─── */
@media (prefers-contrast: more) {
@@ -724,17 +773,16 @@ select {
display: none;
}
/* ─── light — Luxe Cream ambient gradient ─── */
/* ─── openai — Crimson atmosphere ─── */
:root[data-theme="light"] body {
:root[data-theme="openai"] body {
background:
radial-gradient(ellipse 90% 60% at 50% -15%, rgba(199, 53, 38, 0.04) 0%, transparent 55%),
radial-gradient(ellipse 70% 50% at 85% 40%, rgba(13, 155, 122, 0.03) 0%, transparent 50%),
radial-gradient(ellipse 60% 40% at 15% 80%, rgba(199, 53, 38, 0.02) 0%, transparent 45%),
radial-gradient(ellipse 80% 50% at 50% -5%, rgba(202, 58, 41, 0.12) 0%, transparent 60%),
radial-gradient(ellipse 60% 40% at 60% 20%, rgba(253, 142, 46, 0.04) 0%, transparent 50%),
var(--bg);
}
:root[data-theme="light"] body::after {
:root[data-theme="openai"] body::after {
display: none;
}

View File

@@ -107,12 +107,9 @@
letter-spacing: 0.01em;
}
.agent-chat__badge svg,
.agent-chat__badge img {
.agent-chat__badge svg {
width: 14px;
height: 14px;
object-fit: contain;
vertical-align: -0.15em;
}
/* ─── Starter Cards ─── */
@@ -242,17 +239,6 @@
flex-shrink: 0;
}
.agent-chat__avatar--logo {
background: transparent;
}
.agent-chat__avatar--logo svg,
.agent-chat__avatar--logo img {
width: 48px;
height: 48px;
object-fit: contain;
}
.agent-chat__avatar--sm {
width: 24px;
height: 24px;
@@ -1138,51 +1124,164 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 2px 8px;
border-bottom: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
padding: 6px 16px;
border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
flex-shrink: 0;
gap: 4px;
min-height: 28px;
gap: 8px;
}
.chat-agent-bar__left {
display: flex;
align-items: center;
gap: 8px;
gap: 10px;
min-width: 0;
}
.chat-agent-bar__right {
display: flex;
align-items: center;
gap: 2px;
gap: 4px;
flex-shrink: 0;
}
.chat-agent-bar__name {
font-size: 11px;
font-size: 13px;
font-weight: 600;
color: var(--text);
}
.chat-agent-select {
background: transparent;
border: none;
background: color-mix(in srgb, var(--secondary) 70%, transparent);
border: 1px solid var(--border);
border-radius: var(--radius-md);
color: var(--text);
font-size: 11px;
font-weight: 600;
padding: 0 14px 0 0;
font-size: 13px;
font-weight: 500;
padding: 4px 24px 4px 8px;
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237d8590' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0 center;
background-position: right 6px center;
transition:
border-color 150ms ease,
background 150ms ease;
}
.chat-agent-select:hover {
color: var(--accent);
border-color: var(--border-strong);
background: color-mix(in srgb, var(--secondary) 90%, transparent);
}
.chat-agent-select:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-subtle);
}
/* ─── Sessions Panel ─── */
.chat-sessions-panel {
position: relative;
}
.chat-sessions-summary {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 8px;
border-radius: var(--radius-md);
font-size: 12px;
font-weight: 500;
color: var(--muted);
cursor: pointer;
user-select: none;
list-style: none;
transition:
color 150ms ease,
background 150ms ease;
}
.chat-sessions-summary::-webkit-details-marker {
display: none;
}
.chat-sessions-summary::before {
content: "▸";
font-size: 9px;
transition: transform 150ms ease;
}
.chat-sessions-panel[open] > .chat-sessions-summary::before {
transform: rotate(90deg);
}
.chat-sessions-summary:hover {
color: var(--text);
background: color-mix(in srgb, var(--bg-hover) 60%, transparent);
}
.chat-sessions-summary svg {
width: 13px;
height: 13px;
}
.chat-sessions-list {
position: absolute;
top: 100%;
left: 0;
z-index: 50;
min-width: 240px;
max-width: 360px;
max-height: 280px;
overflow-y: auto;
margin-top: 4px;
padding: 4px;
background: var(--popover);
border: 1px solid var(--border);
border-radius: var(--radius-md);
box-shadow: var(--shadow-lg);
display: flex;
flex-direction: column;
gap: 2px;
}
.chat-session-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 6px 10px;
border: none;
border-radius: var(--radius-sm);
background: none;
color: var(--text);
font-size: 12px;
cursor: pointer;
text-align: left;
width: 100%;
transition: background 120ms ease;
}
.chat-session-item:hover {
background: var(--bg-hover);
}
.chat-session-item--active {
background: var(--accent-subtle);
color: var(--accent);
font-weight: 500;
}
.chat-session-item__name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.chat-session-item__meta {
font-size: 11px;
flex-shrink: 0;
white-space: nowrap;
}

View File

@@ -7,7 +7,7 @@
display: flex;
gap: 12px;
align-items: flex-start;
margin-bottom: 8px;
margin-bottom: 16px;
margin-left: 4px;
margin-right: 16px;
}
@@ -124,13 +124,6 @@ img.chat-avatar {
object-position: center;
}
/* Logo avatar (OpenClaw favicon) - contain to show full logo */
img.chat-avatar.chat-avatar--logo {
object-fit: contain;
padding: 6px;
box-sizing: border-box;
}
/* Minimal Bubble Design - dynamic width based on content */
.chat-bubble {
position: relative;

View File

@@ -9,8 +9,7 @@
flex-direction: column;
flex: 1 1 0;
height: 100%;
min-height: 0;
/* Allow flex shrinking */
min-height: 0; /* Allow flex shrinking */
overflow: hidden;
background: transparent !important;
border: none !important;
@@ -22,18 +21,18 @@
display: flex;
justify-content: space-between;
align-items: center;
gap: 8px;
gap: 12px;
flex-wrap: nowrap;
flex-shrink: 0;
padding-bottom: 4px;
margin-bottom: 4px;
padding-bottom: 12px;
margin-bottom: 12px;
background: transparent;
}
.chat-header__left {
display: flex;
align-items: center;
gap: 8px;
gap: 12px;
flex-wrap: wrap;
min-width: 0;
}
@@ -41,23 +40,21 @@
.chat-header__right {
display: flex;
align-items: center;
gap: 6px;
gap: 8px;
}
.chat-session {
min-width: 140px;
min-width: 180px;
}
/* Chat thread - scrollable middle section, transparent */
.chat-thread {
flex: 1 1 0;
/* Grow, shrink, and use 0 base for proper scrolling */
flex: 1 1 0; /* Grow, shrink, and use 0 base for proper scrolling */
overflow-y: auto;
overflow-x: hidden;
padding: 6px 6px 4px;
padding: 14px 8px;
margin: 0 -4px;
min-height: 0;
/* Allow shrinking for flex scroll behavior */
min-height: 0; /* Allow shrinking for flex scroll behavior */
border-radius: var(--radius-lg);
background: linear-gradient(
180deg,
@@ -154,10 +151,9 @@
flex-shrink: 0;
display: flex;
flex-direction: column;
gap: 8px;
margin-top: auto;
/* Push to bottom of flex container */
padding: 6px 6px 6px;
gap: 12px;
margin-top: auto; /* Push to bottom of flex container */
padding: 14px 6px 6px;
background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 94%, black) 22%);
backdrop-filter: blur(4px);
z-index: 10;
@@ -174,8 +170,7 @@
border: 1px solid var(--border);
width: fit-content;
max-width: 100%;
align-self: flex-start;
/* Don't stretch in flex column parent */
align-self: flex-start; /* Don't stretch in flex column parent */
}
.chat-attachment {
@@ -323,13 +318,13 @@
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
gap: 12px;
flex-wrap: wrap;
}
.chat-controls__session {
min-width: 120px;
max-width: 220px;
min-width: 140px;
max-width: 300px;
}
.chat-controls__thinking {
@@ -341,9 +336,9 @@
/* Icon button style */
.btn--icon {
padding: 0 !important;
min-width: 32px;
height: 32px;
padding: 8px !important;
min-width: 36px;
height: 36px;
display: inline-flex;
align-items: center;
justify-content: center;
@@ -352,17 +347,12 @@
border-radius: var(--radius-md);
}
/* Controls separator — renders as a thin vertical divider */
/* Controls separator */
.chat-controls__separator {
width: 1px;
height: 32px;
background: var(--border);
font-size: 0;
color: transparent;
overflow: hidden;
align-self: center;
flex-shrink: 0;
margin: 0 4px;
color: var(--border);
font-size: 18px;
margin: 0 8px;
font-weight: 300;
}
.btn--icon:hover {
@@ -370,18 +360,24 @@
border-color: var(--border-strong);
}
/* Ensure chat toolbar toggles have a clearly visible active state. */
.chat-controls .btn--icon.active {
border-color: var(--accent);
background: var(--accent-subtle);
color: var(--accent);
/* Light theme icon button overrides */
:root[data-theme="light"] .btn--icon {
background: #ffffff;
border-color: var(--border);
box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
color: var(--muted);
}
:root[data-theme="light"] .btn--icon:hover {
background: #ffffff;
border-color: var(--border-strong);
color: var(--text);
}
.btn--icon svg {
display: block;
width: 16px;
height: 16px;
flex-shrink: 0;
width: 18px;
height: 18px;
stroke: currentColor;
fill: none;
stroke-width: 1.5px;
@@ -390,9 +386,9 @@
}
.chat-controls__session select {
padding: 0 28px 0 10px;
padding: 6px 10px;
font-size: 13px;
max-width: 220px;
max-width: 300px;
overflow: hidden;
text-overflow: ellipsis;
}
@@ -402,16 +398,15 @@
align-items: center;
gap: 4px;
font-size: 12px;
padding: 0 10px;
height: 32px;
padding: 4px 10px;
background: color-mix(in srgb, var(--secondary) 90%, transparent);
border-radius: var(--radius-md);
border-radius: var(--radius-sm);
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
}
@media (max-width: 640px) {
.chat-session {
min-width: 80px;
min-width: 140px;
}
.chat-compose {
@@ -420,15 +415,10 @@
.chat-controls {
flex-wrap: wrap;
gap: 3px;
gap: 8px;
}
.chat-controls__session {
min-width: 80px;
max-width: 160px;
}
.chat-controls__separator {
display: none;
min-width: 120px;
}
}

View File

@@ -18,8 +18,7 @@
.chat-sidebar {
flex: 1;
min-width: 200px;
container-type: inline-size;
min-width: 300px;
border-left: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
display: flex;
flex-direction: column;
@@ -78,14 +77,11 @@
flex: 1;
overflow: auto;
padding: 16px;
min-width: 0;
}
.sidebar-markdown {
font-size: 14px;
line-height: 1.6;
overflow-wrap: break-word;
word-break: break-word;
}
.sidebar-markdown pre {
@@ -101,38 +97,6 @@
font-size: 13px;
}
/* Minimal state when sidebar is narrow: hide content, show expand hint */
@container (max-width: 260px) {
.chat-sidebar .sidebar-header {
padding: 6px 8px;
border-bottom: none;
justify-content: flex-end;
}
.chat-sidebar .sidebar-title {
display: none;
}
.chat-sidebar .sidebar-content {
display: flex;
align-items: center;
justify-content: center;
padding: 8px;
overflow: hidden;
}
.chat-sidebar .sidebar-content > * {
display: none;
}
.chat-sidebar .sidebar-content::before {
content: "← Drag to expand";
font-size: 11px;
color: var(--muted);
white-space: nowrap;
}
}
/* Mobile: Full-screen modal */
@media (max-width: 768px) {
.chat-split-container--open {

File diff suppressed because it is too large Load Diff

View File

@@ -3,10 +3,10 @@
=========================================== */
.shell {
--shell-pad: 12px;
--shell-gap: 12px;
--shell-nav-width: 220px;
--shell-topbar-height: 52px;
--shell-pad: 16px;
--shell-gap: 16px;
--shell-nav-width: 240px;
--shell-topbar-height: 62px;
--shell-focus-duration: 200ms;
--shell-focus-ease: var(--ease-out);
height: 100vh;
@@ -80,8 +80,8 @@
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
padding: 0 16px;
gap: 12px;
padding: 0 20px;
height: var(--shell-topbar-height);
background: var(--topbar-bg);
backdrop-filter: saturate(var(--glass-saturate)) blur(var(--glass-blur));
@@ -102,7 +102,7 @@
display: flex;
align-items: center;
gap: 6px;
font-size: 0.8rem;
font-size: 0.82rem;
min-width: 0;
}
@@ -142,17 +142,17 @@
.topbar-search {
display: flex;
align-items: center;
gap: 6px;
padding: 5px 10px;
min-width: 160px;
max-width: 280px;
gap: 8px;
padding: 6px 12px;
min-width: 200px;
max-width: 340px;
flex: 1;
height: 30px;
height: 34px;
border: 1px solid var(--border);
border-radius: var(--radius-full);
background: color-mix(in srgb, var(--secondary) 60%, transparent);
color: var(--muted);
font-size: 12px;
font-size: 13px;
font-family: var(--font-body);
cursor: pointer;
transition:
@@ -220,10 +220,10 @@
.topbar-connection {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 8px;
gap: 6px;
padding: 4px 10px;
border-radius: var(--radius-full);
font-size: 11px;
font-size: 12px;
font-weight: 500;
color: var(--danger);
background: var(--danger-subtle);
@@ -262,8 +262,8 @@
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
width: 28px;
height: 28px;
padding: 0;
border: 1px solid transparent;
border-radius: var(--radius);
@@ -278,8 +278,8 @@
}
.topbar-redact svg {
width: 12px;
height: 12px;
width: 14px;
height: 14px;
}
.topbar-redact:hover {
@@ -298,29 +298,23 @@
border-color: color-mix(in srgb, var(--warn) 30%, transparent);
}
/* Topbar theme select sizing */
/* Topbar theme toggle sizing */
.topbar-status .theme-select {
height: 26px;
min-width: 82px;
font-size: 11px;
.topbar-status .theme-toggle {
height: 30px;
}
.topbar-status .theme-btn svg {
width: 13px;
height: 13px;
}
/* ===========================================
Navigation Sidebar
=========================================== */
.shell-nav {
grid-area: nav;
display: flex;
flex-direction: column;
min-height: 0;
position: relative;
}
.sidebar {
flex: 1;
min-width: 0;
grid-area: nav;
display: flex;
flex-direction: column;
overflow-y: auto;
@@ -341,9 +335,13 @@
display: none;
}
.shell--chat-focus .sidebar,
.shell--chat-focus .sidebar-resizer {
display: none;
.shell--chat-focus .sidebar {
width: 0;
padding: 0;
border-width: 0;
overflow: hidden;
pointer-events: none;
opacity: 0;
}
.sidebar--collapsed {
@@ -385,21 +383,6 @@
border-left: 0;
}
.sidebar--collapsed .nav-item--active::before {
background:
radial-gradient(
ellipse 120% 28px at 50% -2px,
color-mix(in srgb, var(--accent) 38%, transparent) 0%,
color-mix(in srgb, var(--accent) 14%, transparent) 40%,
transparent 100%
),
radial-gradient(
ellipse 60% 100% at -4px 50%,
color-mix(in srgb, var(--accent) 28%, transparent) 0%,
transparent 70%
);
}
.sidebar--collapsed .sidebar-footer {
display: flex;
flex-direction: column;
@@ -414,54 +397,24 @@
height: 44px;
}
/* Sidebar resizer handle */
.sidebar-resizer {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 6px;
cursor: col-resize;
z-index: 10;
flex-shrink: 0;
/* Hit area extends beyond visible handle for easier grabbing */
margin-right: -3px;
}
.sidebar-resizer::before {
content: "";
position: absolute;
left: 2px;
top: 20%;
bottom: 20%;
width: 2px;
border-radius: 1px;
background: var(--glass-border);
transition: background 0.15s ease;
}
.sidebar-resizer:hover::before,
.sidebar-resizer:active::before {
background: var(--glass-border-hover);
}
/* Sidebar header (brand + collapse) */
.sidebar-header {
display: flex;
flex-direction: row;
align-items: center;
padding: 10px 8px;
gap: 8px;
gap: 0;
flex-shrink: 0;
min-height: 54px;
}
.sidebar-brand {
flex: 1;
min-width: 0;
flex: 2;
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
max-height: 28px;
padding-left: 10px;
@@ -487,19 +440,13 @@
line-height: 1.1;
color: var(--text-strong);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 0;
}
.sidebar-collapse-btn {
flex: 0 0 32px;
width: 32px;
flex: 1;
height: 32px;
@media (max-width: 1100px) {
flex: 0 0 28px;
width: 28px;
height: 28px;
}
@@ -636,7 +583,6 @@
border-radius: var(--radius-md);
border: 1px solid transparent;
background: transparent;
overflow: hidden;
color: var(--muted);
cursor: pointer;
text-decoration: none;
@@ -709,33 +655,6 @@
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}
.nav-item--active::before {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background: radial-gradient(
ellipse 28px 120% at -2px 50%,
color-mix(in srgb, var(--accent) 38%, transparent) 0%,
color-mix(in srgb, var(--accent) 14%, transparent) 40%,
transparent 100%
);
opacity: 0;
animation: nav-glow-in 0.4s ease-out 0.05s forwards;
pointer-events: none;
}
@keyframes nav-glow-in {
from {
opacity: 0;
transform: translateX(-6px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.nav-item--active .nav-item__icon {
opacity: 1;
color: var(--accent);
@@ -749,17 +668,11 @@
margin-top: auto;
}
.sidebar-footer__docs-block {
display: flex;
flex-direction: column;
gap: 4px;
}
.sidebar-version {
display: flex;
align-items: center;
justify-content: flex-start;
padding: 2px 12px 6px;
justify-content: center;
padding: 6px 10px;
}
.sidebar-version__text {
@@ -783,7 +696,7 @@
.content {
grid-area: content;
padding: 12px 14px 24px;
padding: 14px 18px 36px;
display: block;
min-height: 0;
overflow-y: auto;
@@ -791,13 +704,13 @@
}
.content > * + * {
margin-top: 18px;
margin-top: 24px;
}
.content--chat {
display: flex;
flex-direction: column;
gap: 2px;
gap: 24px;
overflow: hidden;
padding-bottom: 0;
}
@@ -809,12 +722,10 @@
/* Content header */
.content-header {
display: flex;
align-items: center;
align-items: flex-end;
justify-content: space-between;
gap: 10px;
height: 36px;
min-height: 36px;
padding: 0;
gap: 16px;
padding: 4px 0;
overflow: hidden;
transform-origin: top center;
transition:
@@ -822,37 +733,36 @@
transform var(--shell-focus-duration) var(--shell-focus-ease),
max-height var(--shell-focus-duration) var(--shell-focus-ease),
padding var(--shell-focus-duration) var(--shell-focus-ease);
max-height: 36px;
max-height: 80px;
}
.shell--chat-focus .content-header {
opacity: 0;
transform: translateY(-8px);
max-height: 0;
max-height: 0px;
padding: 0;
pointer-events: none;
}
.page-title {
font-size: 18px;
font-weight: 600;
letter-spacing: -0.03em;
line-height: 1.25;
font-size: 28px;
font-weight: 700;
letter-spacing: -0.035em;
line-height: 1.15;
color: var(--text-strong);
}
.page-sub {
color: var(--muted);
font-size: 12px;
font-size: 15px;
font-weight: 400;
margin-top: 1px;
margin-top: 6px;
letter-spacing: -0.01em;
}
.page-meta {
display: flex;
gap: 6px;
align-items: center;
gap: 8px;
}
/* Chat view header adjustments */
@@ -860,13 +770,10 @@
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 10px;
gap: 16px;
}
.content--chat .content-header > div:first-child {
display: flex;
flex-direction: column;
justify-content: center;
text-align: left;
}
@@ -876,66 +783,6 @@
.content--chat .chat-controls {
flex-shrink: 0;
align-items: center;
align-content: center;
}
/* Chat controls in header — uniform 32px height across all controls */
.content-header .btn--icon {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 32px;
height: 32px;
padding: 0 !important;
}
.content-header .btn--icon svg {
display: block;
width: 16px;
height: 16px;
flex-shrink: 0;
}
.content-header .chat-controls__session {
display: flex;
align-items: center;
gap: 0;
min-width: 0;
}
.content-header .chat-controls__session select {
height: 32px;
line-height: 1;
font-size: 13px;
font-weight: 600;
letter-spacing: -0.02em;
padding: 0 28px 0 10px;
background-position: right 8px center;
border-radius: var(--radius-md);
max-width: 300px;
overflow: hidden;
text-overflow: ellipsis;
}
.content-header .chat-controls__separator {
width: 1px;
height: 32px;
background: var(--border);
font-size: 0;
color: transparent;
overflow: hidden;
align-self: center;
flex-shrink: 0;
margin: 0 4px;
}
.content-header .chat-controls__thinking {
height: 32px;
min-height: 32px;
align-items: center;
padding: 0 10px;
font-size: 12px;
}
/* ===========================================
@@ -944,7 +791,7 @@
.grid {
display: grid;
gap: 14px;
gap: 20px;
}
.grid-cols-2 {
@@ -957,32 +804,32 @@
.stat-grid {
display: grid;
gap: 10px;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
gap: 14px;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.note-grid {
display: grid;
gap: 12px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.row {
display: flex;
gap: 10px;
gap: 12px;
align-items: center;
}
.stack {
display: grid;
gap: 10px;
gap: 12px;
grid-template-columns: minmax(0, 1fr);
}
.filters {
display: flex;
flex-wrap: wrap;
gap: 12px;
gap: 8px;
align-items: center;
}
@@ -992,14 +839,58 @@
@media (max-width: 1100px) {
.shell {
--shell-pad: 10px;
--shell-gap: 10px;
--shell-nav-width: 200px;
--shell-pad: 12px;
--shell-gap: 12px;
grid-template-columns: 1fr;
grid-template-rows: auto auto 1fr;
grid-template-areas:
"topbar"
"nav"
"content";
}
.sidebar {
position: static;
max-height: none;
display: flex;
flex-direction: row;
gap: 6px;
overflow-x: auto;
border-right: none;
border-bottom: 1px solid var(--border);
}
.sidebar-header {
display: none;
}
.sidebar-footer {
display: none;
}
.sidebar-nav {
display: flex;
flex-direction: row;
gap: 6px;
padding: 10px 14px;
overflow-x: auto;
}
.nav-group {
grid-auto-flow: column;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
margin-bottom: 0;
}
.grid-cols-2,
.grid-cols-3 {
grid-template-columns: 1fr;
}
.topbar {
padding: 10px 12px;
gap: 8px;
position: static;
padding: 12px 14px;
gap: 10px;
}
.topbar-search__kbd {
@@ -1010,30 +901,6 @@
flex-wrap: nowrap;
}
.content-header {
height: 36px;
min-height: 36px;
max-height: 36px;
padding: 0;
}
.page-sub {
display: none;
}
.content {
padding: 10px 12px 20px;
}
.content > * + * {
margin-top: 14px;
}
.grid-cols-2,
.grid-cols-3 {
grid-template-columns: 1fr;
}
.table-head,
.table-row {
grid-template-columns: 1fr;

View File

@@ -2,10 +2,60 @@
Mobile Layout
=========================================== */
/* Tablet: keep side nav vertical, narrow sidebar */
/* Tablet: Horizontal nav */
@media (max-width: 1100px) {
.shell {
--shell-nav-width: 200px;
.sidebar {
flex-direction: row;
flex-wrap: nowrap;
border-right: none;
border-bottom: 1px solid var(--border);
}
.sidebar-header {
display: none;
}
.sidebar-footer {
display: none;
}
.sidebar-nav {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
gap: 4px;
padding: 10px 14px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar {
display: none;
}
.nav-group {
display: contents;
}
.nav-group__items {
display: contents;
}
.nav-group__label {
display: none;
}
.nav-group--collapsed .nav-group__items {
display: contents;
}
.nav-item {
padding: 8px 14px;
font-size: 13px;
border-radius: var(--radius-md);
white-space: nowrap;
flex-shrink: 0;
}
}
@@ -14,7 +64,6 @@
.shell {
--shell-pad: 8px;
--shell-gap: 8px;
--shell-nav-width: 180px;
}
/* Topbar */
@@ -91,31 +140,14 @@
flex-shrink: 0;
}
/* Content — compact header on chat, hide on other tabs */
/* Content */
.content-header {
height: 64px;
min-height: 64px;
padding: 12px 0;
/* This controls the height of the content header on mobile */
max-height: 64px;
margin-top: 24px;
}
.content:not(.content--chat) .content-header {
display: none;
}
.content--chat .page-title {
font-size: 16px;
}
.content--chat .page-sub {
display: none;
}
.content {
padding: 4px 6px 12px;
gap: 10px;
padding: 4px 4px 16px;
gap: 12px;
}
/* Cards */
@@ -180,14 +212,10 @@
}
/* Chat */
.chat-agent-bar {
padding: 2px 6px;
}
.chat-header {
flex-direction: column;
align-items: stretch;
gap: 6px;
gap: 8px;
}
.chat-header__left {
@@ -205,60 +233,40 @@
}
.chat-thread {
margin-top: 6px;
padding: 10px 6px;
margin-top: 8px;
padding: 12px 8px;
}
.chat-msg {
max-width: 92%;
max-width: 90%;
}
.chat-bubble {
padding: 6px 10px;
padding: 8px 12px;
border-radius: var(--radius-md);
}
.chat-compose {
gap: 6px;
gap: 8px;
}
.chat-compose__field textarea {
min-height: 52px;
padding: 6px 10px;
min-height: 60px;
padding: 8px 10px;
border-radius: var(--radius-md);
font-size: 14px;
}
.agent-chat__input {
margin: 0 8px 10px;
}
.agent-chat__toolbar {
padding: 4px 8px;
}
.agent-chat__input-btn,
.agent-chat__toolbar .btn-ghost {
width: 28px;
height: 28px;
}
.agent-chat__input-btn svg,
.agent-chat__toolbar .btn-ghost svg {
width: 14px;
height: 14px;
}
/* Log stream */
.log-stream {
border-radius: var(--radius-md);
max-height: 320px;
max-height: 380px;
}
.log-row {
grid-template-columns: 1fr;
gap: 2px;
padding: 6px;
gap: 4px;
padding: 8px;
}
.log-time {
@@ -274,15 +282,7 @@
}
.log-message {
font-size: 11px;
word-break: break-word;
}
.ov-log-tail-content {
max-height: 200px;
font-size: 10px;
padding: 8px;
line-height: 1.5;
font-size: 12px;
}
/* Lists */
@@ -306,10 +306,18 @@
font-size: 11px;
}
.theme-select {
height: 26px;
min-width: 78px;
font-size: 11px;
.theme-toggle {
height: 28px;
}
.theme-btn svg {
width: 12px;
height: 12px;
}
.theme-icon {
width: 12px;
height: 12px;
}
}
@@ -372,9 +380,12 @@
padding: 3px 6px;
}
.theme-select {
height: 24px;
min-width: 72px;
font-size: 10px;
.theme-toggle {
height: 26px;
}
.theme-icon {
width: 11px;
height: 11px;
}
}