mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
5a1a382c17
Amending icon color by setting `opacity` accordingly to Design Style Guide requirements. Also using `em` base sizing for accessibility reasons in order to make icon resizable on user text zoom preferences. And adding some comments and mediawiki mixin usage. Bug: T277660 Change-Id: Ia226857a38d3b3d5b4583e95905ef55e406c5cb2
11 lines
437 B
Plaintext
11 lines
437 B
Plaintext
// Override core's `.mw-ui-icon` which defaults to 24x24.
|
|
// The Design Style Guide and its icons are now set to 20x20.
|
|
// FIXME: With core set to 20x20 this file should become obsolete, see T191021.
|
|
@import '../variables.less';
|
|
|
|
.mw-portlet-lang .mw-ui-icon:before {
|
|
background-size: unit( @size-icon / @font-size-base, em ) auto;
|
|
width: unit( @size-icon / @font-size-base, em );
|
|
height: unit( @size-icon / @font-size-base, em );
|
|
}
|