2024-06-04 22:00:07 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
|
|
|
|
@transparentPNG: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=);
|
|
|
|
|
2023-04-27 20:39:40 +00:00
|
|
|
.vector-icon {
|
2024-06-04 22:00:07 +00:00
|
|
|
// By default use a transparent PNG. This is important for icons loaded via JavaScript, as without this
|
|
|
|
// the icon will appear as a black square until loaded.
|
|
|
|
-webkit-mask-image: @transparentPNG;
|
|
|
|
mask-image: @transparentPNG;
|
|
|
|
.cdx-mixin-css-icon( 'none' );
|
2023-04-27 20:39:40 +00:00
|
|
|
}
|
2024-03-06 22:12:45 +00:00
|
|
|
|
2024-06-04 22:00:07 +00:00
|
|
|
/* If the class contains the string -progressive convert to a progressive icon.
|
|
|
|
This impacts language button and talk add topic. */
|
|
|
|
.vector-icon[ class*='-progressive' ] {
|
|
|
|
background-color: @color-progressive;
|
2024-03-06 22:12:45 +00:00
|
|
|
}
|