Open platform to collect and prioritize feedback
@use "@fider/assets/styles/variables.scss" as *;
.c-loader {
&__spinner {
display: block;
position: relative;
text-align: center;
z-index: 1000;
width: 30px;
height: 30px;
margin: 10px auto;
&:before {
position: absolute;
content: "";
top: 0;
left: 50%;
width: 100%;
height: 100%;
border-radius: 500rem;
border: 0.2em solid var(--colors-gray-300);
}
&:after {
position: absolute;
content: "";
top: 0;
left: 50%;
width: 100%;
height: 100%;
animation: loader 0.6s linear;
animation-iteration-count: infinite;
border-radius: 500rem;
border-color: get("colors.gray.700") transparent transparent;
border-style: solid;
border-width: 0.2em;
box-shadow: 0 0 0 1px transparent;
}
&:before,
&:after {
width: 30px;
height: 30px;
margin: 0 0 0 -15px;
}
}
&__text {
display: block;
text-align: center;
font-size: get("font.size.xs");
color: var(--colors-gray-700);
}
}
@keyframes loader {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}