1864 lines
40 KiB
CSS
1864 lines
40 KiB
CSS
/* ============================================================
|
|
agentmon — Refined Dark UI
|
|
============================================================ */
|
|
|
|
:root {
|
|
--bg: #07090f;
|
|
--surface: #0d1117;
|
|
--surface-2: #111820;
|
|
--card: rgba(13, 20, 32, 0.85);
|
|
--border: rgba(28, 38, 55, 0.7);
|
|
--border-soft: rgba(28, 38, 55, 0.4);
|
|
|
|
--text: #b8c5d4;
|
|
--text-dim: #465a6e;
|
|
--text-bright: #e4edf5;
|
|
|
|
--accent: #22d3ee;
|
|
--accent-dim: rgba(34, 211, 238, 0.07);
|
|
--accent-glow: rgba(34, 211, 238, 0.18);
|
|
|
|
--success: #34d399;
|
|
--error: #f87171;
|
|
--warning: #fbbf24;
|
|
--purple: #a78bfa;
|
|
|
|
--font-display: 'Syne', sans-serif;
|
|
--font-body: 'Outfit', sans-serif;
|
|
--font-mono: 'Fira Code', monospace;
|
|
|
|
--radius: 6px;
|
|
--radius-lg: 10px;
|
|
--radius-xl: 14px;
|
|
|
|
--header-bg: rgba(7, 9, 15, 0.82);
|
|
--code-text: #7a9ab5;
|
|
}
|
|
|
|
/* ── Reset ─────────────────────────────────────────────────── */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
/* ── Base ──────────────────────────────────────────────────── */
|
|
html { scroll-behavior: smooth; }
|
|
|
|
body {
|
|
font-family: var(--font-body);
|
|
font-size: 15px;
|
|
background-color: var(--bg);
|
|
background-image:
|
|
radial-gradient(ellipse 80% 40% at 50% -20%, rgba(34, 211, 238, 0.04) 0%, transparent 70%),
|
|
radial-gradient(circle at 1px 1px, rgba(34, 211, 238, 0.045) 1px, transparent 0);
|
|
background-size: 100% 100%, 28px 28px;
|
|
color: var(--text);
|
|
line-height: 1.6;
|
|
min-height: 100vh;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* ── Header ────────────────────────────────────────────────── */
|
|
header {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 2rem;
|
|
height: 54px;
|
|
background: var(--header-bg);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
header::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -1px;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent 0%, var(--accent) 40%, var(--accent) 60%, transparent 100%);
|
|
opacity: 0.15;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.header-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
header h1 a {
|
|
font-family: var(--font-display);
|
|
font-size: 1rem;
|
|
font-weight: 800;
|
|
color: var(--text-bright);
|
|
text-decoration: none;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.logo-dot {
|
|
display: inline-block;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
box-shadow: 0 0 8px var(--accent-glow);
|
|
margin-left: 2px;
|
|
vertical-align: middle;
|
|
position: relative;
|
|
top: -1px;
|
|
}
|
|
|
|
header nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
header nav a {
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
color: var(--text-dim);
|
|
text-decoration: none;
|
|
padding: 0.375rem 0.875rem;
|
|
border-radius: var(--radius);
|
|
letter-spacing: 0.03em;
|
|
transition: color 0.15s, background 0.15s;
|
|
position: relative;
|
|
}
|
|
|
|
header nav a:hover {
|
|
color: var(--text-bright);
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
header nav a.active {
|
|
color: var(--text-bright);
|
|
}
|
|
|
|
header nav a.active::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -2px;
|
|
left: 0.875rem;
|
|
right: 0.875rem;
|
|
height: 2px;
|
|
background: var(--accent);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
/* ── Main ──────────────────────────────────────────────────── */
|
|
main {
|
|
max-width: 1240px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
/* Page entry animation */
|
|
@keyframes fadeUp {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
main > * {
|
|
animation: fadeUp 0.28s ease both;
|
|
}
|
|
|
|
/* ── Back link ─────────────────────────────────────────────── */
|
|
.back-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
margin-bottom: 1.75rem;
|
|
color: var(--text-dim);
|
|
text-decoration: none;
|
|
font-size: 0.78rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
padding: 0.35rem 0.75rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
transition: color 0.15s, border-color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.back-link:hover {
|
|
color: var(--text-bright);
|
|
border-color: rgba(34, 211, 238, 0.25);
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
/* ── Page header ───────────────────────────────────────────── */
|
|
.page-header {
|
|
margin-bottom: 2rem;
|
|
padding-bottom: 1.5rem;
|
|
border-bottom: 1px solid var(--border-soft);
|
|
}
|
|
|
|
.page-header h2 {
|
|
font-family: var(--font-display);
|
|
font-size: 1.55rem;
|
|
font-weight: 700;
|
|
color: var(--text-bright);
|
|
margin-bottom: 0.6rem;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem 1.25rem;
|
|
color: var(--text-dim);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.meta-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.meta-label {
|
|
font-size: 0.72rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
/* ── Section title ─────────────────────────────────────────── */
|
|
.section-title {
|
|
font-family: var(--font-display);
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: var(--text-bright);
|
|
margin-bottom: 1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.section-title .count {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
font-weight: 500;
|
|
color: var(--text-dim);
|
|
background: var(--surface-2);
|
|
border: 1px solid var(--border);
|
|
padding: 0.1rem 0.45rem;
|
|
border-radius: 999px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
/* ── Filters ───────────────────────────────────────────────── */
|
|
.filters {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.5rem;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1rem 1.25rem;
|
|
}
|
|
|
|
.filters label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.filters input,
|
|
.filters select {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
color: var(--text);
|
|
padding: 0.45rem 0.75rem;
|
|
border-radius: var(--radius);
|
|
font-family: var(--font-body);
|
|
font-size: 0.85rem;
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
outline: none;
|
|
min-width: 140px;
|
|
}
|
|
|
|
.filters input:focus,
|
|
.filters select:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px var(--accent-dim);
|
|
}
|
|
|
|
.filters select option {
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
/* ── Table container ───────────────────────────────────────── */
|
|
.table-container {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
overflow-x: auto;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th, td {
|
|
text-align: left;
|
|
padding: 0.7rem 1.25rem;
|
|
}
|
|
|
|
th {
|
|
background: var(--surface-2);
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: var(--text-dim);
|
|
border-bottom: 1px solid var(--border);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
td {
|
|
font-size: 0.875rem;
|
|
border-bottom: 1px solid var(--border-soft);
|
|
color: var(--text);
|
|
}
|
|
|
|
tr:last-child td { border-bottom: none; }
|
|
|
|
tr.clickable { cursor: pointer; }
|
|
|
|
tr.clickable:hover td {
|
|
background: var(--surface-2);
|
|
color: var(--text-bright);
|
|
}
|
|
|
|
tr.clickable:hover td:first-child {
|
|
border-left: 2px solid var(--accent);
|
|
padding-left: calc(1.25rem - 2px);
|
|
}
|
|
|
|
/* ── Status badges ─────────────────────────────────────────── */
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.2rem 0.6rem;
|
|
border-radius: 999px;
|
|
font-size: 0.72rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.status-success {
|
|
color: var(--success);
|
|
background: rgba(52, 211, 153, 0.1);
|
|
border: 1px solid rgba(52, 211, 153, 0.2);
|
|
}
|
|
.status-success .status-dot { background: var(--success); }
|
|
|
|
.status-error {
|
|
color: var(--error);
|
|
background: rgba(248, 113, 113, 0.1);
|
|
border: 1px solid rgba(248, 113, 113, 0.2);
|
|
}
|
|
.status-error .status-dot { background: var(--error); }
|
|
|
|
.status-unknown {
|
|
color: var(--warning);
|
|
background: rgba(251, 191, 36, 0.1);
|
|
border: 1px solid rgba(251, 191, 36, 0.2);
|
|
}
|
|
.status-unknown .status-dot { background: var(--warning); }
|
|
|
|
/* ── Monospace cells ───────────────────────────────────────── */
|
|
.id-cell {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
color: var(--accent);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.model-badge {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
background: var(--surface-2);
|
|
color: var(--text-dim);
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* ── Load more ─────────────────────────────────────────────── */
|
|
.load-more {
|
|
display: block;
|
|
width: 100%;
|
|
margin-top: 0.875rem;
|
|
padding: 0.7rem;
|
|
background: transparent;
|
|
border: 1px dashed var(--border);
|
|
color: var(--text-dim);
|
|
cursor: pointer;
|
|
border-radius: var(--radius);
|
|
font-family: var(--font-body);
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
transition: border-color 0.15s, color 0.15s, background 0.15s;
|
|
}
|
|
|
|
.load-more:hover {
|
|
border-color: var(--accent);
|
|
color: var(--accent);
|
|
background: var(--accent-dim);
|
|
}
|
|
|
|
/* ── Span expand ───────────────────────────────────────────── */
|
|
.expandable { cursor: pointer; }
|
|
|
|
.expand-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
margin-right: 0.5rem;
|
|
color: var(--text-dim);
|
|
font-size: 0;
|
|
transition: transform 0.18s ease;
|
|
flex-shrink: 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.expand-icon::before {
|
|
content: '';
|
|
display: block;
|
|
width: 5px;
|
|
height: 5px;
|
|
border-right: 1.5px solid currentColor;
|
|
border-bottom: 1.5px solid currentColor;
|
|
transform: rotate(-45deg);
|
|
margin-top: -2px;
|
|
}
|
|
|
|
tr.expandable:hover .expand-icon::before {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.span-details {
|
|
background: var(--bg);
|
|
padding: 1.25rem;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
color: var(--code-text);
|
|
line-height: 1.75;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
/* ── Empty state ───────────────────────────────────────────── */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
color: var(--text-dim);
|
|
font-size: 0.875rem;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* ── Live indicator ────────────────────────────────────────── */
|
|
.live-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--success);
|
|
}
|
|
|
|
.live-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--success);
|
|
box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
|
|
animation: livePulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes livePulse {
|
|
0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(52, 211, 153, 0.5); }
|
|
50% { opacity: 0.6; box-shadow: 0 0 2px rgba(52, 211, 153, 0.2); }
|
|
}
|
|
|
|
/* ── VM Grid ───────────────────────────────────────────────── */
|
|
.vm-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
/* ── VM Card ───────────────────────────────────────────────── */
|
|
.vm-card {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-xl);
|
|
padding: 1.25rem;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
transition: border-color 0.2s, transform 0.2s;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vm-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
}
|
|
|
|
.vm-card:hover {
|
|
border-color: rgba(34, 211, 238, 0.18);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.vm-card:hover::before { opacity: 1; }
|
|
|
|
.vm-card-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
margin-bottom: 0.875rem;
|
|
}
|
|
|
|
.vm-card h3 {
|
|
font-family: var(--font-display);
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
color: var(--text-bright);
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.vm-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
padding: 0.2rem 0.65rem;
|
|
border-radius: 999px;
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.vm-status.running {
|
|
background: rgba(52, 211, 153, 0.1);
|
|
color: var(--success);
|
|
border: 1px solid rgba(52, 211, 153, 0.2);
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.vm-status.running::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--success);
|
|
box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
|
|
animation: livePulse 2s ease-in-out infinite;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.vm-status.stopped {
|
|
background: rgba(248, 113, 113, 0.1);
|
|
color: var(--error);
|
|
border: 1px solid rgba(248, 113, 113, 0.2);
|
|
}
|
|
|
|
.vm-updated {
|
|
font-size: 0.7rem;
|
|
color: var(--text-dim);
|
|
margin-bottom: 0.75rem;
|
|
font-family: var(--font-mono);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.vm-divider {
|
|
height: 1px;
|
|
background: var(--border-soft);
|
|
margin: 0.875rem 0;
|
|
}
|
|
|
|
.vm-stats { width: 100%; }
|
|
|
|
.vm-stats td {
|
|
padding: 0.28rem 0;
|
|
border-bottom: none;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.vm-stats td:first-child {
|
|
color: var(--text-dim);
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
width: 42%;
|
|
}
|
|
|
|
.vm-stats td:last-child {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.vm-issues {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.issue {
|
|
font-size: 0.7rem;
|
|
padding: 0.28rem 0.7rem;
|
|
border-radius: 4px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.issue.gateway_down {
|
|
background: rgba(248, 113, 113, 0.12);
|
|
color: var(--error);
|
|
border: 1px solid rgba(248, 113, 113, 0.2);
|
|
}
|
|
|
|
.issue.http_unhealthy {
|
|
background: rgba(251, 191, 36, 0.1);
|
|
color: var(--warning);
|
|
border: 1px solid rgba(251, 191, 36, 0.2);
|
|
}
|
|
|
|
.issue.backup_stale {
|
|
background: rgba(251, 191, 36, 0.08);
|
|
color: var(--warning);
|
|
border: 1px solid rgba(251, 191, 36, 0.15);
|
|
}
|
|
|
|
.issue.version_mismatch {
|
|
background: rgba(167, 139, 250, 0.1);
|
|
color: var(--purple);
|
|
border: 1px solid rgba(167, 139, 250, 0.2);
|
|
}
|
|
|
|
/* ── Agents Page ───────────────────────────────────────────── */
|
|
.agents-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 280px;
|
|
gap: 1.5rem;
|
|
margin-top: 1.25rem;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.agents-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.vm-strip {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.vm-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.5rem 1rem;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
font-size: 0.78rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
transition: border-color 0.2s, opacity 0.2s;
|
|
}
|
|
|
|
.vm-pill.active {
|
|
border-color: rgba(52, 211, 153, 0.3);
|
|
}
|
|
|
|
.vm-pill.inactive {
|
|
border-color: rgba(248, 113, 113, 0.2);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.vm-pill-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.vm-pill.active .vm-pill-dot {
|
|
background: var(--success);
|
|
box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
|
|
animation: livePulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.vm-pill.inactive .vm-pill-dot {
|
|
background: var(--error);
|
|
}
|
|
|
|
.vm-pill-name {
|
|
font-family: var(--font-mono);
|
|
color: var(--text-bright);
|
|
}
|
|
|
|
.vm-pill-label {
|
|
color: var(--text-dim);
|
|
font-size: 0.68rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
/* ── Swarm strip ──────────────────────────────────────────── */
|
|
.swarm-strip {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.vm-pill.degraded {
|
|
border-color: rgba(251, 191, 36, 0.3);
|
|
}
|
|
|
|
.vm-pill.degraded .vm-pill-dot {
|
|
background: var(--warning);
|
|
}
|
|
|
|
.timeline {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
min-width: 0;
|
|
}
|
|
|
|
.timeline-event {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 0.875rem 1.125rem;
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
animation: fadeUp 0.25s ease both;
|
|
transition: border-color 0.15s;
|
|
}
|
|
|
|
.timeline-event:hover {
|
|
border-color: rgba(34, 211, 238, 0.15);
|
|
}
|
|
|
|
.timeline-event-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
margin-bottom: 0.35rem;
|
|
}
|
|
|
|
.timeline-vm-tag {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: 4px;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.timeline-vm-tag.zap {
|
|
background: rgba(34, 211, 238, 0.12);
|
|
color: var(--accent);
|
|
border: 1px solid rgba(34, 211, 238, 0.2);
|
|
}
|
|
|
|
.timeline-vm-tag.orb {
|
|
background: rgba(167, 139, 250, 0.12);
|
|
color: var(--purple);
|
|
border: 1px solid rgba(167, 139, 250, 0.2);
|
|
}
|
|
|
|
.timeline-vm-tag.sun {
|
|
background: rgba(251, 191, 36, 0.12);
|
|
color: var(--warning);
|
|
border: 1px solid rgba(251, 191, 36, 0.2);
|
|
}
|
|
|
|
.timeline-vm-tag.unknown {
|
|
background: var(--surface-2);
|
|
color: var(--text-dim);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.timeline-event-type {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--text-bright);
|
|
}
|
|
|
|
.timeline-event-time {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.65rem;
|
|
color: var(--text-dim);
|
|
opacity: 0.6;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.timeline-event-body {
|
|
font-size: 0.82rem;
|
|
color: var(--text);
|
|
line-height: 1.5;
|
|
padding-left: 0.15rem;
|
|
}
|
|
|
|
.timeline-event-body.tool-name {
|
|
font-family: var(--font-mono);
|
|
color: var(--accent);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.timeline-event-body.message-preview {
|
|
color: var(--text-dim);
|
|
font-style: italic;
|
|
}
|
|
|
|
.timeline-event-body.error-message {
|
|
color: var(--error);
|
|
}
|
|
|
|
.timeline-duration {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
color: var(--text-dim);
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
.timeline-detail {
|
|
margin-top: 0.5rem;
|
|
padding: 0.75rem;
|
|
background: var(--bg);
|
|
border-radius: var(--radius);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
color: var(--code-text);
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
line-height: 1.65;
|
|
display: none;
|
|
}
|
|
|
|
.timeline-event.expanded .timeline-detail {
|
|
display: block;
|
|
}
|
|
|
|
.timeline-expand-hint {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
margin-top: 0.3rem;
|
|
padding: 0;
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-dim);
|
|
cursor: pointer;
|
|
font-family: var(--font-body);
|
|
font-size: 0.68rem;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.timeline-expand-hint:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.stats-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-top: 2px solid var(--card-accent, var(--border));
|
|
border-radius: var(--radius-lg);
|
|
padding: 1rem;
|
|
}
|
|
|
|
.stat-card-title {
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
margin-bottom: 0.6rem;
|
|
}
|
|
|
|
.stat-card-value {
|
|
font-family: var(--font-display);
|
|
font-size: 1.6rem;
|
|
font-weight: 800;
|
|
color: var(--text-bright);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.stat-card-sub {
|
|
font-size: 0.72rem;
|
|
color: var(--text-dim);
|
|
margin-top: 0.1rem;
|
|
}
|
|
|
|
.stat-list {
|
|
list-style: none;
|
|
}
|
|
|
|
.stat-list li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.35rem 0;
|
|
border-bottom: 1px solid var(--border-soft);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.stat-list li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.stat-list-name {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.stat-list-count {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
color: var(--text-dim);
|
|
background: var(--surface-2);
|
|
padding: 0.1rem 0.4rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.stat-list-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.stat-list-bar-track {
|
|
height: 3px;
|
|
background: var(--surface-2);
|
|
border-radius: 2px;
|
|
margin-top: 0.3rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.stat-list-bar-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
border-radius: 2px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.event-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 0.6rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.event-icon.message-in {
|
|
background: rgba(52, 211, 153, 0.12);
|
|
color: var(--success);
|
|
border: 1px solid rgba(52, 211, 153, 0.25);
|
|
}
|
|
|
|
.event-icon.message-out {
|
|
background: rgba(34, 211, 238, 0.12);
|
|
color: var(--accent);
|
|
border: 1px solid rgba(34, 211, 238, 0.25);
|
|
}
|
|
|
|
.event-icon.tool {
|
|
background: rgba(167, 139, 250, 0.12);
|
|
color: var(--purple);
|
|
border: 1px solid rgba(167, 139, 250, 0.25);
|
|
}
|
|
|
|
.event-icon.error {
|
|
background: rgba(248, 113, 113, 0.12);
|
|
color: var(--error);
|
|
border: 1px solid rgba(248, 113, 113, 0.25);
|
|
}
|
|
|
|
.event-icon.session {
|
|
background: rgba(251, 191, 36, 0.12);
|
|
color: var(--warning);
|
|
border: 1px solid rgba(251, 191, 36, 0.25);
|
|
}
|
|
|
|
.event-icon.internal {
|
|
background: var(--surface-2);
|
|
color: var(--text-dim);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
/* ── Dashboard ────────────────────────────────────────────── */
|
|
.dashboard-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.dashboard-summary {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.dashboard-summary {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.summary-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-left: 3px solid var(--card-accent, var(--border));
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.125rem 1.25rem;
|
|
transition: border-color 0.2s, border-left-color 0.2s;
|
|
}
|
|
|
|
.summary-card:hover {
|
|
border-color: var(--card-accent, var(--border));
|
|
border-left-color: var(--card-accent, var(--border));
|
|
}
|
|
|
|
.summary-card-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.summary-card-icon {
|
|
font-size: 0.85rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.summary-card-value {
|
|
font-family: var(--font-body);
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
color: var(--text-bright);
|
|
letter-spacing: -0.02em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.summary-card-value.has-errors {
|
|
color: var(--error);
|
|
}
|
|
|
|
.summary-card-sub {
|
|
font-size: 0.72rem;
|
|
color: var(--text-dim);
|
|
margin-top: 0.35rem;
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.charts-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 320px;
|
|
gap: 1.25rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.charts-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.chart-panel {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
min-height: 280px;
|
|
}
|
|
|
|
.chart-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.chart-title {
|
|
font-family: var(--font-display);
|
|
font-size: 0.88rem;
|
|
font-weight: 700;
|
|
color: var(--text-bright);
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.window-selector {
|
|
display: flex;
|
|
gap: 0;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.window-btn {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-dim);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
padding: 0.3rem 0.65rem;
|
|
cursor: pointer;
|
|
letter-spacing: 0.04em;
|
|
transition: background 0.15s, color 0.15s;
|
|
border-right: 1px solid var(--border);
|
|
}
|
|
|
|
.window-btn:last-child {
|
|
border-right: none;
|
|
}
|
|
|
|
.window-btn:hover {
|
|
color: var(--text-bright);
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
.window-btn.active {
|
|
color: var(--accent);
|
|
background: var(--accent-dim);
|
|
}
|
|
|
|
.chart-container {
|
|
width: 100%;
|
|
min-height: 200px;
|
|
}
|
|
|
|
.fw-bars {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.fw-bar-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.fw-bar-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.fw-bar-name {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.fw-bar-count {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
.fw-bar-track {
|
|
height: 8px;
|
|
background: var(--surface-2);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.fw-bar-fill {
|
|
height: 100%;
|
|
border-radius: 4px;
|
|
transition: width 0.4s ease;
|
|
}
|
|
|
|
.fw-bar-fill.openclaw { background: var(--accent); }
|
|
.fw-bar-fill.claude-code { background: var(--success); }
|
|
.fw-bar-fill.opencode { background: var(--purple); }
|
|
.fw-bar-fill.unknown { background: var(--text-dim); }
|
|
|
|
.bottom-panels {
|
|
display: grid;
|
|
grid-template-columns: 1fr 320px;
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.bottom-panels {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.feed-panel {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
max-height: 480px;
|
|
overflow-y: auto;
|
|
position: relative;
|
|
}
|
|
|
|
.feed-panel::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 48px;
|
|
background: linear-gradient(to bottom, transparent, var(--surface));
|
|
border-radius: 0 0 var(--radius-lg) var(--radius-lg);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.feed-panel .timeline-event {
|
|
padding: 0.625rem 0.875rem;
|
|
border-radius: var(--radius);
|
|
margin-bottom: 0.375rem;
|
|
border: 1px solid var(--border-soft);
|
|
background: transparent;
|
|
}
|
|
|
|
.tools-panel {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.uplot .u-legend { display: none; }
|
|
|
|
/* ── Chart legend ─────────────────────────────────────────── */
|
|
.chart-legend {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.chart-legend-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.7rem;
|
|
color: var(--text-dim);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.chart-legend-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── Framework dots ───────────────────────────────────────── */
|
|
.fw-dot {
|
|
display: inline-block;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
margin-right: 0.4rem;
|
|
flex-shrink: 0;
|
|
vertical-align: middle;
|
|
position: relative;
|
|
top: -1px;
|
|
}
|
|
|
|
.fw-dot.openclaw { background: var(--accent); --fw-glow: var(--accent); }
|
|
.fw-dot.claude-code { background: var(--success); --fw-glow: var(--success); }
|
|
.fw-dot.opencode { background: var(--purple); --fw-glow: var(--purple); }
|
|
.fw-dot.unknown { background: var(--text-dim); --fw-glow: var(--text-dim); }
|
|
.fw-dot.ended { opacity: 0.3; }
|
|
.fw-dot.active { box-shadow: 0 0 6px var(--fw-glow); animation: fwPulse 2s ease-in-out infinite; }
|
|
|
|
@keyframes fwPulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
|
|
/* ── Meta tiles ───────────────────────────────────────────── */
|
|
.meta-tiles {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 0.75rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.meta-tile {
|
|
background: var(--surface-2);
|
|
border: 1px solid var(--border-soft);
|
|
border-radius: var(--radius);
|
|
padding: 0.625rem 0.875rem;
|
|
}
|
|
|
|
.meta-tile-label {
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.meta-tile-value {
|
|
font-size: 0.85rem;
|
|
color: var(--text-bright);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* ── VM card divider ──────────────────────────────────────── */
|
|
.vm-card-divider {
|
|
height: 1px;
|
|
background: var(--border-soft);
|
|
margin: 0.75rem 0;
|
|
}
|
|
|
|
.vm-issues-label {
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
/* ── Light theme variables ────────────────────────────────── */
|
|
[data-theme="light"] {
|
|
--bg: #f5f7fa;
|
|
--surface: #ffffff;
|
|
--surface-2: #edf0f5;
|
|
--card: rgba(255, 255, 255, 0.9);
|
|
--border: rgba(200, 210, 225, 0.8);
|
|
--border-soft: rgba(200, 210, 225, 0.5);
|
|
|
|
--text: #3d4a5c;
|
|
--text-dim: #8b9ab0;
|
|
--text-bright: #1a2332;
|
|
|
|
--accent: #0891b2;
|
|
--accent-dim: rgba(8, 145, 178, 0.08);
|
|
--accent-glow: rgba(8, 145, 178, 0.15);
|
|
|
|
--success: #059669;
|
|
--error: #dc2626;
|
|
--warning: #d97706;
|
|
--purple: #7c3aed;
|
|
|
|
--header-bg: rgba(245, 247, 250, 0.92);
|
|
--code-text: #4a6580;
|
|
}
|
|
|
|
[data-theme="light"] body {
|
|
background-image:
|
|
radial-gradient(ellipse 80% 40% at 50% -20%, rgba(8, 145, 178, 0.04) 0%, transparent 70%),
|
|
radial-gradient(circle at 1px 1px, rgba(8, 145, 178, 0.025) 1px, transparent 0);
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
html:not([data-theme]) {
|
|
--bg: #f5f7fa;
|
|
--surface: #ffffff;
|
|
--surface-2: #edf0f5;
|
|
--card: rgba(255, 255, 255, 0.9);
|
|
--border: rgba(200, 210, 225, 0.8);
|
|
--border-soft: rgba(200, 210, 225, 0.5);
|
|
|
|
--text: #3d4a5c;
|
|
--text-dim: #8b9ab0;
|
|
--text-bright: #1a2332;
|
|
|
|
--accent: #0891b2;
|
|
--accent-dim: rgba(8, 145, 178, 0.08);
|
|
--accent-glow: rgba(8, 145, 178, 0.15);
|
|
|
|
--success: #059669;
|
|
--error: #dc2626;
|
|
--warning: #d97706;
|
|
--purple: #7c3aed;
|
|
|
|
--header-bg: rgba(245, 247, 250, 0.92);
|
|
--code-text: #4a6580;
|
|
}
|
|
|
|
html:not([data-theme]) body {
|
|
background-image:
|
|
radial-gradient(ellipse 80% 40% at 50% -20%, rgba(8, 145, 178, 0.04) 0%, transparent 70%),
|
|
radial-gradient(circle at 1px 1px, rgba(8, 145, 178, 0.025) 1px, transparent 0);
|
|
}
|
|
}
|
|
|
|
/* ── Theme toggle button ──────────────────────────────────── */
|
|
.theme-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 30px;
|
|
height: 30px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: transparent;
|
|
color: var(--text-dim);
|
|
cursor: pointer;
|
|
transition: color 0.15s, border-color 0.15s, background 0.15s;
|
|
margin-left: 0.75rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
color: var(--text-bright);
|
|
border-color: var(--accent);
|
|
background: var(--accent-dim);
|
|
}
|
|
|
|
/* ── Agent lanes ──────────────────────────────────────────── */
|
|
.agents-summary-row {
|
|
display: flex;
|
|
gap: 1.25rem;
|
|
margin-bottom: 1.25rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.agents-summary-stat {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 0.6rem 1rem;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
color: var(--text-dim);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.agents-summary-stat .value {
|
|
color: var(--text-bright);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.agent-lanes {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.agent-lanes {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.agent-lane {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.agent-lane-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.875rem 1.125rem;
|
|
border-bottom: 1px solid var(--border-soft);
|
|
}
|
|
|
|
.agent-lane-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-family: var(--font-display);
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
color: var(--text-bright);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.agent-lane-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.agent-lane-dot.online {
|
|
background: var(--success);
|
|
box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
|
|
animation: livePulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.agent-lane-dot.offline {
|
|
background: var(--text-dim);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.agent-lane-status {
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.agent-lane-status.has-sessions {
|
|
color: var(--success);
|
|
}
|
|
|
|
/* ── Active operations ────────────────────────────────────── */
|
|
.active-ops {
|
|
padding: 0.625rem 1.125rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.375rem;
|
|
border-bottom: 1px solid var(--border-soft);
|
|
}
|
|
|
|
.active-op {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.35rem 0.625rem;
|
|
background: var(--accent-dim);
|
|
border: 1px solid rgba(34, 211, 238, 0.15);
|
|
border-radius: var(--radius);
|
|
font-size: 0.75rem;
|
|
animation: fadeUp 0.2s ease both;
|
|
}
|
|
|
|
[data-theme="light"] .active-op {
|
|
border-color: rgba(8, 145, 178, 0.2);
|
|
}
|
|
|
|
.active-op.stale {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.active-op-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: var(--success);
|
|
box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
|
|
animation: livePulse 1.5s ease-in-out infinite;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.active-op.stale .active-op-dot {
|
|
background: var(--warning);
|
|
box-shadow: none;
|
|
animation: none;
|
|
}
|
|
|
|
.active-op-name {
|
|
font-family: var(--font-mono);
|
|
color: var(--accent);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.active-op-time {
|
|
font-family: var(--font-mono);
|
|
color: var(--text-dim);
|
|
font-size: 0.7rem;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.active-op-stale {
|
|
color: var(--warning);
|
|
font-size: 0.65rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ── Lane event feed ──────────────────────────────────────── */
|
|
.agent-lane-events {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
max-height: 520px;
|
|
padding: 0.625rem;
|
|
position: relative;
|
|
}
|
|
|
|
.agent-lane-events::after {
|
|
content: '';
|
|
position: sticky;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 32px;
|
|
background: linear-gradient(to bottom, transparent, var(--surface));
|
|
pointer-events: none;
|
|
display: block;
|
|
}
|
|
|
|
.agent-lane-events .timeline-event {
|
|
padding: 0.5rem 0.625rem;
|
|
border-radius: var(--radius);
|
|
margin-bottom: 0.25rem;
|
|
border: 1px solid var(--border-soft);
|
|
background: transparent;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.agent-lane-events .timeline-event-header {
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.agent-lane-events .timeline-event-time {
|
|
font-size: 0.6rem;
|
|
}
|
|
|
|
.agent-lane-events .empty-state {
|
|
padding: 2rem 1rem;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
/* ── Mobile layout ────────────────────────────────────────── */
|
|
@media (max-width: 640px) {
|
|
main {
|
|
padding: 1.25rem 1rem;
|
|
}
|
|
|
|
header {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
header nav a {
|
|
padding: 0.375rem 0.5rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
header {
|
|
height: auto;
|
|
flex-wrap: wrap;
|
|
padding: 0.5rem 1rem;
|
|
gap: 0;
|
|
}
|
|
|
|
.header-logo {
|
|
flex: 1;
|
|
}
|
|
|
|
header nav {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
border-top: 1px solid var(--border-soft);
|
|
padding: 0.375rem 0;
|
|
margin-top: 0.25rem;
|
|
gap: 0;
|
|
}
|
|
|
|
header nav a {
|
|
padding: 0.3rem 0.5rem;
|
|
font-size: 0.73rem;
|
|
}
|
|
}
|
|
|
|
/* ── Infrastructure page ──────────────────────────────────── */
|
|
.infra-section-title {
|
|
font-family: var(--font-display);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.12em;
|
|
margin: 0 0 1rem 0;
|
|
}
|
|
|
|
.infra-section {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
/* Service card grid */
|
|
.service-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.service-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.125rem 1.25rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.service-card:hover {
|
|
border-color: rgba(34, 211, 238, 0.15);
|
|
}
|
|
|
|
.service-card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.service-card-name {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.88rem;
|
|
font-weight: 600;
|
|
color: var(--text-bright);
|
|
}
|
|
|
|
.service-badge {
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
padding: 0.2rem 0.55rem;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.service-badge.healthy {
|
|
background: rgba(52, 211, 153, 0.12);
|
|
color: var(--success);
|
|
border: 1px solid rgba(52, 211, 153, 0.2);
|
|
}
|
|
|
|
.service-badge.degraded {
|
|
background: rgba(251, 191, 36, 0.12);
|
|
color: var(--warning);
|
|
border: 1px solid rgba(251, 191, 36, 0.2);
|
|
}
|
|
|
|
.service-badge.down {
|
|
background: rgba(248, 113, 113, 0.12);
|
|
color: var(--error);
|
|
border: 1px solid rgba(248, 113, 113, 0.2);
|
|
}
|
|
|
|
.service-role-tag {
|
|
font-size: 0.65rem;
|
|
font-family: var(--font-mono);
|
|
color: var(--text-dim);
|
|
margin-top: -0.25rem;
|
|
}
|
|
|
|
.service-stats {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.service-stat-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.service-stat-label {
|
|
color: var(--text-dim);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.service-stat-value {
|
|
color: var(--text);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.service-stat-value.ok { color: var(--success); }
|
|
.service-stat-value.warn { color: var(--warning); }
|
|
.service-stat-value.bad { color: var(--error); }
|
|
|
|
/* LiteLLM cooldown warning */
|
|
.llm-cooldown-banner {
|
|
background: rgba(251, 191, 36, 0.08);
|
|
border: 1px solid rgba(251, 191, 36, 0.2);
|
|
border-radius: var(--radius);
|
|
padding: 0.4rem 0.625rem;
|
|
font-size: 0.72rem;
|
|
color: var(--warning);
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
/* LiteLLM model count highlight */
|
|
.llm-model-count {
|
|
font-family: var(--font-display);
|
|
font-size: 1.5rem;
|
|
font-weight: 800;
|
|
color: var(--text-bright);
|
|
letter-spacing: -0.02em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.llm-model-label {
|
|
font-size: 0.68rem;
|
|
color: var(--text-dim);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
}
|