From 7a3a3be7e547d3e8f0ed00820835104867f2433d Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Thu, 25 Jul 2013 15:19:10 -0400 Subject: [PATCH] [third] Fix sticky hover background color in typeaheads. See https://github.com/twitter/bootstrap/issues/7392. I seem to have fixed it with just the CSS part of their suggested patch. To repro the bug prior to this fix, enter search, hover over a typeahead, and then hit the up arrow key. You'll see two items appear to be selected. (imported from commit 383d60a606d7c19344a326208312a1555d060877) --- zephyr/static/third/bootstrap/css/bootstrap.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/zephyr/static/third/bootstrap/css/bootstrap.css b/zephyr/static/third/bootstrap/css/bootstrap.css index c690e6206e..2225ea752f 100644 --- a/zephyr/static/third/bootstrap/css/bootstrap.css +++ b/zephyr/static/third/bootstrap/css/bootstrap.css @@ -2973,8 +2973,11 @@ table [class*=span], } .dropdown-menu li > a:hover, -.dropdown-menu li > a:focus, .dropdown-submenu:hover > a { + text-decoration: none; +} + +.dropdown-menu li > a:focus { color: #ffffff; text-decoration: none; background-color: #0088cc; @@ -2988,8 +2991,7 @@ table [class*=span], filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); } -.dropdown-menu .active > a, -.dropdown-menu .active > a:hover { +.dropdown-menu .active > a { color: #ffffff; text-decoration: none; background-color: #0088cc;