From 37fd41dce582bcd97ff4735ab4fd76fbd4a2a644 Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Sun, 19 Oct 2025 18:18:15 +0100 Subject: [PATCH] fix mobile toast, theming --- frontend/src/app.css | 8 +++---- .../src/lib/components/layout/NavBar.svelte | 2 +- .../alert-dialog/alert-dialog-content.svelte | 8 +++---- .../alert-dialog/alert-dialog-footer.svelte | 6 ++--- .../components/ui/calendar/calendar.svelte | 2 +- frontend/src/routes/+layout.svelte | 24 ++++++++++++++++++- frontend/src/routes/admin/+page.svelte | 8 +++---- frontend/src/routes/book/+page.svelte | 8 +++---- frontend/src/routes/prices/+page.svelte | 24 +++++++++---------- 9 files changed, 55 insertions(+), 35 deletions(-) diff --git a/frontend/src/app.css b/frontend/src/app.css index e9a1ea5..03b650e 100644 --- a/frontend/src/app.css +++ b/frontend/src/app.css @@ -12,15 +12,15 @@ --card-foreground: oklch(0.129 0.042 264.695); --popover: oklch(1 0 0); --popover-foreground: oklch(0.129 0.042 264.695); - --primary: oklch(0.208 0.042 265.755); + --primary: oklch(0.28 0.04 260); --primary-foreground: oklch(0.984 0.003 247.858); - --secondary: oklch(0.968 0.007 247.896); + --secondary: oklch(0.97 0.01 248); --secondary-foreground: oklch(0.208 0.042 265.755); --muted: oklch(0.968 0.007 247.896); --muted-foreground: oklch(0.554 0.046 257.417); --accent: oklch(0.968 0.007 247.896); --accent-foreground: oklch(0.208 0.042 265.755); - --destructive: oklch(0.577 0.245 27.325); + --destructive: oklch(0.64 0.21 25); --border: oklch(0.929 0.013 255.508); --input: oklch(0.929 0.013 255.508); --ring: oklch(0.704 0.04 256.788); @@ -121,12 +121,10 @@ } } -/* Add this to your app.css or global styles */ .calendar-container { z-index: 49 !important; } -/* Or target the specific calendar component if needed */ [data-calendar] { z-index: 49 !important; } \ No newline at end of file diff --git a/frontend/src/lib/components/layout/NavBar.svelte b/frontend/src/lib/components/layout/NavBar.svelte index 580633c..28399bc 100644 --- a/frontend/src/lib/components/layout/NavBar.svelte +++ b/frontend/src/lib/components/layout/NavBar.svelte @@ -46,7 +46,7 @@ class:frosty-nav={!mobileMenuOpen} class:bg-background={mobileMenuOpen} > -
+
diff --git a/frontend/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte b/frontend/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte index 6c3c604..fd348e2 100644 --- a/frontend/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte +++ b/frontend/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte @@ -1,7 +1,7 @@ -
-
-

Our Prices

+
+
+

Our Prices

Professional beauty treatments with transparent pricing

@@ -106,7 +106,7 @@

{service.name}

{service.description}

-

+

{formatPrice(service.price)}
- @@ -149,9 +149,9 @@ - +

Important Information:

    @@ -169,15 +169,15 @@
    -

    Ready to Book?

    -
    - +

    Ready to Book?

    +
    +