mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 09:18:59 +00:00
bcfac603f0
* added storybook * added avatar component * added button story * added dropdown button story * removed unused ellipsis component * cleaned up modal path * reorganized enroll secrets table file * added flash story; removed unused persistent flash * added fleet ace story * added checkbox story * added dropdown story * added input story * fixed storybook build * fixed avatar * added input with icon story * added radio button story * added select targets dropdown story * added slider story * added tooltip story * added info banner story * removed unused loaders; added spinner story * added modal story * removed unused NumberPill * added pagination story * lint fixes * added documentation to run * modified documentation * fixed corelayout test * fixed format for date-fns * fixed date format that breaks tests * wait for page
72 lines
1.4 KiB
SCSS
72 lines
1.4 KiB
SCSS
.loading-spinner {
|
|
margin: 120px auto;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: $core-white;
|
|
width: 48px;
|
|
height: 48px;
|
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
|
|
border-radius: 8px;
|
|
|
|
&__ring {
|
|
box-sizing: border-box;
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 100%;
|
|
border: 4px solid $core-vibrant-blue;
|
|
|
|
div {
|
|
box-sizing: border-box;
|
|
display: block;
|
|
position: absolute;
|
|
width: 32px;
|
|
height: 32px;
|
|
margin: -4px;
|
|
border: 4px solid $core-white;
|
|
border-radius: 50%;
|
|
animation: ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
border-color: $ui-vibrant-blue-25 transparent transparent transparent;
|
|
}
|
|
}
|
|
|
|
&__ring-for-button {
|
|
margin-right: $pad-small;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-width: 3px;
|
|
border-color: rgba(255,255,255,0.25);
|
|
|
|
div {
|
|
margin: -3px;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-width: 3px;
|
|
border-color: $core-white transparent transparent transparent;
|
|
}
|
|
}
|
|
|
|
div:nth-child(1) {
|
|
animation-delay: -0.45s;
|
|
}
|
|
|
|
div:nth-child(2) {
|
|
animation-delay: -0.3s;
|
|
}
|
|
|
|
div:nth-child(3) {
|
|
animation-delay: -0.15s;
|
|
}
|
|
}
|
|
|
|
@keyframes ring {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|