Skip to content

Commit a05be0c

Browse files
committed
small tweak to dropdowns for autocomplete if you implement dropdowns that way
1 parent 0c1c236 commit a05be0c

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

bootstrap.css

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* http://www.apache.org/licenses/LICENSE-2.0
77
*
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
9-
* Date: Sun Oct 9 22:37:55 PDT 2011
9+
* Date: Sun Oct 9 22:44:29 PDT 2011
1010
*/
1111
/* Reset.less
1212
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -1581,7 +1581,10 @@ a.menu:after, .dropdown-toggle:after {
15811581
color: #808080;
15821582
text-shadow: 0 1px 0 #ffffff;
15831583
}
1584-
.topbar .dropdown-menu a:hover, .dropdown-menu a:hover {
1584+
.topbar .dropdown-menu a:hover,
1585+
.dropdown-menu a:hover,
1586+
.topbar .dropdown-menu a.hover,
1587+
.dropdown-menu a.hover {
15851588
background-color: #dddddd;
15861589
background-repeat: repeat-x;
15871590
background-image: -khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd));

bootstrap.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/patterns.less

+4-2
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ a.menu:after,
278278
}
279279
}
280280

281-
.topbar .dropdown-menu, .dropdown-menu {
281+
.topbar .dropdown-menu,
282+
.dropdown-menu {
282283
// Links within the dropdown menu
283284
a {
284285
display: block;
@@ -289,7 +290,8 @@ a.menu:after,
289290
color: @gray;
290291
text-shadow: 0 1px 0 @white;
291292
// Hover state
292-
&:hover {
293+
&:hover,
294+
&.hover {
293295
#gradient > .vertical(#eeeeee, #dddddd);
294296
color: @grayDark;
295297
text-decoration: none;

0 commit comments

Comments
 (0)