mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 10:50:52 +00:00
Merge "Revert back Minerva icon features not ready for production"
This commit is contained in:
commit
766a3fe767
|
@ -193,6 +193,9 @@
|
|||
"mediawiki.action.history.styles": [
|
||||
"skinStyles/mediawiki.action.history.styles.less"
|
||||
],
|
||||
"+mediawiki.ui.icon": [
|
||||
"skinStyles/mediawiki.ui.icon.less"
|
||||
],
|
||||
"mediawiki.interface.helpers.styles": [
|
||||
"skinStyles/mediawiki.interface.helpers.styles.less"
|
||||
],
|
||||
|
|
27
skinStyles/mediawiki.ui.icon.less
Normal file
27
skinStyles/mediawiki.ui.icon.less
Normal file
|
@ -0,0 +1,27 @@
|
|||
@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;
|
||||
}
|
Loading…
Reference in a new issue