|
155 | 155 |
|
156 | 156 | <ul role="list" class="mt-2 -mx-2 space-y-1">
|
157 | 157 | <li>
|
158 |
| - <!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" --> |
159 | 158 | <RouterLink to="/models/users" class="sidebar-links">
|
160 | 159 | <span
|
161 | 160 | class="h-6 w-6 flex shrink-0 items-center justify-center border border-gray-200 rounded-lg bg-white text-[0.625rem] text-gray-400 font-medium dark:border-gray-600 group-hover:border-blue-600 group-hover:text-blue-600">U</span>
|
|
193 | 192 |
|
194 | 193 | <ul role="list" class="mt-2 -mx-2 space-y-1">
|
195 | 194 | <li>
|
196 |
| - <!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" --> |
197 | 195 | <RouterLink to="/dns" class="sidebar-links">
|
198 | 196 | <!-- <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 dark:border-gray-600 group-hover:border-blue-600 group-hover:text-blue-600">U</span> -->
|
199 | 197 | <div
|
|
203 | 201 | </li>
|
204 | 202 |
|
205 | 203 | <li>
|
206 |
| - <!-- Current: "bg-gray-50 text-blue-600", Default: "text-gray-700 hover:text-blue-600 hover:bg-gray-50" --> |
207 | 204 | <RouterLink to="/emails" class="sidebar-links">
|
208 | 205 | <!-- <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white text-gray-400 border-gray-200 dark:border-gray-600 group-hover:border-blue-600 group-hover:text-blue-600">U</span> -->
|
209 | 206 | <div
|
|
263 | 260 |
|
264 | 261 | <style scoped>
|
265 | 262 | .sidebar-links {
|
266 |
| - @apply text-blue-gray-600 dark:text-blue-gray-200 hover:text-blue-gray-800 duration-150 ease-in-out transition dark-hover:bg-gray-700 hover:bg-blue-gray-50 flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold |
| 263 | + @apply text-blue-gray-600 dark:text-blue-gray-200 hover:text-blue-gray-800 duration-150 ease-in-out transition dark-hover:bg-gray-700 hover:bg-blue-gray-50 flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold; |
| 264 | +} |
| 265 | +
|
| 266 | +/* Add styles for active state */ |
| 267 | +.router-link-active { |
| 268 | + @apply bg-blue-gray-50 text-blue-600 dark:bg-gray-700 dark:text-blue-400; |
| 269 | +} |
| 270 | +
|
| 271 | +/* Style for the icons when link is active */ |
| 272 | +.router-link-active div[class^="i-hugeicons"] { |
| 273 | + @apply text-blue-600 dark:text-blue-400; |
| 274 | +} |
| 275 | +
|
| 276 | +/* Style for the model section letters when active */ |
| 277 | +.router-link-active span.h-6 { |
| 278 | + @apply border-blue-600 text-blue-600 dark:border-blue-400 dark:text-blue-400; |
267 | 279 | }
|
268 | 280 | </style>
|
0 commit comments