2023-01-05 15:51:24 +01:00
|
|
|
.spinner {
|
|
|
|
vertical-align: middle;
|
2018-04-09 18:27:15 +02:00
|
|
|
|
2023-01-05 15:51:24 +01:00
|
|
|
&::before {
|
2024-11-05 19:02:31 +01:00
|
|
|
content: '';
|
2023-01-05 15:51:24 +01:00
|
|
|
display: inline-block;
|
|
|
|
width: 1.5rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
border: 3px solid var(--text-default-grey);
|
|
|
|
border-radius: 50%;
|
|
|
|
border-top-color: var(--background-default-grey);
|
|
|
|
animation: spin 0.7s cubic-bezier(0, 0, 0.36, 0.78) infinite;
|
|
|
|
}
|
2018-04-09 18:27:15 +02:00
|
|
|
|
2019-08-14 13:11:36 +02:00
|
|
|
&.right {
|
|
|
|
position: absolute;
|
|
|
|
top: 3.7em;
|
|
|
|
right: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.left {
|
|
|
|
top: 1.2em;
|
|
|
|
left: 1.2em;
|
2023-01-05 11:32:58 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-05 15:51:24 +01:00
|
|
|
// Add the keyframes for the spinner animation
|
|
|
|
@keyframes spin {
|
2023-01-05 11:32:58 +01:00
|
|
|
to {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|