-@import "mediawiki.mixins";
-@import "mediawiki.ui/variables";
+@import 'mediawiki.mixins';
+@import 'mediawiki.ui/variables';
// Mixins
.mixin-mw-ui-icon-bgimage( @iconSvg, @iconPng ) {
//
// Styleguide 6.1.1.
&.mw-ui-icon-element {
- @width: @iconSize + ( 2 * @iconGutterWidth );
+ @marginIcon: 2 * @iconGutterWidth;
+ @width: @iconSize + @marginIcon;
+ @sizeIconLarge: ( @iconSize * 1.75) + @marginIcon;
text-indent: -999px;
overflow: hidden;
position: absolute;
margin: 0 @iconGutterWidth;
}
+
+ &.mw-ui-icon-large {
+ width: @sizeIconLarge;
+ min-width: @sizeIconLarge;
+ max-width: @sizeIconLarge;
+ line-height: @sizeIconLarge;
+ min-height: @sizeIconLarge;
+
+ &:before {
+ min-height: @sizeIconLarge;
+ }
+ }
}
&.mw-ui-icon-before:before,
&.mw-ui-icon-small:before {
background-size: 66.67% auto; // 66.67% of 24px equals 16px
}
-}
\ No newline at end of file
+}