1 line
1.2 KiB
CSS
1 line
1.2 KiB
CSS
@keyframes spinner__animation{0%{animation-timing-function:cubic-bezier(.5856,.0703,.4143,.9297);transform:rotate(0deg)}to{transform:rotate(-1turn)}}@keyframes loading__animation{to{transform:translateX(-100%)}}.wc-block-components-product-summary{margin-bottom:12px;margin-top:0}.is-loading .wc-block-components-product-summary:before{background-color:currentColor!important;border:0!important;border-radius:.25rem;box-shadow:none;color:currentColor!important;content:".";display:block;height:6em;line-height:1;max-width:100%!important;opacity:.15;outline:0!important;overflow:hidden!important;pointer-events:none;position:relative!important;width:100%;z-index:1}.is-loading .wc-block-components-product-summary:before>*{visibility:hidden}.is-loading .wc-block-components-product-summary:before:after{animation:loading__animation 1.5s ease-in-out infinite;background-image:linear-gradient(-90deg,currentColor,hsla(0,0%,96%,.302),currentColor);background-repeat:no-repeat;content:" ";display:block;height:100%;right:0;position:absolute;left:0;top:0;transform:translateX(100%)}@media screen and (prefers-reduced-motion:reduce){.is-loading .wc-block-components-product-summary:before{animation:none}}
|