From d763898d8dee8f3741e3a2d5e4375166d947a88c Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 28 Jun 2023 22:12:06 +0100 Subject: [PATCH] Fixes: - Overlay z-index set to 1000 - always on top - Alert bar is now clickable rather than containing a button --- src/lib/islands/overlay-island.svelte | 1 + src/lib/ldb/alert-bar.svelte | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/lib/islands/overlay-island.svelte b/src/lib/islands/overlay-island.svelte index 04ebd5a..9a70442 100644 --- a/src/lib/islands/overlay-island.svelte +++ b/src/lib/islands/overlay-island.svelte @@ -30,5 +30,6 @@ div { padding: 10px; background-color: var(--overlay-color); border-radius: 10px; + z-index: 1000; } \ No newline at end of file diff --git a/src/lib/ldb/alert-bar.svelte b/src/lib/ldb/alert-bar.svelte index 5a0e70a..6212227 100644 --- a/src/lib/ldb/alert-bar.svelte +++ b/src/lib/ldb/alert-bar.svelte @@ -21,7 +21,7 @@
-
+
{#if uniqueAlerts.length == 1}

There is one active alert

@@ -30,7 +30,7 @@ {:else}

There are no active alerts

{/if} - +

V

{#if displayAlerts}
@@ -77,11 +77,13 @@ font-family: Arial, Helvetica, sans-serif; font-weight: 900; position: absolute; + margin-top: 0; right: 15px; - top: 10px; + top: 11px; border: none; background-color: transparent; transition-duration: 500ms; + transition-delay: 00ms; } #arrow:focus { background-color: transparent; @@ -108,6 +110,7 @@ } .displayAlerts { transition-duration: 500ms; + transition-delay: 400ms; transform: rotate(180deg); } \ No newline at end of file