From b204b1ecc429814cb22fc03ca805fc2f681a8254 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Fri, 13 Dec 2024 09:34:53 -0600 Subject: [PATCH] Remove hover style from non-controllable element The hover style indicates to the user that the currently hovered element is a clickable control. However in this case it is not a control, so removing the hover style improves UX. --- app/assets/stylesheets/blacklight/_constraints.scss | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/assets/stylesheets/blacklight/_constraints.scss b/app/assets/stylesheets/blacklight/_constraints.scss index ecbefde78b..75b179334e 100644 --- a/app/assets/stylesheets/blacklight/_constraints.scss +++ b/app/assets/stylesheets/blacklight/_constraints.scss @@ -29,13 +29,6 @@ @media (min-width: breakpoint-min(lg)) { max-width: breakpoint-min(lg) * 0.5; } - - &:hover, - &:active { - background-color: $secondary; - border-color: $secondary; - box-shadow: none; - } } .filter-name:after {