Sha256: 4fb37ceced5f98a68445337644ef7501465196fdc7b61c602a85570b245172d7
Contents?: true
Size: 1.88 KB
Versions: 17
Compression:
Stored size: 1.88 KB
Contents
// // dropdown.scss // Extended from Bootstrap // .dropdown-menu { padding-left: $dropdown-padding-x; padding-right: $dropdown-padding-x; } // Item .dropdown-item { width: auto; min-width: 100%; margin-left: -$dropdown-padding-x; margin-right: -$dropdown-padding-x; @include hover-focus { outline: none; } } .dropdown-item + .dropdown-item { margin-top: $dropdown-item-spacing-y; } // Link (optional) .dropdown-link { color: inherit; @include hover { text-decoration: inherit; } @include hover-focus { outline: none; } } // Header .dropdown-header { margin-left: -$dropdown-padding-x; margin-right: -$dropdown-padding-x; padding-top: 0; padding-bottom: $headings-margin-bottom; font-size: $h6-font-size; font-weight: $font-weight-light; line-height: $h6-line-height; text-transform: uppercase; letter-spacing: 0.08em; } // Toggle .dropdown-toggle::after { font-family: 'Feather'; vertical-align: middle; border: none !important; content: '\e92e'; } .dropright > .dropdown-toggle::after { content: '\e930'; } // Sizing .dropdown-menu-xs { min-width: $dropdown-min-width-xs; padding: $dropdown-padding-y-xs $dropdown-padding-x-xs; } .dropdown-menu-md { min-width: $dropdown-min-width-md; } .dropdown-menu-lg { min-width: $dropdown-min-width-lg; } .dropdown-menu-xl { min-width: $dropdown-min-width-xl; } .dropdown-menu-lg, .dropdown-menu-xl { padding: $dropdown-padding-y-lg $dropdown-padding-x-lg; } .dropdown-menu-lg .dropdown-item, .dropdown-menu-xl .dropdown-header { margin-left: -$dropdown-padding-x-lg; margin-right: -$dropdown-padding-x-lg; padding-left: $dropdown-item-padding-x-lg; padding-right: $dropdown-item-padding-x-lg; } // Positioning .dropright > .dropdown-menu { top: -$dropdown-padding-y; }
Version data entries
17 entries across 17 versions & 1 rubygems