users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/data-widget-loader.js

9cb45d050939b499e8e01ec9e4fe9be998d98dc4 · 760 B · 32 lines raw

1 // Styles for /lib/components/data/data-widget-loader.jsx component
2 export const dataWidgetLoaderStyles = /* css */ `
3 .data-widget-loader {
4 animation: data-widget-loader-appearance 320ms var(--transition-easing);
5 }
6 @keyframes data-widget-loader-appearance {
7 0% {
8 opacity: 0;
9 }
10 }
11 .data-widget-loader::before {
12 content: "";
13 width: 10px;
14 height: 10px;
15 margin-right: 7px;
16 background-color: currentColor;
17 border-radius: 50%;
18 opacity: 0.75;
19 }
20 .data-widget-loader__inner {
21 border: 2px solid transparent;
22 border-bottom-color: currentColor;
23 box-sizing: border-box;
24 border-radius: 50%;
25 animation: data-widget-loader-spining 640ms ease infinite;
26 }
27 @keyframes data-widget-loader-spining {
28 100% {
29 transform: rotate(360deg);
30 }
31 }
32 `;