Override player name colours when hovering etc

This commit is contained in:
James Lyne 2021-06-23 22:59:48 +01:00
parent d39a17d627
commit 0081dcfa3a

View File

@ -134,7 +134,7 @@ export default defineComponent({
} }
} }
&.player--other-world { &.player--other-world:not(:hover) {
.player__icon { .player__icon {
opacity: 0.5; opacity: 0.5;
} }
@ -143,5 +143,11 @@ export default defineComponent({
color: var(--text-disabled); color: var(--text-disabled);
} }
} }
&:hover, &:focus, &:active, &.player--other-world {
.player__name ::v-deep(span) {
color: inherit !important;
}
}
} }
</style> </style>