Files
Skald-Circle/web/css/system-agents.css
T
dguiducci 0ed94225b2
Nightly Build / build (push) Successful in 7m17s
web: unify page headers into one shared page-header bar
Every full-page view now renders the same sticky top bar (back button,
title, right-side actions) from the new web/css/page-header.css,
replacing a dozen per-page duplicates (.page-panel-header,
.project-page-header, .task-page-header, .llm-page-header, .um-header,
.apr-header, .llmr-header, .pv-header, .sa-header, .config-page-header,
.agents-page-header). Pages that padded the whole container (config,
agents, system-agents, llm-requests, models-hub) move that padding into
a body wrapper so the bar sits flush and stays pinned on scroll.
Back buttons are standardized to the icon-only .page-header-back.
2026-07-29 12:36:24 +01:00

135 lines
3.5 KiB
CSS

/* System agents page — the background agents the instance runs.
One tab per agent; a tab holds that agent's settings and its run history.
The settings form reuses the `.config-*` classes from config.css, so an owned
config set looks identical wherever it is edited. */
.sa-page {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
width: 100%;
overflow-y: auto;
}
.sa-body {
padding: 1.5rem;
}
.sa-subtitle {
font-size: 0.85rem;
color: var(--bs-secondary-color);
margin-bottom: 1rem;
max-width: 65ch;
}
/* ── Tabs ──────────────────────────────────────────────────────────────────── */
.sa-tab-bar {
display: flex;
gap: 0.25rem;
border-bottom: 1px solid var(--bs-border-color);
margin-bottom: 1rem;
overflow-x: auto;
}
.sa-tab {
display: inline-flex;
align-items: center;
gap: 0.4rem;
background: none;
border: none;
border-bottom: 2px solid transparent;
color: var(--bs-secondary-color);
font-size: 0.88rem;
padding: 0.5rem 0.85rem;
white-space: nowrap;
cursor: pointer;
}
.sa-tab:hover { color: var(--bs-body-color); }
.sa-tab--active {
color: var(--bs-body-color);
border-bottom-color: var(--bs-primary);
font-weight: 500;
}
/* ── Selected agent: description + settings ────────────────────────────────── */
.sa-agent-panel { margin-bottom: 1.25rem; }
.sa-agent-desc {
font-size: 0.85rem;
color: var(--bs-secondary-color);
max-width: 75ch;
margin-bottom: 1rem;
}
.sa-agent-config { margin-bottom: 0; }
/* ── Run table ─────────────────────────────────────────────────────────────── */
.sa-table-wrap {
border: 1px solid var(--bs-border-color);
border-radius: 0.5rem;
overflow-x: auto;
}
.sa-table { margin-bottom: 0; }
.sa-row--clickable { cursor: pointer; }
.sa-row--clickable:hover td { background: var(--bs-tertiary-bg); }
.sa-agent {
font-family: monospace;
font-size: 0.82rem;
}
.sa-date {
font-size: 0.82rem;
color: var(--bs-secondary-color);
white-space: nowrap;
}
.sa-num {
font-variant-numeric: tabular-nums;
font-size: 0.85rem;
white-space: nowrap;
}
.sa-status {
display: inline-flex;
align-items: center;
gap: 0.3rem;
font-size: 0.8rem;
white-space: nowrap;
}
.sa-status--completed { color: var(--bs-success); }
.sa-status--failed { color: var(--bs-danger); }
.sa-status--running { color: var(--bs-secondary-color); }
.sa-status--cancelled { color: var(--bs-secondary-color); }
.sa-result {
font-size: 0.82rem;
color: var(--bs-secondary-color);
}
.sa-error {
color: var(--bs-danger);
display: inline-block;
max-width: 40ch;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: bottom;
}
.sa-state {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.4rem;
padding: 3rem;
justify-content: center;
color: var(--bs-secondary-color);
font-size: 0.9rem;
}
.sa-state--empty i { font-size: 1.6rem; opacity: 0.6; }
.sa-state--error { color: var(--bs-danger); flex-direction: row; }
.sa-pagination {
display: flex;
align-items: center;
gap: 0.75rem;
margin-top: 1rem;
justify-content: center;
}
.sa-page-info {
font-size: 0.82rem;
color: var(--bs-secondary-color);
}