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

395 lines 8.7 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 top: 0;
5 left: 8px !important;
6 z-index: 9;
7 }
8 .htcompare-btn {
9 display: inline-flex !important;
10 align-items: center;
11 position: relative !important;
12 }
13 .htcompare-btn svg {
14 fill: currentColor;
15 transition: all 200ms ease-out;
16 width: 15px;
17 height: 15px;
18 margin-right: 5px;
19 }
20
21 .htcompare-btn svg .ever-compare-check,.htcompare-btn.added svg .ever-compare-refresh{
22 opacity: 0;
23 }
24 .htcompare-btn.added svg .ever-compare-check{
25 opacity: 1;
26 }
27
28 .htcompare-btn.loading svg .ever-compare-refresh {
29 animation:loading 500ms 0ms infinite normal linear;
30 transform-origin: center;
31 }
32 @keyframes loading {
33 from {transform: rotate(0deg);}
34 to {transform: rotate(360deg);}
35 }
36
37 .htcompare-btn.loading::after,a.htcompare-btn.added::after,.ever-compare-loader{
38 display: none;
39 }
40 .htcompare-btn.loading .ever-compare-loader{
41 display: block;
42 }
43
44 .htcompare-btn-text {
45 display: flex;
46 align-items: center;
47 }
48 .ever-compare-btn-image{
49 width: 25px;
50 margin-right: 5px;
51 display: inline-block;
52 }
53 .ever-compare-btn-image img{
54 width: 100% !important;
55 margin: 0 !important;
56 }
57
58 a.htcompare-btn.loading,a.htcompare-cart-button.loading{
59 opacity: .25;
60 /*padding-right: 2.618em;*/
61 position: relative;
62 }
63
64 /* Common table Style */
65 .htcompare-row {
66 display: -webkit-box;
67 display: -ms-flexbox;
68 display: flex;
69 -webkit-box-orient: horizontal;
70 -webkit-box-direction: normal;
71 -ms-flex-direction: row;
72 flex-direction: row;
73 -ms-flex-wrap: nowrap;
74 flex-wrap: nowrap;
75 }
76 .htcompare-col {
77 display: -webkit-box;
78 display: -ms-flexbox;
79 display: flex;
80 -webkit-box-orient: vertical;
81 -webkit-box-direction: normal;
82 -ms-flex-direction: column;
83 flex-direction: column;
84 -webkit-box-pack: center;
85 -ms-flex-pack: center;
86 justify-content: center;
87 padding: 15px;
88 word-break: break-word;
89 }
90 .htcompare-row:nth-child(2n) .htcompare-col {
91 background-color: #F7F7F7;
92 }
93 .htcompare-col {
94 border-right: 1px solid #ddd;
95 }
96 .htcolumn-value {
97 -webkit-box-flex: 0;
98 -ms-flex: 0 1 26%;
99 flex: 0 1 26%;
100 -webkit-box-align: center;
101 -ms-flex-align: center;
102 align-items: center;
103 text-align: center;
104 }
105 .compare-data-primary .htcolumn-value {
106 -webkit-box-pack: start;
107 -ms-flex-pack: start;
108 justify-content: flex-start;
109 padding-top: 0;
110 border-top: 1px solid #ddd;
111 }
112 .htcolumn-field-name {
113 -webkit-box-flex: 0;
114 -ms-flex: 0 0 20%;
115 flex: 0 0 20%;
116 color: #2d2a2a;
117 text-transform: uppercase;
118 font-weight: 600;
119 font-size: 16px;
120 }
121 .htcompare-remove{
122 position: relative;
123 display: inline-block;
124 padding: 10px;
125 margin-left: -5px;
126 }
127 .htcompare-remove:focus{
128 outline: none;
129 }
130 .htcompare-remove::after, .htcompare-remove::before {
131 content: " ";
132 position: absolute;
133 top: 50%;
134 display: inline-block;
135 width: 15px;
136 height: 2px;
137 background-color: #2d2a2a;
138 right: 0;
139 -webkit-transform: rotate(45deg);
140 transform: rotate(45deg);
141 }
142 .htcompare-remove::after{
143 -webkit-transform: rotate(-45deg);
144 transform: rotate(-45deg);
145 }
146 .htcompare-remove:hover::after,.htcompare-remove:hover::before{
147 background: #EC1E1E;
148 }
149 .htcompare-product-image{
150 display: block;
151 }
152 .htcompare-return-to-shop .button{
153 display: inline-block;
154 }
155 .htcompare-empty-page-text,.htcompare-return-to-shop{
156 text-align: center;
157 }
158 .htcompare-empty-page-text {
159 margin-bottom: 10px;
160 }
161
162 .htcompare-table{
163 position: relative;
164 }
165 .htcompare-table.loading:before{
166 position: absolute;
167 content:"";
168 top: 0;
169 right: 0;
170 bottom: 0;
171 left: 0;
172 z-index: 1;
173 background-color: rgba(255,255,255,.6);
174 }
175 .htcompare-table .htcompare-table-loader {
176 border: 8px solid #f3f3f3;
177 border-radius: 50%;
178 border-top: 8px solid #3498db;
179 width: 50px;
180 height: 50px;
181 -webkit-animation: htcomspin 1s linear infinite;
182 animation: htcomspin 1s linear infinite;
183 position: absolute;
184 top: 50%;
185 left: 50%;
186 z-index: 1;
187 transform: translate(-30px, -25px);
188 display: none;
189 }
190
191 .htcompare-table.loading .htcompare-table-loader{
192 display: block;
193 }
194
195 .compare-data-description .htcolumn-value p:last-child,.compare-data-availability .htcolumn-value p:last-child,.ever-compare-message-error p{
196 margin-bottom: 0;
197 }
198
199 .ever-compare-message-error {
200 border: 1px solid #dc3545;
201 border-left-width: 4px;
202 box-shadow: 0 1px 1px rgb(0 0 0 / 4%);
203 padding: 4px 10px;
204 margin-bottom: 10px;
205 }
206 .compare-data-primary.htcompare-row .htcompare-col {
207 background-color: transparent !important;
208 }
209
210 /* Safari */
211 @-webkit-keyframes htcomspin {
212 0% { -webkit-transform: rotate(0deg); }
213 100% { -webkit-transform: rotate(360deg); }
214 }
215
216 @keyframes htcomspin {
217 0% { transform: rotate(0deg); }
218 100% { transform: rotate(360deg); }
219 }
220
221 /* Popup Style */
222 a.htcompare-cart-button.loading::after{
223 font-family: WooCommerce;
224 content: '\e01c';
225 vertical-align: top;
226 -webkit-font-smoothing: antialiased;
227 font-weight: 400;
228 position: absolute;
229 top: auto;
230 right: 1em;
231 animation: spin 2s linear infinite;
232 }
233 a.htcompare-cart-button.added::after{
234 font-family: WooCommerce;
235 content: '\e017';
236 margin-left: .53em;
237 vertical-align: bottom;
238 }
239
240 .htcompare-popup{
241 display: none;
242 position: fixed;
243 z-index: 9999;
244 top: 0;
245 left: 0;
246 visibility: hidden;
247 overflow: hidden;
248 opacity: 0;
249 width: 100%;
250 height: 100%;
251 padding-right: 17px;
252 -webkit-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
253 -o-transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
254 transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
255 background-color: rgba(0, 0, 0, 0.5);
256
257 }
258 .logged-in.admin-bar .htcompare-popup{top: 15px;}
259 .htcompare-popup.open{
260 display: -webkit-box;
261 display: -webkit-flex;
262 display: -ms-flexbox;
263 display: flex;
264 opacity: 1;
265 visibility: visible;
266 }
267 .htcompare-popup .htcompare-popup-content-area {
268 width: calc(100% - 30px);
269 max-width: 1500px;
270 margin: auto;
271 padding: 30px;
272 background: #fff;
273 position: relative;
274 }
275 .htcompare-popup .htcompare-popup-content-area .htcompare-table{
276 max-height: 750px;
277 overflow-y: auto;
278 }
279 .htcompare-popup-close {
280 position: absolute;
281 width: 25px;
282 height: 25px;
283 background: #fff;
284 right: -10px;
285 top: -10px;
286 border-radius: 100%;
287 cursor: pointer;
288 }
289 .htcompare-popup-close::after, .htcompare-popup-close::before{
290 content: " ";
291 position: absolute;
292 top: 50%;
293 display: inline-block;
294 width: 15px;
295 height: 2px;
296 background-color: #2d2a2a;
297 right: 5px;
298 -webkit-transform: rotate(45deg);
299 transform: rotate(45deg);
300 }
301 .htcompare-popup-close::after {
302 -webkit-transform: rotate(-45deg);
303 transform: rotate(-45deg);
304 }
305 .htcompare-popup-close:hover::after,.htcompare-popup-close:hover::before{
306 background: #EC1E1E;
307 }
308
309 /*Share Link button*/
310 .ever-compare-shareable-link {
311 margin-top: 10px;
312 }
313 .ever-compare-shareable-link.right {
314 text-align: right;
315 }
316 .ever-compare-shareable-link.left {
317 text-align: left;
318 }
319 .ever-compare-shareable-link.center {
320 text-align: center;
321 }
322
323
324 /* Normal :1366px. */
325 @media (min-width: 1200px) and (max-width: 1400px) {
326
327 }
328
329 /* Normal desktop :992px. */
330 @media (min-width: 992px) and (max-width: 1200px) {
331 .htcompare-table {
332 overflow-x: auto;
333 -webkit-overflow-scrolling: touch;
334 }
335 }
336
337 @media (min-width: 768px) and (max-width: 1024px) {
338 .htcompare-table {
339 overflow-x: auto;
340 -webkit-overflow-scrolling: touch;
341 }
342 .htcompare-col {
343 -webkit-box-flex: 0;
344 -ms-flex: 0 0 33.33333%;
345 flex: 0 0 33.33333%;
346 }
347 }
348
349 /* Tablet desktop :768px. */
350 @media (min-width: 768px) and (max-width: 991px) {
351
352 }
353
354 /* small mobile :320px. */
355 @media (max-width: 767px) {
356 .htcompare-table {
357 overflow-x: auto;
358 -webkit-overflow-scrolling: touch;
359 }
360 .htcompare-col {
361 -webkit-box-flex: 1;
362 -ms-flex: 1 0 50%;
363 flex: 1 0 50%;
364 }
365 .htcolumn-field-name{
366 display: none;
367 }
368
369 .htcompare-row:nth-child(2n) .htcompare-col {
370 background-color: transparent;
371 }
372
373 .htcolumn-value::before {
374 content: attr(data-title);
375 display: block;
376 background-color: #F7F7F7;
377 margin-top: -15px;
378 margin-bottom: 15px;
379 padding: 5px 0;
380 width: 100%;
381 color: #2d2a2a;
382 text-transform: uppercase;
383 font-weight: 600;
384 font-size: 14px;
385 }
386 .compare-data-primary .htcolumn-value::before{
387 display: none;
388 }
389
390 }
391
392 /* Large Mobile :480px. */
393 @media only screen and (min-width: 480px) and (max-width: 767px) {
394
395 }