aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-08 00:49:38 -0800
committerJacob Thornton <[email protected]>2012-01-08 00:49:38 -0800
commit4478df768168fe41599508688046612bf5f1e526 (patch)
tree9a3c0aacda8b4abce4ef200ef925cdeb55877720 /lib
parent961c479422f10cb566ade1f3a08d1b807d590b7a (diff)
downloadbootstrap-4478df768168fe41599508688046612bf5f1e526.tar.xz
bootstrap-4478df768168fe41599508688046612bf5f1e526.zip
first pass at ultra basic autocomplete
Diffstat (limited to 'lib')
-rw-r--r--lib/dropdowns.less21
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/dropdowns.less b/lib/dropdowns.less
index f59ab3728..5dea8d678 100644
--- a/lib/dropdowns.less
+++ b/lib/dropdowns.less
@@ -68,16 +68,17 @@
font-weight: normal;
line-height: 18px;
color: @gray;
- // Hover state
- &:hover {
- color: #fff;
- text-decoration: none;
- text-shadow: 0 -1px 0 rgba(0,0,0,.25);
- #gradient > .vertical(@blue, @blueDark);
- #gradient > .vertical(@linkColor, darken(@linkColor, 5%));
- @shadow: inset 0 1px 0 rgba(0,0,0,.075), inset 0 -1px rgba(0,0,0,.075);
- .box-shadow(@shadow);
- }
+ }
+
+ // Hover state
+ &.typeahead .active a, a:hover {
+ color: #fff;
+ text-decoration: none;
+ text-shadow: 0 -1px 0 rgba(0,0,0,.25);
+ #gradient > .vertical(@blue, @blueDark);
+ #gradient > .vertical(@linkColor, darken(@linkColor, 5%));
+ @shadow: inset 0 1px 0 rgba(0,0,0,.075), inset 0 -1px rgba(0,0,0,.075);
+ .box-shadow(@shadow);
}
}