mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 01:43:43 +00:00
c075f73752
* feat: create loader component * fix: prevent stale data in forms
47 lines
706 B
SCSS
47 lines
706 B
SCSS
@use '../../../theme/ontimeColours' as *;
|
|
|
|
.screenLoader {
|
|
position: absolute;
|
|
z-index: 10;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: grid;
|
|
place-content: center;
|
|
top: 0;
|
|
background-color: $white-60;
|
|
}
|
|
|
|
$loader-size: 48px;
|
|
|
|
.loader {
|
|
width: $loader-size;
|
|
height: $loader-size;
|
|
background: $blue-500;
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
box-sizing: border-box;
|
|
animation: animloader 1s ease-in infinite;
|
|
}
|
|
|
|
@keyframes animloader {
|
|
0% {
|
|
transform: scale(0);
|
|
opacity: 0.6;
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes animloader {
|
|
0% {
|
|
transform: scale(0);
|
|
opacity: 0.6;
|
|
}
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 0;
|
|
}
|
|
}
|