]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Fix #26372: disabled btn hover issue (#27407)
authorIan Walter <public@iankwalter.com>
Sat, 20 Oct 2018 19:12:33 +0000 (15:12 -0400)
committerXhmikosR <xhmikosr@gmail.com>
Sat, 20 Oct 2018 19:12:33 +0000 (22:12 +0300)
commit871a51a54827a5ccfbbc469fef6b08f7c2641a44
tree6ef49a5a29f2b5fce3738618b7908089f25d71d5
parentc5eb6043d81824f281ce5ada6ae77569054c987f
Fix #26372: disabled btn hover issue (#27407)

When gradients are enabled there is still a hover state on disabled
buttons since the hover rules apply to background-image and disabled
rules apply to background-color. This applies the logic already present
in dropdowns to buttons. This fix was originally proposed by @ysds.
scss/mixins/_buttons.scss