fabrica

hanna/fabrica

style(web): swap invite pill colours and align admin rows

af52979 · hanna committed on 2026-07-26

Unused invites now read neutral (grey) and used ones green. Admin list
rows drop their side padding so they line up with the create form's
inputs beneath them (the card already supplies the edge padding).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
1 files changed · +11 −5UnifiedSplit
assets/base.css +11 −5
@@ -996,6 +996,12 @@ body.drawer-open .drawer-backdrop {
996 flex-wrap: wrap;996 flex-wrap: wrap;
997 gap: 0.35rem;997 gap: 0.35rem;
998}998}
999/* The card already pads its edges, so admin list rows drop their own side
1000 padding and align with the create form below them. */
1001.admin-list .entry-row {
1002 padding-left: 0;
1003 padding-right: 0;
1004}
999.admin-form-row {1005.admin-form-row {
1000 display: flex;1006 display: flex;
1001 align-items: center;1007 align-items: center;
@@ -1421,15 +1427,15 @@ label.checkbox input {
1421 color: var(--fb-warning);1427 color: var(--fb-warning);
1422 border-color: var(--fb-warning);1428 border-color: var(--fb-warning);
1423}1429}
1424/* Sign-up invite status: open (unused) reads as available, spent (used) muted. */1430/* Sign-up invite status: unused is neutral; used (redeemed) reads as done. */
1425.badge-unused {1431.badge-unused {
1426 color: var(--fb-success);
1427 border-color: var(--fb-success);
1428}
1429.badge-used {
1430 color: var(--fb-fg-muted);1432 color: var(--fb-fg-muted);
1431 border-color: var(--fb-fg-muted);1433 border-color: var(--fb-fg-muted);
1432}1434}
1435.badge-used {
1436 color: var(--fb-success);
1437 border-color: var(--fb-success);
1438}
14331439
1434/* Inline search row: input grows, button sits to its right with margin. */1440/* Inline search row: input grows, button sits to its right with margin. */
1435.search-row {1441.search-row {