fix: Dropdown focus styles

This commit is contained in:
Lucas Larroche 2022-12-29 17:59:44 +07:00
parent 477992f869
commit 4102702b05

View file

@ -126,11 +126,23 @@
}
}
// Close for details[role="list"]
&[open] summary {
&[open] {
summary {
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
&:not([role="button"]) {
&:active,
&:focus {
border-color: var(#{$}form-element-border-color);
}
}
&:focus {
box-shadow: none;
}
// Close for details[role="list"]
&::before {
display: block;
z-index: 1;
@ -145,6 +157,7 @@
}
}
}
}
// All Dropdowns inside <nav>
nav details[role="list"] summary,