diff --git a/less/_navbar.less b/less/_navbar.less index 74b3f7b5..7b670cf7 100644 --- a/less/_navbar.less +++ b/less/_navbar.less @@ -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 { diff --git a/less/material.less b/less/material.less index edd8ab9a..8852e408 100644 --- a/less/material.less +++ b/less/material.less @@ -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";