// The settings pages: only what style/_min.scss does not already give them. // A list with no bullets (recovery codes, repositories that block deletion). .topic-list { margin: 0; padding: 0; list-style: none; } // A warning line inside a topic. .topic-warn { color: var(--warn); } // Appearance: the Light and Dark colour tabs are the shared tabs, each a label around a radio that // nav.js reads. The radio is hidden but keeps its focus ring on the tab. .tabs > label { position: relative; flex: none; padding: 8px 0; color: var(--muted); font-size: 14px; cursor: pointer; &:hover { color: var(--text); } &:has(input:checked) { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); } &:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; } input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; } } // One colour panel is one column on a wide window too: the page is a column, not two. @media (min-width: 1400px) { .colour-panel { grid-template-columns: minmax(0, 1fr); } } // A request that cannot be sent right now. button.act:disabled, button.act:disabled:hover { color: var(--muted); cursor: default; text-decoration: none; } // Notifications: a warning hint, and a hidden action stays hidden though .act sets display. .hint.warn { color: var(--warn); } .sec [hidden] { display: none !important; } // The hidden legend of a colour group stays inside its group. .colour-group { position: relative; min-width: 0; max-width: 100%; > legend.sr-only { position: absolute; left: 0; } } // The colour choices are a topic like any other, not a box. main .colour-group { padding: 0; border: 0; background: none; }