open-consul/ui-v2/app/styles/components/product/loader.scss
John Cowen c7d89f364d
UI: CSS refactor (#4430) + Fullscreen Layout (#4435)
* Begin refactoring CSS into component folders. Moved most
components into layout/skin folders, left out a couple of ones I want
to think about more.
* Adjust grays based on recent Structure changes 
* Switch to fullscreen layout for lists and detail, left aligned forms (#4435)
* Specifically use the 'actions_close' label, not just the :last-child (actions-group)
* Replace some non-var-ed colours in vaults code skin, plus prefixing (black and white)
2018-08-29 12:11:58 +01:00

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);
}
}