Merge pull request #461 from timhovius/navbar-dropdown

Fixed dropdown-menu correct colors on active, hover and focus state
This commit is contained in:
Fez Vrasta 2015-02-27 12:15:41 +01:00
commit eefae15eb8
2 changed files with 16 additions and 7 deletions

View File

@ -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 {

View File

@ -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";