From 6772bf611edada6717d3f1fa5404c2137af69814 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 2 Sep 2023 14:46:26 +0200 Subject: [PATCH] [Glitch] Fix wrong color on active icons with counters in web UI Port 728eb6a15387da9074ccc024c9002f74ff829470 to glitch-soc Signed-off-by: Claire --- .../glitch/styles/components/misc.scss | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/components/misc.scss b/app/javascript/flavours/glitch/styles/components/misc.scss index 5b1292eec8..b72a0a1fa2 100644 --- a/app/javascript/flavours/glitch/styles/components/misc.scss +++ b/app/javascript/flavours/glitch/styles/components/misc.scss @@ -247,20 +247,20 @@ color: lighten($lighter-text-color, 7%); background-color: transparent; } + } - &.active { + &.active { + color: $highlight-text-color; + + &:hover, + &:active, + &:focus { color: $highlight-text-color; + background-color: transparent; + } - &:hover, - &:active, - &:focus { - color: $highlight-text-color; - background-color: transparent; - } - - &.disabled { - color: lighten($highlight-text-color, 13%); - } + &.disabled { + color: lighten($highlight-text-color, 13%); } }