59 lines
1.1 KiB
CSS
59 lines
1.1 KiB
CSS
.loading-screen {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--color-bg);
|
|
}
|
|
|
|
.loading-content {
|
|
text-align: center;
|
|
}
|
|
|
|
.loading-title {
|
|
font-family: var(--font-display);
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: var(--color-text);
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.loading-or {
|
|
display: inline-block;
|
|
margin: 0 4px;
|
|
padding: 2px 10px;
|
|
background: linear-gradient(135deg, var(--color-card-a-to), var(--color-card-b-to));
|
|
border-radius: var(--radius-sm);
|
|
font-size: 20px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.loading-error {
|
|
margin-top: var(--space-lg);
|
|
color: var(--color-dislike);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.loading-dots {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: center;
|
|
margin-top: var(--space-lg);
|
|
}
|
|
|
|
.dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--color-muted);
|
|
animation: dotPulse 1.4s infinite ease-in-out both;
|
|
}
|
|
|
|
.dot:nth-child(2) { animation-delay: 0.16s; }
|
|
.dot:nth-child(3) { animation-delay: 0.32s; }
|
|
|
|
@keyframes dotPulse {
|
|
0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
|
|
40% { opacity: 1; transform: scale(1); }
|
|
}
|