mirror of
https://github.com/cssgunc/compass.git
synced 2025-04-18 17:50:16 -04:00
44 lines
797 B
CSS
44 lines
797 B
CSS
/* components/Loading.module.css */
|
|
.loadingOverlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.loadingContent {
|
|
text-align: center;
|
|
}
|
|
|
|
.loadingTitle {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
color: #5b21b6;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.loadingSpinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 4px solid #5b21b6;
|
|
border-top: 4px solid #fff;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin: 2rem auto;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|