From 5c6ff625302b975edcd9f1b6bebb31c490bcda8d Mon Sep 17 00:00:00 2001 From: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com> Date: Mon, 22 Jan 2024 12:01:50 -0800 Subject: [PATCH] Fix Join call button in conversation header hover/focus styles --- stylesheets/components/ConversationHeader.scss | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/stylesheets/components/ConversationHeader.scss b/stylesheets/components/ConversationHeader.scss index c8bd74980c9d..1026ca8b00d4 100644 --- a/stylesheets/components/ConversationHeader.scss +++ b/stylesheets/components/ConversationHeader.scss @@ -278,10 +278,19 @@ width: $icon-size; } - // Override hover state coming from __button above. - &:hover, - &:focus { - background-color: darken($background, 16%); + &:not(:disabled) { + // Override hover state coming from __button above. + &:hover { + @include any-theme { + background-color: darken($background, 16%); + } + } + + &:focus { + @include keyboard-mode { + background-color: darken($background, 16%); + } + } } } }