feat: the Imprimindo column shows each machine's two places, not a row of counters
All checks were successful
Build and deploy / Validate source (push) Successful in 1m28s
Build and deploy / Integration suite on a real stack (push) Successful in 4m20s
Build and deploy / Secret scan and release gate (push) Successful in 15s
Build and deploy / Publish images (push) Successful in 1m38s

Each machine with something printing is one line: its name, the order
printing (green, as the card's Imprimindo label) and the one ripping
(blue, as Ripando), each opening its order, or a dashed "livre" place;
above the limit, the extra order shows in red. The machines with nothing
printing share one line, "Livres: máquina3 · máquina4", so an empty
column takes one line instead of a grid of "0/2" chips. In a narrow
column the places go under the machine's name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-30 10:08:59 -03:00
parent d962865944
commit c08136d87b
2 changed files with 40 additions and 8 deletions

View File

@@ -122,7 +122,20 @@ main{padding:0 24px 24px}
.col-head small{font-size:13.5px;color:var(--faint)}
.col-head .col-sub{justify-content:space-between;min-height:30px}
.col-head .col-sub small{white-space:nowrap}
.col-head .col-slots{flex-wrap:wrap;gap:5px}
.col-head .slots{flex-direction:column;align-items:stretch;gap:5px;padding-top:2px}
.col-head .slot-row{flex-wrap:wrap;gap:4px 6px;font-size:13px}
.slot-name{flex:1 0 auto;white-space:nowrap;color:var(--tx2);font-weight:600}
.col-head .slot-places{gap:4px;margin-left:auto}
.slot{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:24px;padding:0 7px;border:0;border-radius:7px;font-family:var(--mono);font-size:12.5px;font-weight:700}
button.slot{cursor:pointer}
button.slot:hover{filter:brightness(1.2)}
button.slot:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.slot.ok{color:var(--ok);background:rgba(111,209,156,.14)}
.slot.info{color:var(--rec);background:rgba(43,182,217,.16)}
.slot.bad{color:var(--bad);background:rgba(244,150,139,.16)}
.slot.muted{color:var(--muted);background:var(--card2);font-family:inherit;font-weight:600}
.slot.free{border:1px dashed var(--line2);color:var(--faint);background:transparent;font-family:inherit;font-weight:500}
.col-head .slot-free{display:block;font-size:12.5px;line-height:1.5;color:var(--muted)}
.col .empty{font-size:13.5px;color:var(--faint);padding:8px 2px}
.card{text-align:left;display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:10px;border:1px solid var(--line2);background:var(--card);width:100%}
.card:hover,.card.open{border-color:var(--line3);background:#1E2226}