frontend-tutorial-framework/src/app/loader/loader.component.scss

63 lines
999 B
SCSS

.loading-container {
position: absolute;
top: 0;
left: 0;
margin: 0;
padding: 0;
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.2);
z-index: 99999;
filter: blur(0px)!important;
}
.loader {
position: relative;
filter: blur(0px) !important;
}
.outer,
.middle,
.inner {
border: 3px solid transparent;
border-top-color: #277EEC;
border-right-color: #277EEC;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
}
.outer {
width: 3.5em;
height: 3.5em;
margin-left: -1.75em;
margin-top: -1.75em;
animation: spin 2s linear infinite;
}
.middle {
width: 2.1em;
height: 2.1em;
margin-left: -1.05em;
margin-top: -1.05em;
animation: spin 1.75s linear reverse infinite;
}
.inner {
width: 0.8em;
height: 0.8em;
margin-left: -0.4em;
margin-top: -0.4em;
animation: spin 1.5s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}