From fb6cdbd27b3797c342318a3c135b7e81c844288d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 30 Jun 2024 07:41:43 +0200 Subject: Fixes --- src/objects/_card.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/objects/_card.scss') diff --git a/src/objects/_card.scss b/src/objects/_card.scss index 1d2817d..f56a96c 100644 --- a/src/objects/_card.scss +++ b/src/objects/_card.scss @@ -123,7 +123,6 @@ @include iro.bem-multi('&:link, &:visited, &:enabled', 'modifier' 'interactive') { &:hover, - &:focus-visible, &:active { @include iro.bem-elem('image') { opacity: .75; @@ -136,8 +135,10 @@ box-shadow: none; @include iro.bem-elem('image') { - outline: fn.color(--key-focus --border) solid fn.dim(--key-focus --border); - box-shadow: 0 0 0 calc(fn.dim(--key-focus --border) + fn.dim(--key-focus --outline)) fn.color(--key-focus --outline); + outline: fn.color(--key-focus --border) solid fn.dim(--key-focus --border); + opacity: 1; + background-color: fn.color(--quiet --hover --image); + box-shadow: 0 0 0 calc(fn.dim(--key-focus --border) + fn.dim(--key-focus --outline)) fn.color(--key-focus --outline); } } } -- cgit v1.2.3-70-g09d2