aboutsummaryrefslogtreecommitdiff
path: root/lib/patterns.less
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-09-02 00:42:22 -0700
committerJacob Thornton <[email protected]>2011-09-02 00:42:22 -0700
commit813c55489ff2f81eb46e859c93f089114a116e40 (patch)
treef0f4b1622c1751780db48f4662406e73d6dfe754 /lib/patterns.less
parent75afad4325d1208458b1a4d69ac3973646c45f42 (diff)
downloadbootstrap-813c55489ff2f81eb46e859c93f089114a116e40.tar.xz
bootstrap-813c55489ff2f81eb46e859c93f089114a116e40.zip
fix for dropdown
Diffstat (limited to 'lib/patterns.less')
-rw-r--r--lib/patterns.less20
1 files changed, 12 insertions, 8 deletions
diff --git a/lib/patterns.less b/lib/patterns.less
index 29870dc30..da59ce15a 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -224,6 +224,17 @@
display: block;
background-color: none;
}
+ // Dividers (basically an hr) within the dropdown
+ .divider {
+ height: 1px;
+ margin: 5px 0;
+ overflow: hidden;
+ background-color: #eee;
+ border-bottom: 1px solid #fff;
+ }
+}
+
+.topbar .dropdown-menu, .dropdown-menu {
// Links within the dropdown menu
a {
display: block;
@@ -242,15 +253,8 @@
.box-shadow(@shadow);
}
}
- // Dividers (basically an hr) within the dropdown
- .divider {
- height: 1px;
- margin: 5px 0;
- overflow: hidden;
- background-color: #eee;
- border-bottom: 1px solid #fff;
- }
}
+
// Open state for the dropdown
.dropdown.open {
.dropdown-toggle {