Merge "CSSJanus: Support text-shadow and box-shadow flipping"
[lhc/web/wiklou.git] / resources / mediawiki.less / mediawiki.mixins.less
1 /**
2 * Common LESS mixin library for MediaWiki
3 *
4 * By default the folder containing this file is included in $wgResourceLoaderLESSImportPaths,
5 * which makes this file importable by all less files via '@import "mediawiki.mixins";'.
6 *
7 * The mixins included below are considered a public interface for MediaWiki extensions.
8 * The signatures of parametrized mixins should be kept as stable as possible.
9 *
10 * See <http://lesscss.org/#-mixins> for more information about how to write mixins.
11 */
12
13 .background-image(@url) when (embeddable(@url)) {
14 background-image: embed(@url);
15 background-image: url(@url)!ie;
16 }
17
18 .background-image(@url) when not (embeddable(@url)) {
19 background-image: url(@url);
20 }