mediawiki-skins-MinervaNeue/skinStyles/mediawiki.ui.icon.less
Umherirrender 5bd834e0c7 build: Updating npm dependencies
* stylelint-config-wikimedia: 0.13.0 → 0.14.0

Run stylelint fix to fix the new stylelint rule

Change-Id: I7738ae421e84dd3171355391ebc82dd812b39ca4
2023-03-31 21:50:36 +02:00

38 lines
794 B
Plaintext

@import '../minerva.less/minerva.variables.less';
// Temporarily revert back from 44x44 (0.6875em) to 46x46 (0.75em)
.mw-ui-icon-element.mw-ui-button {
padding: 0.75em; // 46x46
}
// Disable desktop touch area special handling.
@media ( min-width: @width-breakpoint-desktop ) {
.mw-ui-icon-element.mw-ui-button {
padding: 0.75em;
}
}
// Revert back to old spacing between text and icon.
.mw-ui-icon + span:not( :empty ) {
margin-left: 8px;
}
.mw-ui-icon-with-label-desktop::before {
margin-right: 8px;
}
// Revert back to old flush left rule.
.mw-ui-icon-small.mw-ui-icon-flush-left {
margin-left: -0.5625em;
}
@media all and ( min-width: @width-breakpoint-desktop ) {
.mw-ui-icon-flush-left {
margin-left: -0.75em;
}
.mw-ui-icon-flush-right {
margin-right: -0.75em;
}
}