fix: align input :hover
/:focus
with spec (#7225)
This commit is contained in:
parent
d8166d9e1d
commit
a7db41c5ba
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user