|
8 | 8 | } |
9 | 9 |
|
10 | 10 | .main-content-collapsed-sidebar { |
11 | | - @apply lg:pl-20 transition-all duration-300; |
| 11 | + @apply lg:pl-20 transition-all duration-300 ease-in-out; |
12 | 12 | } |
13 | 13 |
|
14 | 14 | .main-content-open-sidebar { |
15 | | - @apply lg:pl-80 transition-all duration-300; |
| 15 | + @apply lg:pl-64 transition-all duration-300 ease-in-out; |
16 | 16 | } |
17 | 17 |
|
18 | 18 | .topbar { |
19 | 19 | @apply fixed top-0 z-40 flex h-16 shrink-0 items-center gap-x-4 border-b bg-background -mx-8 sm:-mx-10 lg:-mx-12 shadow-sm w-full; |
20 | 20 | } |
21 | 21 |
|
22 | 22 | .mobile-menu-button { |
23 | | - @apply lg:hidden; |
| 23 | + @apply fixed left-4 top-4 z-50 lg:hidden h-9 w-9 p-0 flex items-center justify-center; |
24 | 24 | } |
25 | 25 |
|
26 | 26 | .desktop-collapse-button { |
27 | | - @apply hidden lg:flex; |
| 27 | + @apply hidden lg:flex absolute -right-4 top-3 h-6 w-6 items-center justify-center rounded-full z-50 translate-x-1/2; |
28 | 28 | } |
29 | 29 |
|
30 | 30 | .icon-button { |
31 | | - @apply h-6 w-6 transition-transform duration-200; |
| 31 | + @apply h-4 w-4 transition-transform duration-200; |
32 | 32 | } |
33 | 33 |
|
34 | 34 | .separator { |
|
52 | 52 | } |
53 | 53 |
|
54 | 54 | .sidebar-container { |
55 | | - @apply flex grow flex-col h-full; |
| 55 | + @apply flex grow flex-col gap-4 h-full py-2; |
56 | 56 | } |
57 | 57 |
|
58 | 58 | .sidebar-content { |
59 | 59 | @apply flex flex-col h-full justify-between; |
60 | 60 | } |
61 | 61 |
|
62 | 62 | .sidebar-nav { |
63 | | - @apply flex flex-col gap-y-5 w-full; |
| 63 | + @apply flex flex-col gap-1 w-full; |
64 | 64 | } |
65 | 65 |
|
66 | 66 | .sidebar-header { |
67 | | - @apply flex h-16 shrink-0 items-center; |
| 67 | + @apply flex h-16 items-center px-6 mb-2; |
| 68 | +} |
| 69 | + |
| 70 | +.sidebar-logo-container { |
| 71 | + @apply w-6 h-6 flex items-center justify-center shrink-0; |
68 | 72 | } |
69 | 73 |
|
70 | 74 | .sidebar-logo { |
71 | | - @apply h-8 w-8; |
| 75 | + @apply h-6 w-6; |
72 | 76 | } |
73 | 77 |
|
74 | 78 | .sidebar-title { |
75 | | - @apply ml-4 text-lg font-semibold transition-opacity duration-200; |
| 79 | + @apply ml-2 text-lg font-medium text-foreground; |
76 | 80 | } |
77 | 81 |
|
78 | 82 | .sidebar-nav-list { |
79 | | - @apply flex flex-1 flex-col; |
| 83 | + @apply flex flex-1 flex-col px-4; |
80 | 84 | } |
81 | 85 |
|
82 | 86 | .sidebar-nav-items { |
83 | | - @apply flex flex-1 flex-col gap-y-7; |
| 87 | + @apply flex flex-1 flex-col gap-1; |
84 | 88 | } |
85 | 89 |
|
86 | 90 | .sidebar-nav-link { |
87 | | - @apply flex items-center gap-x-3 rounded-md px-2 py-2 text-sm font-semibold leading-6 transition-all duration-200 m-2; |
| 91 | + @apply flex items-center gap-x-3 rounded-md px-3 py-2 text-sm text-muted-foreground font-medium transition-colors hover:bg-accent hover:text-accent-foreground; |
88 | 92 | } |
89 | 93 |
|
90 | 94 | .sidebar-nav-link-active { |
91 | | - @apply bg-accent hover:rounded-md; |
| 95 | + @apply bg-accent/50 text-foreground; |
92 | 96 | } |
93 | 97 |
|
94 | 98 | .sidebar-nav-link-hover { |
95 | | - @apply hover:bg-accent; |
| 99 | + @apply hover:bg-accent hover:text-accent-foreground; |
96 | 100 | } |
97 | 101 |
|
98 | 102 | .sidebar-icon { |
99 | | - @apply h-6 w-6 shrink-0 transition-transform duration-200; |
| 103 | + @apply h-4 w-4 shrink-0 opacity-70; |
100 | 104 | } |
101 | 105 |
|
102 | 106 | .sidebar-footer { |
|
109 | 113 |
|
110 | 114 | /* Mobile Sidebar */ |
111 | 115 | .sidebar-mobile { |
112 | | - @apply fixed inset-y-0 left-0 flex w-[280px] flex-col border-r bg-background p-0; |
| 116 | + @apply fixed inset-y-0 left-0 flex w-[280px] flex-col bg-background p-0 shadow-lg; |
113 | 117 | } |
114 | 118 |
|
115 | 119 | .sidebar-mobile-header { |
116 | | - @apply p-4 border-b; |
| 120 | + @apply flex h-16 items-center px-6 border-b border-border; |
117 | 121 | } |
118 | 122 |
|
119 | 123 | .sidebar-mobile-title { |
120 | | - @apply flex items-center gap-2; |
| 124 | + @apply flex items-center gap-3; |
121 | 125 | } |
122 | 126 |
|
123 | 127 | .sidebar-mobile-close-btn { |
124 | 128 | @apply top-4 right-4 h-8 w-8; |
125 | 129 | } |
126 | 130 |
|
127 | 131 | .sidebar-mobile-content { |
128 | | - @apply flex-1 overflow-hidden px-4 py-2; |
| 132 | + @apply flex-1 overflow-y-auto px-4 py-2; |
129 | 133 | } |
130 | 134 |
|
131 | | -/* Desktop Sidebar */ |
132 | | -.sidebar-desktop { |
133 | | - @apply hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:flex-col border-r bg-background transition-all duration-300 ease-in-out transform-gpu; |
| 135 | +.sidebar-mobile-logo-container { |
| 136 | + @apply w-6 h-6 flex items-center justify-center shrink-0; |
134 | 137 | } |
135 | 138 |
|
136 | | -.sidebar-desktop-collapsed { |
137 | | - @apply lg:w-20 pt-6 items-center gap-y-4; |
| 139 | +.sidebar-mobile-name { |
| 140 | + @apply text-lg font-medium text-foreground; |
138 | 141 | } |
139 | 142 |
|
140 | | -.sidebar-desktop-collapsed .sidebar-header { |
141 | | - @apply justify-center items-center; |
| 143 | +/* Desktop Sidebar */ |
| 144 | +.sidebar-desktop { |
| 145 | + @apply hidden lg:flex fixed left-0 top-0 h-full flex-col bg-muted/50 transition-all duration-300 ease-in-out z-30 border-r border-border; |
142 | 146 | } |
143 | 147 |
|
144 | | -.sidebar-desktop-expanded { |
145 | | - @apply lg:w-80; |
| 148 | +.sidebar-desktop-collapsed { |
| 149 | + width: 80px; |
146 | 150 | } |
147 | 151 |
|
148 | | -.sidebar-desktop-expanded .desktop-collapse-button { |
149 | | - @apply fixed top-6 right-2; |
| 152 | +.sidebar-desktop-expanded { |
| 153 | + width: 256px; |
150 | 154 | } |
151 | 155 |
|
152 | 156 | .sidebar-desktop-content { |
153 | | - @apply flex-1 overflow-hidden px-4 py-2; |
| 157 | + @apply flex-1 overflow-hidden px-2 py-2; |
154 | 158 | } |
155 | 159 |
|
156 | 160 | .loading-container { |
|
560 | 564 | @apply text-muted-foreground; |
561 | 565 | } |
562 | 566 |
|
563 | | -.markdown-container { |
564 | | - @apply w-full; |
565 | | -} |
566 | | - |
567 | | -.markdown-card-variant-default { |
568 | | - @apply bg-card; |
569 | | -} |
570 | | - |
571 | | -.markdown-card-variant-outline { |
572 | | - @apply border rounded-lg; |
573 | | -} |
574 | | - |
575 | | -.markdown-card-variant-ghost { |
576 | | - @apply bg-transparent border-none shadow-none; |
577 | | -} |
578 | | - |
579 | | -.markdown-card-content { |
580 | | - @apply prose prose-sm md:prose-base lg:prose-lg dark:prose-invert max-w-none; |
581 | | -} |
582 | | - |
583 | | -.markdown-headings { |
584 | | - @apply prose-headings:scroll-m-20; |
585 | | -} |
586 | | - |
587 | | -.markdown-paragraph { |
588 | | - @apply prose-p:leading-7; |
589 | | -} |
590 | | - |
591 | | -.markdown-list { |
592 | | - @apply prose-li:marker:text-muted-foreground; |
593 | | -} |
594 | | - |
595 | | -.markdown-pre { |
596 | | - @apply prose-pre:p-0 prose-pre:bg-transparent prose-pre:shadow-lg; |
597 | | -} |
598 | | - |
599 | | -.markdown-code { |
600 | | - @apply prose-code:text-zinc-900 dark:prose-code:text-zinc-100; |
601 | | -} |
602 | | - |
603 | | -.markdown-padding { |
604 | | - @apply p-0; |
605 | | -} |
606 | | - |
607 | | -.markdown-heading-1 { |
608 | | - @apply scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl; |
609 | | -} |
610 | | - |
611 | | -.markdown-heading-2 { |
612 | | - @apply scroll-m-20 pb-2 text-3xl font-semibold tracking-tight first:mt-0; |
613 | | -} |
614 | | - |
615 | | -.markdown-heading-3 { |
616 | | - @apply scroll-m-20 text-2xl font-semibold tracking-tight; |
617 | | -} |
618 | | - |
619 | | -.markdown-link { |
620 | | - @apply font-medium text-primary underline underline-offset-4; |
621 | | -} |
622 | | - |
623 | | -.markdown-pre-wrapper { |
624 | | - @apply mb-2 mt-2 overflow-x-auto rounded-lg bg-zinc-950 dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 p-4 shadow-sm; |
625 | | -} |
626 | | - |
627 | | -.markdown-inline-code { |
628 | | - @apply relative rounded px-[0.3rem] py-[0.2rem] font-mono text-sm bg-zinc-100 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-100 whitespace-normal inline-block; |
629 | | -} |
630 | | - |
631 | | -.markdown-code-lang { |
632 | | - @apply absolute right-2 top-2 z-10 rounded-md bg-zinc-700 px-2 py-1 text-xs font-medium text-zinc-200; |
633 | | -} |
634 | | - |
635 | | -.markdown-blockquote { |
636 | | - @apply mt-2 border-l-2 pl-6 italic; |
637 | | -} |
638 | | - |
639 | | -.markdown-ul { |
640 | | - @apply my-2 ml-6 list-disc [&>li]:mt-2; |
641 | | -} |
642 | | - |
643 | | -.markdown-ol { |
644 | | - @apply my-2 ml-6 list-decimal [&>li]:mt-2; |
645 | | -} |
646 | | - |
647 | | -.markdown-table-wrapper { |
648 | | - @apply my-4 w-full overflow-y-auto; |
649 | | -} |
650 | | - |
651 | | -.markdown-table { |
652 | | - @apply w-full; |
653 | | -} |
654 | | - |
655 | | -.markdown-th { |
656 | | - @apply border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right; |
657 | | -} |
658 | | - |
659 | | -.markdown-td { |
660 | | - @apply border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right; |
661 | | -} |
662 | | - |
663 | 567 | .image-widget-container { |
664 | 568 | @apply overflow-hidden; |
665 | 569 | } |
|
832 | 736 | .dag-visualizer-tooltip-content { |
833 | 737 | @apply text-xs; |
834 | 738 | } |
| 739 | + |
| 740 | +/* Platform/Section Headers in Sidebar */ |
| 741 | +.sidebar-section-header { |
| 742 | + @apply px-2 py-4 text-xs font-medium text-muted-foreground/70 uppercase tracking-wider; |
| 743 | +} |
0 commit comments