1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00
vault-frontend/src/components/common/LoadingProgress/styles.module.scss
2022-12-05 22:42:42 +06:00

37 lines
599 B
SCSS

@import 'src/styles/variables';
@keyframes spin {
0% {
background-position: 0 0;
}
100% {
background-position: 100vw 0;
}
}
.loader {
display: flex;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 4px;
z-index: 100;
align-items: center;
justify-content: center;
background: $global_loader_gradient;
animation: spin infinite 1s linear;
}
.label {
position: fixed;
top: $gap + 4px;
left: 50%;
font: $font_12_semibold;
z-index: 100;
transform: translate(-50%, 0);
padding: 2px 10px;
border-radius: 10px;
background: $magic_gradient;
}