mirror of
https://github.com/oceanprotocol/status
synced 2024-06-10 19:30:16 +02:00
34 lines
605 B
CSS
34 lines
605 B
CSS
|
.spinner {
|
||
|
position: relative;
|
||
|
text-align: center;
|
||
|
margin-top: calc(var(--spacer) * 2);
|
||
|
line-height: 1.3;
|
||
|
}
|
||
|
|
||
|
.spinner:before {
|
||
|
content: '';
|
||
|
box-sizing: border-box;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 50%;
|
||
|
width: 20px;
|
||
|
height: 20px;
|
||
|
margin-top: -20px;
|
||
|
margin-left: -10px;
|
||
|
border-radius: 50%;
|
||
|
border: 2px solid var(--brand-purple);
|
||
|
border-top-color: var(--brand-violet);
|
||
|
animation: spinner 0.6s linear infinite;
|
||
|
}
|
||
|
|
||
|
.spinnerMessage {
|
||
|
color: var(--brand-grey-light);
|
||
|
padding-top: calc(var(--spacer) / 4);
|
||
|
}
|
||
|
|
||
|
@keyframes spinner {
|
||
|
to {
|
||
|
transform: rotate(360deg);
|
||
|
}
|
||
|
}
|