Skip to content

Commit

Permalink
Override player name colours when hovering etc
Browse files Browse the repository at this point in the history
  • Loading branch information
JLyne committed Jun 23, 2021
1 parent d39a17d commit 0081dcf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/sidebar/PlayerListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default defineComponent({
}
}
&.player--other-world {
&.player--other-world:not(:hover) {
.player__icon {
opacity: 0.5;
}
Expand All @@ -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;
}
}
}
</style>

0 comments on commit 0081dcf

Please sign in to comment.