338c190ae8
Enhance the navigation with a modern floating glass design, new Browse and Community dropdown links, and improved theme/blur toggles that now handle multiple instances. Update dropdown components with rounded styling and support for wider widths, refine nav-link active states, and add navigation feature tests.
29 lines
1.5 KiB
PHP
29 lines
1.5 KiB
PHP
<div class="flex w-full items-center justify-between gap-3 px-3 py-2">
|
|
<p class="cursor-default text-sm font-medium text-gray-700 dark:text-gray-300">{{ __('Blur effects') }}</p>
|
|
<label for="toggleBlur" class="relative flex cursor-pointer items-center">
|
|
<!-- input -->
|
|
<input id="toggleBlur" type="checkbox" class="sr-only" checked />
|
|
<!-- line -->
|
|
<div class="w-9 h-5 bg-rose-600 dark:bg-neutral-700 rounded-full shadow-inner">
|
|
</div>
|
|
<!-- dot -->
|
|
<div class="dot absolute w-4 h-4 bg-white dark:bg-neutral-950 rounded-full shadow left-0.5 top-0.5 transition">
|
|
<div class="flex h-full w-full items-center justify-center">
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"
|
|
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
|
|
stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-blur text-gray-600 dark:text-gray-200">
|
|
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
|
|
<path
|
|
d="M12 21a9.01 9.01 0 0 0 2.32 -.302a9 9 0 0 0 1.74 -16.733a9 9 0 1 0 -4.06 17.035z" />
|
|
<path d="M12 3v17" />
|
|
<path d="M12 12h9" />
|
|
<path d="M12 9h8" />
|
|
<path d="M12 6h6" />
|
|
<path d="M12 18h6" />
|
|
<path d="M12 15h8" />
|
|
</svg>
|
|
</div>
|
|
</div>
|
|
</label>
|
|
</div>
|