aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-08 02:15:47 -0800
committerMark Otto <[email protected]>2012-01-08 02:15:47 -0800
commitcf05dc86774ea05aa0f40aff771538e6e2f405d2 (patch)
tree4575beec31a3de3ae02ff613d3c18429e713d407 /lib
parent916761d56854ca4fcc8ea4afa68511fb26a93e4c (diff)
downloadbootstrap-cf05dc86774ea05aa0f40aff771538e6e2f405d2.tar.xz
bootstrap-cf05dc86774ea05aa0f40aff771538e6e2f405d2.zip
adjust navs for fine details on dropdowns in stacked nav and improved open state there
Diffstat (limited to 'lib')
-rw-r--r--lib/navs.less22
1 files changed, 14 insertions, 8 deletions
diff --git a/lib/navs.less b/lib/navs.less
index 743d772f3..dee482aea 100644
--- a/lib/navs.less
+++ b/lib/navs.less
@@ -175,29 +175,35 @@
// ---------
// Position the menu
-.tabs .dropdown-menu,
-.pills .dropdown-menu {
+.nav .dropdown-menu {
top: 33px;
border-width: 1px;
}
.pills .dropdown-menu {
.border-radius(4px);
}
-.tabs .dropdown-toggle .caret,
-.pills .dropdown-toggle .caret {
+.nav .dropdown-toggle .caret {
+ border-top-color: @linkColor;
margin-top: 6px;
}
-.tabs .open .dropdown-toggle,
-.pills .open .dropdown-toggle {
+.nav .dropdown-toggle:hover .caret {
+ border-top-color: @linkColorHover;
+}
+.nav .open .dropdown-toggle {
background-color: #999;
border-color: #999;
}
-.tabs .open .caret,
-.pills .open .caret {
+.nav .open .caret,
+.nav .open a:hover .caret {
border-top-color: #fff;
.opacity(100);
}
+// Dropdowns in stacked tabs
+.tabs.stacked .open > a:hover {
+ border-color: #999;
+}
+
// TABBABLE