$topbar-media-query: $medium-up !default;
// Divider Styles
-$topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%) !default;
+$topbar-divider-border-bottom: solid 1px scale-color($topbar-bg-color, $lightness: 13%) !default;
$topbar-divider-border-top: solid 1px scale-color($topbar-bg-color, $lightness: -50%) !default;
// Sticky Class
@include single-transition($default-float, $topbar-transition-speed);
ul {
+ padding: 0;
width: 100%;
height: auto;
display: block;
- background: $topbar-dropdown-bg;
font-size: $rem-base;
margin: 0;
}
}
ul li {
+ background: $topbar-dropdown-bg;
& > a {
display: block;
width: 100%;
font-size: $topbar-link-font-size;
font-weight: $topbar-link-weight;
text-transform: $topbar-link-text-transform;
- background: $topbar-dropdown-bg;
&.button {
@include button-style($bg:$primary-color);
}
&.button.secondary { @include button-style($bg:$secondary-color); }
- &.button.success { @include button-style($bg:$success-color); }
- &.button.alert { @include button-style($bg:$alert-color); }
+ &.button.success { @include button-style($bg:$success-color); }
+ &.button.alert { @include button-style($bg:$alert-color); }
}
> button {
@include button-style($bg:$primary-color);
&.secondary { @include button-style($bg:$secondary-color); }
- &.success { @include button-style($bg:$success-color); }
- &.alert { @include button-style($bg:$alert-color); }
+ &.success { @include button-style($bg:$success-color); }
+ &.alert { @include button-style($bg:$alert-color); }
}
// Apply the hover link color when it has that class
// Styling elements inside of dropdowns
.dropdown {
+ padding: 0;
position: absolute;
#{$default-float}: 100%;
top: 0;
}
}
- &.title h5 { margin-bottom: 0;
+ &.title h5 {
+ margin-bottom: 0;
+ margin-top: 0;
a {
color: $topbar-link-color;
line-height: $topbar-height / 2;
&: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;
&:not(.has-form) a:not(.button) {
color: $topbar-dropdown-link-color;
- background: $topbar-dropdown-link-bg;
+ background: $topbar-dropdown-link-bg;
}
&:not(.has-form):hover > a:not(.button) {
color: $topbar-link-color-hover;