Sha256: 1d7b3bcfe41beff7b3eee3aeb9a30ee1c43968f42e0dfccb8b6753e40b4664f7
Contents?: true
Size: 1.25 KB
Versions: 1
Compression:
Stored size: 1.25 KB
Contents
// // Button groups // -------------------------------------------------- @if $button-groups { .btn-group { @extend .clearfix; @include inline-block; margin-bottom: 0; position: relative; vertical-align: middle; white-space: nowrap; > li { float: left; list-style-type: none; display: inline-block; } // Space multiple inline groups + .btn-group { margin-left: em(5px); } // Float button and reapply border radius > .btn, > li .btn { @include border-radius(0); float: left; position: relative; } > .btn + .btn, > li + li { margin-left: -($input-border); } > .btn:first-child, > li:first-child .btn { margin-left: 0; @include border-top-left-radius($base-border-radius); @include border-bottom-left-radius($base-border-radius); } > .btn:last-child, > .dropdown-toggle, > li:last-child .btn{ @include border-top-right-radius($base-border-radius); @include border-bottom-right-radius($base-border-radius); } // On hover/focus/active, bring the proper btn to front > .btn:hover, > .btn:focus, > .btn:active, > .btn.active { z-index: 2; } // // On active and open, don't show outline // .dropdown-toggle:active, // &.open .dropdown-toggle { // outline: 0; // } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rapido-css-0.0.1 | stylesheets/components/_button-groups.scss |