| 1 |
@import '../../minerva.less/minerva.variables.less'; |
| 2 |
|
| 3 |
.view-border-box *, |
| 4 |
.view-border-box { |
| 5 |
box-sizing: border-box; |
| 6 |
} |
| 7 |
|
| 8 |
.client-js .mw-redirectedfrom, |
| 9 |
/* FIXME: Use generic rule for print stylesheets */ |
| 10 |
.printfooter { |
| 11 |
display: none; |
| 12 |
} |
| 13 |
|
| 14 |
// currently used to hide talk button |
| 15 |
.hidden { |
| 16 |
display: none !important; |
| 17 |
} |
| 18 |
|
| 19 |
#mw-mf-viewport { // stylelint-disable-line selector-max-id |
| 20 |
position: relative; |
| 21 |
height: 100%; |
| 22 |
} |
| 23 |
|
| 24 |
// We need to ensure the content has the chrome background - otherwise it will |
| 25 |
// overlap the menu during the main menu reveal/hide animation |
| 26 |
#mw-mf-page-center { // stylelint-disable-line selector-max-id |
| 27 |
width: 100%; |
| 28 |
min-height: 100%; |
| 29 |
position: relative; |
| 30 |
background-color: @background-color-interactive; |
| 31 |
} |
| 32 |
|
| 33 |
.content { |
| 34 |
// Create a new stacking context. `transform: translateZ( 0 );` would be preferred but that |
| 35 |
// triggers a browser bug which affects the edit cards in Visual Editor: |
| 36 |
// https://bugs.chromium.org/p/chromium/issues/detail?id=20574 |
| 37 |
position: relative; |
| 38 |
z-index: @z-index-base; |
| 39 |
} |