@unisphere/nx 4.5.8 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/generators/add-documentation/add-documentation.d.ts.map +1 -1
  2. package/dist/generators/add-documentation/add-documentation.js +11 -0
  3. package/dist/generators/add-documentation/templates/docs/changelog/overview.md +2 -1
  4. package/dist/generators/add-documentation/templates/docs/documentations/overview.md +9 -0
  5. package/dist/generators/add-documentation/templates/docs/{api → reference}/overview.md +2 -1
  6. package/dist/generators/add-documentation/templates/docusaurus.config.ts.template +41 -24
  7. package/dist/generators/add-documentation/templates/sidebars.ts +3 -3
  8. package/dist/generators/add-documentation/templates/src/components/homepage-features/index.tsx +56 -154
  9. package/dist/generators/add-documentation/templates/src/components/homepage-start-now/index.tsx +1 -1
  10. package/dist/generators/add-documentation/templates/src/css/custom.css +223 -0
  11. package/dist/generators/add-documentation/templates/src/pages/index.tsx.template +33 -145
  12. package/dist/generators/add-documentation/templates/src/theme/Navbar/Content/index.tsx +61 -103
  13. package/dist/generators/add-documentation/templates/src/theme/Navbar/Content/styles.module.css +3 -126
  14. package/dist/migrations/4-6-0/templates/custom.css +710 -0
  15. package/dist/migrations/4-6-0/templates/navbar-content-styles.module.css +9 -0
  16. package/dist/migrations/4-6-0/templates/navbar-content.tsx +103 -0
  17. package/dist/migrations/4-6-0/templates/sidebars.ts.template +9 -0
  18. package/dist/migrations/4-6-0/update-documentation-structure.d.ts +3 -0
  19. package/dist/migrations/4-6-0/update-documentation-structure.d.ts.map +1 -0
  20. package/dist/migrations/4-6-0/update-documentation-structure.js +238 -0
  21. package/dist/migrations/4-6-1/add-documentation-workflow.d.ts +3 -0
  22. package/dist/migrations/4-6-1/add-documentation-workflow.d.ts.map +1 -0
  23. package/dist/migrations/4-6-1/add-documentation-workflow.js +49 -0
  24. package/dist/migrations/4-6-1/templates/documentation-workflow.template +68 -0
  25. package/migrations.json +27 -0
  26. package/package.json +1 -1
  27. package/dist/generators/add-documentation/templates/docs/getting-started/overview.md +0 -8
@@ -0,0 +1,710 @@
1
+ /**
2
+ * Any CSS included here will be global. The classic template
3
+ * bundles Infima by default. Infima is a CSS framework designed to
4
+ * work well for content-centric websites.
5
+ */
6
+ @import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
7
+
8
+ /* Tailwind CSS directives */
9
+ @tailwind base;
10
+ @tailwind components;
11
+ @tailwind utilities;
12
+
13
+ /* Modern Docusaurus Theme Variables */
14
+ :root {
15
+ /* Primary Colors - Modern Blue to Purple Gradient */
16
+ --ifm-color-primary: #3b82f6;
17
+ --ifm-color-primary-dark: #2563eb;
18
+ --ifm-color-primary-darker: #1d4ed8;
19
+ --ifm-color-primary-darkest: #1e40af;
20
+ --ifm-color-primary-light: #60a5fa;
21
+ --ifm-color-primary-lighter: #93c5fd;
22
+ --ifm-color-primary-lightest: #dbeafe;
23
+
24
+ /* Modern Typography */
25
+ --ifm-font-family-base: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
26
+ --ifm-font-size-base: 16px;
27
+ --ifm-line-height-base: 1.6;
28
+ --ifm-heading-font-weight: 700;
29
+ --ifm-font-weight-semibold: 600;
30
+ --ifm-font-weight-bold: 700;
31
+
32
+ /* Modern Spacing and Layout */
33
+ --ifm-spacing-horizontal: 1.5rem;
34
+ --ifm-spacing-vertical: 1.5rem;
35
+ --ifm-container-width: 1200px;
36
+ --ifm-container-width-xl: 1400px;
37
+
38
+ /* Modern Border Radius */
39
+ --ifm-border-radius: 12px;
40
+ --ifm-card-border-radius: 16px;
41
+ --ifm-button-border-radius: 12px;
42
+ --ifm-code-border-radius: 8px;
43
+
44
+ /* Modern Colors */
45
+ --ifm-background-color: #ffffff;
46
+ --ifm-background-surface-color: rgba(255, 255, 255, 0.8);
47
+ --ifm-color-content: #1f2937;
48
+ --ifm-heading-color: #111827;
49
+ --ifm-color-content-secondary: #6b7280;
50
+
51
+ /* Modern Shadows */
52
+ --ifm-global-shadow-lw: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
53
+ --ifm-global-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
54
+ --ifm-global-shadow-tl: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
55
+
56
+ /* Modern Navbar - Warp Style (two rows) */
57
+ --ifm-navbar-height: auto;
58
+ --ifm-navbar-background-color: rgba(255, 255, 255, 0.95);
59
+ --ifm-navbar-shadow: none;
60
+ --ifm-navbar-padding-horizontal: 1.5rem;
61
+ --ifm-navbar-padding-vertical: 0;
62
+
63
+ /* Modern Sidebar */
64
+ --ifm-sidebar-width: 320px;
65
+ --doc-sidebar-width: 320px;
66
+ --ifm-menu-color: #6b7280;
67
+ --ifm-menu-color-active: #1f2937;
68
+ --ifm-menu-color-background-active: rgba(59, 130, 246, 0.1);
69
+ --ifm-menu-color-background-hover: rgba(59, 130, 246, 0.05);
70
+
71
+ /* Code Blocks */
72
+ --ifm-code-font-size: 14px;
73
+ --ifm-code-background: #f8fafc;
74
+ --ifm-code-color: #1e293b;
75
+ --ifm-pre-background: #0f172a;
76
+ --ifm-pre-color: #e2e8f0;
77
+
78
+ /* Custom Properties */
79
+ --uc-border-color: #e5e7eb;
80
+ --uc-text-letter-spacing: -0.025em;
81
+ --uc-gradient-primary: linear-gradient(135deg, #3b82f6 0%, #c084fc 100%);
82
+ --uc-backdrop-blur: blur(12px);
83
+
84
+ /* Custom Purple Color Variables - Lighter Variants */
85
+ --uc-purple-50: #faf5ff;
86
+ --uc-purple-100: #f3e8ff;
87
+ --uc-purple-200: #e9d5ff;
88
+ --uc-purple-300: #d8b4fe;
89
+ --uc-purple-400: #c084fc;
90
+ --uc-purple-500: #a855f7;
91
+ --uc-purple-600: #9333ea;
92
+ --uc-purple-700: #7c3aed;
93
+ --uc-purple-800: #6b21a8;
94
+ --uc-purple-900: #581c87;
95
+ }
96
+
97
+ /* Modern Dark Mode Theme */
98
+ [data-theme='dark'] {
99
+ /* Primary Colors for Dark Mode */
100
+ --ifm-color-primary: #60a5fa;
101
+ --ifm-color-primary-dark: #3b82f6;
102
+ --ifm-color-primary-darker: #2563eb;
103
+ --ifm-color-primary-darkest: #1d4ed8;
104
+ --ifm-color-primary-light: #93c5fd;
105
+ --ifm-color-primary-lighter: #bfdbfe;
106
+ --ifm-color-primary-lightest: #dbeafe;
107
+
108
+ /* Dark Mode Colors */
109
+ --ifm-background-color: #0f172a;
110
+ --ifm-background-surface-color: rgba(15, 23, 42, 0.8);
111
+ --ifm-color-content: #e2e8f0;
112
+ --ifm-heading-color: #f8fafc;
113
+ --ifm-color-content-secondary: #94a3b8;
114
+
115
+ /* Dark Mode Navbar - Warp Style */
116
+ --ifm-navbar-background-color: rgba(15, 23, 42, 0.95);
117
+ --ifm-navbar-shadow: none;
118
+
119
+ /* Dark Mode Sidebar */
120
+ --ifm-menu-color: #94a3b8;
121
+ --ifm-menu-color-active: #f8fafc;
122
+ --ifm-menu-color-background-active: rgba(96, 165, 250, 0.15);
123
+ --ifm-menu-color-background-hover: rgba(96, 165, 250, 0.1);
124
+
125
+ /* Dark Mode Code */
126
+ --ifm-code-background: #1e293b;
127
+ --ifm-code-color: #e2e8f0;
128
+ --ifm-pre-background: #020617;
129
+ --ifm-pre-color: #f1f5f9;
130
+ --docusaurus-highlighted-code-line-bg: rgba(96, 165, 250, 0.1);
131
+
132
+ /* Custom Dark Properties */
133
+ --uc-border-color: #334155;
134
+ --uc-gradient-primary: linear-gradient(135deg, #60a5fa 0%, #a855f7 100%);
135
+ }
136
+
137
+ .navbar {
138
+ backdrop-filter: none !important;
139
+ -webkit-backdrop-filter: none !important;
140
+ }
141
+
142
+ /* Mobile overlay background */
143
+ .theme-layout-navbar.navbar-sidebar--show::before {
144
+ content: '';
145
+ position: fixed;
146
+ inset: 0;
147
+ background: rgba(0, 0, 0, 0.20);
148
+ /* Softer dimming */
149
+ backdrop-filter: blur(2px);
150
+ z-index: 1;
151
+ }
152
+
153
+ /* Mobile sidebar panel */
154
+ .navbar-sidebar {
155
+ background: rgba(255, 255, 255, 0.78) !important;
156
+ backdrop-filter: blur(14px) !important;
157
+ -webkit-backdrop-filter: blur(14px) !important;
158
+ border-right: 1px solid rgba(0, 0, 0, 0.06);
159
+ box-shadow: 4px 0 12px rgba(0, 0, 0, 0.12);
160
+ z-index: 2;
161
+ /* above overlay */
162
+ }
163
+
164
+ [data-theme='dark'] .navbar-sidebar {
165
+ background: rgba(15, 23, 42, 0.70) !important;
166
+ border-right: 1px solid rgba(255, 255, 255, 0.08);
167
+ }
168
+
169
+ .navbar-sidebar .menu__link,
170
+ .navbar-sidebar .menu__list-item {
171
+ color: var(--ifm-color-content) !important;
172
+ }
173
+
174
+ [data-theme='dark'] .navbar-sidebar .menu__link,
175
+ [data-theme='dark'] .navbar-sidebar .menu__list-item {
176
+ color: var(--ifm-color-content) !important;
177
+ }
178
+
179
+ .navbar-sidebar .menu__link--active {
180
+ background: rgba(59, 130, 246, 0.15) !important;
181
+ color: var(--ifm-color-primary) !important;
182
+ border-left: 3px solid var(--ifm-color-primary) !important;
183
+ }
184
+
185
+ .navbar-sidebar__back {
186
+ font-weight: 600;
187
+ color: var(--ifm-color-primary);
188
+ padding: 1rem;
189
+ background: transparent;
190
+ backdrop-filter: none;
191
+ }
192
+
193
+ @media (max-width: 996px) {
194
+ .navbar {
195
+ backdrop-filter: none !important;
196
+ -webkit-backdrop-filter: none !important;
197
+ }
198
+ }
199
+
200
+ body {
201
+ letter-spacing: var(--uc-text-letter-spacing);
202
+ }
203
+
204
+ .uc-button {
205
+ color: var(--ifm-color-content);
206
+ border-radius: 0.5rem;
207
+ background: #FF9DFF;
208
+ display: inline-flex;
209
+ padding: 1rem;
210
+ justify-content: center;
211
+ align-items: center;
212
+ gap: 0.5rem;
213
+ font-size: 1.125rem;
214
+ font-style: italic;
215
+ font-weight: 700;
216
+ line-height: 1rem;
217
+ text-align: center;
218
+ }
219
+
220
+ .uc-button:hover {
221
+ color: var(--ifm-color-content);
222
+ background: #E08AE0;
223
+ text-decoration: none;
224
+ }
225
+
226
+ /* Modern Docusaurus Component Overrides */
227
+
228
+ /* Global Body Styling */
229
+ body {
230
+ background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
231
+ min-height: 100vh;
232
+ }
233
+
234
+ [data-theme='dark'] body {
235
+ background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
236
+ }
237
+
238
+ /* Warp-style Navbar - two-row layout */
239
+ .navbar {
240
+ backdrop-filter: blur(8px);
241
+ -webkit-backdrop-filter: blur(8px);
242
+ border-bottom: 1px solid var(--uc-border-color);
243
+ transition: all 0.2s ease;
244
+ height: auto !important;
245
+ flex-wrap: wrap;
246
+ }
247
+
248
+ .navbar__brand {
249
+ font-weight: 700;
250
+ font-size: 1.125rem;
251
+ margin-right: 2rem;
252
+ }
253
+
254
+ .navbar__title {
255
+ font-weight: 700;
256
+ background: var(--uc-gradient-primary);
257
+ -webkit-background-clip: text;
258
+ -webkit-text-fill-color: transparent;
259
+ background-clip: text;
260
+ }
261
+
262
+ .navbar__item {
263
+ font-weight: 500;
264
+ font-size: 0.9375rem;
265
+ transition: all 0.2s ease;
266
+ }
267
+
268
+ .navbar__link {
269
+ padding: 0.5rem 0.75rem;
270
+ border-radius: 0;
271
+ }
272
+
273
+ .navbar__link:hover {
274
+ background: none;
275
+ color: var(--ifm-color-primary);
276
+ }
277
+
278
+ .navbar__link--active {
279
+ color: var(--ifm-color-primary);
280
+ font-weight: 600;
281
+ }
282
+
283
+ /* Modern Sidebar */
284
+ .theme-doc-sidebar-container {
285
+ backdrop-filter: var(--uc-backdrop-blur);
286
+ -webkit-backdrop-filter: var(--uc-backdrop-blur);
287
+ border-right: 1px solid var(--uc-border-color);
288
+ }
289
+
290
+ .menu__link {
291
+ border-radius: 12px;
292
+ margin: 2px 0;
293
+ padding: 8px 12px;
294
+ font-weight: 500;
295
+ transition: all 0.2s ease;
296
+ }
297
+
298
+ .menu__link:hover {
299
+ transform: translateX(4px);
300
+ box-shadow: var(--ifm-global-shadow-lw);
301
+ }
302
+
303
+ .menu__link--active {
304
+ background: var(--ifm-menu-color-background-active);
305
+ border-left: 3px solid var(--ifm-color-primary);
306
+ font-weight: 600;
307
+ }
308
+
309
+ .menu__list-item-collapsible {
310
+ border-radius: 12px;
311
+ margin: 4px 0;
312
+ }
313
+
314
+ .menu__caret {
315
+ transition: transform 0.2s ease;
316
+ }
317
+
318
+ /* Modern Content Area */
319
+ .main-wrapper {
320
+ background: transparent;
321
+ }
322
+
323
+ .container {
324
+ max-width: var(--ifm-container-width-xl);
325
+ }
326
+
327
+ /* Modern Cards and Content */
328
+ .card {
329
+ border-radius: var(--ifm-card-border-radius);
330
+ box-shadow: var(--ifm-global-shadow-md);
331
+ border: 1px solid var(--uc-border-color);
332
+ backdrop-filter: var(--uc-backdrop-blur);
333
+ -webkit-backdrop-filter: var(--uc-backdrop-blur);
334
+ transition: all 0.3s ease;
335
+ }
336
+
337
+ .card:hover {
338
+ transform: translateY(-2px);
339
+ box-shadow: var(--ifm-global-shadow-tl);
340
+ }
341
+
342
+ /* Modern Code Blocks */
343
+ .prism-code {
344
+ border-radius: var(--ifm-code-border-radius);
345
+ box-shadow: var(--ifm-global-shadow-md);
346
+ border: 1px solid var(--uc-border-color);
347
+ }
348
+
349
+ /* Modern Buttons */
350
+ .button {
351
+ border-radius: var(--ifm-button-border-radius);
352
+ font-weight: 600;
353
+ transition: all 0.2s ease;
354
+ box-shadow: var(--ifm-global-shadow-lw);
355
+ }
356
+
357
+ .button:hover {
358
+ transform: translateY(-1px);
359
+ box-shadow: var(--ifm-global-shadow-md);
360
+ }
361
+
362
+ .button--primary {
363
+ background: var(--uc-gradient-primary);
364
+ border: none;
365
+ }
366
+
367
+ /* Modern Pagination */
368
+ .pagination__item {
369
+ border-radius: var(--ifm-border-radius);
370
+ margin: 0 4px;
371
+ }
372
+
373
+ .pagination__item--active .pagination__link {
374
+ background: var(--uc-gradient-primary);
375
+ border: none;
376
+ }
377
+
378
+ /* Modern TOC */
379
+ .table-of-contents {
380
+ border-left: 2px solid var(--uc-border-color);
381
+ padding-left: 1rem;
382
+ }
383
+
384
+ .table-of-contents__link {
385
+ border-radius: 8px;
386
+ padding: 4px 8px;
387
+ transition: all 0.2s ease;
388
+ }
389
+
390
+ .table-of-contents__link:hover {
391
+ background: var(--ifm-menu-color-background-hover);
392
+ transform: translateX(2px);
393
+ }
394
+
395
+ .table-of-contents__link--active {
396
+ background: var(--ifm-menu-color-background-active);
397
+ color: var(--ifm-color-primary);
398
+ font-weight: 600;
399
+ }
400
+
401
+ /* Search Local – custom properties (officially supported) */
402
+ :root {
403
+ --search-local-modal-width: 480px;
404
+ --search-local-modal-width-sm: 90vw;
405
+ }
406
+
407
+ .searchBar_RVTs {
408
+ width: 100%;
409
+ }
410
+
411
+ /* Mobile sidebar search – ensure input and dropdown stay within bounds */
412
+ .navbar-sidebar .navbar__search {
413
+ width: 100%;
414
+ margin-left: 0 !important;
415
+ }
416
+
417
+ .navbar-sidebar .navbar__search-input {
418
+ width: 100% !important;
419
+ }
420
+
421
+ .navbar-sidebar .navbar__search [class*='dropdownMenu'] {
422
+ width: 100% !important;
423
+ max-width: 100% !important;
424
+ left: 0 !important;
425
+ right: 0 !important;
426
+ }
427
+
428
+ /* Modern Breadcrumbs */
429
+ .breadcrumbs {
430
+ margin-bottom: 2rem;
431
+ }
432
+
433
+ .breadcrumbs__item {
434
+ font-weight: 500;
435
+ }
436
+
437
+ .breadcrumbs__link {
438
+ border-radius: 8px;
439
+ padding: 4px 8px;
440
+ transition: all 0.2s ease;
441
+ }
442
+
443
+ .breadcrumbs__link:hover {
444
+ background: var(--ifm-menu-color-background-hover);
445
+ transform: translateY(-1px);
446
+ }
447
+
448
+ /* Modern docs page specific styles */
449
+ .modern-docs-page {
450
+ --ifm-navbar-height: 0px;
451
+ }
452
+
453
+ .modern-docs-page .navbar {
454
+ display: none;
455
+ }
456
+
457
+ .modern-docs-page * {
458
+ box-sizing: border-box;
459
+ }
460
+
461
+ /* Image backgrounds for dark mode - Unisphere for Dummies */
462
+ [data-theme='dark'] img[src*="assets/images/"] {
463
+ background: rgba(255, 255, 255, 0.95);
464
+ border-radius: 12px;
465
+ padding: 1rem;
466
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
467
+ }
468
+
469
+
470
+ [data-theme='dark'] img[src*="assets/images/"]:hover {
471
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
472
+ }
473
+
474
+ /* ============================================
475
+ SIDEBAR STYLING - INNGEST STYLE
476
+ ============================================ */
477
+
478
+ /* Reset Docusaurus defaults for sidebar */
479
+ .theme-doc-sidebar-container .menu {
480
+ padding: 0.5rem !important;
481
+ }
482
+
483
+ .theme-doc-sidebar-container .menu__list {
484
+ margin: 0 !important;
485
+ }
486
+
487
+ /* Section Headers (uppercase, gray, non-clickable) */
488
+ .sidebar-section-header > .menu__link {
489
+ text-transform: uppercase !important;
490
+ font-size: 0.6875rem !important;
491
+ font-weight: 700 !important;
492
+ color: #9ca3af !important;
493
+ letter-spacing: 0.075em !important;
494
+ pointer-events: none !important;
495
+ padding: 0.375rem 0.75rem 0.375rem 0.75rem !important;
496
+ cursor: default !important;
497
+ margin-bottom: 0.5rem !important;
498
+ background: transparent !important;
499
+ border-left: none !important;
500
+ border-radius: 0 !important;
501
+ }
502
+
503
+ /* Add margin-top to all section headers except the first */
504
+ .sidebar-section-header {
505
+ margin-top: 1.5rem !important;
506
+ }
507
+
508
+ /* First section header should have minimal top margin */
509
+ .sidebar-section-header:first-of-type {
510
+ margin-top: 0.25rem !important;
511
+ }
512
+
513
+ .sidebar-section-header > .menu__link:hover {
514
+ background: transparent !important;
515
+ transform: none !important;
516
+ color: #9ca3af !important;
517
+ }
518
+
519
+ /* Ensure section headers never get active styles */
520
+ .sidebar-section-header > .menu__link--active,
521
+ .sidebar-section-header > .menu__link--active:hover {
522
+ background: transparent !important;
523
+ color: #9ca3af !important;
524
+ border-left: none !important;
525
+ font-weight: 700 !important;
526
+ box-shadow: none !important;
527
+ }
528
+
529
+ [data-theme='dark'] .sidebar-section-header > .menu__link {
530
+ color: #6b7280 !important;
531
+ }
532
+
533
+ [data-theme='dark'] .sidebar-section-header > .menu__link:hover,
534
+ [data-theme='dark'] .sidebar-section-header > .menu__link--active,
535
+ [data-theme='dark'] .sidebar-section-header > .menu__link--active:hover {
536
+ color: #6b7280 !important;
537
+ background: transparent !important;
538
+ border-left: none !important;
539
+ }
540
+
541
+ /* Hide caret for section headers */
542
+ .sidebar-section-header > .menu__link .menu__caret {
543
+ display: none !important;
544
+ }
545
+
546
+ /* All menu links - Inngest base styling */
547
+ .theme-doc-sidebar-container .menu__link {
548
+ border-radius: 8px !important;
549
+ margin: 4px 0 !important;
550
+ padding: 0.625rem 0.75rem !important;
551
+ font-weight: 400 !important;
552
+ font-size: 0.9375rem !important;
553
+ line-height: 1.4 !important;
554
+ color: #1f2937 !important;
555
+ transition: all 0.15s ease !important;
556
+ border-left: 3px solid transparent !important;
557
+ background: transparent !important;
558
+ }
559
+
560
+ [data-theme='dark'] .theme-doc-sidebar-container .menu__link {
561
+ color: #d1d5db !important;
562
+ }
563
+
564
+ /* Hover state */
565
+ .theme-doc-sidebar-container .menu__link:hover:not(.sidebar-section-header > .menu__link) {
566
+ background: #f3f4f6 !important;
567
+ transform: none !important;
568
+ box-shadow: none !important;
569
+ color: #111827 !important;
570
+ }
571
+
572
+ [data-theme='dark'] .theme-doc-sidebar-container .menu__link:hover:not(.sidebar-section-header > .menu__link) {
573
+ background: #1f2937 !important;
574
+ color: #f3f4f6 !important;
575
+ }
576
+
577
+ /* Active menu item - light blue background */
578
+ .theme-doc-sidebar-container .menu__link--active {
579
+ background: #dbeafe !important;
580
+ border-left: 3px solid transparent !important;
581
+ color: #0c4a6e !important;
582
+ font-weight: 500 !important;
583
+ border-radius: 8px !important;
584
+ box-shadow: none !important;
585
+ }
586
+
587
+ [data-theme='dark'] .theme-doc-sidebar-container .menu__link--active {
588
+ background: #1e3a8a !important;
589
+ border-left-color: transparent !important;
590
+ color: #93c5fd !important;
591
+ }
592
+
593
+ /* Active hover state */
594
+ .theme-doc-sidebar-container .menu__link--active:hover {
595
+ background: #bfdbfe !important;
596
+ color: #0c4a6e !important;
597
+ }
598
+
599
+ [data-theme='dark'] .theme-doc-sidebar-container .menu__link--active:hover {
600
+ background: #1e40af !important;
601
+ color: #bfdbfe !important;
602
+ }
603
+
604
+ /* Nested items */
605
+ .theme-doc-sidebar-container .menu__list .menu__list .menu__link {
606
+ font-size: 0.875rem !important;
607
+ color: #4b5563 !important;
608
+ padding-left: 1.5rem !important;
609
+ margin: 2px 0 !important;
610
+ }
611
+
612
+ [data-theme='dark'] .theme-doc-sidebar-container .menu__list .menu__list .menu__link {
613
+ color: #9ca3af !important;
614
+ }
615
+
616
+ /* Category caret - reduced size */
617
+ .theme-doc-sidebar-container .menu__caret {
618
+ transition: transform 0.2s ease !important;
619
+ transform: scale(0.75) !important;
620
+ }
621
+
622
+ .theme-doc-sidebar-container .menu__list-item-collapsible--active .menu__caret {
623
+ transform: scale(0.75) rotate(90deg) !important;
624
+ }
625
+
626
+ /* Remove default transforms */
627
+ .theme-doc-sidebar-container .menu__link:hover {
628
+ transform: none !important;
629
+ }
630
+
631
+ .theme-doc-sidebar-container .menu__list-item-collapsible:hover {
632
+ background: transparent !important;
633
+ }
634
+
635
+ /* ============================================
636
+ SIDEBAR SCROLLING FIX
637
+ ============================================ */
638
+
639
+ /* Ensure sidebar container uses flexbox for proper height calculation */
640
+ .theme-doc-sidebar-container {
641
+ display: flex;
642
+ flex-direction: column;
643
+ height: 100%;
644
+ }
645
+
646
+ /* Make sidebar menu scrollable within viewport */
647
+ .theme-doc-sidebar-container .menu {
648
+ flex: 1;
649
+ overflow-y: auto;
650
+ overflow-x: hidden;
651
+ max-height: calc(100vh - var(--ifm-navbar-height) - 2rem);
652
+ padding-bottom: 6rem !important;
653
+ scroll-behavior: smooth;
654
+ }
655
+
656
+ /* Custom scrollbar styling for better aesthetics */
657
+ .theme-doc-sidebar-container .menu::-webkit-scrollbar {
658
+ width: 6px;
659
+ }
660
+
661
+ .theme-doc-sidebar-container .menu::-webkit-scrollbar-track {
662
+ background: transparent;
663
+ }
664
+
665
+ .theme-doc-sidebar-container .menu::-webkit-scrollbar-thumb {
666
+ background: #d1d5db;
667
+ border-radius: 3px;
668
+ }
669
+
670
+ .theme-doc-sidebar-container .menu::-webkit-scrollbar-thumb:hover {
671
+ background: #9ca3af;
672
+ }
673
+
674
+ [data-theme='dark'] .theme-doc-sidebar-container .menu::-webkit-scrollbar-thumb {
675
+ background: #4b5563;
676
+ }
677
+
678
+ [data-theme='dark'] .theme-doc-sidebar-container .menu::-webkit-scrollbar-thumb:hover {
679
+ background: #6b7280;
680
+ }
681
+
682
+ /* Responsive Design */
683
+ @media (max-width: 996px) {
684
+ .navbar__item {
685
+ padding: 0.5rem;
686
+ }
687
+
688
+ .menu__link {
689
+ padding: 12px 16px;
690
+ }
691
+
692
+ [data-theme='dark'] img[src*="assets/images/"] {
693
+ padding: 0.75rem;
694
+ }
695
+
696
+ /* Mobile sidebar scrolling fix */
697
+ .navbar-sidebar {
698
+ max-height: 100vh;
699
+ overflow-y: auto !important;
700
+ }
701
+
702
+ .navbar-sidebar .menu {
703
+ padding-bottom: 6rem !important;
704
+ }
705
+
706
+ /* Hide search in mobile header */
707
+ .navbar__search {
708
+ display: none !important;
709
+ }
710
+ }
@@ -0,0 +1,9 @@
1
+ @media (max-width: 996px) {
2
+ .colorModeToggle {
3
+ display: none;
4
+ }
5
+ }
6
+
7
+ :global(.navbar__items--right) > :last-child {
8
+ padding-right: 0;
9
+ }