]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Redo button states
authorMark Otto <markdotto@gmail.com>
Mon, 26 Dec 2016 22:42:29 +0000 (14:42 -0800)
committerMark Otto <markd.otto@gmail.com>
Wed, 28 Dec 2016 23:12:04 +0000 (15:12 -0800)
commit7aa2a52069dbda20e395b5c84b7522b255eeffd3
tree4e391d68a7452f95ec589ec9c262c137c1c64bce
parent150625265b6f23e228cd7fc67b83af19044d525f
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.
scss/_buttons.scss
scss/mixins/_buttons.scss