| 1 |
/** |
| 2 |
* Recently Viewed Products - Admin Preview |
| 3 |
* |
| 4 |
*/ |
| 5 |
.merchant-module-page-preview-browser-inner { |
| 6 |
display: -webkit-box; |
| 7 |
display: -ms-flexbox; |
| 8 |
display: flex; |
| 9 |
-webkit-box-flex: 0; |
| 10 |
-ms-flex-positive: 0; |
| 11 |
flex-grow: 0; |
| 12 |
max-width: 100%; |
| 13 |
width: 100%; |
| 14 |
margin: auto; |
| 15 |
padding: 0 25px; |
| 16 |
} |
| 17 |
|
| 18 |
.merchant-recently-viewed-products-section { |
| 19 |
width: 100%; |
| 20 |
} |
| 21 |
.merchant-recently-viewed-products-section .section-title { |
| 22 |
margin-bottom: 25px; |
| 23 |
color: var(--mrc-rvp-section-title-color, #212121); |
| 24 |
} |
| 25 |
.merchant-recently-viewed-products-section.hide-title .section-title { |
| 26 |
display: none; |
| 27 |
} |
| 28 |
.merchant-recently-viewed-products-section .merchant-recently-viewed-products .products { |
| 29 |
display: -webkit-box; |
| 30 |
display: -ms-flexbox; |
| 31 |
display: flex; |
| 32 |
-ms-flex-wrap: wrap; |
| 33 |
flex-wrap: wrap; |
| 34 |
list-style: none; |
| 35 |
padding: 0; |
| 36 |
margin: 0; |
| 37 |
gap: var(--mrc-rvp-columns-gap, 15px); |
| 38 |
} |
| 39 |
.merchant-recently-viewed-products-section .merchant-recently-viewed-products .products .product { |
| 40 |
-webkit-box-flex: 1; |
| 41 |
-ms-flex: 1 1 calc(33.3333% - var(--mrc-rvp-columns-gap, 15px)); |
| 42 |
flex: 1 1 calc(33.3333% - var(--mrc-rvp-columns-gap, 15px)); |
| 43 |
max-width: calc(33.3333% - var(--mrc-rvp-columns-gap, 15px)); |
| 44 |
} |
| 45 |
.merchant-recently-viewed-products-section .merchant-recently-viewed-products .products .product .image-wrapper { |
| 46 |
background-color: #f5f5f5; |
| 47 |
height: 220px; |
| 48 |
} |
| 49 |
@media (min-width: 992px) { |
| 50 |
.merchant-recently-viewed-products-section .merchant-recently-viewed-products .products .product .image-wrapper { |
| 51 |
height: 11vw; |
| 52 |
max-height: 220px; |
| 53 |
} |
| 54 |
} |
| 55 |
.merchant-recently-viewed-products-section .merchant-recently-viewed-products .products .product .product-summary h3 { |
| 56 |
margin-bottom: 10px; |
| 57 |
} |
| 58 |
.merchant-recently-viewed-products-section .merchant-recently-viewed-products .products .product .product-summary p { |
| 59 |
margin-top: 0; |
| 60 |
} |
| 61 |
.merchant-recently-viewed-products-section .merchant-recently-viewed-products .slider-navigation { |
| 62 |
display: none; |
| 63 |
} |
| 64 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products { |
| 65 |
position: relative; |
| 66 |
} |
| 67 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation { |
| 68 |
display: -webkit-box; |
| 69 |
display: -ms-flexbox; |
| 70 |
display: flex; |
| 71 |
-webkit-box-pack: justify; |
| 72 |
-ms-flex-pack: justify; |
| 73 |
justify-content: space-between; |
| 74 |
padding: 0 20px; |
| 75 |
position: absolute; |
| 76 |
top: 0; |
| 77 |
left: 0; |
| 78 |
width: 100%; |
| 79 |
-webkit-transform: translateY(-50%); |
| 80 |
transform: translateY(-50%); |
| 81 |
margin-top: calc(107px + var(--mrc-rvp-columns-gap)); |
| 82 |
z-index: 10; |
| 83 |
} |
| 84 |
@media (min-width: 992px) and (max-width: 1280px) { |
| 85 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation { |
| 86 |
margin-top: calc(70px + var(--mrc-rvp-columns-gap)); |
| 87 |
} |
| 88 |
} |
| 89 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation .nav-prev, |
| 90 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation .nav-next { |
| 91 |
display: -webkit-box; |
| 92 |
display: -ms-flexbox; |
| 93 |
display: flex; |
| 94 |
-webkit-box-align: center; |
| 95 |
-ms-flex-align: center; |
| 96 |
align-items: center; |
| 97 |
-webkit-box-pack: center; |
| 98 |
-ms-flex-pack: center; |
| 99 |
justify-content: center; |
| 100 |
background: var(--mrc-carousel-nav-color, #212121); |
| 101 |
border-radius: 50%; |
| 102 |
width: 30px; |
| 103 |
height: 30px; |
| 104 |
} |
| 105 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation .nav-prev svg, |
| 106 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation .nav-next svg { |
| 107 |
width: 12px; |
| 108 |
height: 12px; |
| 109 |
} |
| 110 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation .nav-prev svg path, |
| 111 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation .nav-next svg path { |
| 112 |
stroke: var(--mrc-carousel-nav-icon-color, #FFF); |
| 113 |
} |
| 114 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation .nav-prev:hover, |
| 115 |
.merchant-recently-viewed-products-section.slider-style-preview .merchant-recently-viewed-products .slider-navigation .nav-next:hover { |
| 116 |
background: var(--mrc-carousel-nav-color-hover, #757575); |
| 117 |
} |
| 118 |
.merchant-recently-viewed-products-section.slider-style-preview.on-hover .merchant-recently-viewed-products .slider-navigation { |
| 119 |
opacity: 0; |
| 120 |
-webkit-transition: opacity 0.3s ease; |
| 121 |
transition: opacity 0.3s ease; |
| 122 |
} |
| 123 |
.merchant-recently-viewed-products-section.slider-style-preview.on-hover .merchant-recently-viewed-products:hover .slider-navigation { |
| 124 |
opacity: 1; |
| 125 |
} |