Merge "RequestContext: Load the request object for getRequest on first call"
[lhc/web/wiklou.git] / resources / src / mediawiki.less / mediawiki.mixins.less
index 43bd21a..457e8c1 100644 (file)
@@ -1,4 +1,4 @@
-// Common LESS mixin library for MediaWiki
+// Common Less mixin library for MediaWiki
 //
 // By default the folder containing this file is included in $wgResourceLoaderLESSImportPaths,
 // which makes this file importable by all less files via '@import "mediawiki.mixins";'.
        background-image: e('/* @embed */') url(@url);
 }
 
+// Deprecated in MW 1.27
 .background-size(@width, @height) {
-       // Vendor prefix for certain older opera browsers e.g. nintendo ds
-       -o-background-size: @width @height;
        // Vendor prefix is added to support Android 2
        -webkit-background-size: @width @height;
        background-size: @width @height;
 }
 
-
 .vertical-gradient(@startColor: gray, @endColor: white, @startPos: 0, @endPos: 100%) {
        background-color: @endColor;
        background-image: -moz-linear-gradient( top, @startColor @startPos, @endColor @endPos ); // Firefox 3.6+
@@ -39,7 +37,6 @@
 // is not worth the harm done to modern ones.
 .background-image-svg(@svg, @fallback) {
        background-image: url(@fallback);
-       background-image: -webkit-linear-gradient(transparent, transparent), e('/* @embed */') url(@svg);
        background-image: linear-gradient(transparent, transparent), e('/* @embed */') url(@svg);
        // Do not serve SVG to Opera 12, bad rendering with border-radius or background-size (T87504)
        background-image: -o-linear-gradient(transparent, transparent), url(@fallback);