mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/icons.less
Jon Robson b51c6511ef Fixes history icon in green last modified bar
Currently the last modified bar icon appears black rather than
white. This is because the last modified icon shares icon CSS
with the page actions in AMC.

Untie these by giving the icon in this context a different selector,
taking care to support cached HTML.

Change-Id: I98443b0dcb88911a5314092216809387b4fb80dc
2023-09-25 20:40:55 +00:00

28 lines
765 B
Plaintext

@import 'mediawiki.skin.variables.less';
// NOTE: @param-is-button-icon lets us change the icon color
// with background-color by using mask-image.
.minerva-icon--modified-history {
.cdx-mixin-css-icon( @cdx-icon-history, @param-is-button-icon: true );
}
// FIXME: For cached HTML. Can be removed in next deploy.
.last-modified-bar__content .minerva-icon--history {
background-color: transparent;
}
.minerva-icon--expand {
.cdx-mixin-css-icon( @cdx-icon-next, @param-is-button-icon: true );
}
.minerva-icon {
.cdx-mixin-css-icon-background();
.cdx-mixin-css-icon-size( @size-icon-medium );
.cdx-mixin-css-icon-alignment();
}
.minerva-icon-size-small {
.cdx-mixin-css-icon-background( @size-icon-small );
.cdx-mixin-css-icon-size( @size-icon-small );
}