MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Manual revert |
No edit summary |
||
Line 407:
position: relative;
z-index: 100;
}
/* ======================================================= */
/* FIX: MOBILE SEARCH INPUT VISIBILITY */
/* ======================================================= */
/* 1. Force the Header to stay on top when Search Mode is active */
body.mw-mf-search-mode .header-container.header-chrome {
z-index: 1000 !important;
background-color: #fff !important;
}
/* 2. Force the REAL search input (not the trigger) to be visible and black */
body.mw-mf-search-mode .minerva-header .search-box input.search {
z-index: 1001 !important; /* Sit on top of the header */
position: relative !important; /* Ensure it respects z-index */
opacity: 1 !important; /* Prevent fading */
color: #000 !important; /* Force text to be Black */
-webkit-text-fill-color: #000 !important; /* Fix for iOS/Safari */
background: transparent !important;
}
/* 3. Ensure the placeholder text is also visible (Optional) */
body.mw-mf-search-mode .minerva-header .search-box input.search::placeholder {
color: #72777d !important;
opacity: 1 !important;
}
| |||