mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-02-02 21:04:13 +03:00
fix(dropdowns): Fixed active states
This commit is contained in:
parent
786f86ea11
commit
c5e0a12556
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user