From 51d955bfbecb6f8a68f0fa63a81e9cbf9154c1e9 Mon Sep 17 00:00:00 2001 From: Tim Cowlishaw Date: Tue, 29 Oct 2024 15:57:20 +0100 Subject: [PATCH] stupid esoteric keyboard focus states fixed --- app/assets/stylesheets/global.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/global.scss b/app/assets/stylesheets/global.scss index 4ff56a51..2bd8d50d 100644 --- a/app/assets/stylesheets/global.scss +++ b/app/assets/stylesheets/global.scss @@ -29,10 +29,12 @@ body{ background-color: $white; border: 3px solid $black; } - &:hover, &:active, &:focus { - background-color: $primary; - color: $black; + &:hover, &:active, &:focus, &:focus-visible { + background-color: $primary !important; + color: $black !important; + border: 3px solid $black !important; outline: none !important; + box-shadow: none !important; } }