Files
school_compare/nextjs-app/components/SchoolMap.module.css

39 lines
632 B
CSS
Raw Normal View History

.mapWrapper {
width: 100%;
height: 100%;
position: relative;
}
.mapLoading {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: var(--bg-secondary);
border-radius: var(--radius-md);
gap: 1rem;
}
.spinner {
width: 2rem;
height: 2rem;
border: 3px solid rgba(59, 130, 246, 0.3);
border-radius: 50%;
border-top-color: var(--primary);
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.mapLoading p {
color: var(--text-secondary);
font-size: 0.9375rem;
margin: 0;
}