// 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); } .admin-rows { margin: 0; padding: 0; list-style: none; } .admin-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 28px; padding: 12px 0; & + .admin-row { border-top: 1px solid var(--border); } } .admin-row-main { min-width: 0; } .admin-row-name { min-width: 0; overflow: hidden; color: var(--text); font-size: 0.9375rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; } // The status word on the right: muted, with the warning or danger colour when the copy is lagging or failing. .admin-row-state { color: var(--muted); font-size: 0.8125rem; white-space: nowrap; &.warn { color: var(--warn); } &.bad { color: var(--bad); } } // The last error, under the meta line. It lines up under the name, like the meta. .admin-row-error { margin: 4px 0 0 16px; color: var(--bad); font-size: 0.75rem; overflow-wrap: anywhere; } // A status fact: the dot, then its word, on one line. .admin-status { display: inline-flex; align-items: center; gap: 6px; } // Phone: the status word goes under the name, indented to line up with it. @media (max-width: 600px) { .admin-row { grid-template-columns: minmax(0, 1fr); row-gap: 6px; } .admin-row-state { padding-left: 16px; } } // 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; } }