vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.sass in sass-rails-bootstrap-2.2.1 vs vendor/assets/stylesheets/twitter/bootstrap/_dropdowns.sass in sass-rails-bootstrap-2.2.2
- old
+ new
@@ -105,10 +105,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
// ---------------------------
.open
@@ -150,26 +151,22 @@
.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
// Dropups
.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
content: " "
@@ -194,13 +191,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
// -----------------
// Increase padding from 15px to 20px on sides
@@ -210,7 +205,8 @@
// Typeahead
// ---------
.typeahead
+ z-index: 1051
margin-top: 2px // give it some space to breathe
+border-radius($baseBorderRadius)