Replaces inline styles + .bounty-root reuse with a dedicated .orchestrator-root scope. Adds animated status pill (live/connecting/ error), bordered seg-group kind filter that matches DeckyFleet's fleet-filter-group, dedicated kind chips (matrix-green for traffic, violet for file), failure-row tint, and a brief 'fresh' tint for just-prepended live rows that fades after 5s.
244 lines
6.8 KiB
CSS
244 lines
6.8 KiB
CSS
/* Orchestrator — synthetic life-injection activity feed.
|
|
* Scoped under .orchestrator-root, mirrors the Bounty/DeckyFleet pattern. */
|
|
|
|
.orchestrator-root { display: flex; flex-direction: column; gap: 20px; }
|
|
|
|
/* Header */
|
|
.orchestrator-root .page-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
border-bottom: 1px solid var(--border);
|
|
padding-bottom: 16px;
|
|
gap: 24px;
|
|
}
|
|
.orchestrator-root .page-title-group { display: flex; flex-direction: column; gap: 6px; }
|
|
.orchestrator-root .page-header h1 {
|
|
font-size: 1.3rem;
|
|
letter-spacing: 4px;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
color: var(--matrix);
|
|
}
|
|
.orchestrator-root .page-sub { font-size: 0.7rem; opacity: 0.5; letter-spacing: 1px; }
|
|
|
|
.orchestrator-root .dim { opacity: 0.5; }
|
|
.orchestrator-root .violet-accent { color: var(--violet); }
|
|
.orchestrator-root .matrix-text { color: var(--matrix); }
|
|
.orchestrator-root .alert-text { color: var(--alert); }
|
|
|
|
/* Header pills */
|
|
.orchestrator-root .header-line {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.orchestrator-root .status-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 10px;
|
|
font-size: 0.65rem;
|
|
letter-spacing: 1.5px;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel);
|
|
text-transform: uppercase;
|
|
}
|
|
.orchestrator-root .status-pill.live {
|
|
border-color: var(--matrix);
|
|
color: var(--matrix);
|
|
box-shadow: var(--matrix-glow);
|
|
}
|
|
.orchestrator-root .status-pill.live .dot {
|
|
background: var(--matrix);
|
|
box-shadow: 0 0 8px var(--matrix);
|
|
animation: orch-pulse 1.4s infinite alternate;
|
|
}
|
|
.orchestrator-root .status-pill.connecting { color: rgba(0, 255, 65, 0.55); }
|
|
.orchestrator-root .status-pill.connecting .dot {
|
|
background: rgba(0, 255, 65, 0.55);
|
|
animation: orch-blink 1s infinite;
|
|
}
|
|
.orchestrator-root .status-pill.error {
|
|
border-color: var(--alert);
|
|
color: var(--alert);
|
|
}
|
|
.orchestrator-root .status-pill.error .dot { background: var(--alert); }
|
|
.orchestrator-root .status-pill .dot {
|
|
display: inline-block;
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.orchestrator-root .failure-pill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 10px;
|
|
font-size: 0.65rem;
|
|
letter-spacing: 1.5px;
|
|
border: 1px solid var(--alert);
|
|
color: var(--alert);
|
|
background: rgba(255, 65, 65, 0.06);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Controls row */
|
|
.orchestrator-root .controls-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Segmented kind filter — mirrors DeckyFleet's fleet-filter-group */
|
|
.orchestrator-root .seg-group {
|
|
display: flex;
|
|
border: 1px solid var(--border);
|
|
background: var(--panel);
|
|
}
|
|
.orchestrator-root .seg-group button {
|
|
padding: 8px 16px;
|
|
font-size: 0.68rem;
|
|
letter-spacing: 1.5px;
|
|
border: 0;
|
|
border-right: 1px solid var(--border);
|
|
background: transparent;
|
|
color: rgba(0, 255, 65, 0.6);
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
text-transform: uppercase;
|
|
}
|
|
.orchestrator-root .seg-group button:last-child { border-right: none; }
|
|
.orchestrator-root .seg-group button.active {
|
|
background: var(--violet-tint-10);
|
|
color: var(--violet);
|
|
}
|
|
.orchestrator-root .seg-group button:hover:not(.active) { color: var(--matrix); }
|
|
|
|
/* Pause toggle — neutral .btn flavour */
|
|
.orchestrator-root .btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 7px 14px;
|
|
font-family: inherit;
|
|
font-size: 0.72rem;
|
|
letter-spacing: 1.5px;
|
|
background: transparent;
|
|
border: 1px solid var(--border);
|
|
color: var(--matrix);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
.orchestrator-root .btn:hover { border-color: var(--matrix); box-shadow: var(--matrix-glow); }
|
|
.orchestrator-root .btn.paused { border-color: var(--violet); color: var(--violet); }
|
|
.orchestrator-root .btn.paused:hover { box-shadow: var(--violet-glow); }
|
|
|
|
/* Section + table */
|
|
.orchestrator-root .logs-section {
|
|
border: 1px solid var(--border);
|
|
background: var(--panel);
|
|
}
|
|
.orchestrator-root .section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.orchestrator-root .section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.7rem;
|
|
letter-spacing: 1.5px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Pagination */
|
|
.orchestrator-root .pager { display: flex; align-items: center; gap: 12px; font-size: 0.7rem; }
|
|
.orchestrator-root .pager button {
|
|
padding: 4px;
|
|
border: 1px solid var(--border);
|
|
background: transparent;
|
|
color: var(--matrix);
|
|
display: flex;
|
|
cursor: pointer;
|
|
}
|
|
.orchestrator-root .pager button:disabled { opacity: 0.3; cursor: not-allowed; }
|
|
.orchestrator-root .pager button:hover:not(:disabled) { border-color: var(--accent); }
|
|
|
|
/* Table */
|
|
.orchestrator-root .logs-table-container { overflow-x: auto; }
|
|
.orchestrator-root .logs-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.78rem;
|
|
}
|
|
.orchestrator-root .logs-table th {
|
|
text-align: left;
|
|
padding: 9px 14px;
|
|
font-size: 0.62rem;
|
|
letter-spacing: 1.5px;
|
|
opacity: 0.55;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.orchestrator-root .logs-table td {
|
|
padding: 9px 14px;
|
|
border-bottom: 1px solid rgba(48, 54, 61, 0.4);
|
|
vertical-align: middle;
|
|
}
|
|
.orchestrator-root .logs-table tr:hover td { background: rgba(0, 255, 65, 0.025); }
|
|
.orchestrator-root .logs-table tr.fail td {
|
|
background: rgba(255, 65, 65, 0.05);
|
|
}
|
|
.orchestrator-root .logs-table tr.fail:hover td { background: rgba(255, 65, 65, 0.08); }
|
|
|
|
/* Live-prepended row tint — fades back to neutral after a moment via opacity. */
|
|
.orchestrator-root .logs-table tr.fresh td {
|
|
background: rgba(238, 130, 238, 0.05);
|
|
}
|
|
|
|
/* Kind chip */
|
|
.orchestrator-root .kind-chip {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
font-size: 0.62rem;
|
|
letter-spacing: 1.5px;
|
|
border: 1px solid var(--border);
|
|
text-transform: uppercase;
|
|
}
|
|
.orchestrator-root .kind-chip.traffic { border-color: var(--matrix); color: var(--matrix); }
|
|
.orchestrator-root .kind-chip.file { border-color: var(--violet); color: var(--violet); }
|
|
|
|
/* OK indicator */
|
|
.orchestrator-root .ok-yes { color: var(--matrix); font-weight: 700; }
|
|
.orchestrator-root .ok-no { color: var(--alert); font-weight: 700; }
|
|
|
|
/* Mono cells */
|
|
.orchestrator-root .mono {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.74rem;
|
|
}
|
|
.orchestrator-root .src-dst { font-family: var(--font-mono); font-size: 0.72rem; opacity: 0.7; }
|
|
.orchestrator-root .arrow { opacity: 0.4; padding: 0 4px; }
|
|
|
|
.orchestrator-root .payload-cell {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
opacity: 0.6;
|
|
max-width: 360px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Empty state row */
|
|
.orchestrator-root .empty-row td { padding: 0; }
|
|
|
|
/* Animations */
|
|
@keyframes orch-pulse { from { opacity: 0.5; } to { opacity: 1; } }
|
|
@keyframes orch-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
|