PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 2.3.2
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v2.3.2
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
← All changes | assets/css/modules/quick-view/quick-view.css +297 -15 1.82.3.2 View file →
@@ -13,12 +13,14 @@
13 13 -ms-flex-align: center !important;
14 14 align-items: center !important;
15 15 -webkit-transition: all 0.2s;
16 16 transition: all 0.2s;
17 - text-decoration: none;
17 + text-decoration: none !important;
18 18 -ms-flex-item-align: start;
19 19 align-self: flex-start;
20 20 color: var(--mrc-qv-button-text-color, #FFF) !important;
21 + border-width: 1px;
22 + border-style: solid;
21 23 border-color: var(--mrc-qv-button-border-color, #212121) !important;
22 24 background-color: var(--mrc-qv-button-bg-color, #212121) !important;
23 25 transition: all 0.2s;
24 26 }
@@ -36,9 +38,9 @@
36 38 .woocommerce .product .merchant-quick-view-button svg path {
37 39 fill: var(--mrc-qv-button-icon-color, #FFF) !important;
38 40 }
39 41 .woocommerce .product .merchant-quick-view-button:hover {
40 - color: var(--mrc-qv-button-color-hover, #FFF) !important;
42 + color: var(--mrc-qv-button-text-color-hover, #FFF) !important;
41 43 border-color: var(--mrc-qv-button-border-color-hover, #414141) !important;
42 44 background-color: var(--mrc-qv-button-bg-color-hover, #414141) !important;
43 45 }
44 46 .woocommerce .product .merchant-quick-view-button:hover svg {
@@ -53,18 +55,26 @@
53 55 }
54 56 .products .product .merchant-quick-view-position-overlay {
55 57 position: absolute;
56 58 z-index: 10;
57 - top: var(--mrc-qv-button-position-top, 50%);
58 - left: var(--mrc-qv-button-position-left, 50%);
59 - -webkit-transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1));
60 - transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1));
61 - margin: 0;
59 + margin: 0 !important;
62 60 white-space: nowrap !important;
63 61 opacity: 0;
64 62 -webkit-transition: all 0.2s;
65 63 transition: all 0.2s;
64 + top: var(--mrc-qv-button-position-top, 50%);
65 + left: var(--mrc-qv-button-position-left, 50%);
66 + -webkit-transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1)) !important;
67 + transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1)) !important;
66 68 }
69 +@media (max-width: 768px) {
70 + .products .product .merchant-quick-view-position-overlay.merchant-quick-view-position-has-mobile-position {
71 + top: var(--mrc-qv-button-position-top-mobile, 50%);
72 + left: var(--mrc-qv-button-position-left-mobile, 50%);
73 + -webkit-transform: translate(calc(var(--mrc-qv-button-position-top-mobile, 50%) * -1), calc(var(--mrc-qv-button-position-left-mobile, 50%) * -1)) !important;
74 + transform: translate(calc(var(--mrc-qv-button-position-top-mobile, 50%) * -1), calc(var(--mrc-qv-button-position-left-mobile, 50%) * -1)) !important;
75 + }
76 +}
67 77 .products .product:hover .merchant-quick-view-position-overlay {
68 78 opacity: 1;
69 79 }
70 80
@@ -98,9 +108,21 @@
98 108 .merchant-quick-view-modal.merchant-loading .merchant-quick-view-loader {
99 109 opacity: 1;
100 110 visibility: visible;
101 111 }
112 +.merchant-quick-view-modal .merchant-freespb-wrapper {
113 + display: none;
114 +}
102 115
116 +body.admin-bar .merchant-quick-view-modal {
117 + top: 32px;
118 +}
119 +@media (max-width: 782px) {
120 + body.admin-bar .merchant-quick-view-modal {
121 + top: 46px;
122 + }
123 +}
124 +
103 125 .merchant-quick-view-overlay {
104 126 position: absolute;
105 127 z-index: 1;
106 128 top: 0;
@@ -111,15 +133,17 @@
111 133 }
112 134
113 135 .merchant-quick-view-loader {
114 136 position: absolute;
115 - z-index: 2;
137 + top: 50%;
138 + right: 50%;
139 + -webkit-transform: translate(50%, -50%);
140 + transform: translate(50%, -50%);
141 + z-index: 5;
116 142 display: -webkit-box;
117 143 display: -ms-flexbox;
118 144 display: flex;
119 145 font-size: 26px;
120 - -webkit-animation: merchant-fa-spin 0.75s linear infinite;
121 - animation: merchant-fa-spin 0.75s linear infinite;
122 146 opacity: 0;
123 147 visibility: hidden;
124 148 }
125 149 .merchant-quick-view-loader svg {
@@ -124,9 +148,11 @@
124 148 }
125 149 .merchant-quick-view-loader svg {
126 150 width: 1em;
127 151 height: 1em;
128 - fill: #fff;
152 + fill: #212121;
153 + -webkit-animation: merchant-fa-spin 0.75s linear infinite;
154 + animation: merchant-fa-spin 0.75s linear infinite;
129 155 }
130 156
131 157 .merchant-quick-view-inner {
132 158 position: relative;
@@ -131,8 +157,9 @@
131 157 .merchant-quick-view-inner {
132 158 position: relative;
133 159 z-index: 3;
134 160 width: var(--mrc-qv-modal-width, 1000px);
161 + min-height: var(--mrc-qv-modal-height, 500px);
135 162 max-height: var(--mrc-qv-modal-height, 500px);
136 163 max-width: 90vw;
137 164 padding: 35px;
138 165 background-color: #FFF;
@@ -169,8 +196,219 @@
169 196 height: 1em;
170 197 fill: #fff;
171 198 }
172 199
200 +.merchant-quick-view-layout-side-panel {
201 + -webkit-box-align: stretch !important;
202 + -ms-flex-align: stretch !important;
203 + align-items: stretch !important;
204 + -webkit-box-pack: end !important;
205 + -ms-flex-pack: end !important;
206 + justify-content: flex-end !important;
207 +}
208 +.merchant-quick-view-layout-side-panel .merchant-quick-view-inner {
209 + width: var(--mrc-qv-panel-width, 420px);
210 + max-width: 90vw;
211 + height: 100vh;
212 + max-height: 100vh;
213 + margin: 0;
214 + overflow-y: auto;
215 + display: -webkit-box;
216 + display: -ms-flexbox;
217 + display: flex;
218 + -webkit-box-orient: vertical;
219 + -webkit-box-direction: normal;
220 + -ms-flex-direction: column;
221 + flex-direction: column;
222 + -webkit-transform: translateX(100%);
223 + transform: translateX(100%);
224 + -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
225 + transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
226 + transition: transform 0.3s ease, opacity 0.3s ease;
227 + transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
228 +}
229 +.merchant-quick-view-layout-side-panel .merchant-quick-view-inner.merchant-show {
230 + -webkit-transform: translateX(0);
231 + transform: translateX(0);
232 +}
233 +.merchant-quick-view-layout-side-panel .merchant-quick-view-header {
234 + -webkit-box-flex: 0;
235 + -ms-flex: none;
236 + flex: none;
237 + display: -webkit-box;
238 + display: -ms-flexbox;
239 + display: flex;
240 + -webkit-box-align: center;
241 + -ms-flex-align: center;
242 + align-items: center;
243 + -webkit-box-pack: end;
244 + -ms-flex-pack: end;
245 + justify-content: flex-end;
246 + gap: 10px;
247 + padding-bottom: 15px;
248 + margin-bottom: 15px;
249 + border-bottom: 1px solid #eee;
250 +}
251 +.merchant-quick-view-layout-side-panel .merchant-quick-view-content {
252 + display: -webkit-box;
253 + display: -ms-flexbox;
254 + display: flex;
255 + -webkit-box-orient: vertical;
256 + -webkit-box-direction: normal;
257 + -ms-flex-direction: column;
258 + flex-direction: column;
259 + -webkit-box-flex: 1;
260 + -ms-flex: 1;
261 + flex: 1;
262 + min-height: 0;
263 +}
264 +.merchant-quick-view-layout-side-panel .merchant-quick-view-content > div {
265 + display: -webkit-box;
266 + display: -ms-flexbox;
267 + display: flex;
268 + -webkit-box-orient: vertical;
269 + -webkit-box-direction: normal;
270 + -ms-flex-direction: column;
271 + flex-direction: column;
272 + -webkit-box-flex: 1;
273 + -ms-flex: 1;
274 + flex: 1;
275 + min-height: 0;
276 +}
277 +.merchant-quick-view-layout-side-panel .merchant-quick-view-row {
278 + -webkit-box-orient: vertical;
279 + -webkit-box-direction: normal;
280 + -ms-flex-direction: column;
281 + flex-direction: column;
282 + -webkit-box-flex: 1;
283 + -ms-flex: 1;
284 + flex: 1;
285 + min-height: 0;
286 +}
287 +.merchant-quick-view-layout-side-panel .merchant-quick-view-column {
288 + -webkit-box-flex: 0;
289 + -ms-flex: none;
290 + flex: none;
291 + width: 100%;
292 +}
293 +.merchant-quick-view-layout-side-panel .merchant-quick-view-column:last-child {
294 + display: -webkit-box;
295 + display: -ms-flexbox;
296 + display: flex;
297 + -webkit-box-orient: vertical;
298 + -webkit-box-direction: normal;
299 + -ms-flex-direction: column;
300 + flex-direction: column;
301 + -webkit-box-flex: 1;
302 + -ms-flex: 1;
303 + flex: 1;
304 + min-height: 0;
305 +}
306 +.merchant-quick-view-layout-side-panel .merchant-quick-view-summary {
307 + -webkit-box-flex: 1;
308 + -ms-flex: 1;
309 + flex: 1;
310 + min-height: 0;
311 + max-height: none;
312 + overflow-y: auto;
313 +}
314 +.merchant-quick-view-layout-side-panel .merchant-quick-view-close-button,
315 +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-prev,
316 +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-next {
317 + position: relative;
318 + top: 0;
319 + left: 0;
320 + right: 0;
321 + -webkit-transform: none;
322 + transform: none;
323 + width: 30px;
324 + height: 30px;
325 + background-color: transparent;
326 + border-radius: 6px;
327 + -webkit-transition: background-color 0.15s ease;
328 + transition: background-color 0.15s ease;
329 +}
330 +.merchant-quick-view-layout-side-panel .merchant-quick-view-close-button svg,
331 +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-prev svg,
332 +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-next svg {
333 + width: 18px;
334 + height: 18px;
335 + fill: #212121;
336 +}
337 +.merchant-quick-view-layout-side-panel .merchant-quick-view-close-button:hover,
338 +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-prev:hover,
339 +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-next:hover {
340 + background-color: #f5f5f5;
341 +}
342 +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-next {
343 + margin-right: auto;
344 +}
345 +
346 +body.admin-bar .merchant-quick-view-layout-side-panel .merchant-quick-view-inner {
347 + height: calc(100vh - 32px);
348 +}
349 +@media (max-width: 782px) {
350 + body.admin-bar .merchant-quick-view-layout-side-panel .merchant-quick-view-inner {
351 + height: calc(100vh - 46px);
352 + }
353 +}
354 +
355 +.merchant-quick-view-nav-prev,
356 +.merchant-quick-view-nav-next {
357 + position: absolute;
358 + z-index: 4;
359 + top: 50%;
360 + -webkit-transform: translateY(-50%);
361 + transform: translateY(-50%);
362 + width: 48px;
363 + height: 48px;
364 + display: none;
365 + -webkit-box-align: center;
366 + -ms-flex-align: center;
367 + align-items: center;
368 + -webkit-box-pack: center;
369 + -ms-flex-pack: center;
370 + justify-content: center;
371 + background-color: rgba(255, 255, 255, 0.1);
372 + border-radius: 50%;
373 + -webkit-transition: background-color 0.2s;
374 + transition: background-color 0.2s;
375 +}
376 +.merchant-quick-view-nav-prev.merchant-quick-view-nav-visible,
377 +.merchant-quick-view-nav-next.merchant-quick-view-nav-visible {
378 + display: -webkit-box;
379 + display: -ms-flexbox;
380 + display: flex;
381 +}
382 +.merchant-quick-view-nav-prev svg,
383 +.merchant-quick-view-nav-next svg {
384 + width: 24px;
385 + height: 24px;
386 + fill: #fff;
387 +}
388 +.merchant-quick-view-nav-prev:hover,
389 +.merchant-quick-view-nav-next:hover {
390 + background-color: rgba(255, 255, 255, 0.2);
391 +}
392 +
393 +.merchant-quick-view-nav-prev {
394 + left: -65px;
395 +}
396 +@media (max-width: 768px) {
397 + .merchant-quick-view-nav-prev {
398 + left: 10px;
399 + }
400 +}
401 +
402 +.merchant-quick-view-nav-next {
403 + right: -65px;
404 +}
405 +@media (max-width: 768px) {
406 + .merchant-quick-view-nav-next {
407 + right: 10px;
408 + }
409 +}
410 +
173 411 @-webkit-keyframes merchant-fa-spin {
174 412 0% {
175 413 -webkit-transform: rotate(0deg);
176 414 transform: rotate(0deg);
@@ -273,8 +511,12 @@
273 511 display: -webkit-box !important;
274 512 display: -ms-flexbox !important;
275 513 display: flex !important;
276 514 grid-gap: 5px !important;
515 + -webkit-box-orient: horizontal;
516 + -webkit-box-direction: normal;
517 + -ms-flex-direction: row;
518 + flex-direction: row;
277 519 }
278 520 .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
279 521 display: none !important;
280 522 }
@@ -335,20 +577,26 @@
335 577 scrollbar-color: #444 #ddd;
336 578 }
337 579 .merchant-quick-view-summary .woocommerce-variation-price,
338 580 .merchant-quick-view-summary .merchant-quick-view-product-price {
339 - color: var(--mrc-qv-regular-price-color, #999999);
581 + color: var(--mrc-qv-modal-regular-price-color, #999999);
340 582 }
341 583 .merchant-quick-view-summary .woocommerce-variation-price del,
342 584 .merchant-quick-view-summary .merchant-quick-view-product-price del {
343 - color: var(--mrc-qv-regular-price-color, #999999);
585 + color: var(--mrc-qv-modal-regular-price-color, #999999);
344 586 }
345 587 .merchant-quick-view-summary .woocommerce-variation-price ins,
346 588 .merchant-quick-view-summary .merchant-quick-view-product-price ins {
347 - color: var(--mrc-qv-sale-price-color, #212121);
589 + color: var(--mrc-qv-modal-sale-price-color, #212121);
348 590 margin: 0;
349 591 font-size: 24px;
350 592 }
593 +.merchant-quick-view-summary .woocommerce-variation-price span,
594 +.merchant-quick-view-summary .woocommerce-variation-price strong,
595 +.merchant-quick-view-summary .merchant-quick-view-product-price span,
596 +.merchant-quick-view-summary .merchant-quick-view-product-price strong {
597 + color: inherit;
598 +}
351 599 .merchant-quick-view-summary form.cart,
352 600 .merchant-quick-view-summary .woocommerce-variation-add-to-cart {
353 601 display: -webkit-box;
354 602 display: -ms-flexbox;
@@ -443,10 +691,24 @@
443 691 .merchant-quick-view-product-meta .product_meta span span {
444 692 font-weight: normal;
445 693 }
446 694
447 -@media (max-width: 767px) {
695 +@media (max-width: 1024px) and (min-width: 769px) {
696 + .merchant-quick-view-inner {
697 + padding-inline: 25px;
698 + }
448 699 .merchant-quick-view-row {
700 + grid-gap: 20px;
701 + }
702 + .merchant-quick-view-column:first-child {
703 + width: 40%;
704 + }
705 + .merchant-quick-view-column:last-child {
706 + width: 60%;
707 + }
708 +}
709 +@media (max-width: 768px) {
710 + .merchant-quick-view-row {
449 711 -webkit-box-orient: vertical;
450 712 -webkit-box-direction: normal;
451 713 -ms-flex-direction: column;
452 714 flex-direction: column;
@@ -512,6 +774,26 @@
512 774 max-height: none !important;
513 775 }
514 776 .merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery {
515 777 max-height: none !important;
778 + }
779 + .merchant-quick-view-layout-side-panel {
780 + -webkit-box-pack: center !important;
781 + -ms-flex-pack: center !important;
782 + justify-content: center !important;
783 + -webkit-box-align: end !important;
784 + -ms-flex-align: end !important;
785 + align-items: flex-end !important;
786 + }
787 + .merchant-quick-view-layout-side-panel .merchant-quick-view-inner {
788 + width: 100%;
789 + max-width: 100%;
790 + height: 85vh;
791 + max-height: 85vh;
792 + -webkit-transform: translateY(100%);
793 + transform: translateY(100%);
794 + }
795 + .merchant-quick-view-layout-side-panel .merchant-quick-view-inner.merchant-show {
796 + -webkit-transform: translateY(0);
797 + transform: translateY(0);
516 798 }
517 799 }