phpvms/public/assets/frontend/sass/now-ui-kit/mixins/_dropdown.scss

25 lines
512 B
SCSS
Raw Normal View History

2017-07-28 20:13:52 +08:00
@mixin dropdown-colors($brand-color, $dropdown-header-color, $dropdown-color, $background-color ) {
background-color: $brand-color;
&:before{
color: $brand-color;
}
.dropdown-header:not([href]):not([tabindex]){
color: $dropdown-header-color;
}
.dropdown-item{
color: $dropdown-color;
&:hover,
&:focus{
background-color: $background-color;
}
}
.dropdown-divider{
background-color: $background-color;
}
}