Components / Alerts and banners
Thick-bordered banners
A heavy colored frame with the icon set at the left and the message in plain ink. Success, warning, and information share one shape.
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-alert-moj-banner">
<div class="stack">
<div class="bn" role="region" aria-label="Success"><svg viewBox="0 0 25 25" aria-hidden="true"><path d="M2.5 13.5l3.2-3.2 4.6 4.6L19.3 6l3.2 3.2-12.2 12.2z"/></svg><div class="msg"><h3>Invoice 1042 sent</h3><p>We emailed it to Alder Street Homes and put a copy in your outbox.</p></div></div>
<div class="bn warn" role="region" aria-label="Warning"><svg viewBox="0 0 25 25" aria-hidden="true"><path fill-rule="evenodd" d="M12.5 2 24 22.5H1zM11.3 9v6.5h2.4V9zm0 8.4v2.4h2.4v-2.4z"/></svg><div class="msg"><p>Two job sheets are missing a client signature. Their invoices will wait until they are signed.</p></div></div>
<div class="bn info" role="region" aria-label="Information"><svg viewBox="0 0 25 25" aria-hidden="true"><path fill-rule="evenodd" d="M12.5 1a11.5 11.5 0 1 0 0 23 11.5 11.5 0 0 0 0-23zM11.3 10.5v8h2.4v-8zm0-4v2.4h2.4V6.5z"/></svg><div class="msg"><p>Bank holiday on 25 December. Payouts sent after 3pm on the 24th land on the 29th.</p></div></div>
</div>
</div>
.ukc-alert-moj-banner { 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-alert-moj-banner *, .ukc-alert-moj-banner *::before, .ukc-alert-moj-banner *::after { box-sizing: border-box; }
.ukc-alert-moj-banner :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-alert-moj-banner :where(ul, ol) { padding: 0; list-style: none; }
.ukc-alert-moj-banner :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-alert-moj-banner :where(a) { color: inherit; }
.ukc-alert-moj-banner svg { flex: none; }
.ukc-alert-moj-banner .stack { display: grid; gap: 16px; max-width: 600px; }
.ukc-alert-moj-banner .bn { display: flex; gap: 10px; padding: 10px; border: max(4px, calc(var(--uk-border-width) * 3)) solid var(--uk-accent); border-radius: min(var(--uk-radius-sm), 8px); background: var(--uk-paper); color: var(--uk-accent); }
.ukc-alert-moj-banner .bn.warn { border-color: var(--uk-danger); color: var(--uk-danger); }
.ukc-alert-moj-banner .bn.info { border-color: var(--uk-ink); color: var(--uk-ink); }
.ukc-alert-moj-banner .bn svg { flex: none; width: 25px; height: 25px; fill: currentColor; }
.ukc-alert-moj-banner .msg { padding-top: 1px; font-size: 16px; color: var(--uk-ink); }
.ukc-alert-moj-banner .msg h3 { margin-bottom: 6px; font-size: 18px; font-weight: 700; line-height: 1.3; }
More alerts and banners
All 263days left
Your Tapehouse trial ends on Friday
Day 11 of 14, todayEnds Fri 4 Dec, 6 PM
Your sessions and client list stay put. Online deposits and the public booking page switch off until you pick a plan.
Critical incident
Card payments are failing at the counter
Started 8:12 AM. Take cash or park the order. Crumb Till keeps saving sales and charges parked cards once the readers are back.
- Investigating8:14
- Identified8:31
- Fixingsince 8:40
- Monitoringnext
- Resolvedlater
Latest updates (3)
- The reader maker is rolling back this morning's firmware. Readers restart on their own, no need to unplug them.
- Traced to the 8:00 firmware update on Model K readers. Older readers are fine.
- Shops report every tap and chip payment being declined.
Detour
Harbour Street stop is closed 2 to 13 March
Water main works. Catch the 14 and the 22 from Quay Road instead, 200 m north, outside the fish market.
See the temporary stop on the mapPier 9Dock notices
All 4 notices- LateAuction starts 6:45 AM, 15 minutes behind
- WithdrawnLot 14, halibut, 62 kg
- NoticeIce machine on dock B is out, use dock A
- NoticeScales checked at 5:10 AM