aboutsummaryrefslogtreecommitdiff
path: root/less/dropdowns.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-12 21:23:28 -0700
committerMark Otto <[email protected]>2013-08-12 21:23:28 -0700
commit8bb7def26cac4d3166fbf2cc98f16c4151794676 (patch)
tree7021e3eb046cd0e1786f31ce9cb1dea3478097f4 /less/dropdowns.less
parenteac61de138278aa1c0d70dfed7a9515c714b6ad9 (diff)
downloadbootstrap-8bb7def26cac4d3166fbf2cc98f16c4151794676.tar.xz
bootstrap-8bb7def26cac4d3166fbf2cc98f16c4151794676.zip
Navbar refactor
* Now responsive by default (fits better with mobile-first approach) * Requires `.nav-header` to group `.navbar-brand` and `.navbar-toggle` for proper mobile display. * Changed `.nav-collapse` to `.navbar-collapse` * Simplified examples in docs
Diffstat (limited to 'less/dropdowns.less')
-rw-r--r--less/dropdowns.less5
1 files changed, 5 insertions, 0 deletions
diff --git a/less/dropdowns.less b/less/dropdowns.less
index af14bf9e9..14ce2b473 100644
--- a/less/dropdowns.less
+++ b/less/dropdowns.less
@@ -21,6 +21,11 @@
position: relative;
}
+// Prevent the focus on the dropdown toggle when closing dropdowns
+.dropdown-toggle:focus {
+ outline: 0;
+}
+
// The dropdown menu (ul)
.dropdown-menu {
position: absolute;