MediaWiki:Mobile.css: Difference between revisions

No edit summary
No edit summary
Line 69: Line 69:
}
}
/*------------------22-06-2026-----------------------*/
/*------------------22-06-2026-----------------------*/
/* FORCE editor overlay to cover page */
.mw-overlays-container {
    position: fixed !important;
    inset: 0 !important;
    z-index: 999999 !important;
}


.mw-overlays-container,
.editor-overlay {
.overlay,
.editor-overlay,
.overlay-content {
     position: fixed !important;
     position: fixed !important;
     top: 0 !important;
     inset: 0 !important;
    left: 0 !important;
     background: #fff !important;
    right: 0 !important;
     z-index: 999999 !important;
    bottom: 0 !important;
     background: #ffffff !important;
    opacity: 1 !important;
     z-index: 99999 !important;
}
}


/* Editor area */
.overlay-content {
#wikitext-editor,
    position: relative !important;
.wikitext-editor {
     background: #fff !important;
     background: #ffffff !important;
     z-index: 999999 !important;
     color: #000 !important;
}
}


/* Hide article while editor open */
#mw-mf-page-center {
.editor-overlay.visible ~ * {
     display: none !important;
     display: none !important;
}
body.overlay-enabled #mw-mf-page-center {
    display: block !important;
}
}