1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/scss
Mark Otto 7aa2a52069 Redo button states
Trying to simplify our output here by revamping these selectors. We overcomplicated things by setting hover styles for nearly every state (disabled and active included), and we set them in the wrong order.

This commit does the following:

- Reorders states so disabled comes before active, thereby removing the need to set disabled-active styles.

- Removes all focus and hover styles from disabled states as those will naturally inherit from the default button state.

- Renamed `.open` to `.show` to fix dropdown toggle highlighting.

- Tweaked some indendation in the Sass.
2016-12-28 15:12:04 -08:00
..
mixins Redo button states 2016-12-28 15:12:04 -08:00
utilities Add more flex utilities 2016-12-26 13:06:53 -08:00
.scss-lint.yml Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389) 2016-12-21 20:26:17 -08:00
_alert.scss Fix #20013, nullify #21112 (#21230) 2016-11-27 23:59:21 -08:00
_badge.scss Rename tags to badges in comments 2016-12-26 13:06:34 -08:00
_breadcrumb.scss condense that comment, clean up formatting 2016-01-17 15:50:27 -08:00
_button-group.scss inline-flex and width: 100% for stacked/vertical variation 2016-12-27 22:37:50 -08:00
_buttons.scss Redo button states 2016-12-28 15:12:04 -08:00
_card.scss Remove some leftover IE9/flex stuff 2016-12-25 15:32:34 -08:00
_carousel.scss linting 2016-12-22 14:58:40 -08:00
_close.scss v4: Miscellaneous color changes (#21199) 2016-11-25 16:03:13 -08:00
_code.scss Restyle code elements in links (#21392) 2016-12-21 20:28:34 -08:00
_custom-forms.scss use flex and direction to do the stacked controls instead of float hacks 2016-12-25 15:48:44 -08:00
_custom.scss Update docs to include mention of the custom variables file 2016-01-17 16:04:18 -08:00
_dropdown.scss Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
_forms.scss use var 2016-12-27 14:17:11 -08:00
_grid.scss Rename .col-xs to .col + some other cleanup (#21222) 2016-11-27 22:47:00 -08:00
_images.scss Add variables for transitions (#21345) 2016-12-19 20:33:17 -08:00
_input-group.scss Changed a word in a comment (#21399) 2016-12-22 13:25:41 -08:00
_jumbotron.scss Move viewport-dependent padding tweak into main .jumbotron block 2015-11-15 01:25:38 -08:00
_list-group.scss Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389) 2016-12-21 20:26:17 -08:00
_media.scss reduce .media styles to their bare minimum 2016-12-22 21:29:48 -08:00
_mixins.scss Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
_modal.scss linting 2016-12-25 15:28:44 -08:00
_nav.scss Fixes #18228: Don't use transparent for bottom border, use bg color 2016-12-25 00:57:17 -08:00
_navbar.scss forgot to add display flex to the navbar, so utils weren't applying 2016-12-27 22:37:09 -08:00
_normalize.scss Update Normalize to v5.0.0. 2016-11-24 12:08:25 +11:00
_pagination.scss Set line-height for page-links (#21052) 2016-11-27 23:37:36 -08:00
_popover.scss Merge branch 'tooltip-arrow' of https://github.com/brnrdog/bootstrap into brnrdog-tooltip-arrow 2016-10-09 19:56:30 -07:00
_print.scss Change .tag print styles to .badge. 2016-11-13 12:32:07 +11:00
_progress.scss Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
_reboot.scss Reboot: Update <fieldset> comment to clarify that the default weirdness is part of the standard. (#21261) 2016-12-02 09:57:22 -08:00
_responsive-embed.scss Add responsive embed class for 1:1 aspect ratio 2015-11-23 19:54:55 -08:00
_tables.scss Remove IE9 browser hacks. (#21393) 2016-12-22 13:41:31 -08:00
_tooltip.scss Rename .active to .show 2016-12-07 21:20:15 -07:00
_transitions.scss Merge branch 'fix-20982' of https://github.com/Starsam80/bootstrap into Starsam80-fix-20982 2016-12-19 21:44:03 -08:00
_type.scss Flexbox all the time (Drop IE9 support and remove $enable-flex option) (#21389) 2016-12-21 20:26:17 -08:00
_utilities.scss Add vertical-align utilities 2016-10-18 19:15:58 -07:00
_variables.scss Rip number 2016-12-28 12:56:15 -08:00
bootstrap-grid.scss Update bootstrap-grid.scss 2016-12-27 14:16:25 -08:00
bootstrap-reboot.scss sure we only need the two mixins, but this ensures folks don't run into missing mixin errors down the line 2016-12-27 14:16:25 -08:00
bootstrap.scss move custom down so folks can reassign var values and use other vars 2016-12-27 14:16:25 -08:00