Sha256: 9ed11a97d7a80325123fba1ce2a4f1553ca7074e33bfd9fac62d11562ac50f08
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 KB
Contents
// from https://github.com/twbs/bootstrap-sass/blob/44d139e896a2bc1bd623f9cbcb714465ff3ed11f/vendor/assets/stylesheets/bootstrap/mixins/_nav-divider.scss @mixin nav-divider($color: #e5e5e5) { height: $medium-border-width; margin: (($line-height-computed / 2) - 1) $gutter*2; overflow: hidden; background-color: $color; } // from https://github.com/twbs/bootstrap-sass/blob/44d139e896a2bc1bd623f9cbcb714465ff3ed11f/vendor/assets/stylesheets/bootstrap/mixins/_reset-filter.scss @mixin reset-filter() { filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); } // Load bootstrap dropdown styles @import "bootstrap/dropdowns"; .dropdown-menu { a { text-decoration: none; } } // set things up for drawing a triangle .dropdown-menu { margin-top: $popover-arrow-outer-width; } // add triangle pointing up at the top of the menu .dropdown-arrow { @include transform(rotate(-45deg)); background: $white; border-right: 1px solid $light-gray; border-top: 1px solid $light-gray; height: 15px; width: 15px; position: absolute; top: -8px; left: 2 * $popover-arrow-outer-width; z-index: -1; } // right aligned dropdown .dropdown-menu.right { right: 0; left: auto; .dropdown-arrow { right: 2 * $popover-arrow-outer-width; left: auto; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
undercase-0.2.57 | app/assets/stylesheets/undercase/patterns/_dropdowns.scss |
undercase-0.2.29 | app/assets/stylesheets/undercase/patterns/_dropdowns.scss |