mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/common.less
Umherirrender 53fab7c03d Always enable stylelint rules after disable
Change-Id: I3c677fb6e3ff9666e8e50f3a2ad9cd9ac57c29b8
2020-03-11 15:50:14 -07:00

49 lines
1.2 KiB
Plaintext

@import 'mediawiki.mixins.less';
@import '../../minerva.less/minerva.variables.less';
@import '../../minerva.less/minerva.mixins.less';
.view-border-box *,
.view-border-box {
.box-sizing( border-box );
}
.client-js .mw-redirectedfrom,
/* FIXME: Use generic rule for print stylesheets */
.printfooter,
.jsonly {
display: none;
}
/* TODO: Fix specificity */
/* stylelint-disable-next-line no-descending-specificity */
.client-js .jsonly {
display: inherit;
}
// currently used to hide talk button
.hidden {
display: none !important;
}
#mw-mf-viewport { // stylelint-disable-line selector-max-id
position: relative;
height: 100%;
}
// We need to ensure the content has the chrome background - otherwise it will
// overlap the menu during the main menu reveal/hide animation
#mw-mf-page-center { // stylelint-disable-line selector-max-id
width: 100%;
min-height: 100%;
position: relative;
background-color: @chromeColor;
}
.content {
// Create a new stacking context. `transform: translateZ( 0 );` would be preferred but that
// triggers a browser bug which affects the edit cards in Visual Editor:
// https://bugs.chromium.org/p/chromium/issues/detail?id=20574
position: relative;
z-index: @z-indexBase;
}