style: Phase 1+2 — FA→Lucide, variant-* → preset-*, dark mode forms
Phase 1 (global quick wins): - app.css: add global dark mode utility for .input/.select/.textarea - events menu nav + layout: replace all FontAwesome icons with Lucide - events settings: replace FA icons, standardize variant-* → preset-* Phase 2 (module-by-module migration): - root +layout.svelte: fix hardcoded banner colors → preset-filled-error/warning - journals entry list: replace slate-* with gray-*, HSL eye colors → CSS tokens - pres mgmt presenter view: variant-soft-warning → preset-tonal-warning, FA edit → Lucide - badges (4 files): variant-* → preset-*, FA spinner → Lucide Loader2, dynamic alert fix - events session list + event hub: variant-soft/filled → preset-tonal/filled - leads module (12 files): complete variant-* → preset-* migration across all exhibitor sign-in, QR scanner, manual search, tracking list, manage tab, custom questions, license list, exhibit page, lead detail page + form Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -291,18 +291,18 @@
|
||||
</svelte:head>
|
||||
|
||||
{#if browser && (is_offline || api_unreachable)}
|
||||
<div class="print:hidden fixed top-0 left-0 right-0 z-100 p-4 bg-orange-600/90 text-white text-center shadow-2xl flex items-center justify-center gap-4">
|
||||
<div class="print:hidden fixed top-0 left-0 right-0 z-100 p-4 preset-filled-error-500 text-center shadow-2xl flex items-center justify-center gap-4">
|
||||
<span class="text-xl font-bold">{is_offline ? 'Offline' : api_error_msg}</span>
|
||||
<button class="btn btn-sm variant-filled-white text-orange-600" onclick={() => window.location.reload()}>Retry</button>
|
||||
<button class="btn btn-sm preset-tonal-surface" onclick={() => window.location.reload()}>Retry</button>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{#if browser && flag_expired}
|
||||
<div class="print:hidden fixed top-0 left-0 right-0 z-50 px-4 py-2 bg-amber-500 text-white shadow-xl flex items-center justify-between gap-4">
|
||||
<div class="print:hidden fixed top-0 left-0 right-0 z-50 px-4 py-2 preset-filled-warning-500 shadow-xl flex items-center justify-between gap-4">
|
||||
<p class="text-sm font-semibold">Your session has expired. Please reload or sign in again.</p>
|
||||
<div class="flex gap-2 items-center shrink-0">
|
||||
<button class="btn btn-sm variant-filled-white text-amber-700" onclick={() => window.location.reload()}>Reload</button>
|
||||
<button class="btn btn-sm" onclick={() => { flag_expired = false; ae_auth_error.set({ type: null, ts: null }); }}>✕</button>
|
||||
<button class="btn btn-sm preset-tonal-surface" onclick={() => window.location.reload()}>Reload</button>
|
||||
<button class="btn btn-sm preset-outlined-surface" onclick={() => { flag_expired = false; ae_auth_error.set({ type: null, ts: null }); }}>✕</button>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user