PluginProbe
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder / 51.1.85
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder v51.1.85
51.1.87 51.1.86 51.1.84 51.1.85 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 All 41 releases
king-addons / includes / extensions / Template_Catalog_Button / assets / template-catalog-popup.css

template-catalog-popup.css in King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder 51.1.85, at includes/extensions/Template_Catalog_Button/assets/template-catalog-popup.css

960 lines 19.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* King Addons Template Catalog Popup Styles */
2
3 .king-addons-template-popup {
4 position: fixed;
5 top: 0;
6 left: 0;
7 width: 100%;
8 height: 100%;
9 background: rgba(0, 0, 0, 0.85);
10 backdrop-filter: blur(5px);
11 z-index: 999999;
12 display: none;
13 align-items: center;
14 justify-content: center;
15 animation: king-addons-popup-fade-in 0.3s ease-out;
16 }
17
18 @keyframes king-addons-popup-fade-in {
19 from {
20 opacity: 0;
21 backdrop-filter: blur(0px);
22 }
23 to {
24 opacity: 1;
25 backdrop-filter: blur(5px);
26 }
27 }
28
29 .king-addons-template-popup.show {
30 display: flex;
31 }
32
33 .king-addons-template-popup-content {
34 background: #ffffff;
35 width: 95%;
36 max-width: 1400px;
37 height: 95vh;
38 max-height: 900px;
39 border-radius: 12px;
40 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
41 display: flex;
42 flex-direction: column;
43 overflow: hidden;
44 position: relative;
45 }
46
47 .king-addons-template-popup-header {
48 padding: 20px 30px;
49 border-bottom: 1px solid #e1e8ed;
50 background: #ffffff;
51 display: flex;
52 justify-content: space-between;
53 align-items: center;
54 flex-shrink: 0;
55 }
56
57 .king-addons-template-popup-title {
58 font-size: 24px;
59 font-weight: 600;
60 color: #23282d;
61 margin: 0;
62 }
63
64 .king-addons-template-popup-subtitle {
65 font-size: 14px;
66 color: #6c757d;
67 margin: 0;
68 }
69
70 .king-addons-template-popup-header-content {
71 display: flex;
72 gap: 10px;
73 align-items: center;
74 }
75
76 .king-addons-template-popup-close {
77 background: none;
78 border: none;
79 font-size: 24px;
80 color: #6c757d;
81 cursor: pointer;
82 padding: 5px;
83 position: absolute;
84 line-height: 1;
85 border-radius: 4px;
86 transition: all 0.2s ease;
87 right: 15px;
88 width: 34px;
89 }
90
91 .king-addons-template-popup-close:hover {
92 background: #f1f1f1;
93 color: #23282d;
94 }
95
96 /* Popup Tabs */
97 .king-addons-popup-tabs {
98 display: flex;
99 background: #f8f9fa;
100 border-bottom: 1px solid #e1e8ed;
101 margin: 0;
102 flex-shrink: 0;
103 }
104
105 .king-addons-popup-tab-button {
106 flex: 1;
107 background: transparent;
108 border: none;
109 padding: 18px 25px;
110 cursor: pointer;
111 display: flex;
112 align-items: center;
113 justify-content: center;
114 gap: 10px;
115 font-size: 15px;
116 font-weight: 500;
117 color: #666;
118 transition: all 0.3s ease;
119 position: relative;
120 border-bottom: 3px solid transparent;
121 }
122
123 .king-addons-popup-tab-button:hover {
124 background: rgba(121, 49, 255, 0.1);
125 color: #7931ff;
126 }
127
128 .king-addons-popup-tab-button.active {
129 background: #fff;
130 color: #7931ff;
131 border-bottom: 3px solid #7931ff;
132 }
133
134 .king-addons-popup-tab-button i {
135 font-size: 16px;
136 }
137
138 .popup-tab-count {
139 background: #7931ff;
140 color: white;
141 padding: 2px 8px;
142 border-radius: 12px;
143 font-size: 12px;
144 min-width: 20px;
145 text-align: center;
146 }
147
148 .king-addons-popup-tab-button.active .popup-tab-count {
149 background: #7931ff;
150 }
151
152 /* Tab Content */
153 .king-addons-popup-tab-content {
154 display: none;
155 flex-direction: column;
156 flex: 1;
157 }
158
159 .king-addons-popup-tab-content.active {
160 display: flex;
161 overflow-y: scroll;
162 }
163
164 .king-addons-template-popup-filters {
165 padding: 15px 25px;
166 border-bottom: 1px solid #e1e8ed;
167 background: #f8f9fa;
168 display: grid;
169 grid-template-columns: 1fr auto auto auto auto auto;
170 gap: 12px;
171 align-items: center;
172 flex-shrink: 0;
173 }
174
175 .king-addons-template-popup-search,
176 .king-addons-sections-popup-search {
177 padding: 10px 15px;
178 border: 1px solid #ddd;
179 border-radius: 6px;
180 font-size: 14px;
181 background: white;
182 transition: border-color 0.2s ease;
183 }
184
185 .king-addons-template-popup-search:focus,
186 .king-addons-sections-popup-search:focus {
187 outline: none;
188 border-color: #7931ff;
189 box-shadow: 0 0 0 3px rgba(121, 49, 255, 0.1);
190 }
191
192 .king-addons-template-popup-select {
193 padding: 10px 15px;
194 border: 1px solid #ddd;
195 border-radius: 6px;
196 font-size: 14px;
197 background: white;
198 min-width: 140px;
199 transition: border-color 0.2s ease;
200 height: auto;
201 color: #6c757d;
202 appearance: none;
203 -webkit-appearance: none;
204 -moz-appearance: none;
205 cursor: pointer;
206 background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
207 background-repeat: no-repeat;
208 background-position: right 10px center;
209 background-size: 10px 8px;
210 }
211
212 .king-addons-template-popup-select:hover {
213 border-color: #bdbdbd;
214 }
215
216 .king-addons-template-popup-select:focus {
217 outline: none;
218 border-color: #7931ff;
219 box-shadow: 0 0 0 3px rgba(121, 49, 255, 0.1);
220 }
221
222 /* Reset filters button */
223 .king-addons-reset-filters-btn {
224 padding: 10px 16px;
225 background: #6c757d;
226 color: white;
227 border: none;
228 border-radius: 6px;
229 font-size: 13px;
230 font-weight: 500;
231 cursor: pointer;
232 transition: all 0.2s ease;
233 white-space: nowrap;
234 min-width: 80px;
235 }
236
237 .king-addons-reset-filters-btn:hover {
238 background: #5a6268;
239 transform: translateY(-1px);
240 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
241 }
242
243 .king-addons-reset-filters-btn:active {
244 transform: translateY(0);
245 box-shadow: none;
246 }
247
248 .king-addons-reset-filters-btn i {
249 margin-right: 6px;
250 font-size: 12px;
251 }
252
253 .king-addons-template-popup-body,
254 .king-addons-sections-popup-body {
255 flex: 1;
256 overflow-y: auto;
257 overflow-x: hidden;
258 padding: 25px 30px;
259 background: #ffffff;
260 min-height: 0; /* Important: allows flex item to shrink below content size */
261 scroll-behavior: smooth;
262 -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
263 }
264
265 /* Custom scrollbar styles */
266 .king-addons-template-popup-body::-webkit-scrollbar,
267 .king-addons-sections-popup-body::-webkit-scrollbar {
268 width: 8px;
269 }
270
271 .king-addons-template-popup-body::-webkit-scrollbar-track,
272 .king-addons-sections-popup-body::-webkit-scrollbar-track {
273 background: #f1f1f1;
274 border-radius: 4px;
275 }
276
277 .king-addons-template-popup-body::-webkit-scrollbar-thumb,
278 .king-addons-sections-popup-body::-webkit-scrollbar-thumb {
279 background: #c1c1c1;
280 border-radius: 4px;
281 }
282
283 .king-addons-template-popup-body::-webkit-scrollbar-thumb:hover,
284 .king-addons-sections-popup-body::-webkit-scrollbar-thumb:hover {
285 background: #7931ff;
286 }
287
288 .king-addons-template-grid {
289 display: grid;
290 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
291 gap: 25px;
292 margin-bottom: 30px;
293 }
294
295 .king-addons-sections-grid {
296 display: grid;
297 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
298 gap: 25px;
299 margin-bottom: 30px;
300 }
301
302 .king-addons-template-item {
303 background: #ffffff;
304 border: 1px solid #e1e8ed;
305 border-radius: 8px;
306 overflow: hidden;
307 cursor: pointer;
308 transition: all 0.3s ease;
309 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
310 }
311
312 .king-addons-template-item:hover {
313 transform: translateY(-2px);
314 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
315 border-color: #0073aa;
316 }
317
318 .king-addons-template-item-image {
319 width: 100%;
320 height: 200px;
321 object-fit: cover;
322 display: block;
323 }
324
325 .king-addons-template-item-content {
326 padding: 15px;
327 }
328
329 .king-addons-template-item-title {
330 font-size: 16px;
331 font-weight: 600;
332 color: #23282d;
333 margin: 0 0 8px 0;
334 line-height: 1.4;
335 }
336
337 .king-addons-template-item-plan {
338 display: inline-block;
339 padding: 4px 8px;
340 border-radius: 4px;
341 font-size: 12px;
342 font-weight: 500;
343 text-transform: uppercase;
344 letter-spacing: 0.5px;
345 }
346
347 .king-addons-template-item-plan.free {
348 background: #d4edda;
349 color: #155724;
350 }
351
352 .king-addons-template-item-plan.premium {
353 background: #fff3cd;
354 color: #856404;
355 }
356
357 .king-addons-template-pagination {
358 display: flex;
359 justify-content: center;
360 align-items: center;
361 gap: 8px;
362 margin-top: 30px;
363 padding: 20px 0;
364 border-top: 1px solid #e1e8ed;
365 }
366
367 .king-addons-template-pagination button,
368 .king-addons-template-pagination a,
369 .king-addons-template-pagination span {
370 padding: 10px 14px;
371 border: 1px solid #ddd;
372 background: white;
373 color: #23282d;
374 border-radius: 6px;
375 cursor: pointer;
376 font-size: 14px;
377 font-weight: 500;
378 text-decoration: none;
379 transition: all 0.2s ease;
380 min-width: 40px;
381 text-align: center;
382 }
383
384 .king-addons-template-pagination button:hover,
385 .king-addons-template-pagination a:hover {
386 background: #7931ff;
387 color: white;
388 border-color: #7931ff;
389 transform: translateY(-1px);
390 }
391
392 .king-addons-template-pagination button:disabled {
393 opacity: 0.5;
394 cursor: not-allowed;
395 transform: none;
396 }
397
398 .king-addons-template-pagination button.active,
399 .king-addons-template-pagination .current {
400 background: #7931ff;
401 color: white;
402 border-color: #7931ff;
403 }
404
405 .king-addons-template-pagination-info {
406 font-size: 14px;
407 color: #6c757d;
408 margin: 0 15px;
409 }
410
411 .king-addons-template-popup-loading {
412 display: flex;
413 justify-content: center;
414 align-items: center;
415 height: 200px;
416 color: #6c757d;
417 font-size: 16px;
418 }
419
420 .king-addons-template-popup-empty {
421 text-align: center;
422 padding: 40px 20px;
423 color: #6c757d;
424 font-size: 16px;
425 }
426
427 .king-addons-template-popup-error {
428 text-align: center;
429 padding: 40px 20px;
430 color: #dc3545;
431 font-size: 16px;
432 }
433
434 /* Loading spinner */
435 .king-addons-template-spinner {
436 border: 3px solid #f3f3f3;
437 border-top: 3px solid #0073aa;
438 border-radius: 50%;
439 width: 30px;
440 height: 30px;
441 animation: king-addons-spin 1s linear infinite;
442 margin: 0 auto 15px;
443 }
444
445 @keyframes king-addons-spin {
446 0% { transform: rotate(0deg); }
447 100% { transform: rotate(360deg); }
448 }
449
450 /* Import progress popup */
451 .king-addons-import-progress-popup {
452 position: fixed;
453 top: 0;
454 left: 0;
455 width: 100%;
456 height: 100%;
457 background: rgba(0, 0, 0, 0.8);
458 z-index: 9999999;
459 display: none;
460 align-items: center;
461 justify-content: center;
462 }
463
464 .king-addons-import-progress-popup.show {
465 display: flex;
466 }
467
468 .king-addons-import-progress-content {
469 background: white;
470 padding: 30px;
471 border-radius: 8px;
472 max-width: 500px;
473 width: 90%;
474 text-align: center;
475 box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
476 }
477
478 .king-addons-import-progress-title {
479 font-size: 20px;
480 font-weight: 600;
481 color: #23282d;
482 margin: 0 0 20px 0;
483 }
484
485 .king-addons-import-progress-bar {
486 width: 100%;
487 height: 20px;
488 background: #f1f1f1;
489 border-radius: 10px;
490 overflow: hidden;
491 margin: 20px 0;
492 }
493
494 .king-addons-import-progress-fill {
495 height: 100%;
496 background: linear-gradient(90deg, #0073aa, #00a0d2);
497 width: 0%;
498 transition: width 0.3s ease;
499 border-radius: 10px;
500 }
501
502 .king-addons-import-progress-text {
503 font-size: 14px;
504 color: #6c757d;
505 margin: 10px 0;
506 }
507
508 .king-addons-import-success {
509 color: #28a745;
510 font-weight: 600;
511 }
512
513 .king-addons-import-error {
514 color: #dc3545;
515 font-weight: 600;
516 }
517
518 /* Premium promo popup styles */
519 .king-addons-premium-promo-popup {
520 position: fixed;
521 z-index: 9999999999;
522 top: 50%;
523 left: 50%;
524 overflow: hidden;
525 max-width: 569px;
526 height: 300px;
527 padding: 20px 50px;
528 transform: translate(-50%, -50%);
529 background: #fff;
530 box-shadow: 0 11px 34px 0 rgb(0 0 0 / 5%);
531 border-radius: 20px;
532 display: none;
533 align-items: center;
534 }
535
536 .king-addons-premium-promo-popup.show {
537 display: flex;
538 }
539
540 .king-addons-premium-promo-popup-content {
541 text-align: center;
542 width: 100%;
543 }
544
545 .king-addons-premium-promo-popup-wrapper {
546 border-radius: 12px;
547 padding: 20px;
548 text-align: center;
549 }
550
551 .king-addons-premium-promo-popup-txt {
552 font-size: 18px;
553 font-weight: 600;
554 margin-bottom: 15px;
555 margin-top: 5px;
556 line-height: 1.4;
557 color: #23282d;
558 }
559
560 .king-addons-pr-popup-title {
561 font-size: 26px;
562 font-weight: 800;
563 }
564
565 .king-addons-pr-popup-desc {
566 margin-top: 10px;
567 display: block;
568 font-weight: 400;
569 }
570
571 .king-addons-pr-popup-desc-b {
572 font-weight: 700;
573 }
574
575 .king-addons-premium-promo-popup-purchase-btn {
576 line-height: 1;
577 display: inline-flex;
578 align-items: center;
579 flex-flow: row;
580 margin-top: 10px;
581 padding: 15px 30px;
582 cursor: pointer;
583 text-decoration: none;
584 color: white;
585 border: none;
586 border-radius: 12px;
587 background: linear-gradient(120.55deg, #A20BD8 18.56%, #FF4040 98.01%);
588 transition: all 600ms ease;
589 font-size: 16px;
590 }
591
592 .king-addons-premium-promo-popup-purchase-btn:hover {
593 transform: scale(1.05);
594 }
595
596 .king-addons-premium-promo-popup-purchase-btn img {
597 margin-right: 7px;
598 width: 16px;
599 height: 16px;
600 }
601
602 .king-addons-close-premium-promo-popup {
603 line-height: 1;
604 display: inline-flex;
605 align-items: center;
606 flex-flow: row;
607 margin-top: 10px;
608 padding: 15px 25px;
609 cursor: pointer;
610 text-decoration: none;
611 color: #191919;
612 border: none;
613 border-radius: 12px;
614 background: #f2f4f5;
615 margin-left: 10px;
616 }
617
618 .king-addons-close-premium-promo-popup:hover {
619 background: #e8eaed;
620 }
621
622 /* Responsive */
623 @media (max-width: 1200px) {
624 .king-addons-template-popup-filters {
625 grid-template-columns: 1fr auto auto;
626 gap: 10px;
627 }
628 }
629
630 @media (max-width: 1024px) {
631 .king-addons-template-popup-filters {
632 grid-template-columns: 1fr auto;
633 gap: 10px;
634 }
635
636 .king-addons-template-grid,
637 .king-addons-sections-grid {
638 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
639 gap: 20px;
640 }
641 }
642
643 @media (max-width: 768px) {
644 .king-addons-template-popup-content {
645 width: 98%;
646 height: 95vh;
647 border-radius: 8px;
648 }
649
650 .king-addons-template-popup-header,
651 .king-addons-template-popup-body {
652 padding: 15px 20px;
653 }
654
655 .king-addons-template-popup-filters {
656 padding: 12px 20px;
657 grid-template-columns: 1fr;
658 gap: 10px;
659 }
660
661 .king-addons-template-grid,
662 .king-addons-sections-grid {
663 grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
664 gap: 15px;
665 }
666
667 .king-addons-template-popup-search,
668 .king-addons-template-popup-select,
669 .king-addons-reset-filters-btn {
670 width: 100%;
671 min-width: auto;
672 }
673
674 .king-addons-premium-promo-popup {
675 width: 90%;
676 max-width: 400px;
677 height: auto;
678 padding: 20px;
679 }
680 }
681
682 @media (max-width: 480px) {
683 .king-addons-template-grid,
684 .king-addons-sections-grid {
685 grid-template-columns: 1fr;
686 gap: 12px;
687 }
688
689 .king-addons-template-popup-title {
690 font-size: 18px;
691 }
692
693 .king-addons-template-popup-content {
694 width: 100%;
695 height: 100vh;
696 border-radius: 0;
697 }
698
699 .king-addons-template-popup-body {
700 padding: 15px;
701 }
702
703 .king-addons-popup-tab-button {
704 padding: 15px 10px;
705 font-size: 14px;
706 gap: 6px;
707 }
708
709 .popup-tab-count {
710 font-size: 11px;
711 padding: 1px 6px;
712 }
713 }
714
715 /* Additional Sections Grid Styles (body container) */
716 .king-addons-sections-popup-body .king-addons-sections-grid {
717 padding: 0; /* Remove extra padding as it's already in body */
718 min-height: 400px;
719 }
720
721 .king-addons-section-item {
722 position: relative;
723 border: 1px solid #e1e8ed;
724 border-radius: 8px;
725 background: white;
726 cursor: pointer;
727 transition: all 0.3s ease;
728 overflow: hidden;
729 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
730 }
731
732 .king-addons-section-item:hover {
733 transform: translateY(-2px);
734 box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
735 border-color: #7931ff;
736 }
737
738 .king-addons-section-item:hover .king-addons-section-item-overlay {
739 opacity: 1;
740 }
741
742 .king-addons-section-item-image {
743 width: 100%;
744 height: 180px;
745 object-fit: cover;
746 background: #f5f5f5;
747 object-position: top;
748 }
749
750 .king-addons-section-item-content {
751 padding: 15px;
752 text-align: center;
753 }
754
755 .king-addons-section-item-title {
756 font-size: 13px;
757 font-weight: 500;
758 margin: 0 0 8px 0;
759 color: #333;
760 line-height: 1.3;
761 height: 2.6em;
762 overflow: hidden;
763 display: -webkit-box;
764 -webkit-line-clamp: 2;
765 -webkit-box-orient: vertical;
766 }
767
768 .king-addons-section-item-plan {
769 position: absolute;
770 top: 10px;
771 right: 10px;
772 padding: 4px 8px;
773 border-radius: 4px;
774 font-size: 11px;
775 font-weight: 500;
776 text-transform: uppercase;
777 }
778
779 .king-addons-section-item-plan.free {
780 background: #28a745;
781 color: white;
782 }
783
784 .king-addons-section-item-plan.premium {
785 background: #7931ff;
786 color: white;
787 }
788
789 .king-addons-section-item-overlay {
790 position: absolute;
791 top: 0;
792 left: 0;
793 width: 100%;
794 height: 100%;
795 background: rgba(0, 0, 0, 0.8);
796 display: flex;
797 align-items: center;
798 justify-content: center;
799 opacity: 0;
800 transition: opacity 0.2s ease;
801 }
802
803 .king-addons-section-item-actions {
804 display: flex;
805 flex-direction: column;
806 gap: 10px;
807 align-items: center;
808 }
809
810 .king-addons-section-import-btn,
811 .king-addons-section-preview-btn {
812 padding: 8px 16px;
813 border: none;
814 border-radius: 4px;
815 font-size: 12px;
816 font-weight: 500;
817 cursor: pointer;
818 transition: all 0.2s ease;
819 text-decoration: none;
820 display: inline-block;
821 }
822
823 .king-addons-section-import-btn {
824 background: #7931ff;
825 color: white;
826 }
827
828 .king-addons-section-import-btn:hover {
829 background: #7a1ec7;
830 color: white;
831 }
832
833 .king-addons-section-preview-btn {
834 background: transparent;
835 color: white;
836 border: 1px solid white;
837 }
838
839 .king-addons-section-preview-btn:hover {
840 background: white;
841 color: #333;
842 }
843
844 /* Sections body container */
845 .king-addons-sections-popup-body {
846 flex: 1;
847 overflow-y: auto;
848 }
849
850 .king-addons-sections-popup-loading {
851 padding: 60px;
852 text-align: center;
853 color: #666;
854 }
855
856 .king-addons-sections-popup-empty {
857 padding: 60px;
858 text-align: center;
859 color: #666;
860 font-size: 16px;
861 }
862
863 .king-addons-sections-pagination {
864 padding: 20px 30px;
865 border-top: 1px solid #e1e8ed;
866 background: #f8f9fa;
867 text-align: center;
868 }
869
870 .king-addons-sections-pagination .pagination-inner {
871 display: inline-flex;
872 gap: 5px;
873 align-items: center;
874 }
875
876 .king-addons-sections-pagination a,
877 .king-addons-sections-pagination span {
878 padding: 8px 12px;
879 text-decoration: none;
880 color: #666;
881 border: 1px solid #ddd;
882 border-radius: 4px;
883 transition: all 0.2s ease;
884 }
885
886 .king-addons-sections-pagination a:hover {
887 background: #7931ff;
888 color: white;
889 border-color: #7931ff;
890 }
891
892 .king-addons-sections-pagination .current {
893 background: #7931ff;
894 color: white;
895 border-color: #7931ff;
896 }
897
898 /* Update template items to support new actions */
899 .king-addons-template-item {
900 position: relative;
901 }
902
903 .king-addons-template-item:hover .king-addons-template-item-overlay {
904 opacity: 1;
905 }
906
907 .king-addons-template-item-overlay {
908 position: absolute;
909 top: 0;
910 left: 0;
911 width: 100%;
912 height: 100%;
913 background: rgba(0, 0, 0, 0.8);
914 display: flex;
915 align-items: center;
916 justify-content: center;
917 opacity: 0;
918 transition: opacity 0.2s ease;
919 }
920
921 .king-addons-template-item-actions {
922 display: flex;
923 flex-direction: column;
924 gap: 10px;
925 align-items: center;
926 }
927
928 .king-addons-template-import-btn,
929 .king-addons-template-preview-btn {
930 padding: 8px 16px;
931 border: none;
932 border-radius: 4px;
933 font-size: 12px;
934 font-weight: 500;
935 cursor: pointer;
936 transition: all 0.2s ease;
937 text-decoration: none;
938 display: inline-block;
939 }
940
941 .king-addons-template-import-btn {
942 background: #7931ff;
943 color: white;
944 }
945
946 .king-addons-template-import-btn:hover {
947 background: #7a1ec7;
948 color: white;
949 }
950
951 .king-addons-template-preview-btn {
952 background: transparent;
953 color: white;
954 border: 1px solid white;
955 }
956
957 .king-addons-template-preview-btn:hover {
958 background: white;
959 color: #333;
960 }