PluginProbe
Ever Compare – Products Compare Plugin for WooCommerce / 1.2.5
Ever Compare – Products Compare Plugin for WooCommerce v1.2.5
1.3.7 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 trunk 1.0.0 1.0.1 1.0.2 All 31 releases
ever-compare / assets / css / frontend.css

frontend.css in Ever Compare – Products Compare Plugin for WooCommerce 1.2.5, at assets/css/frontend.css

636 lines 10.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Button Style */
2 .products a.htcompare-shop-top_thumbnail {
3 position: absolute !important;
4 z-index: 9;
5 top: 0;
6 left: 8px !important;
7 }
8 .htcompare-btn {
9 position: relative !important;
10
11 display: inline-flex !important;
12 align-items: center;
13 }
14 .htcompare-btn svg {
15 width: 15px;
16 height: 15px;
17 margin-right: 5px;
18
19 transition: all 200ms ease-out;
20
21 fill: currentColor;
22 }
23
24 .htcompare-btn svg .ever-compare-check,
25 .htcompare-btn.added svg .ever-compare-refresh {
26 opacity: 0;
27 }
28 .htcompare-btn.added svg .ever-compare-check {
29 opacity: 1;
30 }
31
32 .htcompare-btn.loading svg .ever-compare-refresh {
33 transform-origin: center;
34 animation: loading 500ms 0ms infinite normal linear;
35 }
36 @keyframes loading {
37 from {
38 transform: rotate(0deg);
39 }
40 to {
41 transform: rotate(360deg);
42 }
43 }
44
45 .htcompare-btn.loading::after,
46 a.htcompare-btn.added::after,
47 .ever-compare-loader {
48 display: none;
49 }
50 .htcompare-btn.loading .ever-compare-loader {
51 display: block;
52 }
53
54 .htcompare-btn-text {
55 display: flex;
56 align-items: center;
57 }
58 .ever-compare-btn-image {
59 display: inline-block;
60
61 width: 25px;
62 margin-right: 5px;
63 }
64 .ever-compare-btn-image img {
65 width: 100% !important;
66 margin: 0 !important;
67 }
68
69 a.htcompare-btn.loading,
70 a.htcompare-cart-button.loading {
71 /*padding-right: 2.618em;*/
72 position: relative;
73
74 opacity: 0.75;
75 color: #333333;
76 }
77
78 /* Common table Style */
79 .htcompare-row {
80 display: -webkit-box;
81 display: -ms-flexbox;
82 display: flex;
83 -webkit-box-orient: horizontal;
84 -webkit-box-direction: normal;
85 -ms-flex-direction: row;
86 flex-direction: row;
87 -ms-flex-wrap: nowrap;
88 flex-wrap: nowrap;
89 }
90 .htcompare-col {
91 display: -webkit-box;
92 display: -ms-flexbox;
93 display: flex;
94 -webkit-box-orient: vertical;
95 -webkit-box-direction: normal;
96 -ms-flex-direction: column;
97 flex-direction: column;
98 -webkit-box-pack: center;
99 -ms-flex-pack: center;
100 justify-content: center;
101
102 padding: 15px;
103
104 word-break: break-word;
105 }
106 .htcompare-row:nth-child(2n) .htcompare-col {
107 background-color: #F7F7F7;
108 }
109 .htcompare-col {
110 border-right: 1px solid #DDDDDD;
111 }
112 .htcolumn-value {
113 -webkit-box-align: center;
114 align-items: center;
115 -ms-flex-align: center;
116 -webkit-box-flex: 0;
117 -ms-flex: 0 1 26%;
118 flex: 0 1 26%;
119
120 text-align: center;
121 }
122 .compare-data-primary .htcolumn-value {
123 -webkit-box-pack: start;
124 -ms-flex-pack: start;
125 justify-content: flex-start;
126
127 padding-top: 0;
128
129 border-top: 1px solid #DDDDDD;
130 }
131 .htcolumn-field-name {
132 font-size: 16px;
133 font-weight: 600;
134
135 -webkit-box-flex: 0;
136 -ms-flex: 0 0 20%;
137 flex: 0 0 20%;
138
139 text-transform: uppercase;
140
141 color: #2D2A2A;
142 }
143 .htcompare-remove {
144 position: relative;
145
146 display: inline-block;
147
148 margin-left: -5px;
149 padding: 10px;
150 }
151 .htcompare-remove:focus {
152 outline: none;
153 }
154 .htcompare-remove::after,
155 .htcompare-remove::before {
156 position: absolute;
157 top: 50%;
158 right: 0;
159
160 display: inline-block;
161
162 width: 15px;
163 height: 2px;
164
165 content: ' ';
166 -webkit-transform: rotate(45deg);
167 transform: rotate(45deg);
168
169 background-color: #2D2A2A;
170 }
171 .htcompare-remove::after {
172 -webkit-transform: rotate(-45deg);
173 transform: rotate(-45deg);
174 }
175 .htcompare-remove:hover::after,
176 .htcompare-remove:hover::before {
177 background: #EC1E1E;
178 }
179 .htcompare-product-image {
180 display: block;
181 }
182 .htcompare-return-to-shop .button {
183 display: inline-block;
184 }
185 .htcompare-empty-page-text,
186 .htcompare-return-to-shop {
187 text-align: center;
188 }
189 .htcompare-empty-page-text {
190 margin-bottom: 10px;
191 }
192
193 .htcompare-table {
194 position: relative;
195 }
196 .htcompare-table.loading:before {
197 position: absolute;
198 z-index: 1;
199 top: 0;
200 right: 0;
201 bottom: 0;
202 left: 0;
203
204 content: '';
205
206 background-color: rgba(255,255,255,0.6);
207 }
208 .htcompare-table .htcompare-table-loader {
209 position: absolute;
210 z-index: 1;
211 top: 50%;
212 left: 50%;
213
214 display: none;
215
216 width: 50px;
217 height: 50px;
218
219 transform: translate(-30px, -25px);
220 -webkit-animation: htcomspin 1s linear infinite;
221 animation: htcomspin 1s linear infinite;
222
223 border: 8px solid #F3F3F3;
224 border-top: 8px solid #3498DB;
225 border-radius: 50%;
226 }
227
228 .htcompare-table.loading .htcompare-table-loader {
229 display: block;
230 }
231
232 .compare-data-description .htcolumn-value p:last-child,
233 .compare-data-availability .htcolumn-value p:last-child,
234 .ever-compare-message-error p {
235 margin-bottom: 0;
236 }
237
238 .ever-compare-message-error {
239 margin-bottom: 10px;
240 padding: 4px 10px;
241
242 border: 1px solid #DC3545;
243 border-left-width: 4px;
244 box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
245 }
246 .compare-data-primary.htcompare-row .htcompare-col {
247 background-color: transparent !important;
248 }
249
250 /* Safari */
251 @-webkit-keyframes htcomspin {
252 0% {
253 -webkit-transform: rotate(0deg);
254 }
255 100% {
256 -webkit-transform: rotate(360deg);
257 }
258 }
259
260 @keyframes htcomspin {
261 0% {
262 transform: rotate(0deg);
263 }
264 100% {
265 transform: rotate(360deg);
266 }
267 }
268
269 /* Popup Style */
270 a.htcompare-cart-button.loading::after {
271 font-family: WooCommerce;
272 font-weight: 400;
273
274 position: absolute;
275 top: auto;
276 right: 1em;
277
278 content: '\e01c';
279 animation: spin 2s linear infinite;
280 vertical-align: top;
281
282 -webkit-font-smoothing: antialiased;
283 }
284 a.htcompare-cart-button.added::after {
285 font-family: WooCommerce;
286
287 margin-left: 0.53em;
288
289 content: '\e017';
290 vertical-align: bottom;
291 }
292
293 .htcompare-popup {
294 position: fixed;
295 z-index: 9999;
296 top: 0;
297 left: 0;
298
299 display: none;
300 visibility: hidden;
301 overflow: hidden;
302
303 width: 100%;
304 height: 100%;
305 padding-right: 17px;
306
307 -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
308 -o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
309 transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
310
311 opacity: 0;
312 background-color: rgba(0, 0, 0, 0.5);
313 }
314 .logged-in.admin-bar .htcompare-popup {
315 top: 15px;
316 }
317 .htcompare-popup.open {
318 display: -webkit-box;
319 display: -webkit-flex;
320 display: -ms-flexbox;
321 display: flex;
322 visibility: visible;
323
324 opacity: 1;
325 }
326 .htcompare-popup .htcompare-popup-content-area {
327 position: relative;
328
329 width: calc(100% - 30px);
330 max-width: 1500px;
331 margin: auto;
332 padding: 30px;
333
334 background: #FFFFFF;
335 }
336 .htcompare-popup .htcompare-popup-content-area .htcompare-table {
337 overflow-y: auto;
338
339 max-height: 750px;
340 }
341 .htcompare-popup-close {
342 position: absolute;
343 top: -10px;
344 right: -10px;
345
346 width: 25px;
347 height: 25px;
348
349 cursor: pointer;
350
351 border-radius: 100%;
352 background: #FFFFFF;
353 }
354 .htcompare-popup-close::after,
355 .htcompare-popup-close::before {
356 position: absolute;
357 top: 50%;
358 right: 5px;
359
360 display: inline-block;
361
362 width: 15px;
363 height: 2px;
364
365 content: ' ';
366 -webkit-transform: rotate(45deg);
367 transform: rotate(45deg);
368
369 background-color: #2D2A2A;
370 }
371 .htcompare-popup-close::after {
372 -webkit-transform: rotate(-45deg);
373 transform: rotate(-45deg);
374 }
375 .htcompare-popup-close:hover::after,
376 .htcompare-popup-close:hover::before {
377 background: #EC1E1E;
378 }
379
380 /*Share Link button*/
381 .ever-compare-shareable-link {
382 margin-top: 10px;
383 }
384 .ever-compare-shareable-link.right {
385 text-align: right;
386 }
387 .ever-compare-shareable-link.left {
388 text-align: left;
389 }
390 .ever-compare-shareable-link.center {
391 text-align: center;
392 }
393
394
395 /* Normal :1366px. */
396 @media (min-width: 1200px) and (max-width: 1400px) {
397 }
398
399 /* Normal desktop :992px. */
400 @media (min-width: 992px) and (max-width: 1200px) {
401 .htcompare-table {
402 overflow-x: auto;
403
404 -webkit-overflow-scrolling: touch;
405 }
406 }
407
408 @media (min-width: 768px) and (max-width: 1024px) {
409 .htcompare-table {
410 overflow-x: auto;
411
412 -webkit-overflow-scrolling: touch;
413 }
414 .htcompare-col {
415 -webkit-box-flex: 0;
416 -ms-flex: 0 0 33.33333%;
417 flex: 0 0 33.33333%;
418 }
419 }
420
421 /* Tablet desktop :768px. */
422 @media (min-width: 768px) and (max-width: 991px) {
423 }
424
425 /* small mobile :320px. */
426 @media (max-width: 767px) {
427 .htcompare-table {
428 overflow-x: auto;
429
430 -webkit-overflow-scrolling: touch;
431 }
432 .htcompare-col {
433 -webkit-box-flex: 1;
434 -ms-flex: 1 0 50%;
435 flex: 1 0 50%;
436 }
437 .htcolumn-field-name {
438 display: none;
439 }
440
441 .htcompare-row:nth-child(2n) .htcompare-col {
442 background-color: transparent;
443 }
444
445 .htcolumn-value::before {
446 font-size: 14px;
447 font-weight: 600;
448
449 display: block;
450
451 width: 100%;
452 margin-top: -15px;
453 margin-bottom: 15px;
454 padding: 5px 0;
455
456 content: attr(data-title);
457 text-transform: uppercase;
458
459 color: #2D2A2A;
460 background-color: #F7F7F7;
461 }
462 .compare-data-primary .htcolumn-value::before {
463 display: none;
464 }
465 }
466
467 /* Large Mobile :480px. */
468 @media only screen and (min-width: 480px) and (max-width: 767px) {
469 }
470
471
472
473 /* The Modal (background) */
474 .htcompare-error-modal {
475 position: fixed;
476 z-index: 1999;
477 top: 0;
478 left: 0;
479
480 display: none;
481 overflow: auto;
482 align-items: center;
483 justify-content: center;
484
485 width: 100%;
486 height: 100%;
487
488 -webkit-animation-name: fadeIn;
489 animation-name: fadeIn;
490 -webkit-animation-duration: 0.4s;
491 animation-duration: 0.4s;
492
493 background-color: rgb(0,0,0);
494 background-color: rgba(0,0,0,0.4);
495 }
496
497 /* Modal Content */
498 .htcompare-error-modal-content {
499 position: relative;
500
501 width: 100%;
502 max-width: 600px;
503 padding: 30px;
504
505 -webkit-animation-name: slideIn;
506 animation-name: slideIn;
507 -webkit-animation-duration: 0.4s;
508 animation-duration: 0.4s;
509
510 background-color: #FEFEFE;
511 }
512
513 /* The Close Button */
514 .htcompare-error-modal-close {
515 font-size: 24px;
516 font-weight: 700;
517
518 position: absolute;
519 top: -10px;
520 right: -10px;
521
522 display: flex;
523 align-items: center;
524 justify-content: center;
525
526 width: 30px;
527 height: 30px;
528 padding: 0;
529 padding-top: revert;
530
531 transition: all 0.3s ease 0s;
532
533 color: #333333;
534 border-radius: 50%;
535 background-color: #FFFFFF;
536 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
537 }
538
539 .htcompare-error-modal-close:hover,
540 .htcompare-error-modal-close:focus {
541 cursor: pointer;
542 text-decoration: none;
543
544 color: #EC1E1E;
545 outline: none;
546 background-color: #FFFFFF;
547 }
548 .ever-compare-message-error {
549 margin-bottom: 0;
550 }
551
552 /* Add Animation */
553 @-webkit-keyframes slideIn {
554 from {
555 bottom: -50px;
556
557 opacity: 0;
558 }
559 to {
560 bottom: 0;
561
562 opacity: 1;
563 }
564 }
565
566 @keyframes slideIn {
567 from {
568 bottom: -50px;
569
570 opacity: 0;
571 }
572 to {
573 bottom: 0;
574
575 opacity: 1;
576 }
577 }
578
579 @-webkit-keyframes fadeIn {
580 from {
581 opacity: 0;
582 }
583 to {
584 opacity: 1;
585 }
586 }
587
588 @keyframes fadeIn {
589 from {
590 opacity: 0;
591 }
592 to {
593 opacity: 1;
594 }
595 }
596
597
598
599 /* Wishlist Counter */
600 .htcompare-counter-area {
601 line-height: 1;
602
603 position: relative;
604
605 display: inline-block;
606
607 width: 30px;
608
609 color: #333333;
610 }
611 .htcompare-counter-area:focus {
612 outline: none;
613 }
614 .htcompare-counter-area .htcompare-counter {
615 font-size: 11px;
616 font-weight: 600;
617 line-height: 18px;
618
619 position: absolute;
620 top: -8px;
621 right: 0;
622
623 display: flex;
624 align-items: center;
625 justify-content: center;
626
627 width: 16px;
628 height: 16px;
629
630 text-align: center;
631
632 color: #FFFFFF;
633 border-radius: 8px;
634 background: #EC5858;
635 }
636