@vidal-community/vidal-web-components
Version:
Vidal Web Components
63 lines (59 loc) • 1.32 kB
JavaScript
import { css } from 'lit';
export const styles = css `
.centered {
width: 100%;
display: flex;
justify-content: center;
}
.loader {
height: 100px;
aspect-ratio: 1/1;
display: flex;
justify-content: center;
align-items: center;
position: relative;
font-size: 10px;
}
.loader-triple {
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #cc0033;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
.loader-triple:before {
content: '';
position: absolute;
top: 5px;
left: 5px;
right: 5px;
bottom: 5px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #cc0033;
-webkit-animation: spin 3s linear infinite;
animation: spin 3s linear infinite;
}
.loader-triple:after {
content: '';
position: absolute;
top: 12px;
left: 12px;
right: 12px;
bottom: 12px;
border-radius: 50%;
border: 3px solid transparent;
border-top-color: #cc0033;
-webkit-animation: spin 1.5s linear infinite;
animation: spin 1.5s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
`;
//# sourceMappingURL=vidal-loading-spinner.css.js.map