/* Status pills. The only place status colour is decided. */ /* Status is always a pill, never bare text: a colour and a shape are read at a glance where a word has to be parsed. */ .pill { display: inline-flex; align-items: center; gap: var(--sp-1); padding: 2px var(--sp-2); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 500; white-space: nowrap; } .pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; } .pill-ok { color: var(--ok); background: var(--ok-soft); } .pill-warn { color: var(--warn); background: var(--warn-soft); } .pill-danger { color: var(--danger); background: var(--danger-soft); } .pill-info { color: var(--info); background: var(--info-soft); } .pill-idle { color: var(--idle); background: var(--idle-soft); }