diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-11 23:11:28 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-11 23:11:28 +0200 |
| commit | 98f972e557047a626880692189fdae68269a732e (patch) | |
| tree | 398d38fc7a5712e9ba9613d008b0d250136aa35e /src/components/navigation | |
| parent | 9ec61d0f0a26369196d9e9b4ac62f4a5b3c38ce1 (diff) | |
menu-item improvements
Diffstat (limited to 'src/components/navigation')
| -rw-r--r-- | src/components/navigation/navigation_entry.vue | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/components/navigation/navigation_entry.vue b/src/components/navigation/navigation_entry.vue index 411ca536..59722f6c 100644 --- a/src/components/navigation/navigation_entry.vue +++ b/src/components/navigation/navigation_entry.vue @@ -1,7 +1,6 @@ <template> <OptionalRouterLink v-slot="{ isActive, href, navigate } = {}" - ass="ass" :to="routeTo" > <li @@ -96,40 +95,5 @@ margin-right: -0.8em; } } - - &:hover { - background-color: $fallback--lightBg; - background-color: var(--selectedMenu, $fallback--lightBg); - color: $fallback--link; - color: var(--selectedMenuText, $fallback--link); - - --faint: var(--selectedMenuFaintText, $fallback--faint); - --faintLink: var(--selectedMenuFaintLink, $fallback--faint); - --lightText: var(--selectedMenuLightText, $fallback--lightText); - - .menu-icon { - --icon: var(--text, $fallback--icon); - } - } - - &.-active { - font-weight: bolder; - background-color: $fallback--lightBg; - background-color: var(--selectedMenu, $fallback--lightBg); - color: $fallback--text; - color: var(--selectedMenuText, $fallback--text); - - --faint: var(--selectedMenuFaintText, $fallback--faint); - --faintLink: var(--selectedMenuFaintLink, $fallback--faint); - --lightText: var(--selectedMenuLightText, $fallback--lightText); - - .menu-icon { - --icon: var(--text, $fallback--icon); - } - - &:hover { - text-decoration: underline; - } - } } </style> |
