From 231f63c4bf7e89fcd585ddced452a7fe5eba49d1 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Tue, 4 Jan 2022 12:31:24 -0700 Subject: [PATCH] Adjust the focus style for the buttons --- web-svelte/src/components/SciFi-Button.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-svelte/src/components/SciFi-Button.svelte b/web-svelte/src/components/SciFi-Button.svelte index eb0bdfd..c94abaf 100644 --- a/web-svelte/src/components/SciFi-Button.svelte +++ b/web-svelte/src/components/SciFi-Button.svelte @@ -74,13 +74,14 @@ button { transition: all .6s ease; transition: opacity .3s ease; width: calc(100% - 20px); + outline: none; &:active { opacity: .2; outline: none; } - &:hover { + &:hover, &:focus { background-color: $hover-background; border-radius: 20px; color: white;