geno/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/product-rating-stars.css

2 lines
3 KiB
CSS
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
@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-rating-stars{display:block;line-height:1}.wc-block-components-product-rating-stars__stars{display:inline-block;font-family:star;font-size:1em;font-weight:400;height:1.618em;line-height:1.618;overflow:hidden;position:relative;text-align:left;width:5.3em}.wc-block-components-product-rating-stars__stars:before{color:inherit;content:"SSSSS";left:0;opacity:.5;position:absolute;right:0;top:0;white-space:nowrap}.wc-block-components-product-rating-stars__stars span{color:inherit;left:0;overflow:hidden;padding-top:1.5em;position:absolute;right:0;top:0}.wc-block-components-product-rating-stars__stars span:before{color:inherit;content:"SSSSS";left:0;position:absolute;right:0;top:0;white-space:nowrap}.wc-block-components-product-rating-stars__link{display:inline-block;font-size:.875em;height:1.618em;text-align:inherit;width:100%}.wc-block-all-products .wc-block-components-product-rating-stars{margin-bottom:12px;margin-top:0}.wc-block-components-product-rating-stars__norating-container{align-items:center;display:inline-flex;flex-direction:row;gap:8px}.wc-block-components-product-rating-stars__norating{-webkit-text-stroke:2px var(--wp--preset--color--black,#000);display:inline-block;font-family:star;font-size:1em;font-weight:400;height:1.618em;line-height:1.618;overflow:hidden;position:relative;width:1.5em}.wc-block-components-product-rating-stars__norating:before{color:transparent;content:"S";left:0;position:absolute;right:0;text-align:center;top:0;white-space:nowrap}.wp-block-woocommerce-single-product .wc-block-components-product-rating__stars{margin:0}.wc-block-all-products .is-loading .wc-block-components-product-rating,.wp-block-query .is-loading .wc-block-components-product-rating{background-color:currentColor!important;border:0!important;border-radius:.25rem;box-shadow:none;color:currentColor!important;display:block;line-height:1;max-width:100%!important;opacity:.15;outline:0!important;overflow:hidden!important;pointer-events:none;position:relative!important;width:100%;width:7em;z-index:1}.wc-block-all-products .is-loading .wc-block-components-product-rating>*,.wp-block-query .is-loading .wc-block-components-product-rating>*{visibility:hidden}.wc-block-all-products .is-loading .wc-block-components-product-rating:after,.wp-block-query .is-loading .wc-block-components-product-rating: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%;left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}@media screen and (prefers-reduced-motion:reduce){.wc-block-all-products .is-loading .wc-block-components-product-rating,.wp-block-query .is-loading .wc-block-components-product-rating{animation:none}}