None selected
+None selected
- -diff --git a/web/src/app.css b/web/src/app.css index f1b8456..1c2b5c9 100644 --- a/web/src/app.css +++ b/web/src/app.css @@ -501,14 +501,48 @@ } /* Loading spinner */ + .loading-container { + @apply pointer-events-none flex h-screen w-full items-center justify-center; + } + + .spinner { + @apply relative h-10 w-10; + } + .spinner-dot { - @apply bg-[var(--light-accent)]; + @apply absolute top-[37.5%] inline-block h-1/4 w-1/4 rounded-full bg-[var(--light-accent)]; + animation: sk-bouncedelay 1.4s infinite ease-in-out both; } .dark .spinner-dot { @apply bg-[var(--dark-accent)]; } + .spinner .bounce1 { + @apply left-0; + animation-delay: -0.32s; + } + + .spinner .bounce2 { + @apply left-[37.5%]; + animation-delay: -0.16s; + } + + .spinner .bounce3 { + @apply left-3/4; + } + + @keyframes sk-bouncedelay { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } + } + /* Main layout */ .main-layout-container { @apply flex h-screen bg-[var(--light-background)]; diff --git a/web/src/app.html b/web/src/app.html index 77a5ff5..15a2adf 100644 --- a/web/src/app.html +++ b/web/src/app.html @@ -5,6 +5,15 @@ %sveltekit.head% +
None selected
+None selected
- -