mirror of
https://github.com/michalcz10/USB-RAID-Array.git
synced 2025-12-10 03:22:19 +00:00
61 lines
965 B
CSS
61 lines
965 B
CSS
/* Preloader styles */
|
|
.preloader {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 9999;
|
|
transition: opacity 0.5s;
|
|
}
|
|
|
|
.theme-light .preloader {
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.theme-dark .preloader {
|
|
background-color: #212529;
|
|
}
|
|
|
|
.spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 5px solid rgba(0, 0, 0, 0.1);
|
|
border-radius: 50%;
|
|
border-top-color: #0d6efd;
|
|
animation: spin 1s ease-in-out infinite;
|
|
}
|
|
|
|
.theme-dark .spinner {
|
|
border: 5px solid rgba(255, 255, 255, 0.1);
|
|
border-top-color: #0d6efd;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.fade-in {
|
|
opacity: 0;
|
|
animation: fadeIn 0.5s forwards;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.content-wrapper {
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.content-wrapper.visible {
|
|
opacity: 1;
|
|
} |