PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.81
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.81
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 / admin / css / admin-modern.css

admin-modern.css in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.81, at includes/admin/css/admin-modern.css

558 lines 9.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * King Addons - Modern Admin Page Styles
3 * Shared styles for admin settings pages
4 *
5 * @package King_Addons
6 */
7
8 /* Reset and base styles */
9 .ka-admin-wrap {
10 display: flex;
11 gap: 30px;
12 max-width: 1400px;
13 margin: 20px 20px 20px 0;
14 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
15 }
16
17 .ka-admin-wrap * {
18 box-sizing: border-box;
19 }
20
21 /* Main content area */
22 .ka-admin-main {
23 flex: 1;
24 min-width: 0;
25 }
26
27 .ka-admin-full {
28 max-width: 900px;
29 }
30
31 /* ========== Header ========== */
32 .ka-admin-header {
33 background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
34 color: #fff;
35 padding: 25px 30px;
36 border-radius: 12px;
37 margin-bottom: 25px;
38 display: flex;
39 align-items: center;
40 justify-content: space-between;
41 }
42
43 .ka-admin-header h1 {
44 margin: 0;
45 font-size: 24px;
46 font-weight: 600;
47 color: #fff;
48 }
49
50 .ka-admin-header-badge {
51 background: rgba(255, 255, 255, 0.2);
52 padding: 6px 14px;
53 border-radius: 20px;
54 font-size: 12px;
55 font-weight: 500;
56 }
57
58 .ka-admin-header-icon {
59 width: 48px;
60 height: 48px;
61 background: rgba(255, 255, 255, 0.2);
62 border-radius: 12px;
63 display: flex;
64 align-items: center;
65 justify-content: center;
66 margin-right: 16px;
67 }
68
69 .ka-admin-header-icon .dashicons {
70 font-size: 24px;
71 width: 24px;
72 height: 24px;
73 color: #fff;
74 }
75
76 .ka-admin-header-content {
77 display: flex;
78 align-items: center;
79 }
80
81 .ka-admin-header-text h1 {
82 margin: 0 0 4px 0;
83 }
84
85 .ka-admin-header-text p {
86 margin: 0;
87 font-size: 14px;
88 opacity: 0.9;
89 }
90
91 /* ========== Status indicator ========== */
92 .ka-status {
93 display: inline-flex;
94 align-items: center;
95 gap: 6px;
96 padding: 4px 10px;
97 border-radius: 20px;
98 font-size: 12px;
99 font-weight: 500;
100 }
101
102 .ka-status-dot {
103 width: 8px;
104 height: 8px;
105 border-radius: 50%;
106 }
107
108 .ka-status-enabled {
109 background: #dcfce7;
110 color: #166534;
111 }
112
113 .ka-status-enabled .ka-status-dot {
114 background: #22c55e;
115 }
116
117 .ka-status-disabled {
118 background: #fee2e2;
119 color: #991b1b;
120 }
121
122 .ka-status-disabled .ka-status-dot {
123 background: #ef4444;
124 }
125
126 /* ========== Cards ========== */
127 .ka-card {
128 background: #fff;
129 border-radius: 12px;
130 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
131 margin-bottom: 20px;
132 overflow: hidden;
133 }
134
135 .ka-card-header {
136 background: #f8fafc;
137 padding: 16px 24px;
138 border-bottom: 1px solid #e2e8f0;
139 display: flex;
140 align-items: center;
141 gap: 10px;
142 }
143
144 .ka-card-header h2 {
145 margin: 0;
146 font-size: 15px;
147 font-weight: 600;
148 color: #1e293b;
149 }
150
151 .ka-card-header .dashicons {
152 color: #6366f1;
153 font-size: 18px;
154 width: 18px;
155 height: 18px;
156 }
157
158 .ka-card-body {
159 padding: 20px 24px;
160 }
161
162 /* ========== Form rows ========== */
163 .ka-row {
164 display: flex;
165 align-items: flex-start;
166 padding: 14px 0;
167 border-bottom: 1px solid #f1f5f9;
168 }
169
170 .ka-row:last-child {
171 border-bottom: none;
172 }
173
174 .ka-row-label {
175 width: 200px;
176 flex-shrink: 0;
177 font-size: 13px;
178 font-weight: 500;
179 color: #475569;
180 padding-top: 8px;
181 }
182
183 .ka-row-field {
184 flex: 1;
185 }
186
187 .ka-row-field input[type="number"],
188 .ka-row-field input[type="text"],
189 .ka-row-field input[type="password"],
190 .ka-row-field input[type="url"],
191 .ka-row-field input[type="email"],
192 .ka-row-field textarea {
193 width: 100%;
194 max-width: 300px;
195 padding: 8px 12px;
196 border: 1px solid #e2e8f0;
197 border-radius: 6px;
198 font-size: 14px;
199 transition: border-color 0.2s, box-shadow 0.2s;
200 background: #fff;
201 }
202
203 .ka-row-field input:focus,
204 .ka-row-field textarea:focus {
205 outline: none;
206 border-color: #6366f1;
207 box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
208 }
209
210 .ka-row-field input:disabled,
211 .ka-row-field textarea:disabled {
212 background: #f8fafc;
213 color: #94a3b8;
214 cursor: not-allowed;
215 }
216
217 .ka-row-field select {
218 padding: 8px 12px;
219 border: 1px solid #e2e8f0;
220 border-radius: 6px;
221 font-size: 14px;
222 min-width: 200px;
223 background: #fff;
224 }
225
226 .ka-row-field select:focus {
227 outline: none;
228 border-color: #6366f1;
229 }
230
231 .ka-row-desc {
232 font-size: 12px;
233 color: #64748b;
234 margin-top: 6px;
235 line-height: 1.4;
236 }
237
238 /* ========== Toggle switch ========== */
239 .ka-toggle {
240 position: relative;
241 display: inline-flex;
242 align-items: center;
243 gap: 12px;
244 cursor: pointer;
245 }
246
247 .ka-toggle input {
248 position: absolute;
249 opacity: 0;
250 width: 0;
251 height: 0;
252 }
253
254 .ka-toggle-slider {
255 width: 44px;
256 height: 24px;
257 background: #cbd5e1;
258 border-radius: 12px;
259 position: relative;
260 transition: background 0.2s;
261 flex-shrink: 0;
262 }
263
264 .ka-toggle-slider::after {
265 content: '';
266 position: absolute;
267 top: 2px;
268 left: 2px;
269 width: 20px;
270 height: 20px;
271 background: #fff;
272 border-radius: 50%;
273 transition: transform 0.2s;
274 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
275 }
276
277 .ka-toggle input:checked + .ka-toggle-slider {
278 background: #6366f1;
279 }
280
281 .ka-toggle input:checked + .ka-toggle-slider::after {
282 transform: translateX(20px);
283 }
284
285 .ka-toggle input:disabled + .ka-toggle-slider {
286 opacity: 0.5;
287 cursor: not-allowed;
288 }
289
290 .ka-toggle-label {
291 font-size: 13px;
292 color: #64748b;
293 }
294
295 /* ========== Color picker ========== */
296 .ka-color-wrap {
297 display: flex;
298 align-items: center;
299 gap: 10px;
300 }
301
302 .ka-color-preview {
303 width: 36px;
304 height: 36px;
305 border-radius: 8px;
306 border: 2px solid #e2e8f0;
307 cursor: pointer;
308 padding: 0;
309 }
310
311 .ka-color-input {
312 max-width: 120px !important;
313 }
314
315 /* ========== Pro badge ========== */
316 .ka-pro-badge {
317 display: inline-block;
318 background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
319 color: #fff;
320 font-size: 9px;
321 font-weight: 700;
322 padding: 3px 6px;
323 border-radius: 4px;
324 text-transform: uppercase;
325 letter-spacing: 0.5px;
326 margin-left: 8px;
327 }
328
329 /* ========== Submit area ========== */
330 .ka-submit {
331 padding: 20px 24px;
332 background: #f8fafc;
333 border-top: 1px solid #e2e8f0;
334 }
335
336 .ka-submit .button-primary,
337 .ka-btn-primary {
338 background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
339 border: none;
340 padding: 10px 24px;
341 font-size: 14px;
342 font-weight: 500;
343 border-radius: 8px;
344 cursor: pointer;
345 transition: transform 0.2s, box-shadow 0.2s;
346 color: #fff;
347 }
348
349 .ka-submit .button-primary:hover,
350 .ka-btn-primary:hover {
351 transform: translateY(-1px);
352 box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
353 }
354
355 /* ========== Tabs ========== */
356 .ka-tabs {
357 display: flex;
358 gap: 4px;
359 margin-bottom: 20px;
360 background: #f8fafc;
361 padding: 4px;
362 border-radius: 10px;
363 }
364
365 .ka-tab {
366 padding: 10px 20px;
367 font-size: 13px;
368 font-weight: 500;
369 color: #64748b;
370 background: transparent;
371 border: none;
372 border-radius: 8px;
373 cursor: pointer;
374 transition: all 0.2s;
375 text-decoration: none;
376 }
377
378 .ka-tab:hover {
379 color: #1e293b;
380 background: rgba(255, 255, 255, 0.5);
381 }
382
383 .ka-tab.active,
384 .ka-tab.nav-tab-active {
385 background: #fff;
386 color: #6366f1;
387 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
388 }
389
390 .ka-tab-content {
391 display: none;
392 }
393
394 .ka-tab-content.active {
395 display: block;
396 }
397
398 /* ========== Sidebar ========== */
399 .ka-sidebar {
400 width: 320px;
401 flex-shrink: 0;
402 }
403
404 .ka-preview-card {
405 background: #fff;
406 border-radius: 12px;
407 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
408 position: sticky;
409 top: 50px;
410 }
411
412 .ka-preview-header {
413 background: #f8fafc;
414 padding: 16px 20px;
415 border-bottom: 1px solid #e2e8f0;
416 font-size: 14px;
417 font-weight: 600;
418 color: #1e293b;
419 display: flex;
420 align-items: center;
421 gap: 8px;
422 }
423
424 .ka-preview-body {
425 padding: 20px;
426 }
427
428 /* ========== Table styles ========== */
429 .ka-table {
430 width: 100%;
431 border-collapse: collapse;
432 }
433
434 .ka-table th {
435 text-align: left;
436 padding: 12px 16px;
437 background: #f8fafc;
438 font-size: 12px;
439 font-weight: 600;
440 color: #64748b;
441 text-transform: uppercase;
442 letter-spacing: 0.5px;
443 border-bottom: 1px solid #e2e8f0;
444 }
445
446 .ka-table td {
447 padding: 12px 16px;
448 border-bottom: 1px solid #f1f5f9;
449 font-size: 14px;
450 color: #1e293b;
451 }
452
453 .ka-table tr:hover td {
454 background: #fafbfc;
455 }
456
457 /* ========== Info box ========== */
458 .ka-info {
459 background: #f0f9ff;
460 border: 1px solid #bae6fd;
461 border-radius: 8px;
462 padding: 12px 16px;
463 font-size: 13px;
464 color: #0369a1;
465 margin-bottom: 16px;
466 }
467
468 .ka-info.warning {
469 background: #fffbeb;
470 border-color: #fcd34d;
471 color: #92400e;
472 }
473
474 .ka-info.success {
475 background: #f0fdf4;
476 border-color: #86efac;
477 color: #166534;
478 }
479
480 /* ========== Checkboxes grid ========== */
481 .ka-checkbox-grid {
482 display: flex;
483 flex-wrap: wrap;
484 gap: 12px;
485 }
486
487 .ka-checkbox-item {
488 display: flex;
489 align-items: center;
490 gap: 8px;
491 padding: 8px 12px;
492 background: #f8fafc;
493 border-radius: 6px;
494 font-size: 13px;
495 cursor: pointer;
496 transition: background 0.2s;
497 }
498
499 .ka-checkbox-item:hover {
500 background: #f1f5f9;
501 }
502
503 .ka-checkbox-item input[type="checkbox"] {
504 margin: 0;
505 }
506
507 /* ========== Unit suffix ========== */
508 .ka-unit {
509 color: #64748b;
510 font-size: 13px;
511 margin-left: 6px;
512 }
513
514 /* ========== Responsive ========== */
515 @media (max-width: 1200px) {
516 .ka-admin-wrap {
517 flex-direction: column;
518 }
519
520 .ka-sidebar {
521 width: 100%;
522 order: -1;
523 }
524
525 .ka-preview-card {
526 position: static;
527 }
528 }
529
530 @media (max-width: 782px) {
531 .ka-row {
532 flex-direction: column;
533 gap: 8px;
534 }
535
536 .ka-row-label {
537 width: 100%;
538 padding-top: 0;
539 }
540
541 .ka-row-field input[type="text"],
542 .ka-row-field input[type="number"],
543 .ka-row-field select {
544 max-width: 100%;
545 }
546
547 .ka-admin-header {
548 flex-direction: column;
549 gap: 16px;
550 text-align: center;
551 }
552
553 .ka-card-body {
554 padding: 16px;
555 }
556 }
557
558