Components / Modals and sheets
Modal with flush buttons
A small label over the title, body text, and two buttons that fill the bottom edge side by side.
Job settings
Archive this job?
Archived jobs leave your list but keep their sheets and invoices. You can restore them any time.
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-carbon-modal">
<div class="bd"><div class="dlg" role="dialog" aria-modal="true" aria-labelledby="ukc-cm">
<div class="hd"><p class="lab">Job settings</p><h3 id="ukc-cm">Archive this job?</h3><button class="x" type="button" aria-label="Close"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button></div>
<p class="body">Archived jobs leave your list but keep their sheets and invoices. You can restore them any time.</p>
<div class="ft"><button type="button" class="sec">Cancel</button><button type="button" class="pri">Archive</button></div>
</div></div>
</div>
.ukc-modal-carbon-modal { 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-carbon-modal *, .ukc-modal-carbon-modal *::before, .ukc-modal-carbon-modal *::after { box-sizing: border-box; }
.ukc-modal-carbon-modal :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-modal-carbon-modal :where(ul, ol) { padding: 0; list-style: none; }
.ukc-modal-carbon-modal :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-modal-carbon-modal :where(a) { color: inherit; }
.ukc-modal-carbon-modal svg { flex: none; }
.ukc-modal-carbon-modal .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-carbon-modal .dlg { width: 100%; max-width: 480px; background: var(--uk-surface); border-radius: 0; }
.ukc-modal-carbon-modal .hd { position: relative; padding: 16px 48px 0 16px; }
.ukc-modal-carbon-modal .lab { font-size: 12px; color: var(--uk-muted); }
.ukc-modal-carbon-modal h3 { font-size: 20px; font-weight: 400; margin-top: 4px; }
.ukc-modal-carbon-modal .x { position: absolute; top: 0; right: 0; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.ukc-modal-carbon-modal .body { padding: 16px 16px 40px; font-size: 14px; }
.ukc-modal-carbon-modal .ft { display: grid; grid-template-columns: 1fr 1fr; }
.ukc-modal-carbon-modal .ft button { height: 64px; padding: 0 16px 24px; border: 0; text-align: left; font-size: 14px; cursor: pointer; }
.ukc-modal-carbon-modal .sec { background: var(--uk-ink); color: var(--uk-paper); }
.ukc-modal-carbon-modal .pri { background: var(--uk-accent); color: var(--uk-accent-ink); }
More modals and sheets
All 25Are 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
- Esc
Invoices
- New invoiceN
- INV-0412 · Reyes Framing
- INV-0411 · Whitfield Homes
Actions
- Invite to crewI