From 060e216712b023f637ad94b512c4cc90794cf065 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 1 Aug 2012 09:18:00 -0700 Subject: [PATCH] fixes #4253: hover on responsive navbar --- docs/assets/css/bootstrap-responsive.css | 4 ++++ less/responsive-navbar.less | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index d62a5f68dd..a28c97e050 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -961,6 +961,10 @@ .nav-collapse .dropdown-menu a:hover { background-color: #f2f2f2; } + .navbar-inverse .nav-collapse .nav > li > a:hover, + .navbar-inverse .nav-collapse .dropdown-menu a:hover { + background-color: #111111; + } .nav-collapse.in .btn-group { padding: 0; margin-top: 5px; diff --git a/less/responsive-navbar.less b/less/responsive-navbar.less index d684fcafa1..e54213ef3f 100644 --- a/less/responsive-navbar.less +++ b/less/responsive-navbar.less @@ -85,6 +85,10 @@ .nav-collapse .dropdown-menu a:hover { background-color: @navbarBackground; } + .navbar-inverse .nav-collapse .nav > li > a:hover, + .navbar-inverse .nav-collapse .dropdown-menu a:hover { + background-color: @navbarInverseBackground; + } // Buttons in the navbar .nav-collapse.in .btn-group { margin-top: 5px;