From 4e5d0f0d711eb43809e7419dc89548186a4e61d0 Mon Sep 17 00:00:00 2001 From: rechen Date: Fri, 13 Jan 2023 17:40:04 -0800 Subject: [PATCH] AB#705 Fix luminosity contrast by applying double border - Remove fixed height --- src/@batch-flask/ui/buttons/button.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/@batch-flask/ui/buttons/button.scss b/src/@batch-flask/ui/buttons/button.scss index b290dba47c..a0109a4293 100644 --- a/src/@batch-flask/ui/buttons/button.scss +++ b/src/@batch-flask/ui/buttons/button.scss @@ -6,7 +6,6 @@ bl-button-group { bl-button { display: inline-block; - height: $action-btn-size; outline: none; cursor: pointer; text-align: center; @@ -42,12 +41,16 @@ bl-button { } &[type="wide"] { + border: 2px solid transparent; + &.focus-outline.focus-visible, &.focus-visible { - outline-color: rgb(39, 185, 211); + border-color: $primary-color-dark; + outline-color: white; outline-width: 2.5px; outline-style: solid; - outline-offset: -1px; + outline-offset: -4.5px; opacity: 1; + text-align: center; } }