From cf05dc86774ea05aa0f40aff771538e6e2f405d2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jan 2012 02:15:47 -0800 Subject: adjust navs for fine details on dropdowns in stacked nav and improved open state there --- lib/navs.less | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3