From d9e40710de13737922b343218a2e03dd4cb26072 Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Mon, 28 Nov 2022 13:45:19 +0100 Subject: [PATCH] add `&:focus:hover` and `&:focus-within:hover` background color for history items --- client/src/style/scss/base.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/client/src/style/scss/base.scss b/client/src/style/scss/base.scss index f33f4729905..4da3950f752 100644 --- a/client/src/style/scss/base.scss +++ b/client/src/style/scss/base.scss @@ -421,12 +421,17 @@ $galaxy-state-bg: ( background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 50%); &:hover { - background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 60%); + background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 66%); } &:focus, &:focus-within { - background-color: scale-color(map-get($galaxy-state-bg, $state), $lightness: -10%); + background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 33%); + } + + &:focus:hover, + &:focus-within:hover { + background-color: change-color(map-get($galaxy-state-bg, $state), $alpha: 0.4, $lightness: 40%); } &.selected {