web: one status glyph, a compact settings button and collapsible panes
- Run and pipeline rows use one coloured status glyph with the word in its tooltip; the run version sits at the right of the title line; the usage metrics row is gone. - Settings is an icon beside the connection status (rail and dock), not a destination tab; the destinations keep a roving tab even while Settings is open. - The rail and every list pane collapse to a narrow strip from an icon at their top-right (remembered per device). A collapsed runs list shows the status glyph, pipelines their flow glyph, chats their status word. - Tool calls open in a modal (rendered/expanded rows in place) instead of an inline popover; the chip stays a quiet line beside the message. - Refresh tooltips show the last data arrival (manual or socket) per destination.
This commit is contained in:
@@ -273,3 +273,94 @@
|
||||
.source-code code { background: transparent; padding: 0; font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; white-space: pre-wrap; word-break: break-word; }
|
||||
|
||||
.graph-note { margin: 0; max-width: 60ch; }
|
||||
|
||||
|
||||
/* One coloured status glyph in list rows, with the word in its tooltip. */
|
||||
.status-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.status-icon svg { width: 14px; height: 14px; }
|
||||
.status-icon.status-succeeded { color: var(--ok); }
|
||||
.status-icon.status-failed { color: var(--bad); }
|
||||
.status-icon.status-running { color: var(--accent); }
|
||||
.status-icon.status-running svg { animation: spin 0.9s linear infinite; }
|
||||
.status-icon.status-canceled { color: var(--muted); }
|
||||
.status-icon.status-interrupted { color: var(--warn); }
|
||||
.status-icon.status-waiting,
|
||||
.status-icon.status-queued { color: var(--muted); }
|
||||
|
||||
/* The run row's version sits at the far right of its title line. */
|
||||
.run-row-head .version-chip { margin-left: auto; }
|
||||
|
||||
/* Collapsible rail and list panes: one icon each, with the same information
|
||||
grammar as the full surfaces when there is room for it. */
|
||||
.shell-collapse {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-control);
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
font-size: 14px;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
.shell-collapse:hover { color: var(--color-text); border-color: var(--color-border); }
|
||||
.list-collapse { flex: 0 0 auto; }
|
||||
.app-rail { position: relative; }
|
||||
.rail-collapse { position: absolute; top: 6px; right: 6px; z-index: 2; }
|
||||
.app-rail.collapsed { flex: 0 0 64px; width: 64px; align-items: center; }
|
||||
.app-rail.collapsed .rail-brand span,
|
||||
.app-rail.collapsed .rail-label,
|
||||
.app-rail.collapsed .rail-search span,
|
||||
.app-rail.collapsed .rail-heading,
|
||||
.app-rail.collapsed .rail-sections,
|
||||
.app-rail.collapsed .rail-divider,
|
||||
.app-rail.collapsed .shell-status-label { display: none; }
|
||||
.app-rail.collapsed .rail-brand { justify-content: center; padding-left: 0; padding-right: 0; }
|
||||
.app-rail.collapsed .rail-tab,
|
||||
.app-rail.collapsed .rail-search { justify-content: center; width: 40px; padding: 0; gap: 0; }
|
||||
.app-rail.collapsed .rail-destinations { align-items: center; }
|
||||
.app-rail.collapsed .rail-footer { width: 100%; }
|
||||
.pipeline-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
||||
.pipeline-glyph { flex: none; width: 18px; height: 18px; color: var(--muted); }
|
||||
|
||||
.pane-layout.list-collapsed { grid-template-columns: 64px minmax(0, 1fr); }
|
||||
.list-collapsed .list-pane .pane-head { padding: 6px; justify-content: center; }
|
||||
.list-collapsed .list-pane .pane-head-text,
|
||||
.list-collapsed .list-pane .pane-head-actions > *:not(.list-collapse) { display: none; }
|
||||
.list-collapsed .list-pane .pane-head-actions { margin: 0; }
|
||||
.list-collapsed .list-pane .list,
|
||||
.list-collapsed .list-pane .list-scroll { padding-left: 2px; padding-right: 2px; }
|
||||
/* Run rows: a single status glyph. */
|
||||
.list-collapsed .run-row > *:not(.run-row-head) { display: none; }
|
||||
.list-collapsed .run-row .run-row-head > *:not(.status-icon) { display: none; }
|
||||
.list-collapsed .run-row .run-row-head { justify-content: center; }
|
||||
/* Pipeline rows: a single pipeline glyph. */
|
||||
.list-collapsed #pipelineRows .row > *:not(.pipeline-head) { display: none; }
|
||||
.list-collapsed #pipelineRows .pipeline-head .row-title { display: none; }
|
||||
.list-collapsed #pipelineRows .pipeline-head { justify-content: center; }
|
||||
/* Chat rows: the status word only. */
|
||||
.list-collapsed .chat-row .row-title,
|
||||
.list-collapsed .chat-row .row-meta,
|
||||
.list-collapsed .chat-row .chat-star,
|
||||
.list-collapsed .chat-row .chat-menu-button,
|
||||
.list-collapsed .chat-row .chat-row-actions,
|
||||
.list-collapsed .chat-group-header,
|
||||
.list-collapsed .chat-group-toggle { display: none; }
|
||||
.list-collapsed .chat-row .row-head { justify-content: center; }
|
||||
.list-collapsed .chat-row .chat-session-button { grid-row: auto; }
|
||||
.list-collapsed .chat-row .chat-activity { font-size: 10px; }
|
||||
.list-collapsed .list-pane .day-header { display: none; }
|
||||
|
||||
Reference in New Issue
Block a user