width: 100%;
height: auto;
display: block;
- background: $topbar-dropdown-bg;
font-size: $rem-base;
margin: 0;
}
// Styling elements inside of dropdowns
.dropdown {
+ padding: 0;
position: absolute;
#{$default-float}: 100%;
top: 0;
&:not(.has-form) {
a:not(.button) {
padding: 0 $topbar-link-padding;
- line-height: $topbar-height;
background: $topbar-link-bg;
&:hover { background: $topbar-link-bg-hover; }
}
&.active:not(.has-form) {
a:not(.button) {
padding: 0 $topbar-link-padding;
- line-height: $topbar-height;
color: $topbar-link-color-active;
background: $topbar-link-bg-active;
&:hover { background: $topbar-link-bg-active-hover; }
li {
a {
color: $topbar-dropdown-link-color;
- line-height: 1;
+ line-height: $topbar-height;
white-space: nowrap;
padding: 12px $topbar-link-padding;
background: $topbar-dropdown-link-bg;