Components / Modals and sheets
Old desktop error
An alert drawn like a system error from a beige computer: a striped title bar, a stop sign, a default button with a double ring, and details that fold open.
The Riso has run out of fluorescent pink. 212 of 500 zines are printed and the rest are waiting in the queue.
Details
drum 2 ink 0% job zine-spring-v4.pdf sheets 212 / 500 code -192
The code
Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.
<div class="ukc-modal-desktop-error">
<div class="bd"><div class="win" role="alertdialog" aria-modal="true" aria-labelledby="ukc-modal-desktop-error-t" aria-describedby="ukc-modal-desktop-error-d">
<div class="bar"><button class="box" type="button" aria-label="Close"></button><h3 id="ukc-modal-desktop-error-t">Printer 2</h3></div>
<div class="body">
<span class="sign"><svg width="44" height="44" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 2h8l6 6v8l-6 6H8l-6-6V8z"/><path d="M12 7v6M12 16.5h.01"/></svg></span>
<div class="msg">
<p id="ukc-modal-desktop-error-d">The Riso has run out of <strong>fluorescent pink</strong>. 212 of 500 zines are printed and the rest are waiting in the queue.</p>
<details><summary>Details</summary><pre>drum 2 ink 0%
job zine-spring-v4.pdf
sheets 212 / 500
code -192</pre></details>
</div>
</div>
<div class="row"><button class="b" type="button">Cancel job</button><button class="b" type="button">Use blue</button><button class="b def" type="button">Pause and swap</button></div>
</div></div>
</div>
.ukc-modal-desktop-error { position: relative; font-family: var(--uk-font-body, system-ui, sans-serif); color: var(--uk-ink); font-size: 15px; line-height: 1.5;
--tint: color-mix(in srgb, var(--uk-accent) 12%, var(--uk-paper));
--tint-strong: color-mix(in srgb, var(--uk-accent) 22%, var(--uk-paper));
--accent-deep: color-mix(in srgb, var(--uk-accent) 72%, black);
--ink-soft: color-mix(in srgb, var(--uk-ink) 8%, var(--uk-paper));
--line-strong: color-mix(in srgb, var(--uk-ink) 32%, var(--uk-paper));
--danger-tint: color-mix(in srgb, var(--uk-danger) 12%, var(--uk-paper));
--high-tint: color-mix(in srgb, var(--uk-highlight) 28%, var(--uk-paper)); }
.ukc-modal-desktop-error *, .ukc-modal-desktop-error *::before, .ukc-modal-desktop-error *::after { box-sizing: border-box; }
.ukc-modal-desktop-error :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-modal-desktop-error :where(ul, ol) { padding: 0; list-style: none; }
.ukc-modal-desktop-error :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-modal-desktop-error :where(a) { color: inherit; }
.ukc-modal-desktop-error svg { flex: none; }
.ukc-modal-desktop-error .bd { display: grid; place-items: center; padding: 28px 16px; border-radius: var(--uk-radius-lg); background: color-mix(in srgb, color-mix(in srgb, var(--uk-ink) 20%, black) 50%, transparent); }
.ukc-modal-desktop-error .win { width: 100%; max-width: 440px; border: 2px solid var(--uk-ink); border-radius: min(var(--uk-radius-lg), 4px); background: var(--uk-paper); box-shadow: 5px 5px 0 color-mix(in srgb, black 55%, transparent); font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 13px; }
.ukc-modal-desktop-error .bar { position: relative; display: grid; place-items: center; padding: 5px 6px; border-bottom: 2px solid var(--uk-ink); }
.ukc-modal-desktop-error .bar::before { content: ""; position: absolute; inset: 6px; background: repeating-linear-gradient(180deg, var(--uk-ink) 0 1px, transparent 1px 3px); }
.ukc-modal-desktop-error h3 { position: relative; padding: 0 10px; background: var(--uk-paper); font-size: 13px; font-weight: 700; line-height: 18px; }
.ukc-modal-desktop-error .box { position: absolute; z-index: 1; left: 14px; top: calc(50% - 7px); width: 14px; height: 14px; padding: 0; border: 2px solid var(--uk-ink); border-radius: 0; background: var(--uk-paper); box-shadow: 0 0 0 2px var(--uk-paper); cursor: pointer; }
.ukc-modal-desktop-error .box:hover { background: var(--uk-ink); }
.ukc-modal-desktop-error .body { display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px 6px; }
.ukc-modal-desktop-error .sign { color: var(--uk-danger); }
.ukc-modal-desktop-error .msg { flex: 1; min-width: 0; display: grid; gap: 10px; }
.ukc-modal-desktop-error summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ukc-modal-desktop-error pre { margin: 8px 0 0; padding: 8px 10px; border: 1px solid var(--uk-ink); background: var(--ink-soft); font-family: inherit; font-size: 12px; overflow-x: auto; }
.ukc-modal-desktop-error .row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; padding: 14px 16px 18px; }
.ukc-modal-desktop-error .b { padding: 6px 14px; border: 2px solid var(--uk-ink); border-radius: min(var(--uk-radius-md), 8px); background: var(--uk-paper); font-weight: 700; cursor: pointer; }
.ukc-modal-desktop-error .b:hover { background: var(--ink-soft); }
.ukc-modal-desktop-error .b:active { background: var(--uk-ink); color: var(--uk-paper); }
.ukc-modal-desktop-error .b.def { box-shadow: 0 0 0 2px var(--uk-paper), 0 0 0 4px var(--uk-ink); }
.ukc-modal-desktop-error :where(button, summary):focus-visible { outline: 2px solid var(--uk-accent); outline-offset: 5px; }
More modals and sheets
All 25Job settings
Archive this job?
Archived jobs leave your list but keep their sheets and invoices. You can restore them any time.
Are you sure you want to leave?
You have answers that are not saved. If you leave now, you will need to start the application again.
Rename branch
Delete "Kitchen reframe"?
This deletes 14 job sheets, 48 photos, and 3 draft invoices. Sent invoices stay with your clients.
INV-0412