mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-05-05 05:48:11 +00:00
Feat: Misc improvements (#107)
* Expand SCSS variables for improved theming * Redesign 404 page with dynamic movie quotes * Add password generator page * Add missing Plex authentication page * Improve torrent table and torrents page * Enhance toast notification component * Enhance popup components * Refine UI components and remove DarkmodeToggle * Add user profile component for settings * Update autocomplete dropdown component * Update register page * Redesign signin and register pages with improved UX * Improve torrent table with sort toggle and highlight colors * eslint & prettier fixes
This commit is contained in:
@@ -2,8 +2,12 @@
|
||||
<li
|
||||
class="sidebar-list-element"
|
||||
:class="{ active, disabled }"
|
||||
:tabindex="disabled ? -1 : 0"
|
||||
role="button"
|
||||
:aria-disabled="disabled"
|
||||
@click="emit('click')"
|
||||
@keydown.enter="emit('click')"
|
||||
@keydown.enter.prevent="emit('click')"
|
||||
@keydown.space.prevent="emit('click')"
|
||||
>
|
||||
<slot></slot>
|
||||
</li>
|
||||
@@ -53,8 +57,10 @@
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.active {
|
||||
color: var(--text-color);
|
||||
outline: none;
|
||||
|
||||
div > svg,
|
||||
svg {
|
||||
@@ -63,6 +69,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
&:focus-visible {
|
||||
outline: 2px solid var(--highlight-color);
|
||||
outline-offset: 2px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
&.active > div > svg,
|
||||
&.active > svg {
|
||||
fill: var(--highlight-color);
|
||||
|
||||
Reference in New Issue
Block a user