vendor/toolkit/twitter/bootstrap/dropdowns.less in twitter-bootstrap-rails-2.1.7 vs vendor/toolkit/twitter/bootstrap/dropdowns.less in twitter-bootstrap-rails-2.1.8

- old
+ new

@@ -113,10 +113,11 @@ // Nuke hover effects .dropdown-menu .disabled > a:hover { text-decoration: none; background-color: transparent; background-image: none; // Remove CSS gradient + .reset-filter(); cursor: default; } // Open state for the dropdown // --------------------------- @@ -166,13 +167,11 @@ .dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-top: -6px; margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; + .border-radius(0 6px 6px 6px); } .dropdown-submenu:hover > .dropdown-menu { display: block; } @@ -180,13 +179,11 @@ .dropup .dropdown-submenu > .dropdown-menu { top: auto; bottom: 0; margin-top: 0; margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; + .border-radius(5px 5px 5px 0); } // Caret to indicate there is a submenu .dropdown-submenu > a:after { display: block; @@ -213,13 +210,11 @@ // Positioning the submenu > .dropdown-menu { left: -100%; margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; + .border-radius(6px 0 6px 6px); } } // Tweak nav headers // ----------------- @@ -230,8 +225,9 @@ } // Typeahead // --------- .typeahead { + z-index: 1051; margin-top: 2px; // give it some space to breathe .border-radius(@baseBorderRadius); }