Schedule: show "fully booked" as a pink note next to the time
Like the amber "only a few seats left" note: #da669b with ink text (5.8:1, WCAG AA). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f13aa2001f
commit
fcbddbd291
1 changed files with 14 additions and 0 deletions
|
|
@ -15,3 +15,17 @@
|
|||
.schedule__pick[aria-pressed="true"] {
|
||||
color: var(--c40-on-fill);
|
||||
}
|
||||
|
||||
/* Status next to the time, as a filled note: "only a few seats left" in amber and ink
|
||||
(.fewseats-note, --fewseats in _custom.css), "fully booked" in pink and ink (5.8:1, AA).
|
||||
The pink is not in the 40C3 palette (closest: --c40-pink). */
|
||||
.schedule {
|
||||
--schedule-soldout: #da669b;
|
||||
--schedule-soldout-text: var(--c40-ink);
|
||||
}
|
||||
|
||||
.schedule__card--soldout .schedule__status {
|
||||
padding: 0 0.4rem;
|
||||
background: var(--schedule-soldout);
|
||||
color: var(--schedule-soldout-text);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue