Now labels with the CSS class crayons-btn that wrap inputs of type file have focus states (#15368)
This commit is contained in:
parent
a0e15f7bd6
commit
9f998b470d
1 changed files with 3 additions and 1 deletions
|
|
@ -132,7 +132,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.js-focus-visible .crayons-btn.focus-visible:focus,
|
.js-focus-visible .crayons-btn.focus-visible:focus,
|
||||||
.js-focus-visible .crayons-btn.focus-visible:focus-within {
|
.js-focus-visible .crayons-btn.focus-visible:focus-within,
|
||||||
|
label[class*='crayons-btn']:focus-within // label for input[type="file"] made to look like a button as the browse... button can't be styled.
|
||||||
|
{
|
||||||
background-color: var(--bg-hover);
|
background-color: var(--bg-hover);
|
||||||
border-color: var(--border-hover);
|
border-color: var(--border-hover);
|
||||||
box-shadow: var(--shadow-hover);
|
box-shadow: var(--shadow-hover);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue