PluginProbe
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder / 51.1.49
King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder v51.1.49
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 / extensions / Docs_KB / assets / frontend.css

frontend.css in King Addons for Elementor – 80+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce, Mega Menu, Popup Builder 51.1.49, at includes/extensions/Docs_KB/assets/frontend.css

1,357 lines 28.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Docs & Knowledge Base - Frontend Styles
3 * Premium style inspired design with clean, modern aesthetics
4 *
5 * @package King_Addons
6 */
7
8 /* ======================================
9 CSS Variables
10 ====================================== */
11 :root {
12 --kng-docs-primary: #0066ff;
13 --kng-docs-primary-hover: #0052cc;
14 --kng-docs-bg: #f5f5f7;
15 --kng-docs-surface: #ffffff;
16 --kng-docs-text: #1d1d1f;
17 --kng-docs-text-secondary: #6e6e73;
18 --kng-docs-text-muted: #86868b;
19 --kng-docs-border: #e5e5ea;
20 --kng-docs-shadow: rgba(0, 0, 0, 0.04);
21 --kng-docs-shadow-lg: rgba(0, 0, 0, 0.08);
22 --kng-docs-radius: 16px;
23 --kng-docs-radius-sm: 12px;
24 --kng-docs-radius-xs: 8px;
25 --kng-docs-transition: 0.2s ease;
26 --kng-docs-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
27 }
28
29 /* ======================================
30 Base Page Styles
31 ====================================== */
32 .kng-docs-page {
33 font-family: var(--kng-docs-font);
34 background: var(--kng-docs-bg);
35 min-height: 100vh;
36 padding: 40px 0 80px;
37 -webkit-font-smoothing: antialiased;
38 }
39
40 .kng-docs-container {
41 max-width: 1200px;
42 margin: 0 auto;
43 padding: 0 24px;
44 }
45
46 /* ======================================
47 Hero Section
48 ====================================== */
49 .kng-docs-hero {
50 text-align: center;
51 padding: 60px 0 40px;
52 max-width: 700px;
53 margin: 0 auto;
54 }
55
56 .kng-docs-hero-title {
57 font-size: 48px;
58 font-weight: 700;
59 letter-spacing: -0.025em;
60 color: var(--kng-docs-text);
61 margin: 0 0 16px;
62 }
63
64 .kng-docs-hero-subtitle {
65 font-size: 20px;
66 color: var(--kng-docs-text-secondary);
67 margin: 0 0 32px;
68 line-height: 1.5;
69 }
70
71 /* ======================================
72 Search
73 ====================================== */
74 .kng-docs-search {
75 position: relative;
76 max-width: 600px;
77 margin: 0 auto;
78 }
79
80 .kng-docs-search-inner {
81 position: relative;
82 display: flex;
83 align-items: center;
84 }
85
86 .kng-docs-search-icon {
87 position: absolute;
88 left: 20px;
89 width: 24px;
90 height: 24px;
91 color: var(--kng-docs-text-muted);
92 pointer-events: none;
93 }
94
95 .kng-docs-search-input {
96 width: 100%;
97 height: 56px;
98 padding: 0 56px;
99 font-size: 17px;
100 font-family: var(--kng-docs-font);
101 border: none;
102 border-radius: 28px;
103 background: var(--kng-docs-surface);
104 box-shadow: 0 2px 20px var(--kng-docs-shadow-lg);
105 transition: box-shadow var(--kng-docs-transition);
106 }
107
108 .kng-docs-search-input:focus {
109 outline: none;
110 box-shadow: 0 4px 30px rgba(0, 102, 255, 0.15);
111 }
112
113 .kng-docs-search-input::placeholder {
114 color: var(--kng-docs-text-muted);
115 }
116
117 .kng-docs-search-loader {
118 position: absolute;
119 right: 20px;
120 }
121
122 .kng-docs-search-loader svg {
123 width: 24px;
124 height: 24px;
125 color: var(--kng-docs-primary);
126 animation: kng-docs-spin 1s linear infinite;
127 }
128
129 @keyframes kng-docs-spin {
130 from { transform: rotate(0deg); }
131 to { transform: rotate(360deg); }
132 }
133
134 .kng-docs-search-results {
135 position: absolute;
136 top: calc(100% + 8px);
137 left: 0;
138 right: 0;
139 background: var(--kng-docs-surface);
140 border-radius: var(--kng-docs-radius);
141 box-shadow: 0 8px 40px var(--kng-docs-shadow-lg);
142 max-height: 400px;
143 overflow-y: auto;
144 z-index: 100;
145 }
146
147 .kng-docs-search-result {
148 display: block;
149 padding: 16px 20px;
150 text-decoration: none;
151 color: inherit;
152 border-bottom: 1px solid var(--kng-docs-border);
153 transition: background var(--kng-docs-transition);
154 }
155
156 .kng-docs-search-result:last-child {
157 border-bottom: none;
158 }
159
160 .kng-docs-search-result:hover {
161 background: var(--kng-docs-bg);
162 }
163
164 .kng-docs-search-result-title {
165 font-weight: 600;
166 color: var(--kng-docs-text);
167 margin-bottom: 4px;
168 }
169
170 .kng-docs-search-result-title mark {
171 background: rgba(0, 102, 255, 0.15);
172 color: var(--kng-docs-primary);
173 padding: 0 2px;
174 border-radius: 2px;
175 }
176
177 .kng-docs-search-result-category {
178 font-size: 13px;
179 color: var(--kng-docs-text-muted);
180 }
181
182 .kng-docs-search-empty {
183 padding: 32px 20px;
184 text-align: center;
185 color: var(--kng-docs-text-secondary);
186 }
187
188 /* Category page search */
189 .kng-docs-search-category {
190 margin-bottom: 40px;
191 }
192
193 /* ======================================
194 Empty State
195 ====================================== */
196 .kng-docs-empty {
197 text-align: center;
198 padding: 80px 20px;
199 }
200
201 .kng-docs-empty svg {
202 width: 64px;
203 height: 64px;
204 color: var(--kng-docs-text-muted);
205 margin-bottom: 20px;
206 }
207
208 .kng-docs-empty h3 {
209 font-size: 20px;
210 font-weight: 600;
211 color: var(--kng-docs-text);
212 margin: 0 0 8px;
213 }
214
215 .kng-docs-empty p {
216 color: var(--kng-docs-text-secondary);
217 margin: 0;
218 }
219
220 /* ======================================
221 Categories Grid - Base
222 ====================================== */
223 .kng-docs-categories {
224 display: grid;
225 grid-template-columns: repeat(var(--kng-docs-columns, 3), 1fr);
226 gap: 24px;
227 margin-top: 40px;
228 }
229
230 @media (max-width: 992px) {
231 .kng-docs-categories {
232 grid-template-columns: repeat(2, 1fr);
233 }
234 }
235
236 @media (max-width: 640px) {
237 .kng-docs-categories {
238 grid-template-columns: 1fr;
239 }
240 }
241
242 /* ======================================
243 Layout: Box
244 ====================================== */
245 .kng-docs-category-box {
246 background: var(--kng-docs-surface);
247 border-radius: var(--kng-docs-radius);
248 padding: 24px;
249 box-shadow: 0 2px 12px var(--kng-docs-shadow);
250 transition: transform var(--kng-docs-transition), box-shadow var(--kng-docs-transition);
251 }
252
253 .kng-docs-category-box:hover {
254 transform: translateY(-4px);
255 box-shadow: 0 8px 32px var(--kng-docs-shadow-lg);
256 }
257
258 .kng-docs-category-box .kng-docs-category-header {
259 display: flex;
260 align-items: center;
261 gap: 12px;
262 margin-bottom: 16px;
263 }
264
265 .kng-docs-category-box .kng-docs-category-icon {
266 width: 40px;
267 height: 40px;
268 display: flex;
269 align-items: center;
270 justify-content: center;
271 background: linear-gradient(135deg, var(--icon-color, var(--kng-docs-primary)) 0%, color-mix(in srgb, var(--icon-color, var(--kng-docs-primary)) 80%, #5ac8fa) 100%);
272 border-radius: var(--kng-docs-radius-xs);
273 flex-shrink: 0;
274 }
275
276 .kng-docs-category-box .kng-docs-category-icon svg {
277 width: 22px;
278 height: 22px;
279 color: #fff;
280 }
281
282 .kng-docs-category-box .kng-docs-category-title {
283 flex: 1;
284 font-size: 18px;
285 font-weight: 600;
286 color: var(--kng-docs-text);
287 text-decoration: none;
288 transition: color var(--kng-docs-transition);
289 }
290
291 .kng-docs-category-box .kng-docs-category-title:hover {
292 color: var(--kng-docs-primary);
293 }
294
295 .kng-docs-category-box .kng-docs-category-count {
296 font-size: 13px;
297 font-weight: 500;
298 color: var(--kng-docs-text-muted);
299 background: var(--kng-docs-bg);
300 padding: 4px 10px;
301 border-radius: 20px;
302 }
303
304 .kng-docs-category-box .kng-docs-category-desc {
305 font-size: 14px;
306 color: var(--kng-docs-text-secondary);
307 margin: 0 0 16px;
308 line-height: 1.5;
309 }
310
311 .kng-docs-category-box .kng-docs-category-list {
312 list-style: none;
313 margin: 0;
314 padding: 0;
315 }
316
317 .kng-docs-category-box .kng-docs-category-list li {
318 margin-bottom: 8px;
319 }
320
321 .kng-docs-category-box .kng-docs-category-list a {
322 display: flex;
323 align-items: center;
324 padding: 10px 12px;
325 font-size: 14px;
326 color: var(--kng-docs-text);
327 text-decoration: none;
328 background: var(--kng-docs-bg);
329 border-radius: var(--kng-docs-radius-xs);
330 transition: background var(--kng-docs-transition), color var(--kng-docs-transition);
331 }
332
333 .kng-docs-category-box .kng-docs-category-list a:hover {
334 background: var(--kng-docs-primary);
335 color: #fff;
336 }
337
338 .kng-docs-category-more {
339 display: inline-flex;
340 align-items: center;
341 gap: 4px;
342 margin-top: 12px;
343 font-size: 14px;
344 font-weight: 500;
345 color: var(--kng-docs-primary);
346 text-decoration: none;
347 transition: gap var(--kng-docs-transition);
348 }
349
350 .kng-docs-category-more:hover {
351 gap: 8px;
352 }
353
354 .kng-docs-category-more svg {
355 width: 16px;
356 height: 16px;
357 }
358
359 /* ======================================
360 Layout: Card
361 ====================================== */
362 .kng-docs-category-card {
363 display: flex;
364 flex-direction: column;
365 align-items: center;
366 text-align: center;
367 padding: 40px 24px;
368 background: var(--kng-docs-surface);
369 border-radius: var(--kng-docs-radius);
370 text-decoration: none;
371 box-shadow: 0 2px 12px var(--kng-docs-shadow);
372 transition: transform var(--kng-docs-transition), box-shadow var(--kng-docs-transition);
373 }
374
375 .kng-docs-category-card:hover {
376 transform: translateY(-4px);
377 box-shadow: 0 12px 40px var(--kng-docs-shadow-lg);
378 }
379
380 .kng-docs-category-card .kng-docs-category-icon {
381 width: 64px;
382 height: 64px;
383 display: flex;
384 align-items: center;
385 justify-content: center;
386 background: linear-gradient(135deg, var(--icon-color, var(--kng-docs-primary)) 0%, color-mix(in srgb, var(--icon-color, var(--kng-docs-primary)) 70%, #5ac8fa) 100%);
387 border-radius: 20px;
388 margin-bottom: 20px;
389 }
390
391 .kng-docs-category-card .kng-docs-category-icon svg {
392 width: 32px;
393 height: 32px;
394 color: #fff;
395 }
396
397 .kng-docs-category-card .kng-docs-category-title {
398 font-size: 18px;
399 font-weight: 600;
400 color: var(--kng-docs-text);
401 margin-bottom: 8px;
402 }
403
404 .kng-docs-category-card .kng-docs-category-desc {
405 font-size: 14px;
406 color: var(--kng-docs-text-secondary);
407 margin-bottom: 12px;
408 line-height: 1.5;
409 }
410
411 .kng-docs-category-card .kng-docs-category-count {
412 font-size: 13px;
413 color: var(--kng-docs-text-muted);
414 }
415
416 /* ======================================
417 Layout: Modern
418 ====================================== */
419 .kng-docs-layout-modern {
420 display: flex;
421 flex-direction: column;
422 gap: 12px;
423 }
424
425 .kng-docs-category-modern {
426 display: flex;
427 align-items: center;
428 gap: 16px;
429 padding: 20px 24px;
430 background: var(--kng-docs-surface);
431 border-radius: var(--kng-docs-radius);
432 text-decoration: none;
433 box-shadow: 0 1px 4px var(--kng-docs-shadow);
434 transition: transform var(--kng-docs-transition), box-shadow var(--kng-docs-transition);
435 }
436
437 .kng-docs-category-modern:hover {
438 transform: translateX(4px);
439 box-shadow: 0 4px 16px var(--kng-docs-shadow-lg);
440 }
441
442 .kng-docs-category-modern .kng-docs-category-icon {
443 width: 56px;
444 height: 56px;
445 display: flex;
446 align-items: center;
447 justify-content: center;
448 background: linear-gradient(135deg, var(--icon-color, var(--kng-docs-primary)) 0%, color-mix(in srgb, var(--icon-color, var(--kng-docs-primary)) 70%, #5ac8fa) 100%);
449 border-radius: 16px;
450 flex-shrink: 0;
451 }
452
453 .kng-docs-category-modern .kng-docs-category-icon svg {
454 width: 28px;
455 height: 28px;
456 color: #fff;
457 }
458
459 .kng-docs-category-modern .kng-docs-category-content {
460 flex: 1;
461 }
462
463 .kng-docs-category-modern .kng-docs-category-title {
464 font-size: 17px;
465 font-weight: 600;
466 color: var(--kng-docs-text);
467 margin-bottom: 4px;
468 }
469
470 .kng-docs-category-modern .kng-docs-category-desc {
471 font-size: 14px;
472 color: var(--kng-docs-text-secondary);
473 margin-bottom: 4px;
474 line-height: 1.4;
475 }
476
477 .kng-docs-category-modern .kng-docs-category-count {
478 font-size: 13px;
479 color: var(--kng-docs-text-muted);
480 }
481
482 .kng-docs-category-modern .kng-docs-category-arrow {
483 width: 20px;
484 height: 20px;
485 color: var(--kng-docs-text-muted);
486 flex-shrink: 0;
487 }
488
489 /* ======================================
490 Breadcrumbs
491 ====================================== */
492 .kng-docs-breadcrumbs {
493 display: flex;
494 align-items: center;
495 flex-wrap: wrap;
496 gap: 8px;
497 font-size: 14px;
498 margin-bottom: 24px;
499 }
500
501 .kng-docs-breadcrumb-item {
502 display: inline-flex;
503 align-items: center;
504 gap: 6px;
505 color: var(--kng-docs-text-secondary);
506 text-decoration: none;
507 transition: color var(--kng-docs-transition);
508 }
509
510 .kng-docs-breadcrumb-item:hover {
511 color: var(--kng-docs-primary);
512 }
513
514 .kng-docs-breadcrumb-item svg {
515 width: 16px;
516 height: 16px;
517 }
518
519 .kng-docs-breadcrumb-sep {
520 color: var(--kng-docs-text-muted);
521 }
522
523 .kng-docs-breadcrumb-current {
524 color: var(--kng-docs-text);
525 font-weight: 500;
526 }
527
528 /* ======================================
529 Category Page
530 ====================================== */
531 .kng-docs-category-header-section {
532 text-align: center;
533 padding: 40px 0;
534 }
535
536 .kng-docs-category-icon-large {
537 width: 80px;
538 height: 80px;
539 display: inline-flex;
540 align-items: center;
541 justify-content: center;
542 background: linear-gradient(135deg, var(--icon-color, var(--kng-docs-primary)) 0%, color-mix(in srgb, var(--icon-color, var(--kng-docs-primary)) 70%, #5ac8fa) 100%);
543 border-radius: 24px;
544 margin-bottom: 20px;
545 }
546
547 .kng-docs-category-icon-large svg {
548 width: 40px;
549 height: 40px;
550 color: #fff;
551 }
552
553 .kng-docs-category-page-title {
554 font-size: 36px;
555 font-weight: 700;
556 letter-spacing: -0.025em;
557 color: var(--kng-docs-text);
558 margin: 0 0 12px;
559 }
560
561 .kng-docs-category-page-desc {
562 font-size: 17px;
563 color: var(--kng-docs-text-secondary);
564 margin: 0 0 12px;
565 max-width: 600px;
566 margin-left: auto;
567 margin-right: auto;
568 }
569
570 .kng-docs-category-page-count {
571 font-size: 14px;
572 color: var(--kng-docs-text-muted);
573 }
574
575 /* Subcategories */
576 .kng-docs-subcategories {
577 margin-bottom: 40px;
578 }
579
580 .kng-docs-subcategories-title {
581 font-size: 14px;
582 font-weight: 600;
583 text-transform: uppercase;
584 letter-spacing: 0.05em;
585 color: var(--kng-docs-text-muted);
586 margin: 0 0 16px;
587 }
588
589 .kng-docs-subcategories-grid {
590 display: grid;
591 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
592 gap: 16px;
593 }
594
595 .kng-docs-subcategory-card {
596 display: flex;
597 align-items: center;
598 gap: 12px;
599 padding: 16px 20px;
600 background: var(--kng-docs-surface);
601 border-radius: var(--kng-docs-radius-sm);
602 text-decoration: none;
603 box-shadow: 0 1px 4px var(--kng-docs-shadow);
604 transition: transform var(--kng-docs-transition), box-shadow var(--kng-docs-transition);
605 }
606
607 .kng-docs-subcategory-card:hover {
608 transform: translateX(4px);
609 box-shadow: 0 4px 12px var(--kng-docs-shadow-lg);
610 }
611
612 .kng-docs-subcategory-icon {
613 width: 40px;
614 height: 40px;
615 display: flex;
616 align-items: center;
617 justify-content: center;
618 background: var(--kng-docs-bg);
619 border-radius: var(--kng-docs-radius-xs);
620 flex-shrink: 0;
621 }
622
623 .kng-docs-subcategory-icon svg {
624 width: 20px;
625 height: 20px;
626 color: var(--kng-docs-primary);
627 }
628
629 .kng-docs-subcategory-content {
630 flex: 1;
631 }
632
633 .kng-docs-subcategory-name {
634 display: block;
635 font-weight: 600;
636 color: var(--kng-docs-text);
637 margin-bottom: 2px;
638 }
639
640 .kng-docs-subcategory-count {
641 font-size: 13px;
642 color: var(--kng-docs-text-muted);
643 }
644
645 .kng-docs-subcategory-arrow {
646 width: 16px;
647 height: 16px;
648 color: var(--kng-docs-text-muted);
649 flex-shrink: 0;
650 }
651
652 /* Articles List */
653 .kng-docs-articles-title {
654 font-size: 14px;
655 font-weight: 600;
656 text-transform: uppercase;
657 letter-spacing: 0.05em;
658 color: var(--kng-docs-text-muted);
659 margin: 0 0 16px;
660 }
661
662 .kng-docs-articles {
663 list-style: none;
664 margin: 0;
665 padding: 0;
666 background: var(--kng-docs-surface);
667 border-radius: var(--kng-docs-radius);
668 box-shadow: 0 2px 12px var(--kng-docs-shadow);
669 overflow: hidden;
670 }
671
672 .kng-docs-article-item {
673 border-bottom: 1px solid var(--kng-docs-border);
674 }
675
676 .kng-docs-article-item:last-child {
677 border-bottom: none;
678 }
679
680 .kng-docs-article-link {
681 display: flex;
682 align-items: center;
683 gap: 16px;
684 padding: 20px 24px;
685 text-decoration: none;
686 transition: background var(--kng-docs-transition);
687 }
688
689 .kng-docs-article-link:hover {
690 background: var(--kng-docs-bg);
691 }
692
693 .kng-docs-article-icon {
694 width: 24px;
695 height: 24px;
696 color: var(--kng-docs-primary);
697 flex-shrink: 0;
698 }
699
700 .kng-docs-article-info {
701 flex: 1;
702 }
703
704 .kng-docs-article-item-title {
705 display: block;
706 font-weight: 600;
707 color: var(--kng-docs-text);
708 margin-bottom: 4px;
709 }
710
711 .kng-docs-article-excerpt {
712 font-size: 14px;
713 color: var(--kng-docs-text-secondary);
714 }
715
716 .kng-docs-article-date {
717 font-size: 13px;
718 color: var(--kng-docs-text-muted);
719 flex-shrink: 0;
720 }
721
722 .kng-docs-article-arrow {
723 width: 16px;
724 height: 16px;
725 color: var(--kng-docs-text-muted);
726 flex-shrink: 0;
727 }
728
729 /* Pagination */
730 .kng-docs-pagination {
731 margin-top: 32px;
732 text-align: center;
733 }
734
735 .kng-docs-pagination .page-numbers {
736 display: inline-flex;
737 align-items: center;
738 justify-content: center;
739 gap: 8px;
740 list-style: none;
741 margin: 0;
742 padding: 0;
743 }
744
745 .kng-docs-pagination .page-numbers li {
746 margin: 0;
747 }
748
749 .kng-docs-pagination .page-numbers a,
750 .kng-docs-pagination .page-numbers span {
751 display: inline-flex;
752 align-items: center;
753 justify-content: center;
754 min-width: 40px;
755 height: 40px;
756 padding: 0 12px;
757 font-size: 14px;
758 font-weight: 500;
759 color: var(--kng-docs-text);
760 background: var(--kng-docs-surface);
761 border-radius: var(--kng-docs-radius-xs);
762 text-decoration: none;
763 transition: all var(--kng-docs-transition);
764 }
765
766 .kng-docs-pagination .page-numbers a:hover {
767 background: var(--kng-docs-primary);
768 color: #fff;
769 }
770
771 .kng-docs-pagination .page-numbers .current {
772 background: var(--kng-docs-primary);
773 color: #fff;
774 }
775
776 .kng-docs-pagination .page-numbers svg {
777 width: 16px;
778 height: 16px;
779 }
780
781 /* ======================================
782 Single Article
783 ====================================== */
784 .kng-docs-single-layout {
785 display: grid;
786 grid-template-columns: 1fr;
787 gap: 40px;
788 }
789
790 .kng-docs-single-layout.has-sidebar {
791 grid-template-columns: 280px 1fr;
792 }
793
794 @media (max-width: 992px) {
795 .kng-docs-single-layout.has-sidebar {
796 grid-template-columns: 1fr;
797 }
798 }
799
800 /* Sidebar */
801 .kng-docs-sidebar {
802 position: relative;
803 }
804
805 .kng-docs-sidebar-inner {
806 background: var(--kng-docs-surface);
807 border-radius: var(--kng-docs-radius);
808 padding: 24px;
809 box-shadow: 0 2px 12px var(--kng-docs-shadow);
810 }
811
812 .kng-docs-sidebar.is-sticky .kng-docs-sidebar-inner {
813 position: sticky;
814 top: 100px;
815 }
816
817 .kng-docs-sidebar-title {
818 font-size: 15px;
819 font-weight: 600;
820 color: var(--kng-docs-text);
821 margin: 0 0 16px;
822 padding-bottom: 12px;
823 border-bottom: 1px solid var(--kng-docs-border);
824 }
825
826 .kng-docs-sidebar-list {
827 list-style: none;
828 margin: 0;
829 padding: 0;
830 }
831
832 .kng-docs-sidebar-list li {
833 margin-bottom: 4px;
834 }
835
836 .kng-docs-sidebar-list a {
837 display: block;
838 padding: 10px 12px;
839 font-size: 14px;
840 color: var(--kng-docs-text-secondary);
841 text-decoration: none;
842 border-radius: var(--kng-docs-radius-xs);
843 transition: all var(--kng-docs-transition);
844 }
845
846 .kng-docs-sidebar-list a:hover {
847 color: var(--kng-docs-text);
848 background: var(--kng-docs-bg);
849 }
850
851 .kng-docs-sidebar-list li.is-current a {
852 color: var(--kng-docs-primary);
853 background: rgba(0, 102, 255, 0.08);
854 font-weight: 500;
855 }
856
857 .kng-docs-sidebar-list a {
858 display: flex;
859 justify-content: space-between;
860 align-items: center;
861 }
862
863 .kng-docs-sidebar-count {
864 font-size: 12px;
865 color: var(--kng-docs-text-muted);
866 background: var(--kng-docs-bg);
867 padding: 2px 8px;
868 border-radius: 10px;
869 }
870
871 /* Article */
872 .kng-docs-article {
873 background: var(--kng-docs-surface);
874 border-radius: var(--kng-docs-radius);
875 padding: 40px;
876 box-shadow: 0 2px 12px var(--kng-docs-shadow);
877 }
878
879 @media (max-width: 640px) {
880 .kng-docs-article {
881 padding: 24px;
882 }
883 }
884
885 .kng-docs-article-actions {
886 display: flex;
887 justify-content: flex-end;
888 margin-bottom: 20px;
889 }
890
891 .kng-docs-print-btn {
892 display: inline-flex;
893 align-items: center;
894 gap: 6px;
895 padding: 8px 16px;
896 font-size: 13px;
897 font-weight: 500;
898 color: var(--kng-docs-text-secondary);
899 background: var(--kng-docs-bg);
900 border: none;
901 border-radius: var(--kng-docs-radius-xs);
902 cursor: pointer;
903 transition: all var(--kng-docs-transition);
904 }
905
906 .kng-docs-print-btn:hover {
907 color: var(--kng-docs-text);
908 background: var(--kng-docs-border);
909 }
910
911 .kng-docs-print-btn svg {
912 width: 16px;
913 height: 16px;
914 }
915
916 .kng-docs-article-header {
917 margin-bottom: 32px;
918 }
919
920 .kng-docs-article-title {
921 font-size: 32px;
922 font-weight: 700;
923 letter-spacing: -0.025em;
924 color: var(--kng-docs-text);
925 margin: 0 0 16px;
926 line-height: 1.3;
927 }
928
929 .kng-docs-article-meta {
930 display: flex;
931 flex-wrap: wrap;
932 gap: 20px;
933 }
934
935 .kng-docs-article-date,
936 .kng-docs-article-reading {
937 display: inline-flex;
938 align-items: center;
939 gap: 6px;
940 font-size: 14px;
941 color: var(--kng-docs-text-muted);
942 }
943
944 .kng-docs-article-date svg,
945 .kng-docs-article-reading svg {
946 width: 16px;
947 height: 16px;
948 }
949
950 /* Table of Contents */
951 .kng-docs-toc {
952 background: var(--kng-docs-bg);
953 border-radius: var(--kng-docs-radius-sm);
954 padding: 20px 24px;
955 margin-bottom: 32px;
956 }
957
958 .kng-docs-toc-title {
959 display: flex;
960 align-items: center;
961 gap: 8px;
962 font-size: 14px;
963 font-weight: 600;
964 color: var(--kng-docs-text);
965 margin: 0 0 12px;
966 }
967
968 .kng-docs-toc-title svg {
969 width: 18px;
970 height: 18px;
971 }
972
973 .kng-docs-toc-list {
974 list-style: none;
975 margin: 0;
976 padding: 0;
977 }
978
979 .kng-docs-toc-item {
980 margin-bottom: 6px;
981 }
982
983 .kng-docs-toc-item a {
984 display: block;
985 padding: 6px 0;
986 font-size: 14px;
987 color: var(--kng-docs-text-secondary);
988 text-decoration: none;
989 transition: color var(--kng-docs-transition);
990 }
991
992 .kng-docs-toc-item a:hover {
993 color: var(--kng-docs-primary);
994 }
995
996 .kng-docs-toc-h3 {
997 padding-left: 16px;
998 }
999
1000 .kng-docs-toc-h4 {
1001 padding-left: 32px;
1002 }
1003
1004 /* Floating TOC */
1005 .kng-docs-toc-floating {
1006 display: none;
1007 }
1008
1009 @media (min-width: 1400px) {
1010 .kng-docs-single-layout:not(.has-sidebar) {
1011 position: relative;
1012 }
1013
1014 .kng-docs-toc-floating {
1015 display: block;
1016 position: absolute;
1017 left: calc(100% + 40px);
1018 top: 0;
1019 width: 240px;
1020 }
1021
1022 .kng-docs-toc-floating.is-sticky .kng-docs-toc-floating-inner {
1023 position: sticky;
1024 top: 100px;
1025 }
1026
1027 .kng-docs-toc-floating-inner {
1028 background: var(--kng-docs-surface);
1029 border-radius: var(--kng-docs-radius);
1030 padding: 20px;
1031 box-shadow: 0 2px 12px var(--kng-docs-shadow);
1032 }
1033
1034 .kng-docs-toc-floating .kng-docs-toc-title {
1035 font-size: 12px;
1036 text-transform: uppercase;
1037 letter-spacing: 0.05em;
1038 color: var(--kng-docs-text-muted);
1039 }
1040
1041 .kng-docs-toc-floating .kng-docs-toc-item a {
1042 font-size: 13px;
1043 }
1044 }
1045
1046 /* Article Content */
1047 .kng-docs-article-content {
1048 font-size: 16px;
1049 line-height: 1.75;
1050 color: var(--kng-docs-text);
1051 }
1052
1053 .kng-docs-article-content h2 {
1054 font-size: 24px;
1055 font-weight: 700;
1056 margin: 40px 0 20px;
1057 padding-top: 20px;
1058 color: var(--kng-docs-text);
1059 }
1060
1061 .kng-docs-article-content h3 {
1062 font-size: 20px;
1063 font-weight: 600;
1064 margin: 32px 0 16px;
1065 color: var(--kng-docs-text);
1066 }
1067
1068 .kng-docs-article-content h4 {
1069 font-size: 17px;
1070 font-weight: 600;
1071 margin: 24px 0 12px;
1072 color: var(--kng-docs-text);
1073 }
1074
1075 .kng-docs-article-content p {
1076 margin: 0 0 16px;
1077 }
1078
1079 .kng-docs-article-content a {
1080 color: var(--kng-docs-primary);
1081 text-decoration: none;
1082 }
1083
1084 .kng-docs-article-content a:hover {
1085 text-decoration: underline;
1086 }
1087
1088 .kng-docs-article-content ul,
1089 .kng-docs-article-content ol {
1090 margin: 0 0 16px;
1091 padding-left: 24px;
1092 }
1093
1094 .kng-docs-article-content li {
1095 margin-bottom: 8px;
1096 }
1097
1098 .kng-docs-article-content pre {
1099 background: #1e1e1e;
1100 color: #d4d4d4;
1101 border-radius: var(--kng-docs-radius-sm);
1102 padding: 20px;
1103 overflow-x: auto;
1104 margin: 0 0 16px;
1105 font-size: 14px;
1106 line-height: 1.6;
1107 }
1108
1109 .kng-docs-article-content code {
1110 font-family: 'SF Mono', Monaco, Consolas, monospace;
1111 font-size: 0.9em;
1112 background: var(--kng-docs-bg);
1113 padding: 2px 6px;
1114 border-radius: 4px;
1115 }
1116
1117 .kng-docs-article-content pre code {
1118 background: none;
1119 padding: 0;
1120 }
1121
1122 .kng-docs-article-content blockquote {
1123 margin: 0 0 16px;
1124 padding: 16px 20px;
1125 background: var(--kng-docs-bg);
1126 border-left: 4px solid var(--kng-docs-primary);
1127 border-radius: 0 var(--kng-docs-radius-xs) var(--kng-docs-radius-xs) 0;
1128 }
1129
1130 .kng-docs-article-content blockquote p:last-child {
1131 margin-bottom: 0;
1132 }
1133
1134 .kng-docs-article-content img {
1135 max-width: 100%;
1136 height: auto;
1137 border-radius: var(--kng-docs-radius-sm);
1138 margin: 16px 0;
1139 }
1140
1141 .kng-docs-article-content table {
1142 width: 100%;
1143 border-collapse: collapse;
1144 margin: 0 0 16px;
1145 }
1146
1147 .kng-docs-article-content th,
1148 .kng-docs-article-content td {
1149 padding: 12px;
1150 text-align: left;
1151 border-bottom: 1px solid var(--kng-docs-border);
1152 }
1153
1154 .kng-docs-article-content th {
1155 font-weight: 600;
1156 background: var(--kng-docs-bg);
1157 }
1158
1159 /* Feedback */
1160 .kng-docs-feedback {
1161 margin-top: 40px;
1162 padding-top: 32px;
1163 border-top: 1px solid var(--kng-docs-border);
1164 text-align: center;
1165 }
1166
1167 .kng-docs-feedback-question {
1168 font-size: 16px;
1169 font-weight: 500;
1170 color: var(--kng-docs-text);
1171 margin: 0 0 16px;
1172 }
1173
1174 .kng-docs-feedback-buttons {
1175 display: flex;
1176 justify-content: center;
1177 gap: 12px;
1178 }
1179
1180 .kng-docs-feedback-btn {
1181 display: inline-flex;
1182 align-items: center;
1183 gap: 8px;
1184 padding: 12px 24px;
1185 font-size: 14px;
1186 font-weight: 500;
1187 color: var(--kng-docs-text);
1188 background: var(--kng-docs-bg);
1189 border: none;
1190 border-radius: var(--kng-docs-radius-xs);
1191 cursor: pointer;
1192 transition: all var(--kng-docs-transition);
1193 }
1194
1195 .kng-docs-feedback-btn:hover {
1196 background: var(--kng-docs-border);
1197 }
1198
1199 .kng-docs-feedback-btn svg {
1200 width: 18px;
1201 height: 18px;
1202 }
1203
1204 .kng-docs-feedback-yes:hover {
1205 background: #d1fae5;
1206 color: #065f46;
1207 }
1208
1209 .kng-docs-feedback-no:hover {
1210 background: #fee2e2;
1211 color: #991b1b;
1212 }
1213
1214 .kng-docs-feedback-thanks {
1215 display: flex;
1216 align-items: center;
1217 justify-content: center;
1218 gap: 8px;
1219 font-size: 15px;
1220 color: #059669;
1221 }
1222
1223 .kng-docs-feedback-thanks svg {
1224 width: 20px;
1225 height: 20px;
1226 }
1227
1228 /* Related Articles */
1229 .kng-docs-related {
1230 margin-top: 40px;
1231 padding-top: 32px;
1232 border-top: 1px solid var(--kng-docs-border);
1233 }
1234
1235 .kng-docs-related-title {
1236 font-size: 18px;
1237 font-weight: 600;
1238 color: var(--kng-docs-text);
1239 margin: 0 0 16px;
1240 }
1241
1242 .kng-docs-related-grid {
1243 display: grid;
1244 grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
1245 gap: 12px;
1246 }
1247
1248 .kng-docs-related-item {
1249 display: flex;
1250 align-items: center;
1251 justify-content: space-between;
1252 gap: 12px;
1253 padding: 16px 20px;
1254 background: var(--kng-docs-bg);
1255 border-radius: var(--kng-docs-radius-xs);
1256 text-decoration: none;
1257 transition: all var(--kng-docs-transition);
1258 }
1259
1260 .kng-docs-related-item:hover {
1261 background: var(--kng-docs-border);
1262 }
1263
1264 .kng-docs-related-item-title {
1265 font-weight: 500;
1266 color: var(--kng-docs-text);
1267 }
1268
1269 .kng-docs-related-item svg {
1270 width: 16px;
1271 height: 16px;
1272 color: var(--kng-docs-text-muted);
1273 flex-shrink: 0;
1274 }
1275
1276 /* Navigation */
1277 .kng-docs-navigation {
1278 display: grid;
1279 grid-template-columns: 1fr 1fr;
1280 gap: 16px;
1281 margin-top: 40px;
1282 padding-top: 32px;
1283 border-top: 1px solid var(--kng-docs-border);
1284 }
1285
1286 @media (max-width: 640px) {
1287 .kng-docs-navigation {
1288 grid-template-columns: 1fr;
1289 }
1290 }
1291
1292 .kng-docs-nav-item {
1293 display: flex;
1294 align-items: center;
1295 gap: 12px;
1296 padding: 20px;
1297 background: var(--kng-docs-bg);
1298 border-radius: var(--kng-docs-radius-sm);
1299 text-decoration: none;
1300 transition: all var(--kng-docs-transition);
1301 }
1302
1303 .kng-docs-nav-item:hover {
1304 background: var(--kng-docs-border);
1305 }
1306
1307 .kng-docs-nav-item svg {
1308 width: 20px;
1309 height: 20px;
1310 color: var(--kng-docs-text-muted);
1311 flex-shrink: 0;
1312 }
1313
1314 .kng-docs-nav-next {
1315 text-align: right;
1316 justify-content: flex-end;
1317 }
1318
1319 .kng-docs-nav-label {
1320 display: block;
1321 font-size: 13px;
1322 color: var(--kng-docs-text-muted);
1323 margin-bottom: 4px;
1324 }
1325
1326 .kng-docs-nav-title {
1327 display: block;
1328 font-weight: 500;
1329 color: var(--kng-docs-text);
1330 }
1331
1332 /* ======================================
1333 Print Styles
1334 ====================================== */
1335 @media print {
1336 .kng-docs-page {
1337 background: #fff;
1338 padding: 0;
1339 }
1340
1341 .kng-docs-sidebar,
1342 .kng-docs-search,
1343 .kng-docs-breadcrumbs,
1344 .kng-docs-article-actions,
1345 .kng-docs-feedback,
1346 .kng-docs-related,
1347 .kng-docs-navigation,
1348 .kng-docs-toc-floating {
1349 display: none !important;
1350 }
1351
1352 .kng-docs-article {
1353 box-shadow: none;
1354 padding: 0;
1355 }
1356 }
1357