No notes defined.
<span class="sds-loaderLottie"></span>
<span class="{{ namespace }}loaderLottie{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}"></span>
function bceeLottieLoader(){
let loader = document.querySelector('.sds-loaderLottie');
let loaderParams = {
container: loader,
renderer: 'svg',
autoplay: true,
prerender: true,
loop: true,
path: '../../media/lottie-animation/loader.json'
};
let loaderAnim;
if (loader) {
loaderAnim = bodymovin.loadAnimation(loaderParams);
}
}
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}loaderLottie {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
display: inline-flex;
align-items: center;
justify-content: center;
width: 60px; //@TODO check loader dimesnions and rework
height: 60px; //@TODO check loader dimesnions and rework
/* Pseudo Elements */
&::before {
}
&::after {
}
/*
Include elements that are linked to the current element but have to reside at the root level of the stylesheet
(e.g: keyframes)
*/
@at-root {
}
/* children - write selector in full in comments in order to facilitate search */
// loaderLottie__childElement
&__childElement {
// follows same logic as parent
}
/* modifiers */
// loaderLottie -altStyle
&.-altStyle {
// follows same logic as base element
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}