mediawiki.mixins.less: Correctly embed images in .background-image-svg
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 17 Apr 2014 20:09:28 +0000 (22:09 +0200)
committerOri.livneh <ori@wikimedia.org>
Sun, 20 Apr 2014 20:48:17 +0000 (20:48 +0000)
commit127222af0b77650d752f5ba05165701fe7fd7895
treebf1d2e1b6137f034ee36382fcc751e56a8cfb13d
parent3c74c02dc5f15006b70f054d99bd124fbdf8bfaf
mediawiki.mixins.less: Correctly embed images in .background-image-svg

Using the /* @embed */ annotation twice for the same property
(background-image) confuses the LESS compiler, resulting in one of the
images not being embedded.

Let's use the embeddable() and embed() MediaWiki LESS functions,
like in the .background-image mixin.

And let's extend and clean up the documentation while we're here.

Bug: 61941
Change-Id: I39ea2004b9db34d096eed08b3ffdfcaf8d5fcd7d
resources/src/mediawiki.less/mediawiki.mixins.less