Boyscout _menu.scss

This commit is contained in:
rubenmoya 2017-11-20 15:00:07 +01:00
parent 8cfc04c859
commit 433c238a93

View File

@ -137,13 +137,16 @@
position: relative; position: relative;
margin-bottom: 18px; margin-bottom: 18px;
border-bottom: 1px solid $cMainLine; border-bottom: 1px solid $cMainLine;
&--no-margin {
margin-bottom: 0;
}
&--is-dropdown {
padding: $baseSize 0 0 $baseSize * 2;
}
} }
.CDB-NavMenu-inner--no-margin {
margin-bottom: 0;
}
.CDB-NavMenu-inner--is-dropdown {
padding: $baseSize 0 0 $baseSize * 2;
}
.CDB-NavMenu-link { .CDB-NavMenu-link {
display: block; display: block;
@ -179,18 +182,18 @@
.CDB-NavSubmenu { .CDB-NavSubmenu {
border-bottom: 2px solid $cSecondaryLine; border-bottom: 2px solid $cSecondaryLine;
}
.CDB-NavSubmenu--inside { &--inside {
position: absolute; position: absolute;
right: 0; right: 0;
left: 0; left: 0;
padding-top: 14px; padding-top: 14px;
} }
.CDB-NavSubmenu--outside { &--outside {
margin-top: -5px; margin-top: -5px;
margin-bottom: 18px; margin-bottom: 18px;
}
} }
.CDB-NavSubmenu-link { .CDB-NavSubmenu-link {
@ -207,6 +210,7 @@
} }
} }
.CDB-NavSubmenu-item.is-selected .CDB-NavSubmenu-link { .CDB-NavSubmenu-item.is-selected .CDB-NavSubmenu-link {
border-bottom: 2px solid $cMainLine; border-bottom: 2px solid $cMainLine;
color: $cMainText; color: $cMainText;