mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-11 12:17:59 +03:00
Merge pull request #461 from timhovius/navbar-dropdown
Fixed dropdown-menu correct colors on active, hover and focus state
This commit is contained in:
commit
eefae15eb8
|
@ -167,6 +167,22 @@
|
|||
.navbar-form .form-control-wrapper input.form-control::placeholder, .navbar-form input.form-control::placeholder {
|
||||
color: @text-color;
|
||||
}
|
||||
.dropdown-menu {
|
||||
li > a {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @material-color;
|
||||
}
|
||||
}
|
||||
.active > a {
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: @text-color;
|
||||
}
|
||||
background-color: @material-color;
|
||||
color: @text-color;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
&-inverse {
|
||||
|
|
|
@ -73,13 +73,6 @@ legend {
|
|||
.variations(~" li a:hover", color, @primary);
|
||||
}
|
||||
|
||||
// Active state
|
||||
.dropdown-menu {
|
||||
.variations(~" > .active > a", background-color, @primary);
|
||||
.variations(~" > .active > a:hover", background-color, @primary);
|
||||
.variations(~" > .active > a:focus", background-color, @primary);
|
||||
}
|
||||
|
||||
// Alerts
|
||||
@import "_alerts.less";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user