Hotfix for multiple dropdowns
This commit is contained in:
parent
ce16809a33
commit
84e49393d7
3 changed files with 10 additions and 7 deletions
|
@ -1273,12 +1273,14 @@ img.thumb {
|
|||
*/
|
||||
.nav .link.dropdown {
|
||||
cursor: pointer; }
|
||||
.nav input[type="checkbox"].dropdown + div {
|
||||
.nav input[type="checkbox"], .nav input[type="radio"] {
|
||||
display: none; }
|
||||
.nav input[type="checkbox"]:checked.dropdown + div {
|
||||
display: block;
|
||||
font-size: 0.8em;
|
||||
margin-left: 20px; }
|
||||
.nav input[type="checkbox"].dropdown + div, .nav input[type="radio"].dropdown + div {
|
||||
display: none; }
|
||||
.nav input[type="checkbox"]:checked.dropdown + div, .nav input[type="radio"]:checked.dropdown + div {
|
||||
display: block;
|
||||
font-size: 0.8em;
|
||||
margin-left: 20px; }
|
||||
|
||||
/*
|
||||
Mixin for collapse component.
|
||||
|
|
2
flavors/mini-default.min.css
vendored
2
flavors/mini-default.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -20,7 +20,8 @@
|
|||
& .#{$nav-link-name}.#{$dropdown-name}{
|
||||
cursor: pointer;
|
||||
}
|
||||
& input[type="checkbox"]{
|
||||
& input[type="checkbox"], & input[type="radio"]{
|
||||
display: none;
|
||||
&.#{$dropdown-name} + div{
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue