Keep buttons from changing size when they change state
authorkaldari <rkaldari@wikimedia.org>
Fri, 14 Nov 2014 18:34:50 +0000 (10:34 -0800)
committerkaldari <rkaldari@wikimedia.org>
Fri, 14 Nov 2014 18:40:45 +0000 (10:40 -0800)
commit2fc4fd0865b0e1ce6001f8d01f13a8b7d2c75c63
treefd8684ac57146fc27bd37cba14b0a38747a54745
parent3f540012b211d5fd44c9aba1235b702685090ba9
Keep buttons from changing size when they change state

Right now if a button changes from a light color to a dark color
based on some user action or state change, the button width also
changes, potentially reflowing the content and making the button
move to a completely different location. Both the height and width
need to stay the same (as was discussed in mw-ui standardization
meetings). The effect on the hover-shadow gimmick is virtually
imperceptable.

Bug: 73381
Change-Id: I27edeb4f1317c9d163bc87f54f35a161cdcd686e
resources/src/mediawiki.less/mediawiki.ui/mixins.less