aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-13 10:07:56 -0800
committerMark Otto <[email protected]>2012-01-13 10:07:56 -0800
commitfc053ac8b27611e3dc7fae769ce28f154250d50e (patch)
treed0f14f99f3307d53dd298dc988b3790c50ece65a /lib
parentb958ac77c122ebcf39ff7f155de7aaec2cad17b6 (diff)
downloadbootstrap-fc053ac8b27611e3dc7fae769ce28f154250d50e.tar.xz
bootstrap-fc053ac8b27611e3dc7fae769ce28f154250d50e.zip
update dropdowns spacing and docs section spacing
Diffstat (limited to 'lib')
-rw-r--r--lib/dropdowns.less14
1 files changed, 4 insertions, 10 deletions
diff --git a/lib/dropdowns.less b/lib/dropdowns.less
index daa7003e3..e2d5fef25 100644
--- a/lib/dropdowns.less
+++ b/lib/dropdowns.less
@@ -63,7 +63,7 @@
// Links within the dropdown menu
a {
display: block;
- padding: 2px 15px;
+ padding: 3px 15px;
clear: both;
font-weight: normal;
line-height: 18px;
@@ -73,18 +73,12 @@
}
// Hover state
-.dropdown-menu li > a:hover {
- color: #fff;
- text-decoration: none;
- background-color: @linkColor;
-}
-
-// Active state
+.dropdown-menu li > a:hover,
.dropdown-menu .active > a,
.dropdown-menu .active > a:hover {
color: #fff;
- background-color: #999;
- background-image: none; // remove the gradient
+ text-decoration: none;
+ background-color: @linkColor;
}
// Open state for the dropdown