Debian Codegraph @

skins/Vector/resources/skins.vector.styles/components/Icon.less

raw
1 @import 'mediawiki.skin.variables.less';
2
3 @transparentPNG: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=);
4
5 .vector-icon {
6 // By default use a transparent PNG. This is important for icons loaded via JavaScript, as without this
7 // the icon will appear as a black square until loaded.
8 -webkit-mask-image: @transparentPNG;
9 mask-image: @transparentPNG;
10 .cdx-mixin-css-icon( 'none' );
11 }
12
13 /* If the class contains the string -progressive convert to a progressive icon.
14 This impacts language button and talk add topic. */
15 .vector-icon[ class*='-progressive' ] {
16 background-color: @color-progressive;
17 }