PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.78
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.78
51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 51.1.46 51.1.47 51.1.49 All 37 releases
king-addons / includes / wishlist / assets / style.css

style.css in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.78, at includes/wishlist/assets/style.css

539 lines 10.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * King Addons Wishlist Styles
3 *
4 * @package King_Addons
5 */
6
7 /* Button Base */
8 .king-addons-wishlist-button {
9 display: inline-flex;
10 align-items: center;
11 gap: 6px;
12 padding: 8px 14px;
13 border: 1px solid #e5e7eb;
14 background: #ffffff;
15 color: #111827;
16 cursor: pointer;
17 border-radius: 6px;
18 font-size: 14px;
19 font-weight: 500;
20 line-height: 1.4;
21 transition: all 0.2s ease;
22 }
23
24 .king-addons-wishlist-button:hover {
25 border-color: #f87171;
26 background: #fef2f2;
27 color: #b91c1c;
28 }
29
30 .king-addons-wishlist-button:focus {
31 outline: 2px solid #f87171;
32 outline-offset: 2px;
33 }
34
35 .king-addons-wishlist-button:disabled {
36 opacity: 0.6;
37 cursor: not-allowed;
38 }
39
40 /* Button Added State */
41 .king-addons-wishlist-button--added {
42 border-color: #f87171;
43 background: #fef2f2;
44 color: #b91c1c;
45 }
46
47 .king-addons-wishlist-button--added:hover {
48 border-color: #ef4444;
49 background: #fee2e2;
50 color: #991b1b;
51 }
52
53 /* Button Icon */
54 .king-addons-wishlist-button__icon {
55 display: inline-flex;
56 align-items: center;
57 justify-content: center;
58 }
59
60 .king-addons-wishlist-button__icon i {
61 display: inline-block;
62 font-size: 16px;
63 transition: transform 0.2s ease;
64 }
65
66 .king-addons-wishlist-button:hover .king-addons-wishlist-button__icon i {
67 transform: scale(1.1);
68 }
69
70 .king-addons-wishlist-button--added .king-addons-wishlist-button__icon i::before {
71 content: "\e817"; /* Filled heart for Elementor icons */
72 }
73
74 /* Button Label */
75 .king-addons-wishlist-button__label {
76 white-space: nowrap;
77 }
78
79 /* Single Product Position */
80 .king-addons-wishlist-button--single {
81 margin: 10px 0;
82 }
83
84 /* Loop/Archive Button */
85 .king-addons-wishlist-button--loop {
86 padding: 6px 10px;
87 font-size: 13px;
88 }
89
90 /* Table Remove Button */
91 .king-addons-wishlist-button--table-remove {
92 padding: 6px 12px;
93 font-size: 13px;
94 border-color: #fca5a5;
95 background: #fef2f2;
96 color: #dc2626;
97 }
98
99 .king-addons-wishlist-button--table-remove:hover {
100 background: #fee2e2;
101 border-color: #ef4444;
102 }
103
104 /* Counter */
105 .king-addons-wishlist-counter {
106 display: inline-flex;
107 align-items: center;
108 justify-content: center;
109 min-width: 24px;
110 height: 24px;
111 padding: 0 8px;
112 background: #111827;
113 color: #ffffff;
114 border-radius: 999px;
115 font-weight: 600;
116 font-size: 12px;
117 line-height: 1;
118 }
119
120 .king-addons-wishlist-counter--icon {
121 position: absolute;
122 top: -6px;
123 right: -6px;
124 min-width: 18px;
125 height: 18px;
126 padding: 0 5px;
127 font-size: 11px;
128 background: #ef4444;
129 }
130
131 .king-addons-wishlist-counter[data-count="0"] {
132 display: none;
133 }
134
135 /* Floating Action Button (FAB) */
136 .king-addons-wishlist-fab {
137 position: relative;
138 display: inline-flex;
139 align-items: center;
140 justify-content: center;
141 width: 48px;
142 height: 48px;
143 background: #111827;
144 color: #ffffff;
145 border-radius: 50%;
146 cursor: pointer;
147 transition: transform 0.2s ease, box-shadow 0.2s ease;
148 }
149
150 .king-addons-wishlist-fab:hover {
151 transform: scale(1.05);
152 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
153 }
154
155 .king-addons-wishlist-fab__link {
156 text-decoration: none;
157 color: inherit;
158 }
159
160 /* Wishlist Page Table */
161 .king-addons-wishlist-page {
162 width: 100%;
163 overflow-x: auto;
164 -webkit-overflow-scrolling: touch;
165 }
166
167 .king-addons-wishlist-table {
168 width: 100%;
169 border-collapse: collapse;
170 background: #ffffff;
171 border: 1px solid #e5e7eb;
172 border-radius: 8px;
173 overflow: hidden;
174 }
175
176 .king-addons-wishlist-table__heading {
177 padding: 14px 12px;
178 background: #f9fafb;
179 border-bottom: 1px solid #e5e7eb;
180 text-align: left;
181 font-weight: 600;
182 font-size: 13px;
183 color: #374151;
184 text-transform: uppercase;
185 letter-spacing: 0.05em;
186 }
187
188 .king-addons-wishlist-table__cell {
189 padding: 16px 12px;
190 border-bottom: 1px solid #e5e7eb;
191 text-align: left;
192 vertical-align: middle;
193 }
194
195 .king-addons-wishlist-table__row:last-child .king-addons-wishlist-table__cell {
196 border-bottom: none;
197 }
198
199 .king-addons-wishlist-table__row:hover {
200 background: #f9fafb;
201 }
202
203 .king-addons-wishlist-table__add-to-cart {
204 display: inline-flex;
205 align-items: center;
206 justify-content: center;
207 gap: 8px;
208 padding: 10px 16px;
209 border-radius: 8px;
210 border: 1px solid #111827;
211 background-color: #111827;
212 color: #ffffff;
213 text-decoration: none;
214 transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
215 position: relative;
216 }
217
218 .king-addons-wishlist-table__add-to-cart:hover {
219 background-color: #0b1220;
220 border-color: #0b1220;
221 }
222
223 .king-addons-wishlist-table__add-to-cart.loading {
224 opacity: 0.7;
225 pointer-events: none;
226 padding-right: 32px;
227 }
228
229 .king-addons-wishlist-table__add-to-cart.added {
230 opacity: 1;
231 }
232
233 .king-addons-wishlist-table__add-to-cart.loading::after,
234 .king-addons-wishlist-table__add-to-cart.added::after {
235 content: '';
236 position: absolute;
237 right: 10px;
238 width: 14px;
239 height: 14px;
240 border-radius: 50%;
241 }
242
243 .king-addons-wishlist-table__add-to-cart.loading::after {
244 border: 2px solid currentColor;
245 border-top-color: transparent;
246 animation: king-addons-spin 0.75s linear infinite;
247 }
248
249 .king-addons-wishlist-table__add-to-cart.added::after {
250 border: 2px solid currentColor;
251 border-color: currentColor;
252 mask: none;
253 -webkit-mask: none;
254 background: currentColor;
255 clip-path: polygon(14% 53%, 0 39%, 0 61%, 14% 75%, 54% 34%, 40% 20%);
256 }
257
258 .king-addons-wishlist-table .added_to_cart {
259 display: inline-flex;
260 align-items: center;
261 justify-content: center;
262 margin-left: 12px;
263 padding: 8px 12px;
264 border-radius: 6px;
265 border: 1px solid #111827;
266 background-color: transparent;
267 color: #111827;
268 text-decoration: none;
269 transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
270 }
271
272 .king-addons-wishlist-table .added_to_cart:hover {
273 background-color: #111827;
274 color: #ffffff;
275 border-color: #111827;
276 }
277
278 @keyframes king-addons-spin {
279 from {
280 transform: rotate(0deg);
281 }
282 to {
283 transform: rotate(360deg);
284 }
285 }
286
287 /* Table Image */
288 .king-addons-wishlist-table__thumb {
289 display: block;
290 }
291
292 .king-addons-wishlist-table__thumb img {
293 max-width: 70px;
294 height: auto;
295 display: block;
296 border-radius: 4px;
297 transition: transform 0.2s ease;
298 }
299
300 .king-addons-wishlist-table__thumb:hover img {
301 transform: scale(1.05);
302 }
303
304 /* Table Title */
305 .king-addons-wishlist-table__title {
306 color: #111827;
307 text-decoration: none;
308 font-weight: 500;
309 transition: color 0.2s ease;
310 }
311
312 .king-addons-wishlist-table__title:hover {
313 color: #2563eb;
314 }
315
316 /* Table Price */
317 .king-addons-wishlist-table__price {
318 font-weight: 600;
319 color: #111827;
320 }
321
322 .king-addons-wishlist-table__price del {
323 color: #9ca3af;
324 font-weight: 400;
325 }
326
327 .king-addons-wishlist-table__price ins {
328 text-decoration: none;
329 color: #059669;
330 }
331
332 /* Table Stock */
333 .king-addons-wishlist-table__stock {
334 display: inline-flex;
335 align-items: center;
336 gap: 4px;
337 padding: 4px 8px;
338 border-radius: 4px;
339 font-size: 13px;
340 font-weight: 500;
341 }
342
343 /* Empty State */
344 .king-addons-wishlist-table__empty {
345 text-align: center;
346 padding: 40px 16px;
347 color: #6b7280;
348 }
349
350 /* Notice */
351 .king-addons-wishlist__notice {
352 padding: 16px;
353 background: #fef3c7;
354 border: 1px solid #fcd34d;
355 border-radius: 6px;
356 color: #92400e;
357 text-align: center;
358 }
359
360 /* Pro Placeholder */
361 .king-addons-pro-placeholder {
362 padding: 20px;
363 background: #f3f4f6;
364 border: 2px dashed #d1d5db;
365 border-radius: 8px;
366 text-align: center;
367 color: #6b7280;
368 }
369
370 /* Share Buttons */
371 .king-addons-wishlist-share {
372 display: flex;
373 flex-wrap: wrap;
374 gap: 8px;
375 }
376
377 /* Notes (Pro) */
378 .king-addons-wishlist-notes {
379 min-width: 180px;
380 }
381
382 .king-addons-wishlist-notes__display {
383 display: flex;
384 align-items: flex-start;
385 gap: 8px;
386 }
387
388 .king-addons-wishlist-notes__text {
389 flex: 1;
390 font-size: 13px;
391 line-height: 1.4;
392 color: #374151;
393 word-break: break-word;
394 }
395
396 .king-addons-wishlist-notes__edit-btn {
397 flex-shrink: 0;
398 display: inline-flex;
399 align-items: center;
400 justify-content: center;
401 width: 24px;
402 height: 24px;
403 padding: 0;
404 background: transparent;
405 border: none;
406 color: #9ca3af;
407 cursor: pointer;
408 transition: color 0.2s ease;
409 }
410
411 .king-addons-wishlist-notes__edit-btn:hover {
412 color: #2563eb;
413 }
414
415 .king-addons-wishlist-notes__edit-btn .dashicons {
416 width: 16px;
417 height: 16px;
418 font-size: 16px;
419 }
420
421 .king-addons-wishlist-notes__form {
422 display: flex;
423 flex-direction: column;
424 gap: 8px;
425 }
426
427 .king-addons-wishlist-notes__input {
428 width: 100%;
429 min-height: 50px;
430 padding: 8px 10px;
431 font-size: 13px;
432 line-height: 1.4;
433 border: 1px solid #d1d5db;
434 border-radius: 4px;
435 resize: vertical;
436 transition: border-color 0.2s ease, box-shadow 0.2s ease;
437 }
438
439 .king-addons-wishlist-notes__input:focus {
440 outline: none;
441 border-color: #2563eb;
442 box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
443 }
444
445 .king-addons-wishlist-notes__input::placeholder {
446 color: #9ca3af;
447 }
448
449 .king-addons-wishlist-notes__actions {
450 display: flex;
451 gap: 6px;
452 }
453
454 .king-addons-wishlist-notes__save,
455 .king-addons-wishlist-notes__cancel {
456 padding: 4px 12px;
457 font-size: 12px;
458 font-weight: 500;
459 border-radius: 4px;
460 cursor: pointer;
461 transition: all 0.2s ease;
462 }
463
464 .king-addons-wishlist-notes__save {
465 background: #2563eb;
466 border: 1px solid #2563eb;
467 color: #ffffff;
468 }
469
470 .king-addons-wishlist-notes__save:hover {
471 background: #1d4ed8;
472 border-color: #1d4ed8;
473 }
474
475 .king-addons-wishlist-notes__save:disabled {
476 opacity: 0.6;
477 cursor: not-allowed;
478 }
479
480 .king-addons-wishlist-notes__cancel {
481 background: #ffffff;
482 border: 1px solid #d1d5db;
483 color: #374151;
484 }
485
486 .king-addons-wishlist-notes__cancel:hover {
487 background: #f9fafb;
488 border-color: #9ca3af;
489 }
490
491 /* Mobile Responsive */
492 @media (max-width: 768px) {
493 .king-addons-wishlist-table {
494 display: block;
495 }
496
497 .king-addons-wishlist-table thead {
498 display: none;
499 }
500
501 .king-addons-wishlist-table tbody,
502 .king-addons-wishlist-table__row {
503 display: block;
504 }
505
506 .king-addons-wishlist-table__row {
507 padding: 16px;
508 margin-bottom: 12px;
509 border: 1px solid #e5e7eb;
510 border-radius: 8px;
511 }
512
513 .king-addons-wishlist-table__cell {
514 display: flex;
515 justify-content: space-between;
516 align-items: center;
517 padding: 8px 0;
518 border-bottom: 1px solid #f3f4f6;
519 }
520
521 .king-addons-wishlist-table__cell:last-child {
522 border-bottom: none;
523 }
524
525 .king-addons-wishlist-table__cell::before {
526 content: attr(data-label);
527 font-weight: 600;
528 color: #374151;
529 }
530
531 .king-addons-wishlist-table__cell--image {
532 justify-content: center;
533 }
534
535 .king-addons-wishlist-table__cell--image::before {
536 display: none;
537 }
538 }
539