mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-14 18:05:01 +00:00
e6511ebe8f
Change-Id: I494a02e5ba08cc7849cf1973f8f9163c672fccff
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
|
|
// Never reveal the labels of icon only buttons in the header,
|
|
// article content (parser-output), IP masking banner,
|
|
// or MobileFrontend overlays / drawers.
|
|
// Also applies to the slide left/right buttons in the image overlay.
|
|
.mw-temp-user-banner,
|
|
.mw-parser-output,
|
|
.overlay-header,
|
|
.drawer-container,
|
|
.slider-button,
|
|
.minerva-header {
|
|
.cdx-button.cdx-button--icon-only {
|
|
span + span {
|
|
.mixin-screen-reader-text();
|
|
}
|
|
}
|
|
}
|
|
|
|
// NOTE: @param-is-button-icon lets us change the icon color
|
|
// with background-color by using mask-image.
|
|
.minerva-icon--history-medium {
|
|
.cdx-mixin-css-icon( @cdx-icon-history, @param-is-button-icon: true );
|
|
}
|
|
|
|
.minerva-icon--expand-small {
|
|
.cdx-mixin-css-icon( @cdx-icon-next, @param-is-button-icon: true, @param-size-icon: @size-icon-small );
|
|
}
|
|
|
|
// 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();
|
|
}
|
|
}
|
|
}
|