fix: align input :hover/:focus with spec (#7225)

This commit is contained in:
David Luzar 2023-11-02 16:06:26 +01:00 committed by GitHub
parent d8166d9e1d
commit a7db41c5ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@
.buttonList label:focus-within, .buttonList label:focus-within,
input:focus-visible { input:focus-visible {
outline: transparent; outline: transparent;
box-shadow: 0 0 0 2px var(--focus-highlight-color); box-shadow: 0 0 0 1px var(--color-brand-hover);
} }
.buttonList { .buttonList {
@ -537,13 +537,13 @@
&:not(:focus) { &:not(:focus) {
&:hover { &:hover {
background-color: var(--input-hover-bg-color); border-color: var(--color-brand-hover);
} }
} }
&:focus { &:focus {
outline: none; outline: none;
box-shadow: 0 0 0 2px var(--focus-highlight-color); border-color: var(--color-brand-hover);
} }
} }