mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 03:08:12 +00:00
b51c6511ef
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
28 lines
765 B
Plaintext
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 );
|
|
}
|