79 lines
1.2 KiB
SCSS
79 lines
1.2 KiB
SCSS
.ProgressSpinner {
|
|
cursor: var(--custom-cursor, pointer);
|
|
|
|
position: relative;
|
|
z-index: 1;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
width: 3.375rem;
|
|
height: 3.375rem;
|
|
border-radius: 50%;
|
|
|
|
background-color: rgba(0, 0, 0, 0.25);
|
|
|
|
&.no-cross {
|
|
pointer-events: none;
|
|
background: transparent !important;
|
|
}
|
|
|
|
.icon-close {
|
|
position: absolute;
|
|
font-size: 1.625rem;
|
|
color: var(--color-white);
|
|
}
|
|
|
|
&.square {
|
|
background-image: none;
|
|
|
|
&::after {
|
|
content: "";
|
|
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate3d(-50%, -50%, 0);
|
|
|
|
width: 0.8125rem;
|
|
height: 0.8125rem;
|
|
border-radius: 0.125rem;
|
|
|
|
background-color: #fff;
|
|
}
|
|
}
|
|
|
|
&.size-s,
|
|
&.size-m {
|
|
width: auto;
|
|
height: auto;
|
|
|
|
&.square {
|
|
width: 0.75rem;
|
|
height: 0.75rem;
|
|
background-image: none;
|
|
}
|
|
}
|
|
|
|
&.size-xl {
|
|
width: 3.25rem;
|
|
height: 3.25rem;
|
|
|
|
&_canvas {
|
|
margin: 0.125rem;
|
|
}
|
|
}
|
|
|
|
&.transparent {
|
|
background-color: transparent !important;
|
|
}
|
|
|
|
&_canvas {
|
|
display: block;
|
|
color: var(--color-white);
|
|
background-color: transparent !important;
|
|
}
|
|
}
|