48 lines
743 B
SCSS
Raw Permalink Normal View History

2017-09-07 15:14:52 -05:00
// Button overrides
@import 'common/sass/variables';
2017-09-07 15:14:52 -05:00
.dropdown {
.caret {
margin-left: $space-sm;
}
}
// If it's a span, we probably want it inline-block, not inline
span.dropdown {
display: inline-block;
}
2017-09-07 15:14:52 -05:00
.dropdown-menu {
padding: 0;
border: none;
background: color(control-bg);
box-shadow: $dropdown-shadow;
2017-09-07 15:14:52 -05:00
> li {
margin: 0;
&:first-child {
padding-top: 4px;
}
&:last-child {
padding-bottom: 4px;
}
> a {
color: color(control-color);
2017-09-07 15:14:52 -05:00
font-weight: 300;
transition: none;
2017-09-07 15:14:52 -05:00
&.active {
color: color(link-color);
}
&:hover {
background-color: color(brand-primary);
color: color(text-color-inverted);
2017-09-07 15:14:52 -05:00
}
}
}
}