mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 03:17:26 +00:00
UI: polish dashboard — agents overview, chat toolbar, debug & login UX (#23553)
* UI: polish dashboard — agents overview, chat toolbar, debug simplification, login UX * fix(ui): restore chat draft ordering, remove extra toolbar buttons * UI: replace agent avatar fallback with lobster emoji * style(ui): update layout styles for sidebar and shell, adjusting navigation widths for improved responsiveness * feat(ui): implement sidebar resizing functionality and enhance navigation with new search and sorting features for sessions * fix(ui): update references from ClawDash to OpenClaw in checklist and dashboard header * style(ui): adjust sidebar minimum width and add responsive behavior for narrow states * UI: minimal chat agent bar — remove sessions panel, strip chrome * style(ui): update light theme colors and add ambient gradient for Luxe Cream & Coral * UI: replace sparkle with OpenClaw lobster logo in chat * style(ui): rename theme toggle to theme select and update related styles; adjust layout and spacing for agents and chat components * style(ui): enhance agents panel layout with grid system, update toolbar styles, and refine usage chart presentation * style(ui): adjust sessions table column width and refine agent model fields layout for better responsiveness * style(ui): refine component styles for improved layout and responsiveness; adjust gradients, spacing, and element alignment across chat and agent interfaces * ui: align chat-controls session container * ui: enlarge agent controls for better touch targets * ui: pass basePath to avatar renderer in grouped chat * ui: formatting fixups from pre-commit hooks * style(ui): update layout and spacing for chat controls; enhance select component styles and improve responsiveness * UI: tighten chat header spacing and icon sizes * UI: widen chat attachment gap * style(ui): refine chat header layout and adjust icon sizes for improved visual consistency * style(ui): enhance component styles and layout; introduce new inline field styles, update overview card design, and improve session filters for better usability * style(ui): improve CSS formatting and consistency across components; adjust gradients, spacing, and layout for better readability and visual appeal * fix(ui): correct rendering of empty state in overview cards by replacing 'nothing' with an empty string
This commit is contained in:
@@ -96,55 +96,55 @@
|
||||
--radius-full: 9999px;
|
||||
}
|
||||
|
||||
/* ─── Theme: light (Docs) — Warm Editorial Dark ─── */
|
||||
/* ─── Theme: light — Luxe Cream & Coral ─── */
|
||||
|
||||
:root[data-theme="light"] {
|
||||
color-scheme: dark;
|
||||
color-scheme: light;
|
||||
|
||||
--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;
|
||||
--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;
|
||||
|
||||
--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;
|
||||
--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;
|
||||
|
||||
--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);
|
||||
--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);
|
||||
|
||||
--radius-xs: 4px;
|
||||
--radius-sm: 8px;
|
||||
@@ -491,6 +491,16 @@
|
||||
--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) {
|
||||
@@ -714,6 +724,20 @@ select {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ─── light — Luxe Cream ambient gradient ─── */
|
||||
|
||||
:root[data-theme="light"] 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%),
|
||||
var(--bg);
|
||||
}
|
||||
|
||||
:root[data-theme="light"] body::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ─── clawdash — Chrome Metallic Overrides ─── */
|
||||
|
||||
:root[data-theme="clawdash"] body {
|
||||
|
||||
@@ -107,9 +107,12 @@
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
.agent-chat__badge svg {
|
||||
.agent-chat__badge svg,
|
||||
.agent-chat__badge img {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
object-fit: contain;
|
||||
vertical-align: -0.15em;
|
||||
}
|
||||
|
||||
/* ─── Starter Cards ─── */
|
||||
@@ -239,6 +242,17 @@
|
||||
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;
|
||||
@@ -1124,10 +1138,11 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 4px 12px;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
|
||||
padding: 2px 8px;
|
||||
border-bottom: 1px solid color-mix(in srgb, var(--border) 40%, transparent);
|
||||
flex-shrink: 0;
|
||||
gap: 6px;
|
||||
gap: 4px;
|
||||
min-height: 28px;
|
||||
}
|
||||
|
||||
.chat-agent-bar__left {
|
||||
@@ -1145,143 +1160,29 @@
|
||||
}
|
||||
|
||||
.chat-agent-bar__name {
|
||||
font-size: 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.chat-agent-select {
|
||||
background: color-mix(in srgb, var(--secondary) 70%, transparent);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
background: transparent;
|
||||
border: none;
|
||||
color: var(--text);
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
padding: 2px 20px 2px 6px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
padding: 0 14px 0 0;
|
||||
cursor: pointer;
|
||||
appearance: none;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' 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='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-repeat: no-repeat;
|
||||
background-position: right 4px center;
|
||||
transition:
|
||||
border-color 150ms ease,
|
||||
background 150ms ease;
|
||||
background-position: right 0 center;
|
||||
}
|
||||
|
||||
.chat-agent-select:hover {
|
||||
border-color: var(--border-strong);
|
||||
background: color-mix(in srgb, var(--secondary) 90%, transparent);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.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: 4px;
|
||||
padding: 2px 6px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 11px;
|
||||
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: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.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: 6px;
|
||||
padding: 4px 8px;
|
||||
border: none;
|
||||
border-radius: var(--radius-sm);
|
||||
background: none;
|
||||
color: var(--text);
|
||||
font-size: 11px;
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: 8px;
|
||||
margin-left: 4px;
|
||||
margin-right: 16px;
|
||||
}
|
||||
@@ -124,6 +124,13 @@ 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;
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
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;
|
||||
@@ -21,18 +22,18 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: 8px;
|
||||
flex-wrap: nowrap;
|
||||
flex-shrink: 0;
|
||||
padding-bottom: 12px;
|
||||
margin-bottom: 12px;
|
||||
padding-bottom: 4px;
|
||||
margin-bottom: 4px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.chat-header__left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -40,21 +41,23 @@
|
||||
.chat-header__right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.chat-session {
|
||||
min-width: 180px;
|
||||
min-width: 140px;
|
||||
}
|
||||
|
||||
/* 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: 10px 6px;
|
||||
padding: 6px 6px 4px;
|
||||
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,
|
||||
@@ -151,9 +154,10 @@
|
||||
flex-shrink: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
margin-top: auto; /* Push to bottom of flex container */
|
||||
padding: 14px 6px 6px;
|
||||
gap: 8px;
|
||||
margin-top: auto;
|
||||
/* Push to bottom of flex container */
|
||||
padding: 6px 6px 6px;
|
||||
background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--bg) 94%, black) 22%);
|
||||
backdrop-filter: blur(4px);
|
||||
z-index: 10;
|
||||
@@ -170,7 +174,8 @@
|
||||
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 {
|
||||
@@ -318,13 +323,13 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
gap: 6px;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.chat-controls__session {
|
||||
min-width: 120px;
|
||||
max-width: 260px;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.chat-controls__thinking {
|
||||
@@ -336,7 +341,7 @@
|
||||
|
||||
/* Icon button style */
|
||||
.btn--icon {
|
||||
padding: 6px !important;
|
||||
padding: 0 !important;
|
||||
min-width: 32px;
|
||||
height: 32px;
|
||||
display: inline-flex;
|
||||
@@ -347,12 +352,17 @@
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
/* Controls separator */
|
||||
/* Controls separator — renders as a thin vertical divider */
|
||||
.chat-controls__separator {
|
||||
color: var(--border);
|
||||
font-size: 14px;
|
||||
margin: 0 2px;
|
||||
font-weight: 300;
|
||||
width: 1px;
|
||||
height: 32px;
|
||||
background: var(--border);
|
||||
font-size: 0;
|
||||
color: transparent;
|
||||
overflow: hidden;
|
||||
align-self: center;
|
||||
flex-shrink: 0;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.btn--icon:hover {
|
||||
@@ -371,6 +381,7 @@
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex-shrink: 0;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
stroke-width: 1.5px;
|
||||
@@ -379,9 +390,9 @@
|
||||
}
|
||||
|
||||
.chat-controls__session select {
|
||||
padding: 4px 8px;
|
||||
font-size: 12px;
|
||||
max-width: 260px;
|
||||
padding: 0 28px 0 10px;
|
||||
font-size: 13px;
|
||||
max-width: 220px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
@@ -390,16 +401,17 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 11px;
|
||||
padding: 2px 8px;
|
||||
font-size: 12px;
|
||||
padding: 0 10px;
|
||||
height: 32px;
|
||||
background: color-mix(in srgb, var(--secondary) 90%, transparent);
|
||||
border-radius: var(--radius-sm);
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.chat-session {
|
||||
min-width: 100px;
|
||||
min-width: 80px;
|
||||
}
|
||||
|
||||
.chat-compose {
|
||||
@@ -408,11 +420,15 @@
|
||||
|
||||
.chat-controls {
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.chat-controls__session {
|
||||
min-width: 100px;
|
||||
max-width: 180px;
|
||||
min-width: 80px;
|
||||
max-width: 160px;
|
||||
}
|
||||
|
||||
.chat-controls__separator {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
|
||||
.chat-sidebar {
|
||||
flex: 1;
|
||||
min-width: 300px;
|
||||
min-width: 200px;
|
||||
container-type: inline-size;
|
||||
border-left: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -77,11 +78,14 @@
|
||||
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 {
|
||||
@@ -97,6 +101,38 @@
|
||||
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
@@ -8,7 +8,7 @@
|
||||
grid-template-columns: 260px minmax(0, 1fr);
|
||||
gap: 0;
|
||||
height: calc(100vh - 160px);
|
||||
margin: 0 -16px -16px;
|
||||
margin: -16px;
|
||||
border-radius: var(--radius-xl);
|
||||
border: 1px solid var(--border);
|
||||
background: var(--panel);
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
=========================================== */
|
||||
|
||||
.shell {
|
||||
--shell-pad: 16px;
|
||||
--shell-gap: 16px;
|
||||
--shell-nav-width: 240px;
|
||||
--shell-topbar-height: 62px;
|
||||
--shell-pad: 12px;
|
||||
--shell-gap: 12px;
|
||||
--shell-nav-width: 220px;
|
||||
--shell-topbar-height: 52px;
|
||||
--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: 12px;
|
||||
padding: 0 20px;
|
||||
gap: 10px;
|
||||
padding: 0 16px;
|
||||
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.82rem;
|
||||
font-size: 0.8rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@@ -142,17 +142,17 @@
|
||||
.topbar-search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 6px 12px;
|
||||
min-width: 200px;
|
||||
max-width: 340px;
|
||||
gap: 6px;
|
||||
padding: 5px 10px;
|
||||
min-width: 160px;
|
||||
max-width: 280px;
|
||||
flex: 1;
|
||||
height: 34px;
|
||||
height: 30px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-full);
|
||||
background: color-mix(in srgb, var(--secondary) 60%, transparent);
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
font-family: var(--font-body);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
@@ -220,10 +220,10 @@
|
||||
.topbar-connection {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 10px;
|
||||
gap: 5px;
|
||||
padding: 3px 8px;
|
||||
border-radius: var(--radius-full);
|
||||
font-size: 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 500;
|
||||
color: var(--danger);
|
||||
background: var(--danger-subtle);
|
||||
@@ -262,10 +262,9 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 6px;
|
||||
min-width: 28px;
|
||||
height: 28px;
|
||||
padding: 0 4px;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius);
|
||||
background: none;
|
||||
@@ -279,8 +278,8 @@
|
||||
}
|
||||
|
||||
.topbar-redact svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.topbar-redact:hover {
|
||||
@@ -290,45 +289,40 @@
|
||||
}
|
||||
|
||||
.topbar-redact--active {
|
||||
border-radius: var(--radius-full);
|
||||
padding: 4px 10px;
|
||||
color: var(--warn);
|
||||
background: var(--warn-subtle);
|
||||
}
|
||||
|
||||
.topbar-redact--active:hover {
|
||||
color: var(--warn);
|
||||
background: color-mix(in srgb, var(--warn-subtle) 80%, var(--warn) 10%);
|
||||
background: var(--warn-subtle);
|
||||
border-color: color-mix(in srgb, var(--warn) 30%, transparent);
|
||||
}
|
||||
|
||||
.topbar-redact__label {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
}
|
||||
/* Topbar theme select sizing */
|
||||
|
||||
/* Topbar theme toggle sizing */
|
||||
|
||||
.topbar-status .theme-toggle {
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.topbar-status .theme-btn svg {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
.topbar-status .theme-select {
|
||||
height: 26px;
|
||||
min-width: 82px;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
Navigation Sidebar
|
||||
=========================================== */
|
||||
|
||||
.sidebar {
|
||||
.shell-nav {
|
||||
grid-area: nav;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
scrollbar-width: none;
|
||||
@@ -347,13 +341,9 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
.shell--chat-focus .sidebar {
|
||||
width: 0;
|
||||
padding: 0;
|
||||
border-width: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
.shell--chat-focus .sidebar,
|
||||
.shell--chat-focus .sidebar-resizer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sidebar--collapsed {
|
||||
@@ -395,6 +385,21 @@
|
||||
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;
|
||||
@@ -409,24 +414,54 @@
|
||||
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: 0;
|
||||
gap: 8px;
|
||||
flex-shrink: 0;
|
||||
min-height: 54px;
|
||||
}
|
||||
|
||||
.sidebar-brand {
|
||||
flex: 2;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
|
||||
max-height: 28px;
|
||||
|
||||
padding-left: 10px;
|
||||
@@ -452,13 +487,19 @@
|
||||
line-height: 1.1;
|
||||
color: var(--text-strong);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.sidebar-collapse-btn {
|
||||
flex: 1;
|
||||
flex: 0 0 32px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
flex: 0 0 28px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
@@ -595,6 +636,7 @@
|
||||
border-radius: var(--radius-md);
|
||||
border: 1px solid transparent;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
@@ -667,6 +709,33 @@
|
||||
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);
|
||||
@@ -680,11 +749,17 @@
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.sidebar-footer__docs-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.sidebar-version {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 6px 10px;
|
||||
justify-content: flex-start;
|
||||
padding: 2px 12px 6px;
|
||||
}
|
||||
|
||||
.sidebar-version__text {
|
||||
@@ -708,7 +783,7 @@
|
||||
|
||||
.content {
|
||||
grid-area: content;
|
||||
padding: 14px 18px 36px;
|
||||
padding: 12px 14px 24px;
|
||||
display: block;
|
||||
min-height: 0;
|
||||
overflow-y: auto;
|
||||
@@ -716,13 +791,13 @@
|
||||
}
|
||||
|
||||
.content > * + * {
|
||||
margin-top: 24px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.content--chat {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
gap: 2px;
|
||||
overflow: hidden;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
@@ -734,10 +809,12 @@
|
||||
/* Content header */
|
||||
.content-header {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 2px 0;
|
||||
gap: 10px;
|
||||
height: 36px;
|
||||
min-height: 36px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
transform-origin: top center;
|
||||
transition:
|
||||
@@ -745,30 +822,30 @@
|
||||
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: 64px;
|
||||
max-height: 36px;
|
||||
}
|
||||
|
||||
.shell--chat-focus .content-header {
|
||||
opacity: 0;
|
||||
transform: translateY(-8px);
|
||||
max-height: 0px;
|
||||
max-height: 0;
|
||||
padding: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
font-size: 22px;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.03em;
|
||||
line-height: 1.2;
|
||||
line-height: 1.25;
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.page-sub {
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
margin-top: 2px;
|
||||
margin-top: 1px;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
@@ -783,10 +860,13 @@
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.content--chat .content-header > div:first-child {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
@@ -796,6 +876,66 @@
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
/* ===========================================
|
||||
@@ -804,7 +944,7 @@
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.grid-cols-2 {
|
||||
@@ -817,32 +957,32 @@
|
||||
|
||||
.stat-grid {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
gap: 10px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
|
||||
}
|
||||
|
||||
.note-grid {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 12px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.stack {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
gap: 10px;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
@@ -852,58 +992,14 @@
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.shell {
|
||||
--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;
|
||||
--shell-pad: 10px;
|
||||
--shell-gap: 10px;
|
||||
--shell-nav-width: 200px;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
position: static;
|
||||
padding: 12px 14px;
|
||||
gap: 10px;
|
||||
padding: 10px 12px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.topbar-search__kbd {
|
||||
@@ -914,6 +1010,30 @@
|
||||
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;
|
||||
|
||||
@@ -2,60 +2,10 @@
|
||||
Mobile Layout
|
||||
=========================================== */
|
||||
|
||||
/* Tablet: Horizontal nav */
|
||||
/* Tablet: keep side nav vertical, narrow sidebar */
|
||||
@media (max-width: 1100px) {
|
||||
.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;
|
||||
.shell {
|
||||
--shell-nav-width: 200px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,6 +14,7 @@
|
||||
.shell {
|
||||
--shell-pad: 8px;
|
||||
--shell-gap: 8px;
|
||||
--shell-nav-width: 180px;
|
||||
}
|
||||
|
||||
/* Topbar */
|
||||
@@ -142,8 +93,12 @@
|
||||
|
||||
/* Content — compact header on chat, hide on other tabs */
|
||||
.content-header {
|
||||
padding: 0;
|
||||
max-height: 48px;
|
||||
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 {
|
||||
@@ -151,7 +106,7 @@
|
||||
}
|
||||
|
||||
.content--chat .page-title {
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.content--chat .page-sub {
|
||||
@@ -159,8 +114,8 @@
|
||||
}
|
||||
|
||||
.content {
|
||||
padding: 4px 4px 16px;
|
||||
gap: 12px;
|
||||
padding: 4px 6px 12px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
/* Cards */
|
||||
@@ -226,22 +181,7 @@
|
||||
|
||||
/* Chat */
|
||||
.chat-agent-bar {
|
||||
padding: 4px 8px;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.chat-agent-bar__name {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.chat-agent-select {
|
||||
font-size: 11px;
|
||||
padding: 2px 16px 2px 4px;
|
||||
}
|
||||
|
||||
.chat-sessions-summary {
|
||||
padding: 2px 4px;
|
||||
font-size: 10px;
|
||||
padding: 2px 6px;
|
||||
}
|
||||
|
||||
.chat-header {
|
||||
@@ -366,18 +306,10 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.theme-btn svg {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.theme-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
.theme-select {
|
||||
height: 26px;
|
||||
min-width: 78px;
|
||||
font-size: 11px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -440,12 +372,9 @@
|
||||
padding: 3px 6px;
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
.theme-icon {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
.theme-select {
|
||||
height: 24px;
|
||||
min-width: 72px;
|
||||
font-size: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user