mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-14 03:05:41 +01:00
27 lines
503 B
HTML
27 lines
503 B
HTML
<svg class="loading-spinner-icon {{maskStyle ? 'mask-style' : ''}}">
|
|
<use xlink:href="#fa-spinner" />
|
|
</svg>
|
|
<style>
|
|
.loading-spinner-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
fill: var(--svg-fill);
|
|
animation: spin 2s infinite linear;
|
|
}
|
|
|
|
.loading-spinner-icon.mask-style {
|
|
fill: var(--mask-svg-fill);
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
50% {
|
|
transform: rotate(180deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
</style> |