From a21f61f3f390d506a9046e17f9f49ba70cfc04b6 Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Mon, 28 Apr 2025 10:24:07 +0200 Subject: [PATCH] wip --- .../donations/AddDonationModal.svelte | 713 ++++++++++-------- src/style.css | 6 + 2 files changed, 391 insertions(+), 328 deletions(-) diff --git a/src/components/donations/AddDonationModal.svelte b/src/components/donations/AddDonationModal.svelte index ed05c51d..5946715c 100644 --- a/src/components/donations/AddDonationModal.svelte +++ b/src/components/donations/AddDonationModal.svelte @@ -1,340 +1,397 @@ {#if modal_open} -
{ - modal_open = false; - }} - > -
- -
+
{ + modal_open = false; + }} + > +
+ +
{/if} diff --git a/src/style.css b/src/style.css index 39f7e203..1bc948b5 100644 --- a/src/style.css +++ b/src/style.css @@ -25,3 +25,9 @@ #html5-qrcode-button-camera-stop { @apply px-2 inline-flex text-lg leading-5 font-semibold rounded-md border border-current bg-red-100 text-red-800 mb-2 cursor-pointer; } +.donation_inactive_tab { + @apply min-w-0 flex-1 bg-white first:border-s-0 border-s border-b-2 border-neutral-200 py-4 px-4 text-neutral-800 hover:text-neutral-700 text-sm font-medium text-center overflow-hidden hover:bg-neutral-200 cursor-pointer focus:z-10 focus:outline-hidden focus:bg-neutral-200 disabled:opacity-50 disabled:pointer-events-none; +} +.donation_active_tab { + @apply min-w-0 flex-1 bg-blue-400 text-white first:border-s-0 border-s border-b-2 border-neutral-200 py-4 px-4 text-sm font-medium text-center overflow-hidden cursor-pointer focus:outline-hidden; +}