Components / Progress and loaders
Quota with a warning line
A usage bar with a marked warning line. Whatever runs past the line is hatched, so it reads without relying on color.
Photo storage
8.6 of 10 GB
Past the warning line. Photos from jobs closed over a year ago can move to the archive. Review them
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-progress-quota-threshold">
<div class="q">
<div class="hd"><p id="ukc-progress-quota-threshold-l">Photo storage</p><p class="v"><strong>8.6</strong> of 10 GB</p></div>
<div class="track" role="meter" aria-labelledby="ukc-progress-quota-threshold-l" aria-valuenow="8.6" aria-valuemin="0" aria-valuemax="10" aria-valuetext="8.6 of 10 GB, past the 8 GB warning line">
<span class="fill" style="width: 80%"></span><span class="over" style="left: 80%; width: 6%"></span><span class="mark" style="left: 80%"></span>
</div>
<div class="scale" aria-hidden="true"><span>0</span><span class="at" style="left: 80%">8 GB</span><span>10 GB</span></div>
<p class="note"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3l9.5 17h-19z"/><path d="M12 10v4M12 17h.01"/></svg><span>Past the warning line. Photos from jobs closed over a year ago can move to the archive. <a href="#">Review them</a></span></p>
</div>
</div>
.ukc-progress-quota-threshold { 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-progress-quota-threshold *, .ukc-progress-quota-threshold *::before, .ukc-progress-quota-threshold *::after { box-sizing: border-box; }
.ukc-progress-quota-threshold :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
.ukc-progress-quota-threshold :where(ul, ol) { padding: 0; list-style: none; }
.ukc-progress-quota-threshold :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ukc-progress-quota-threshold :where(a) { color: inherit; }
.ukc-progress-quota-threshold svg { flex: none; }
.ukc-progress-quota-threshold .q { max-width: 420px; }
.ukc-progress-quota-threshold .hd { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 14px; }
.ukc-progress-quota-threshold .hd p:first-child { font-weight: 600; }
.ukc-progress-quota-threshold .v { font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 13px; color: var(--uk-muted); font-variant-numeric: tabular-nums; }
.ukc-progress-quota-threshold .v strong { font-size: 18px; font-weight: 500; color: var(--uk-ink); }
.ukc-progress-quota-threshold .track { position: relative; height: 10px; border-radius: var(--uk-radius-sm); background: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--uk-line); }
.ukc-progress-quota-threshold .fill, .ukc-progress-quota-threshold .over { position: absolute; top: 0; bottom: 0; left: 0; }
.ukc-progress-quota-threshold .fill { border-radius: var(--uk-radius-sm) 0 0 var(--uk-radius-sm); background: var(--uk-ink); }
.ukc-progress-quota-threshold .over { background: repeating-linear-gradient(-45deg, var(--uk-danger) 0 3px, var(--danger-tint) 3px 6px); }
.ukc-progress-quota-threshold .mark { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--uk-ink); }
.ukc-progress-quota-threshold .scale { position: relative; display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--uk-font-mono, ui-monospace, monospace); font-size: 11px; color: var(--uk-muted); }
.ukc-progress-quota-threshold .scale .at { position: absolute; top: 0; transform: translateX(-50%); color: var(--uk-ink); }
.ukc-progress-quota-threshold .note { display: flex; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: min(var(--uk-radius-md), 10px); background: var(--danger-tint); font-size: 13px; line-height: 1.45; }
.ukc-progress-quota-threshold .note svg { margin-top: 2px; color: var(--uk-danger); }
.ukc-progress-quota-threshold .note a { font-weight: 600; text-underline-offset: 3px; }
More progress and loaders
All 29Theo Lindqvist
Old joists are out. Two are soft at the ends, sending photos now.
Dana Whitfield is typing
31%margin
Kessler deck rebuildTarget 25% · quoted at 28% Pallet CF-20418
12 crates of roof slate
On the road
- Leeds depotLeft 9:05 am
- Sheffield hubLeft 10:40 am
- DerbyDue 12:50 pm
- NottinghamDue 2:10 pm
- Delivery window
- Today, 2:10 to 3:40 pm
- Distance
- 62 of 107 miles
- Driver
- Anneke, van 14
Aldgrove Lido roof fund
$27,400 raised of $40,000
312 neighbours have chipped in. 19 days to go.
- $10k Scaffold booked, reached
- $20k Timber ordered, reached
- $30k Glazing, $2,600 to go
- $40k Roof on by May
Low Tide · Side A
The Harbour Lights, mix 3
64% printed to tape
Track 7 of 11, Saltmarsh. 2 min 51 s left on this side.