From a70cb96e22b6866fdf0479012731dbe97857dcfc Mon Sep 17 00:00:00 2001 From: CarlNation Date: Tue, 8 Feb 2022 13:45:32 -0500 Subject: [PATCH] CSR-339 correct tab / focus issue --- src/ux-components/list-button/list-button.vue | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/src/ux-components/list-button/list-button.vue b/src/ux-components/list-button/list-button.vue index d56f02d44..3256906e3 100644 --- a/src/ux-components/list-button/list-button.vue +++ b/src/ux-components/list-button/list-button.vue @@ -133,21 +133,22 @@ export default { position: static; //override bootstrap height: 0; opacity: 0; - } - &:focus-visible + label { - box-shadow: 0 0 0 2.5px $blue inset; - } - &:focus + label { - box-shadow: 0 0 0 2.5px $blue inset; - } - &:checked + label { - color: $black; - font-weight: 500; - background: $blue-100; - box-shadow: 0 0 0 1px $blue; - } - &:checked + label p:first-child { - font-weight: 500; + + &:focus-visible + label { + box-shadow: 0 0 0 2.5px $blue inset; + } + &:focus + label { + box-shadow: 0 0 0 2.5px $blue inset; + } + &:checked + label { + color: $black; + font-weight: 500; + background: $blue-100; + box-shadow: 0 0 0 1px $blue; + } + &:checked + label p:first-child { + font-weight: 500; + } } } label {