Hotfix for multiple dropdowns

This commit is contained in:
Angelos Chalaris 2016-09-09 11:25:49 +03:00
parent ce16809a33
commit 84e49393d7
3 changed files with 10 additions and 7 deletions

View file

@ -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.

File diff suppressed because one or more lines are too long

View file

@ -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;
}