From 0081dcfa3aa7e9bdba93ce5166d55e207b0c938d Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 23 Jun 2021 22:59:48 +0100 Subject: [PATCH] Override player name colours when hovering etc --- src/components/sidebar/PlayerListItem.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/sidebar/PlayerListItem.vue b/src/components/sidebar/PlayerListItem.vue index 8467391..2d4acdf 100644 --- a/src/components/sidebar/PlayerListItem.vue +++ b/src/components/sidebar/PlayerListItem.vue @@ -134,7 +134,7 @@ export default defineComponent({ } } - &.player--other-world { + &.player--other-world:not(:hover) { .player__icon { opacity: 0.5; } @@ -143,5 +143,11 @@ export default defineComponent({ color: var(--text-disabled); } } + + &:hover, &:focus, &:active, &.player--other-world { + .player__name ::v-deep(span) { + color: inherit !important; + } + } }