PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 1.9.1
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v1.9.1
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
merchant / assets / css / modules / quick-view / quick-view.css

quick-view.css in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 1.9.1, at assets/css/modules/quick-view/quick-view.css

517 lines 14.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Quick View.
3 *
4 */
5 .woocommerce .product .merchant-quick-view-button {
6 display: -webkit-inline-box !important;
7 display: -ms-inline-flexbox !important;
8 display: inline-flex !important;
9 -webkit-box-pack: center !important;
10 -ms-flex-pack: center !important;
11 justify-content: center !important;
12 -webkit-box-align: center !important;
13 -ms-flex-align: center !important;
14 align-items: center !important;
15 -webkit-transition: all 0.2s;
16 transition: all 0.2s;
17 text-decoration: none;
18 -ms-flex-item-align: start;
19 align-self: flex-start;
20 color: var(--mrc-qv-button-text-color, #FFF) !important;
21 border-color: var(--mrc-qv-button-border-color, #212121) !important;
22 background-color: var(--mrc-qv-button-bg-color, #212121) !important;
23 transition: all 0.2s;
24 }
25 .woocommerce .product .merchant-quick-view-button svg + span {
26 display: inline-block;
27 margin-left: 8px;
28 }
29 .woocommerce .product .merchant-quick-view-button svg {
30 width: 1em;
31 height: 1em;
32 fill: var(--mrc-qv-button-icon-color, #FFF) !important;
33 -webkit-transition: all 0.2s;
34 transition: all 0.2s;
35 }
36 .woocommerce .product .merchant-quick-view-button svg path {
37 fill: var(--mrc-qv-button-icon-color, #FFF) !important;
38 }
39 .woocommerce .product .merchant-quick-view-button:hover {
40 color: var(--mrc-qv-button-color-hover, #FFF) !important;
41 border-color: var(--mrc-qv-button-border-color-hover, #414141) !important;
42 background-color: var(--mrc-qv-button-bg-color-hover, #414141) !important;
43 }
44 .woocommerce .product .merchant-quick-view-button:hover svg {
45 fill: var(--mrc-qv-button-icon-color-hover, #FFF) !important;
46 }
47 .woocommerce .product .merchant-quick-view-button:hover svg path {
48 fill: var(--mrc-qv-button-icon-color-hover, #FFF) !important;
49 }
50
51 .products .product {
52 position: relative;
53 }
54 .products .product .merchant-quick-view-position-overlay {
55 position: absolute;
56 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;
62 white-space: nowrap !important;
63 opacity: 0;
64 -webkit-transition: all 0.2s;
65 transition: all 0.2s;
66 }
67 .products .product:hover .merchant-quick-view-position-overlay {
68 opacity: 1;
69 }
70
71 .merchant-quick-view-modal {
72 position: fixed;
73 z-index: 999;
74 top: 0;
75 left: 0;
76 right: 0;
77 bottom: 0;
78 display: -webkit-box;
79 display: -ms-flexbox;
80 display: flex;
81 -webkit-box-align: center;
82 -ms-flex-align: center;
83 align-items: center;
84 -webkit-box-pack: center;
85 -ms-flex-pack: center;
86 justify-content: center;
87 opacity: 0;
88 visibility: hidden;
89 pointer-events: none;
90 -webkit-transition: all 0.3s ease;
91 transition: all 0.3s ease;
92 }
93 .merchant-quick-view-modal.merchant-show {
94 opacity: 1;
95 visibility: visible;
96 pointer-events: auto;
97 }
98 .merchant-quick-view-modal.merchant-loading .merchant-quick-view-loader {
99 opacity: 1;
100 visibility: visible;
101 }
102
103 .merchant-quick-view-overlay {
104 position: absolute;
105 z-index: 1;
106 top: 0;
107 left: 0;
108 right: 0;
109 bottom: 0;
110 background-color: rgba(0, 0, 0, 0.9);
111 }
112
113 .merchant-quick-view-loader {
114 position: absolute;
115 z-index: 2;
116 display: -webkit-box;
117 display: -ms-flexbox;
118 display: flex;
119 font-size: 26px;
120 -webkit-animation: merchant-fa-spin 0.75s linear infinite;
121 animation: merchant-fa-spin 0.75s linear infinite;
122 opacity: 0;
123 visibility: hidden;
124 }
125 .merchant-quick-view-loader svg {
126 width: 1em;
127 height: 1em;
128 fill: #fff;
129 }
130
131 .merchant-quick-view-inner {
132 position: relative;
133 z-index: 3;
134 width: var(--mrc-qv-modal-width, 1000px);
135 max-height: var(--mrc-qv-modal-height, 500px);
136 max-width: 90vw;
137 padding: 35px;
138 background-color: #FFF;
139 opacity: 0;
140 visibility: hidden;
141 -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
142 transition: opacity 0.3s ease, visibility 0.3s ease;
143 }
144 .merchant-quick-view-inner.merchant-show {
145 opacity: 1;
146 visibility: visible;
147 }
148
149 .merchant-quick-view-close-button {
150 position: absolute;
151 z-index: 1;
152 right: -7px;
153 top: -32px;
154 width: 30px;
155 height: 30px;
156 font-size: 24px;
157 display: -webkit-box;
158 display: -ms-flexbox;
159 display: flex;
160 -webkit-box-align: center;
161 -ms-flex-align: center;
162 align-items: center;
163 -webkit-box-pack: center;
164 -ms-flex-pack: center;
165 justify-content: center;
166 }
167 .merchant-quick-view-close-button svg {
168 width: 1em;
169 height: 1em;
170 fill: #fff;
171 }
172
173 @-webkit-keyframes merchant-fa-spin {
174 0% {
175 -webkit-transform: rotate(0deg);
176 transform: rotate(0deg);
177 }
178 to {
179 -webkit-transform: rotate(1turn);
180 transform: rotate(1turn);
181 }
182 }
183
184 @keyframes merchant-fa-spin {
185 0% {
186 -webkit-transform: rotate(0deg);
187 transform: rotate(0deg);
188 }
189 to {
190 -webkit-transform: rotate(1turn);
191 transform: rotate(1turn);
192 }
193 }
194 .merchant-quick-view-row {
195 display: -webkit-box;
196 display: -ms-flexbox;
197 display: flex;
198 grid-gap: 30px;
199 }
200
201 .merchant-quick-view-column {
202 -webkit-box-flex: 1;
203 -ms-flex: 1;
204 flex: 1;
205 width: 50%;
206 }
207
208 .merchant-quick-view-product-gallery .woocommerce-product-gallery__image {
209 max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px);
210 }
211 .merchant-quick-view-product-gallery .woocommerce-product-gallery__image img {
212 max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px);
213 }
214 .merchant-quick-view-product-gallery .woocommerce-product-gallery {
215 width: 100% !important;
216 float: none !important;
217 margin: 0 !important;
218 }
219
220 .merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar {
221 width: 6px;
222 }
223 .merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-track {
224 background: #ddd;
225 border-radius: 6px;
226 }
227 .merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb {
228 background: #999;
229 border-radius: 6px;
230 }
231 .merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover {
232 background: #000;
233 }
234 .merchant-quick-view-product-gallery .flex-control-thumbs li {
235 display: -webkit-box !important;
236 display: -ms-flexbox !important;
237 display: flex !important;
238 margin: 0 !important;
239 width: auto !important;
240 }
241 .merchant-quick-view-product-gallery .flex-control-thumbs li img {
242 width: 60px !important;
243 }
244
245 .merchant-quick-view-thumbs-at-left .woocommerce-product-gallery {
246 display: -webkit-box !important;
247 display: -ms-flexbox !important;
248 display: flex !important;
249 grid-gap: 5px !important;
250 -webkit-box-orient: horizontal !important;
251 -webkit-box-direction: reverse !important;
252 -ms-flex-direction: row-reverse !important;
253 flex-direction: row-reverse !important;
254 }
255 .merchant-quick-view-thumbs-at-left .woocommerce-product-gallery .flex-control-thumbs {
256 padding-right: 5px !important;
257 -ms-flex-negative: 0 !important;
258 flex-shrink: 0 !important;
259 display: -webkit-box !important;
260 display: -ms-flexbox !important;
261 display: flex !important;
262 grid-gap: 10px !important;
263 -webkit-box-orient: vertical !important;
264 -webkit-box-direction: normal !important;
265 -ms-flex-direction: column !important;
266 flex-direction: column !important;
267 margin: 0 !important;
268 overflow-y: auto !important;
269 max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px) !important;
270 }
271
272 .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery {
273 display: -webkit-box !important;
274 display: -ms-flexbox !important;
275 display: flex !important;
276 grid-gap: 5px !important;
277 }
278 .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
279 display: none !important;
280 }
281 .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .flex-control-thumbs {
282 padding-right: 5px !important;
283 -ms-flex-negative: 0 !important;
284 flex-shrink: 0 !important;
285 display: -webkit-box !important;
286 display: -ms-flexbox !important;
287 display: flex !important;
288 grid-gap: 10px !important;
289 -webkit-box-orient: vertical !important;
290 -webkit-box-direction: normal !important;
291 -ms-flex-direction: column !important;
292 flex-direction: column !important;
293 margin: 0 !important;
294 overflow-y: auto !important;
295 max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px) !important;
296 }
297
298 .merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery {
299 display: -webkit-box !important;
300 display: -ms-flexbox !important;
301 display: flex !important;
302 grid-gap: 10px !important;
303 -webkit-box-orient: vertical !important;
304 -webkit-box-direction: normal !important;
305 -ms-flex-direction: column !important;
306 flex-direction: column !important;
307 max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px) !important;
308 }
309 .merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery .flex-control-thumbs {
310 -ms-flex-negative: 0 !important;
311 flex-shrink: 0 !important;
312 display: -webkit-box !important;
313 display: -ms-flexbox !important;
314 display: flex !important;
315 -ms-flex-wrap: wrap !important;
316 flex-wrap: wrap !important;
317 grid-gap: 10px !important;
318 margin: 0 !important;
319 }
320
321 .merchant-quick-view-summary {
322 display: -webkit-box;
323 display: -ms-flexbox;
324 display: flex;
325 -ms-flex-wrap: nowrap;
326 flex-wrap: nowrap;
327 grid-gap: 10px;
328 -webkit-box-orient: vertical;
329 -webkit-box-direction: normal;
330 -ms-flex-direction: column;
331 flex-direction: column;
332 max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px);
333 overflow-y: auto;
334 padding-right: 12px;
335 scrollbar-color: #444 #ddd;
336 }
337 .merchant-quick-view-summary .woocommerce-variation-price,
338 .merchant-quick-view-summary .merchant-quick-view-product-price {
339 color: var(--mrc-qv-regular-price-color, #999999);
340 }
341 .merchant-quick-view-summary .woocommerce-variation-price del,
342 .merchant-quick-view-summary .merchant-quick-view-product-price del {
343 color: var(--mrc-qv-regular-price-color, #999999);
344 }
345 .merchant-quick-view-summary .woocommerce-variation-price ins,
346 .merchant-quick-view-summary .merchant-quick-view-product-price ins {
347 color: var(--mrc-qv-sale-price-color, #212121);
348 margin: 0;
349 font-size: 24px;
350 }
351 .merchant-quick-view-summary form.cart,
352 .merchant-quick-view-summary .woocommerce-variation-add-to-cart {
353 display: -webkit-box;
354 display: -ms-flexbox;
355 display: flex;
356 grid-gap: 10px;
357 -ms-flex-wrap: wrap;
358 flex-wrap: wrap;
359 margin: 0 !important;
360 }
361 .merchant-quick-view-summary form.cart > *,
362 .merchant-quick-view-summary .woocommerce-variation-add-to-cart > * {
363 -ms-flex-item-align: inherit !important;
364 align-self: inherit !important;
365 justify-self: inherit !important;
366 margin: 0 !important;
367 }
368 .merchant-quick-view-summary .quantity {
369 margin: 0;
370 width: auto;
371 }
372 .merchant-quick-view-summary > div:empty {
373 display: none;
374 }
375 .merchant-quick-view-summary::-webkit-scrollbar {
376 width: 6px;
377 }
378 .merchant-quick-view-summary::-webkit-scrollbar-track {
379 background: #ddd;
380 border-radius: 6px;
381 }
382 .merchant-quick-view-summary::-webkit-scrollbar-thumb {
383 background: #999;
384 border-radius: 6px;
385 }
386 .merchant-quick-view-summary::-webkit-scrollbar-thumb:hover {
387 background: #000;
388 }
389
390 .merchant-quick-view-product-title h1.product_title {
391 margin: 0;
392 font-size: 32px;
393 font-weight: bold;
394 line-height: 1.2;
395 }
396
397 .merchant-quick-view-product-rating .star-rating {
398 margin-left: 0;
399 }
400
401 .merchant-quick-view-product-excerpt p:last-child {
402 margin-bottom: 0;
403 }
404
405 .merchant-quick-view-product-add-to-cart {
406 margin: 10px 0;
407 padding: 20px 0;
408 border-top: 1px solid #eee;
409 border-bottom: 1px solid #eee;
410 }
411 .merchant-quick-view-product-add-to-cart .button {
412 text-decoration: none;
413 }
414 .merchant-quick-view-product-add-to-cart .button:hover {
415 text-decoration: none;
416 }
417 .merchant-quick-view-product-add-to-cart .disabled {
418 -webkit-user-select: none;
419 -moz-user-select: none;
420 -ms-user-select: none;
421 user-select: none;
422 pointer-events: none;
423 }
424
425 .merchant-hide-quantity .quantity {
426 display: none !important;
427 }
428
429 .merchant-quick-view-product-meta .product_meta {
430 display: -webkit-box;
431 display: -ms-flexbox;
432 display: flex;
433 grid-gap: 5px;
434 -webkit-box-orient: vertical;
435 -webkit-box-direction: normal;
436 -ms-flex-direction: column;
437 flex-direction: column;
438 }
439 .merchant-quick-view-product-meta .product_meta span {
440 font-weight: bold;
441 }
442 .merchant-quick-view-product-meta .product_meta span a,
443 .merchant-quick-view-product-meta .product_meta span span {
444 font-weight: normal;
445 }
446
447 @media (max-width: 767px) {
448 .merchant-quick-view-row {
449 -webkit-box-orient: vertical;
450 -webkit-box-direction: normal;
451 -ms-flex-direction: column;
452 flex-direction: column;
453 }
454 .merchant-quick-view-column {
455 width: 100%;
456 }
457 .merchant-quick-view-content {
458 max-height: 100%;
459 overflow-y: auto;
460 overflow-x: hidden;
461 }
462 .merchant-quick-view-inner {
463 padding: 15px;
464 max-width: 80vw;
465 max-height: 85vh;
466 height: 85vh;
467 }
468 .merchant-quick-view-modal {
469 -webkit-box-align: start;
470 -ms-flex-align: start;
471 align-items: flex-start;
472 padding-top: 7vh;
473 }
474 .merchant-quick-view-summary {
475 max-height: none;
476 overflow: hidden;
477 }
478 .merchant-quick-view-product-gallery .woocommerce-product-gallery__image {
479 max-height: none;
480 }
481 .merchant-quick-view-product-gallery .woocommerce-product-gallery__image img {
482 max-height: none;
483 }
484 .merchant-quick-view-thumbs-at-left .woocommerce-product-gallery,
485 .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery {
486 display: -webkit-box !important;
487 display: -ms-flexbox !important;
488 display: flex !important;
489 grid-gap: 10px !important;
490 -webkit-box-orient: vertical !important;
491 -webkit-box-direction: normal !important;
492 -ms-flex-direction: column !important;
493 flex-direction: column !important;
494 }
495 .merchant-quick-view-thumbs-at-left .woocommerce-product-gallery .flex-control-thumbs,
496 .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .flex-control-thumbs {
497 -ms-flex-negative: 0 !important;
498 flex-shrink: 0 !important;
499 display: -webkit-box !important;
500 display: -ms-flexbox !important;
501 display: flex !important;
502 -ms-flex-wrap: wrap !important;
503 flex-wrap: wrap !important;
504 -webkit-box-orient: horizontal !important;
505 -webkit-box-direction: normal !important;
506 -ms-flex-direction: row !important;
507 flex-direction: row !important;
508 grid-gap: 10px !important;
509 margin: 0 !important;
510 padding: 0 !important;
511 overflow: hidden !important;
512 max-height: none !important;
513 }
514 .merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery {
515 max-height: none !important;
516 }
517 }