PluginProbe
Ever Compare – Products Compare Plugin for WooCommerce / trunk
Ever Compare – Products Compare Plugin for WooCommerce vtrunk
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 trunk, at assets/css/frontend.css

849 lines 14.0 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
9 .htcompare-btn {
10 position: relative !important;
11
12 display: -webkit-inline-box !important;
13
14 display: -ms-inline-flexbox !important;
15
16 display: inline-flex !important;
17 -webkit-box-align: center;
18 -ms-flex-align: center;
19 align-items: center;
20 }
21
22 .htcompare-btn svg {
23 width: 15px;
24 height: 15px;
25 margin-right: 5px;
26
27 -webkit-transition: all 200ms ease-out;
28
29 transition: all 200ms ease-out;
30
31 fill: currentColor;
32 }
33
34 .htcompare-btn svg .ever-compare-check,
35 .htcompare-btn.added svg .ever-compare-refresh {
36 opacity: 0;
37 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
38 }
39
40 .htcompare-btn.added svg .ever-compare-check {
41 opacity: 1;
42 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
43 }
44
45 .htcompare-btn.added.loading svg .ever-compare-check {
46 opacity: 0;
47 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
48 }
49
50 .htcompare-btn.loading svg .ever-compare-refresh,
51 .htcompare-btn.added.loading svg .ever-compare-refresh {
52 opacity: 1;
53 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
54 -webkit-transform-origin: center;
55 transform-origin: center;
56 -webkit-animation: loading 500ms 0ms infinite normal linear;
57 animation: loading 500ms 0ms infinite normal linear;
58 }
59
60 @-webkit-keyframes loading {
61 from {
62 -webkit-transform: rotate(0deg);
63 transform: rotate(0deg);
64 }
65
66 to {
67 -webkit-transform: rotate(360deg);
68 transform: rotate(360deg);
69 }
70 }
71
72 @keyframes loading {
73 from {
74 -webkit-transform: rotate(0deg);
75 transform: rotate(0deg);
76 }
77
78 to {
79 -webkit-transform: rotate(360deg);
80 transform: rotate(360deg);
81 }
82 }
83
84 .htcompare-btn.loading:after,
85 a.htcompare-btn.added:after,
86 .ever-compare-loader {
87 display: none;
88 }
89
90 .htcompare-btn.loading .ever-compare-loader {
91 display: block;
92 }
93
94 .htcompare-btn-text {
95 display: -webkit-box;
96 display: -ms-flexbox;
97 display: flex;
98 -webkit-box-align: center;
99 -ms-flex-align: center;
100 align-items: center;
101 }
102
103 .ever-compare-btn-image {
104 display: inline-block;
105
106 width: 25px;
107 margin-right: 5px;
108 }
109
110 .ever-compare-btn-image img {
111 width: 100% !important;
112 margin: 0 !important;
113 }
114
115 a.htcompare-btn.loading,
116 a.htcompare-cart-button.loading {
117 /*padding-right: 2.618em;*/
118 position: relative;
119
120 opacity: 0.75;
121
122 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
123 color: #333333;
124 }
125
126 /* Common table Style */
127 .htcompare-row {
128 display: -webkit-box;
129 display: -ms-flexbox;
130 display: flex;
131 -webkit-box-orient: horizontal;
132 -webkit-box-direction: normal;
133 -ms-flex-direction: row;
134 flex-direction: row;
135 -ms-flex-wrap: nowrap;
136 flex-wrap: nowrap;
137 }
138
139 .htcompare-col {
140 display: -webkit-box;
141 display: -ms-flexbox;
142 display: flex;
143 -webkit-box-orient: vertical;
144 -webkit-box-direction: normal;
145 -ms-flex-direction: column;
146 flex-direction: column;
147 -webkit-box-pack: center;
148 -ms-flex-pack: center;
149 justify-content: center;
150
151 padding: 15px;
152
153 word-break: break-word;
154 }
155
156 .htcompare-row:nth-child(2n) .htcompare-col {
157 background-color: #F7F7F7;
158 }
159
160 .htcompare-col {
161 border-right: 1px solid #DDDDDD;
162 }
163
164 .htcolumn-value {
165 -webkit-box-align: center;
166 -ms-grid-row-align: center;
167 align-items: center;
168 -ms-flex-align: center;
169 -webkit-box-flex: 0;
170 -ms-flex: 0 1 26%;
171 flex: 0 1 26%;
172
173 text-align: center;
174 }
175
176 .compare-data-primary .htcolumn-value {
177 -webkit-box-pack: start;
178 -ms-flex-pack: start;
179 justify-content: flex-start;
180
181 padding-top: 0;
182
183 border-top: 1px solid #DDDDDD;
184 }
185
186 .htcolumn-field-name {
187 font-size: 16px;
188 font-weight: 600;
189
190 -webkit-box-flex: 0;
191 -ms-flex: 0 0 20%;
192 flex: 0 0 20%;
193
194 text-transform: uppercase;
195
196 color: #2D2A2A;
197 }
198
199 .htcompare-remove {
200 position: relative;
201
202 display: inline-block;
203
204 margin-left: -5px;
205 padding: 10px;
206 }
207
208 .htcompare-remove:after,
209 .htcompare-remove:before {
210 position: absolute;
211 top: 50%;
212 right: 0;
213
214 display: inline-block;
215
216 width: 15px;
217 height: 2px;
218
219 content: ' ';
220 -webkit-transform: rotate(45deg);
221 transform: rotate(45deg);
222
223 background-color: #2D2A2A;
224 }
225
226 .htcompare-remove:after {
227 -webkit-transform: rotate(-45deg);
228 transform: rotate(-45deg);
229 }
230
231 .htcompare-remove:hover:after,
232 .htcompare-remove:hover:before {
233 background: #EC1E1E;
234 }
235
236 .htcompare-product-image {
237 display: block;
238 }
239
240 .htcompare-product-image img {
241 width: 100%;
242 height: auto;
243 }
244
245 .htcompare-return-to-shop .button {
246 display: inline-block;
247 }
248
249 .htcompare-empty-page-text,
250 .htcompare-return-to-shop {
251 text-align: center;
252 }
253
254 .htcompare-empty-page-text {
255 margin-bottom: 10px;
256 }
257
258 .htcompare-table {
259 position: relative;
260 }
261
262 .htcompare-table.loading:before {
263 position: absolute;
264 z-index: 1;
265 top: 0;
266 right: 0;
267 bottom: 0;
268 left: 0;
269
270 content: '';
271
272 background-color: rgba(255, 255, 255, 0.6);
273 }
274
275 .htcompare-table .htcompare-table-loader {
276 position: absolute;
277 z-index: 1;
278 top: 50%;
279 left: 50%;
280
281 display: none;
282
283 width: 50px;
284 height: 50px;
285
286 -webkit-transform: translate(-30px, -25px);
287
288 transform: translate(-30px, -25px);
289 -webkit-animation: htcomspin 1s linear infinite;
290 animation: htcomspin 1s linear infinite;
291
292 border: 8px solid #F3F3F3;
293 border-top: 8px solid #3498DB;
294 border-radius: 50%;
295 }
296
297 .htcompare-table.loading .htcompare-table-loader {
298 display: block;
299 }
300
301 .compare-data-description .htcolumn-value p:last-child,
302 .compare-data-availability .htcolumn-value p:last-child,
303 .ever-compare-message-error p {
304 margin-bottom: 0;
305 }
306
307 .ever-compare-message-error {
308 margin-bottom: 10px;
309 padding: 4px 10px;
310
311 border: 1px solid #DC3545;
312 border-left-width: 4px;
313 box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
314 }
315
316 .compare-data-primary.htcompare-row .htcompare-col {
317 background-color: transparent !important;
318 }
319
320 /* Safari */
321 @-webkit-keyframes htcomspin {
322 0% {
323 -webkit-transform: rotate(0deg);
324 }
325
326 100% {
327 -webkit-transform: rotate(360deg);
328 }
329 }
330
331 @keyframes htcomspin {
332 0% {
333 -webkit-transform: rotate(0deg);
334 transform: rotate(0deg);
335 }
336
337 100% {
338 -webkit-transform: rotate(360deg);
339 transform: rotate(360deg);
340 }
341 }
342
343 /* Popup Style */
344 a.htcompare-cart-button.loading:after {
345 font-family: WooCommerce;
346 font-weight: 400;
347
348 position: absolute;
349 top: auto;
350 right: 1em;
351
352 content: '\e01c';
353 -webkit-animation: spin 2s linear infinite;
354 animation: spin 2s linear infinite;
355 vertical-align: top;
356
357 -webkit-font-smoothing: antialiased;
358 }
359
360 a.htcompare-cart-button.added:after {
361 font-family: WooCommerce;
362
363 margin-left: 0.53em;
364
365 content: '\e017';
366 vertical-align: bottom;
367 }
368
369 .htcompare-popup {
370 position: fixed;
371 z-index: 9999;
372 top: 0;
373 left: 0;
374
375 display: none;
376 visibility: hidden;
377 overflow: hidden;
378
379 width: 100%;
380 height: 100%;
381 padding-right: 17px;
382
383 -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
384 transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
385
386 opacity: 0;
387
388 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
389 background-color: rgba(0, 0, 0, 0.5);
390 }
391
392 .logged-in.admin-bar .htcompare-popup {
393 top: 15px;
394 }
395
396 .htcompare-popup.open {
397 display: -webkit-box;
398 display: -ms-flexbox;
399 display: flex;
400 visibility: visible;
401
402 opacity: 1;
403
404 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
405 }
406
407 .htcompare-popup .htcompare-popup-content-area {
408 position: relative;
409
410 width: calc(100% - 30px);
411 max-width: 1500px;
412 margin: auto;
413 padding: 30px;
414
415 background: #FFFFFF;
416 }
417
418 .htcompare-popup .htcompare-popup-content-area .htcompare-table {
419 overflow-y: auto;
420
421 max-height: 750px;
422 }
423
424 .htcompare-popup-close {
425 position: absolute;
426 top: -10px;
427 right: -10px;
428
429 width: 25px;
430 height: 25px;
431
432 cursor: pointer;
433
434 border: none;
435 padding: 0;
436 border-radius: 100%;
437 background: #FFFFFF;
438 }
439
440 .htcompare-popup-close:after,
441 .htcompare-popup-close:before {
442 position: absolute;
443 top: 50%;
444 right: 5px;
445
446 display: inline-block;
447
448 width: 15px;
449 height: 2px;
450
451 content: ' ';
452 -webkit-transform: rotate(45deg);
453 transform: rotate(45deg);
454
455 background-color: #2D2A2A;
456 }
457
458 .htcompare-popup-close:after {
459 -webkit-transform: rotate(-45deg);
460 transform: rotate(-45deg);
461 }
462
463 .htcompare-popup-close:hover:after,
464 .htcompare-popup-close:hover:before {
465 background: #EC1E1E;
466 }
467
468 /*Share Link button*/
469 .ever-compare-shareable-link {
470 margin-top: 10px;
471 }
472
473 .ever-compare-shareable-link.right {
474 text-align: right;
475 }
476
477 .ever-compare-shareable-link.left {
478 text-align: left;
479 }
480
481 .ever-compare-shareable-link.center {
482 text-align: center;
483 }
484
485
486 /* Normal :1366px. */
487 @media (min-width: 1200px) and (max-width: 1400px) {}
488
489 /* Normal desktop :992px. */
490 @media (min-width: 992px) and (max-width: 1200px) {
491 .htcompare-table {
492 overflow-x: auto;
493
494 -webkit-overflow-scrolling: touch;
495 }
496 }
497
498 @media (min-width: 768px) and (max-width: 1024px) {
499 .htcompare-table {
500 overflow-x: auto;
501
502 -webkit-overflow-scrolling: touch;
503 }
504
505 .htcompare-col {
506 -webkit-box-flex: 0;
507 -ms-flex: 0 0 33.33333%;
508 flex: 0 0 33.33333%;
509 }
510 }
511
512 /* Tablet desktop :768px. */
513 @media (min-width: 768px) and (max-width: 991px) {}
514
515 /* small mobile :320px. */
516 @media (max-width: 767px) {
517 .htcompare-table {
518 overflow-x: auto;
519
520 -webkit-overflow-scrolling: touch;
521 }
522
523 .htcompare-col {
524 -webkit-box-flex: 1;
525 -ms-flex: 1 0 50%;
526 flex: 1 0 50%;
527 }
528
529 .htcolumn-field-name {
530 display: none;
531 }
532
533 .htcompare-row:nth-child(2n) .htcompare-col {
534 background-color: transparent;
535 }
536
537 .htcolumn-value:before {
538 font-size: 14px;
539 font-weight: 600;
540
541 display: block;
542
543 width: 100%;
544 margin-top: -15px;
545 margin-bottom: 15px;
546 padding: 5px 0;
547
548 content: attr(data-title);
549 text-transform: uppercase;
550
551 color: #2D2A2A;
552 background-color: #F7F7F7;
553 }
554
555 .compare-data-primary .htcolumn-value:before {
556 display: none;
557 }
558 }
559
560 /* Large Mobile :480px. */
561 @media only screen and (min-width: 480px) and (max-width: 767px) {}
562
563
564
565 /* The Modal (background) */
566 .htcompare-error-modal {
567 position: fixed;
568 z-index: 1999;
569 top: 0;
570 left: 0;
571
572 display: none;
573 overflow: auto;
574 -webkit-box-align: center;
575 -ms-flex-align: center;
576 -ms-grid-row-align: center;
577 align-items: center;
578 -webkit-box-pack: center;
579 -ms-flex-pack: center;
580 justify-content: center;
581
582 width: 100%;
583 height: 100%;
584
585 -webkit-animation-name: fadeIn;
586 animation-name: fadeIn;
587 -webkit-animation-duration: 0.4s;
588 animation-duration: 0.4s;
589
590 background-color: rgb(0, 0, 0);
591 background-color: rgba(0, 0, 0, 0.4);
592 }
593
594 /* Modal Content */
595 .htcompare-error-modal-content {
596 position: relative;
597
598 width: 100%;
599 max-width: 600px;
600 padding: 30px;
601
602 -webkit-animation-name: slideIn;
603 animation-name: slideIn;
604 -webkit-animation-duration: 0.4s;
605 animation-duration: 0.4s;
606
607 background-color: #FEFEFE;
608 }
609
610 /* The Close Button */
611 .htcompare-error-modal-close {
612 font-size: 24px;
613 font-weight: 700;
614
615 position: absolute;
616 top: -10px;
617 right: -10px;
618
619 display: -webkit-box;
620
621 display: -ms-flexbox;
622
623 display: flex;
624 -webkit-box-align: center;
625 -ms-flex-align: center;
626 align-items: center;
627 -webkit-box-pack: center;
628 -ms-flex-pack: center;
629 justify-content: center;
630
631 width: 30px;
632 height: 30px;
633 padding: 0;
634 padding-top: revert;
635
636 -webkit-transition: all 0.3s ease 0s;
637
638 transition: all 0.3s ease 0s;
639
640 color: #333333;
641 border-radius: 50%;
642 background-color: #FFFFFF;
643 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
644 }
645
646 .htcompare-error-modal-close:hover,
647 .htcompare-error-modal-close:focus {
648 cursor: pointer;
649 text-decoration: none;
650
651 color: #EC1E1E;
652 background-color: #FFFFFF;
653 }
654
655 .ever-compare-message-error {
656 margin-bottom: 0;
657 }
658
659 /* Add Animation */
660 @-webkit-keyframes slideIn {
661 from {
662 bottom: -50px;
663
664 opacity: 0;
665
666 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
667 }
668
669 to {
670 bottom: 0;
671
672 opacity: 1;
673
674 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
675 }
676 }
677
678 @keyframes slideIn {
679 from {
680 bottom: -50px;
681
682 opacity: 0;
683
684 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
685 }
686
687 to {
688 bottom: 0;
689
690 opacity: 1;
691
692 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
693 }
694 }
695
696 @-webkit-keyframes fadeIn {
697 from {
698 opacity: 0;
699 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
700 }
701
702 to {
703 opacity: 1;
704 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
705 }
706 }
707
708 @keyframes fadeIn {
709 from {
710 opacity: 0;
711 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
712 }
713
714 to {
715 opacity: 1;
716 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
717 }
718 }
719
720
721
722 /* Wishlist Counter */
723 .htcompare-counter-area {
724 line-height: 1;
725
726 position: relative;
727
728 display: inline-block;
729
730 width: 30px;
731
732 color: #333333;
733 }
734
735 .htcompare-counter-area .htcompare-counter {
736 font-size: 11px;
737 font-weight: 600;
738 line-height: 18px;
739
740 position: absolute;
741 top: -8px;
742 right: 0;
743
744 display: -webkit-box;
745
746 display: -ms-flexbox;
747
748 display: flex;
749 -webkit-box-align: center;
750 -ms-flex-align: center;
751 align-items: center;
752 -webkit-box-pack: center;
753 -ms-flex-pack: center;
754 justify-content: center;
755
756 width: 16px;
757 height: 16px;
758
759 text-align: center;
760
761 color: #FFFFFF;
762 border-radius: 8px;
763 background: #EC5858;
764 }
765
766
767 /* Notification */
768 .htcompare-notification {
769 position: fixed;
770 z-index: -99;
771 bottom: -100%;
772 left: 50%;
773
774 visibility: hidden;
775
776 min-width: 220px;
777 padding: 20px;
778 padding-right: 40px;
779
780 -webkit-transition: all 1s ease 0s;
781
782 transition: all 1s ease 0s;
783 -webkit-transform: translateX(-50%);
784 transform: translateX(-50%);
785 opacity: 0;
786 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
787 border: 1px solid #222222;
788 border-radius: 4px;
789 background-color: #222222;
790 }
791
792 .htcompare-notification.open {
793 z-index: 999999;
794 bottom: 10px;
795
796 visibility: visible;
797
798 opacity: 1;
799
800 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
801 }
802
803 .htcompare-notification-text {
804 color: #FFFFFF;
805 }
806
807 .htcompare-notification-close {
808 line-height: 1;
809
810 position: absolute;
811 top: 23px;
812 right: 10px;
813 -webkit-transition: all 0.3s ease 0s;
814 transition: all 0.3s ease 0s;
815 display: -webkit-box;
816 display: -ms-flexbox;
817 display: flex;
818 -webkit-box-align: center;
819 -ms-flex-align: center;
820 align-items: center;
821 -webkit-box-pack: center;
822 -ms-flex-pack: center;
823 justify-content: center;
824
825 width: 20px;
826 height: 20px;
827 padding: 0;
828
829 cursor: pointer;
830 text-indent: -9999px;
831
832 color: #FFFFFF;
833 border: none;
834 background-color: transparent;
835 }
836
837 .htcompare-notification-close:after {
838 font-size: 26px;
839 line-height: 1;
840
841 display: -webkit-box;
842
843 display: -ms-flexbox;
844
845 display: flex;
846
847 content: "\00d7";
848 text-indent: 0;
849 }