From cb017d1006f12a4349eb387f5cf74b996c381078 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Fri, 28 Apr 2023 22:40:23 -0400 Subject: [PATCH] sidebar focus --- packages/client/src/ui/_common_/navbar.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/client/src/ui/_common_/navbar.vue b/packages/client/src/ui/_common_/navbar.vue index 4fb27a071..20c177f37 100644 --- a/packages/client/src/ui/_common_/navbar.vue +++ b/packages/client/src/ui/_common_/navbar.vue @@ -335,6 +335,7 @@ function more(ev: MouseEvent) { } &:hover, + &:focus-within, &.active { &:before { background: var(--accentLighten); @@ -428,7 +429,8 @@ function more(ev: MouseEvent) { text-overflow: ellipsis; } - &:hover { + &:hover, + &:focus-within { text-decoration: none; color: var(--navHoverFg); transition: all 0.4s ease; @@ -530,6 +532,7 @@ function more(ev: MouseEvent) { } &:hover, + &:focus-within, &.active { &:before { background: var(--accentLighten); @@ -615,6 +618,7 @@ function more(ev: MouseEvent) { } &:hover, + &:focus-within, &.active { text-decoration: none; color: var(--accent);