mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-07-04 20:03:04 +03:00
fix(dropdowns): Fixed active states
This commit is contained in:
parent
786f86ea11
commit
c5e0a12556
|
@ -76,6 +76,12 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
word-wrap: break-word;
|
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.
|
// 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) {
|
@include media-breakpoint-up(md) {
|
||||||
padding-right: $bmd-menu-item-padding-right-md;
|
padding-right: $bmd-menu-item-padding-right-md;
|
||||||
|
@ -116,6 +122,17 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.show &.btn {
|
||||||
|
&,
|
||||||
|
&-secondary,
|
||||||
|
&-success,
|
||||||
|
&-info,
|
||||||
|
&-warning,
|
||||||
|
&-danger {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes bmd-dropdown-animation {
|
@keyframes bmd-dropdown-animation {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user