Files
Skald-Circle/web/css/agent-inbox.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

126 lines
2.3 KiB
CSS

/* Agent Inbox page — desktop layout. Card styles live in inbox-cards.css. */
agent-inbox-page {
display: none;
flex: 1;
min-width: 0;
overflow: hidden;
}
/* ── Page panel (shell shared with other full-page views) ── */
.page-panel {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
/* ── Refresh button ── */
.inbox-refresh-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: 8px;
border: 1px solid var(--bs-border-color);
background: transparent;
color: var(--bs-secondary-color);
font-size: 1rem;
cursor: pointer;
transition: all 0.15s ease;
}
.inbox-refresh-btn:hover {
background: var(--bs-body-bg);
color: var(--bs-body-color);
border-color: var(--bs-secondary-color);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.inbox-refresh-btn:active { transform: scale(0.94); }
/* ── Grid container ── */
.inbox-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 16px;
padding: 20px;
align-content: start;
overflow-y: auto;
flex: 1;
}
/* ── Section headers (span full grid width) ── */
.inbox-section-header {
grid-column: 1 / -1;
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 4px;
margin-top: 8px;
}
.inbox-section-header:first-child { margin-top: 0; }
.inbox-section-header h6 {
margin: 0;
font-weight: 600;
font-size: 0.95rem;
color: var(--bs-body-color);
}
.inbox-section-header .section-line {
flex: 1;
height: 1px;
background: var(--bs-border-color);
}
.inbox-section-header .badge {
font-size: 0.7rem;
padding: 2px 8px;
}
/* ── Bootstrap btn inside card footer ── */
.inbox-card-footer .btn {
flex: 1;
font-weight: 600;
font-size: 0.82rem;
padding: 7px 12px;
border-radius: 8px;
}
/* ── Mobile tweaks ── */
@media (max-width: 600px) {
.inbox-grid {
grid-template-columns: 1fr;
padding: 12px;
gap: 12px;
}
.inbox-card-body { padding: 12px; }
.inbox-card-footer {
flex-direction: column;
}
.approval-footer {
grid-template-columns: 1fr;
}
.inbox-card-footer .btn {
width: 100%;
}
.inbox-answer-send {
width: 100%;
justify-content: center;
}
}