// Admin lists as rows: a status dot, the name, a muted meta line, and a status word on the right. // The dots reuse `.health-dot` (_account_admin.scss) and the row title and meta reuse the runners // list classes (`.runner-title`, `.runner-meta`); the ⋯ menu is `.row-menu`. Only the layout and the // warning dot are new here. // The warning dot: a lagging copy. `.health-dot` has the ok and bad colours already. .health-dot.warn { background: var(--warn); } // Phone: the status word goes under the name, indented to line up with it. @media (max-width: 600px) { } // A small-range number on the server settings page steps like the runner's Max: the pill keeps its // own width instead of stretching across the column, at the height of the fields beside it. .srv-field .runner-pill { align-self: flex-start; height: var(--control-h); input[type="number"] { width: 52px; } } // The runner's own log on its admin page (the logs tab), newest line first. Each line is a block // with a hanging indent, so a message that wraps or holds newlines of its own continues under the // message column (past the time and level) instead of at the left edge, where it reads as new lines. .runner-log-line { display: block; padding-left: 15ch; text-indent: -15ch; &.is-warn { color: var(--warn); } &.is-error { color: var(--danger); } } .runner-log-time, .runner-log-level { color: var(--muted); } .runner-log-chip:not(:empty) { padding: 0 6px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); } // The runner log is not a fit pane like a job's: it is as tall as the window leaves under the tabs and // scrolls inside, and its lines start on the sheet's inset like the tools row above it. .ci-log.runner-log { flex: none; min-height: 240px; max-height: calc(100dvh - 350px); padding: 0; } // Copy all sits above the log, at its right edge. .runner-log-bar { display: flex; justify-content: flex-end; margin-bottom: 6px; } // The runner's metrics sit under its stats: three graphs side by side on a wide page (one column // below 900px), each in a panel with its caption and facts above it. Every graph is its own SVG with // one y axis; colours come from tokens only. A line is the secondary text colour, and a sent line is dashed so it is told apart without // secondary text colour so it is told apart without colour. // The wrapper is `.mx-panels`, not `.mx-grid`: that name is the SVG gridline class below. .mx-panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); } @media (min-width: 900px) { .mx-panels { grid-template-columns: repeat(4, minmax(0, 1fr)); } } .mx-panel { display: grid; gap: 6px; align-content: start; min-width: 0; } .mx-head { min-height: 2.75rem; } .mx-caption { margin: 0; color: var(--text); font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; } .mx-facts { margin: 0; } .mx-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 0.75rem; } .mx-panel .mx-legend { margin-top: 0; } // A legend swatch: a short line in the series' style. It carries the identity, the text does not. .mx-key { display: inline-block; width: 16px; margin-right: 6px; border-top: 2px solid var(--text-2); vertical-align: middle; } .mx-key-sent { border-top-style: dashed; border-top-color: var(--text-2); } .mx-svg { display: block; width: 100%; max-width: 560px; height: auto; overflow: visible; } .mx-grid { stroke: var(--border); stroke-width: 1; opacity: 0.6; vector-effect: non-scaling-stroke; } .mx-band { fill: var(--surface-2); } .mx-axis { fill: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; } .mx-line { fill: none; stroke: var(--text-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; } .mx-line-sent { stroke: var(--text-2); stroke-dasharray: 4 3; } // The hover band covers the whole plot height of one bucket and is see-through. .mx-hit-area { fill: transparent; } .mx-cross { stroke: var(--muted); stroke-width: 1; opacity: 0; pointer-events: none; vector-effect: non-scaling-stroke; } .mx-tip { opacity: 0; pointer-events: none; rect { fill: var(--surface); stroke: var(--border-strong); stroke-width: 1; } text { fill: var(--text); font-size: 9px; font-variant-numeric: tabular-nums; } } .mx-hit:hover .mx-tip, .mx-hit:hover .mx-cross { opacity: 1; } .mx-table > summary.act { margin-left: -10px; list-style: none; &::-webkit-details-marker { display: none; } } .mx-table-scroll { max-height: 240px; overflow: auto; }