From d982e281918b0bfa9d565a551579eb0f47ccb3bc Mon Sep 17 00:00:00 2001 From: isaacclad Date: Mon, 29 Jun 2026 23:17:09 +0000 Subject: [PATCH] Enforce Figtree across the entire public display page. Apply font-sans on html/body and cascade Figtree to all display text including overlays. Co-authored-by: Cursor --- resources/css/app.css | 15 ++++++++++++++- resources/views/qms/display/public.blade.php | 4 ++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index e68e217..c37a41a 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -269,6 +269,13 @@ html.qr-mobile-page body { } /* Public queue display — waiting-area TV screens (light theme) */ +html:has(.qms-display), +html:has(.qms-display) body, +html:has(.qms-display) .qms-display, +html:has(.qms-display) .qms-display__unlock { + font-family: 'Figtree', ui-sans-serif, system-ui, sans-serif; +} + html:has(.qms-display), html:has(.qms-display) body { height: 100%; @@ -281,7 +288,7 @@ html:has(.qms-display) body { height: 100dvh; max-height: 100dvh; overflow: hidden; - font-family: var(--font-sans); + font-family: inherit; background: radial-gradient(ellipse 90% 60% at 50% -20%, rgb(238 242 255 / 0.9), transparent), linear-gradient(180deg, rgb(248 250 252) 0%, rgb(255 255 255) 100%); @@ -363,6 +370,12 @@ html:has(.qms-display) body { background: linear-gradient(90deg, transparent, rgb(199 210 254), transparent); } +.qms-display__label, +.qms-display__ticket-number, +.qms-display__counter-name { + font-family: inherit; +} + .qms-display__label { font-size: clamp(0.65rem, 1.6vh, 0.8rem); font-weight: 600; diff --git a/resources/views/qms/display/public.blade.php b/resources/views/qms/display/public.blade.php index 2633e0c..3f727c9 100644 --- a/resources/views/qms/display/public.blade.php +++ b/resources/views/qms/display/public.blade.php @@ -1,5 +1,5 @@ - + @@ -11,7 +11,7 @@ @vite(['resources/css/app.css', 'resources/js/app.js'])