Files
F-r-ldraledigplannerare/frontend/src/components/common/loading-spinner.css
T
jacobh2 d14f86478a Lay the Almanacka design foundation: tokens, type, shell
New token system in global.css (near-white surfaces, one ink-blue
accent, no sub-12px type), self-hosted Schibsted Grotesk, rewritten
primitives (buttons, fields, modal shell, segmented, disclosure,
skeleton), a borderless 56px header with an SV | EN language toggle,
an Icon component replacing glyphs, page skeletons that keep the
layout during loading, and leave-type colours moved out of TS into
CSS variables. Feature blocks keep their structure for later phases.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 18:25:04 +02:00

36 lines
689 B
CSS

/* Loading Spinner — a thin ring with an accent arc, not a glyph. */
.loading-spinner {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: var(--sp-8);
gap: var(--sp-4);
min-height: 300px;
}
.loading-spinner__icon {
display: block;
width: var(--icon-lg);
height: var(--icon-lg);
border: 2px solid var(--c-border);
border-top-color: var(--c-accent);
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
.loading-spinner__message {
font-size: var(--fs-sm);
color: var(--c-text-muted);
margin: 0;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}