MediaWiki:Mobile.css: Difference between revisions

No edit summary
No edit summary
Line 69: Line 69:
}
}
/*------------------22-06-2026-----------------------*/
/*------------------22-06-2026-----------------------*/
/* Fix MobileFrontend editor overlay */
/* FORCE editor overlay to cover page */


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


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


/* Hide underlying page while editing */
/* Hide article while editor open */
.overlay-enabled .mw-parser-output,
.editor-overlay.visible ~ * {
.overlay-enabled #mw-content-text,
     display: none !important;
.overlay-enabled .page-content,
.overlay-enabled .content,
.overlay-enabled .mf-section-0 {
    visibility: hidden !important;
}
 
/* Keep editor visible */
.overlay-enabled .overlay,
.overlay-enabled .overlay-content,
.overlay-enabled #editor {
     visibility: visible !important;
}
}