2023-07-27 21:35:56 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
|
|
|
|
// Never reveal the labels of icon only buttons in the header,
|
|
|
|
// article content (parser-output), IP masking banner,
|
2023-07-28 21:30:47 +00:00
|
|
|
// or MobileFrontend overlays / drawers.
|
2023-07-31 15:51:15 +00:00
|
|
|
// Also applies to the slide left/right buttons in the image overlay.
|
2023-07-27 21:35:56 +00:00
|
|
|
.mw-temp-user-banner,
|
|
|
|
.mw-parser-output,
|
|
|
|
.overlay-header,
|
2023-07-28 21:30:47 +00:00
|
|
|
.drawer-container,
|
2023-07-31 15:51:15 +00:00
|
|
|
.slider-button,
|
2023-07-27 21:35:56 +00:00
|
|
|
.minerva-header {
|
|
|
|
.cdx-button.cdx-button--icon-only {
|
|
|
|
span + span {
|
|
|
|
.mixin-screen-reader-text();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-07-31 19:18:49 +00:00
|
|
|
.minerva-icon--history-medium {
|
2023-07-19 11:00:13 +00:00
|
|
|
.cdx-mixin-css-icon( @cdx-icon-history, @param-is-button-icon: true );
|
|
|
|
}
|
|
|
|
|
2023-07-31 19:18:49 +00:00
|
|
|
.minerva-icon--expand-small {
|
|
|
|
.cdx-mixin-css-icon( @cdx-icon-next, @param-is-button-icon: true, @param-size-icon: @size-icon-small );
|
2023-07-19 11:00:13 +00:00
|
|
|
}
|
|
|
|
|
2023-07-27 21:35:56 +00:00
|
|
|
// On desktop reveal labels of icon-only buttons.
|
|
|
|
// This applies to page actions and other icon only buttons
|
|
|
|
// that are not scoped in the rule above.
|
|
|
|
@media all and ( max-width: @width-breakpoint-desktop ) {
|
|
|
|
.cdx-button.cdx-button--icon-only {
|
|
|
|
span + span {
|
|
|
|
.mixin-screen-reader-text();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|