2023-07-27 21:35:56 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
|
2023-07-19 11:00:13 +00:00
|
|
|
// NOTE: @param-is-button-icon lets us change the icon color
|
|
|
|
// with background-color by using mask-image.
|
2023-09-21 22:11:03 +00:00
|
|
|
.minerva-icon--modified-history {
|
2023-07-19 11:00:13 +00:00
|
|
|
.cdx-mixin-css-icon( @cdx-icon-history, @param-is-button-icon: true );
|
|
|
|
}
|
|
|
|
|
2023-08-09 19:13:50 +00:00
|
|
|
.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();
|
2024-02-22 20:01:18 +00:00
|
|
|
|
|
|
|
// Temporary fix for https://phabricator.wikimedia.org/T356540
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: ~'calc( max( @{size-icon-medium}, @{min-size-icon-medium} ) )';
|
2023-08-09 19:13:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.minerva-icon-size-small {
|
|
|
|
.cdx-mixin-css-icon-background( @size-icon-small );
|
|
|
|
.cdx-mixin-css-icon-size( @size-icon-small );
|
2024-02-22 20:01:18 +00:00
|
|
|
|
|
|
|
// Temporary fix for https://phabricator.wikimedia.org/T356540
|
|
|
|
background-size: ~'calc( max( @{size-icon-small}, @{min-size-icon-small} ) )';
|
2023-07-19 11:00:13 +00:00
|
|
|
}
|