mirror of https://github.com/hashicorp/consul
50 lines
801 B
SCSS
50 lines
801 B
SCSS
|
/* logo */
|
||
|
%brand-loader {
|
||
|
display: block;
|
||
|
}
|
||
|
%brand-loader {
|
||
|
position: absolute;
|
||
|
top: 50%;
|
||
|
margin-top: -26px;
|
||
|
left: 50%;
|
||
|
margin-left: -84px;
|
||
|
}
|
||
|
/* blobs / %ui-loader ? */
|
||
|
%loader {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
height: calc(100vh - 90px - 48px - 50px);
|
||
|
}
|
||
|
%loader circle {
|
||
|
animation: loader-animation 1.5s infinite ease-in-out;
|
||
|
transform-origin: 50% 50%;
|
||
|
}
|
||
|
|
||
|
%loader g:nth-last-child(2) circle {
|
||
|
animation-delay: 0.2s;
|
||
|
}
|
||
|
|
||
|
%loader g:nth-last-child(3) circle {
|
||
|
animation-delay: 0.3s;
|
||
|
}
|
||
|
|
||
|
%loader g:nth-last-child(4) circle {
|
||
|
animation-delay: 0.4s;
|
||
|
}
|
||
|
|
||
|
%loader g:nth-last-child(5) circle {
|
||
|
animation-delay: 0.5s;
|
||
|
}
|
||
|
|
||
|
@keyframes loader-animation {
|
||
|
0%,
|
||
|
100% {
|
||
|
transform: scale3D(1, 1, 1);
|
||
|
}
|
||
|
|
||
|
33% {
|
||
|
transform: scale3D(0, 0, 1);
|
||
|
}
|
||
|
}
|