mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
b28b80e222
Applying central Codex design tokens in new architecture. This replaces all existing MN `z-index` tokens and comments on replacement choice. Bug: T285592 Change-Id: I23d794566898946a500c10713802d8dfaad993d1
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
@import '../../minerva.less/minerva.variables.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 */
|
|
.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: @background-color-light;
|
|
}
|
|
|
|
.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-index-base;
|
|
}
|