PluginProbe
Ever Compare – Products Compare Plugin for WooCommerce / 1.3.5
Ever Compare – Products Compare Plugin for WooCommerce v1.3.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.3.5, at assets/css/frontend.css

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