// 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";'.
+// which makes this file importable by all less files via `@import 'mediawiki.mixins';`.
//
// The mixins included below are considered a public interface for MediaWiki extensions.
// The signatures of parametrized mixins should be kept as stable as possible.
}
.flex-display( @display: flex ) {
- display: ~"-webkit-@{display}"; // iOS 6-, Safari 3.1-6
- display: ~"-moz-@{display}"; // Firefox 21-
- display: ~"-ms-@{display}box"; // IE 10
+ display: ~'-webkit-@{display}'; // iOS 6-, Safari 3.1-6
+ display: ~'-moz-@{display}'; // Firefox 21-
+ display: ~'-ms-@{display}box'; // IE 10
display: @display;
}
// Screen Reader Helper Mixin
.mixin-screen-reader-text() {
display: block;
- position: absolute !important;
+ position: absolute !important; /* stylelint-disable-line declaration-no-important */
clip: rect( 1px, 1px, 1px, 1px );
width: 1px;
height: 1px;