Rework to include "spinner" icon for loading state and dark mode

support.
This commit is contained in:
Benjamin A. Shelton 2026-08-06 20:01:18 -06:00
commit 32a7c08d95
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
3 changed files with 39 additions and 3 deletions

View file

@ -120,12 +120,15 @@ footer {
}
dialog.scripture {
@apply bg-white;
@apply dark:bg-gray-600 dark:text-neutral-300;
p {
@apply mt-4;
span.verse {
padding-left: 0.1rem;
padding-right: 0.2rem;
@apply align-super text-gray-500 text-sm;
@apply dark:text-neutral-400;
}
span.poem-1 {
}
@ -147,12 +150,14 @@ dialog.scripture {
}
button[data-close] {
@apply absolute top-0 right-0 pr-2 pb-2 pt-2 text-sm text-gray-500 cursor-pointer hover:text-red-900;
@apply dark:text-gray-400 dark:hover:text-red-500;
span {
text-transform: uppercase;
}
}
h1 {
@apply font-bold mb-2 text-2xl;
@apply dark:text-neutral-300;
}
nav {
@apply mt-8;
@ -160,6 +165,17 @@ dialog.scripture {
@apply bottom-0 right-0 text-sm text-blue-400 pr-4 pb-4;
}
}
.spinner {
@apply justify-center flex items-center;
}
.spinner svg {
@apply mt-12 text-sunday-theme;
@apply dark:text-gray-300;
transform: scale(2);
animation-duration: 3s;
animation-name: spinner-expand;
animation-iteration-count: infinite;
}
}
#notes-list {
@ -373,6 +389,18 @@ article#notes-page {
}
}
@keyframes spinner-expand {
0% {
transform: scale(2);
}
50% {
transform: scale(4);
}
100% {
transform: scale(2);
}
}
nav#pagination {
@apply flex items-center justify-center mt-6 mb-6 text-xl transition-colors duration-500;
}