fix(dropdowns): Fixed active states

This commit is contained in:
Federico Zivolo 2017-12-17 14:09:00 +01:00
parent 786f86ea11
commit c5e0a12556

View File

@ -76,6 +76,12 @@
text-overflow: ellipsis;
word-wrap: break-word;
&.active,
&:active {
background-color: inherit;
color: inherit;
}
// Simple menus always maintain a 16dp margin (phone) or 24dp margin (tablet) to the left and right edges of the screen.
@include media-breakpoint-up(md) {
padding-right: $bmd-menu-item-padding-right-md;
@ -116,6 +122,17 @@
margin: 0;
}
}
.show &.btn {
&,
&-secondary,
&-success,
&-info,
&-warning,
&-danger {
background-color: transparent;
}
}
}
@keyframes bmd-dropdown-animation {