Files
fluxer/fluxer_app/src/features/voice/components/VoiceRegionTeleportOverlay.module.css
T

51 lines
980 B
CSS

/* SPDX-License-Identifier: AGPL-3.0-or-later */
.overlay {
position: absolute;
inset: 0;
z-index: 1000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: clamp(1rem, 3vh, 1.75rem);
padding: 1.5rem;
background: var(--voice-overlay-strong, rgba(0, 0, 0, 0.78));
box-sizing: border-box;
animation: voiceRegionTeleportFadeIn 160ms ease-out;
}
.tile {
position: relative;
width: clamp(11rem, 26vw, 20rem);
aspect-ratio: 16 / 9;
overflow: hidden;
border-radius: 0.75rem;
box-shadow: 0 1.5rem 3rem var(--voice-shadow-strong, rgba(0, 0, 0, 0.4));
}
.label {
max-width: min(90vw, 28rem);
color: var(--voice-text-strong, #fff);
font-size: clamp(0.9375rem, 2.4vh, 1.125rem);
font-weight: 600;
line-height: 1.3;
text-align: center;
text-wrap: balance;
}
@keyframes voiceRegionTeleportFadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.overlay {
animation: none;
}
}