From fcbddbd291fd9ecfafe0c98df5f2601d8695f781 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Wed, 18 Nov 2026 00:21:23 +0100 Subject: [PATCH] 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 --- .../hackertours-40c3/assets/css/_schedule-40c3.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/themes/hackertours-40c3/assets/css/_schedule-40c3.css b/themes/hackertours-40c3/assets/css/_schedule-40c3.css index 1c456a0..e50a244 100644 --- a/themes/hackertours-40c3/assets/css/_schedule-40c3.css +++ b/themes/hackertours-40c3/assets/css/_schedule-40c3.css @@ -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); +}