{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}{% block layout_head_stylesheet %} {{ parent() }} {% if context.extensions.WodkaHoverOnListingSW6 is defined %} {% set config = context.extensions.WodkaHoverOnListingSW6 %} {% if config.active %} {% if config.useOnHoverColor and config.onHoverItemColor %} <style> .product-box:hover, .product-box:hover, .product-box:hover { background-color: {{ config.onHoverItemColor }}; } </style> {% endif %} {% if config.activeImageHover %} {% if config.imageHoverEffects in 'zoom' %} <style> .product-image-wrapper:not(.wd--hover-on-listing-product-image) img { transition: transform .2s; } .product-image-wrapper:not(.wd--hover-on-listing-product-image) img:hover { transform: scale(1.1); } </style> {% endif %} {% if config.imageHoverEffects in 'square' %} <style> .product-wishlist :hover:after{ animation: none !important; } .product-wishlist:hover::after { display: none; } .product-image-wrapper:not(.wd--hover-on-listing-product-image) ::after { position: absolute; top: 50%; left: 50%; content: ''; width: 0; height: 0; background: rgba(255,255,255,.2); border-radius: 0; transform: translate(-50%, -50%); } .product-image-wrapper:not(.wd--hover-on-listing-product-image) :hover:after { animation: square .75s; } @keyframes square { 0% { opacity: 1; } 40% { opacity: 1; } 100% { width: 100%; height: 120%; opacity: 0; } } </style> {% endif %} {% if config.imageHoverEffects in 'circle' %} <style> .product-wishlist :hover:after{ animation: none !important; } .product-wishlist:hover::after { display: none; } .product-image-wrapper:not(.wd--hover-on-listing-product-image) ::after { position: absolute; top: 50%; left: 50%; content: ''; width: 0; height: 0; background: rgba(255,255,255,.2); border-radius: 100%; transform: translate(-50%, -50%); } .product-image-wrapper:not(.wd--hover-on-listing-product-image) :hover:after { animation: circle .75s; } @keyframes circle { 0% { opacity: 1; } 40% { opacity: 1; } 100% { width: 100%; height: 120%; opacity: 0; } } </style> {% endif %} {% endif %} {% if config.imageSliderActive and ( config.navigationArrowsColor or config.activeNavigationDotColor or config.inactiveNavigationDotColor ) %} <style> {% if config.navigationArrowsColor %} .wd--hover-on-listing-image-slider .image-slider-controls-container .base-slider-controls .icon { color: {{ config.navigationArrowsColor }}; } {% endif %} {% if config.activeNavigationDotColor %} .wd--hover-on-listing-image-slider .base-slider .tns-nav button.tns-nav-active { background-color: {{ config.activeNavigationDotColor }}; } {% endif %} {% if config.inactiveNavigationDotColor %} .wd--hover-on-listing-image-slider .base-slider .tns-nav button { background-color: {{ config.inactiveNavigationDotColor }}; } {% endif %} </style> {% endif %} {% endif %} {% endif %}{% endblock %}