Fix text input and select error styles on focus (https://github.com/woocommerce/woocommerce-blocks/pull/2974)
This commit is contained in:
parent
145db3ff5d
commit
339c0532f1
|
@ -29,7 +29,16 @@
|
|||
|
||||
&.has-error {
|
||||
.components-custom-select-control__button {
|
||||
border-color: $error-red;
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
border-color: $error-red;
|
||||
}
|
||||
&:focus {
|
||||
outline: 1px dotted $error-red;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -64,9 +64,15 @@
|
|||
}
|
||||
|
||||
&.has-error input {
|
||||
border-color: $error-red;
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
border-color: $error-red;
|
||||
}
|
||||
&:focus {
|
||||
outline-color: $error-red;
|
||||
outline: 1px dotted $error-red;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue