45 lines
926 B
Svelte
45 lines
926 B
Svelte
<script lang="ts">
|
|
// Minimal loading state - a single breathing mark.
|
|
</script>
|
|
|
|
<div class="stage">
|
|
<div class="mark">
|
|
<span class="bar"></span>
|
|
<span class="bar"></span>
|
|
<span class="bar"></span>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
.stage {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.mark {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: flex-end;
|
|
height: 20px;
|
|
}
|
|
|
|
.bar {
|
|
display: block;
|
|
width: 3px;
|
|
background: var(--accent);
|
|
border-radius: 1px;
|
|
animation: breathe 1s ease-in-out infinite;
|
|
}
|
|
|
|
.bar:nth-child(1) { height: 8px; animation-delay: 0ms; }
|
|
.bar:nth-child(2) { height: 16px; animation-delay: 120ms; }
|
|
.bar:nth-child(3) { height: 12px; animation-delay: 240ms; }
|
|
|
|
@keyframes breathe {
|
|
0%, 100% { opacity: 0.35; transform: scaleY(0.8); }
|
|
50% { opacity: 1; transform: scaleY(1); }
|
|
}
|
|
</style>
|