aboutsummaryrefslogtreecommitdiff
path: root/less/dropdowns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-28 11:21:39 -0800
committerMark Otto <[email protected]>2012-01-28 11:21:39 -0800
commit28ba9d69c82895bbd9a1d66cea855119f4aba349 (patch)
treea6f63e572f7038cc3d5c5b36a7b2e77bea85fd5e /less/dropdowns.less
parentd65ce1b64c0049e4fe37a79a4962d8444415ee00 (diff)
downloadbootstrap-28ba9d69c82895bbd9a1d66cea855119f4aba349.tar.xz
bootstrap-28ba9d69c82895bbd9a1d66cea855119f4aba349.zip
nav, buttons, and docs updates to account for outline: 0; on :active
Diffstat (limited to 'less/dropdowns.less')
-rw-r--r--less/dropdowns.less6
1 files changed, 5 insertions, 1 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index e73b056e9..83f535ae8 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -5,10 +5,14 @@
.dropdown {
position: relative;
}
-.dropdown .dropdown-toggle {
+.dropdown-toggle {
// The caret makes the toggle a bit too tall in IE7
*margin-bottom: -3px;
}
+.dropdown-toggle:active,
+.open .dropdown-toggle {
+ outline: 0;
+}
// Dropdown arrow/caret
.caret {
display: inline-block;