mediawiki.UI: Align buttons to design guidelines and OOjs UI
authorVolker E <volker.e@wikimedia.org>
Sat, 24 Sep 2016 03:08:55 +0000 (20:08 -0700)
committerVolker E <volker.e@wikimedia.org>
Wed, 28 Sep 2016 18:34:59 +0000 (11:34 -0700)
commit673f6f2e9d3d1a357a67e921b2be45190285de70
tree24f3d41afa1e6588f611e91c7731eb575144149a
parentdcf1fcb0ad016695bc3435213456064ff473dc10
mediawiki.UI: Align buttons to design guidelines and OOjs UI

Aligning buttons to design guidelines in https://phabricator.wikimedia.org/M101
and to OOjs UI, similar to https://phabricator.wikimedia.org/rGOJUed9fef533bea
Additionally:
- aligning CSS code to MediaWiki Coding Guidelines,
- adding `transition`s equivalent to OOjs UI,
- replacing deprecated `@colorWhite` variable,
- replacing counter-intuitive `.button-colors()` Less mixin guard, given
our updated widget guidelines has only two primary button types
(`progressive` & `destructive`) left, with separate mixins and
- removing deprecated `constructive` CSS standalone selector and
corresponding KSS styleguide comments.

Bug: T146823
Change-Id: I6b9faefabc62689eabf6f4bccaa3d3756b5b662a
resources/src/mediawiki.less/mediawiki.ui/mixins.less
resources/src/mediawiki.ui/components/buttons.less