MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 153:
/* ======================================================= */
/* 2. MOBILE STICKY HEADER (Minerva Skin) -
/* ======================================================= */
/*
position: -webkit-sticky !important;▼
▲body:not(.mw-mf-search-mode) .header-container.header-chrome {
▲ position: -webkit-sticky;
top: 0;
background-color: #ffffff;▼
border-bottom: 1px solid #eaecf0;
width: 100%;
}
/* 2. CRITICAL FIX: When search is ACTIVE, reset sticky positioning */
/* Safeguard: Ensure the search box sits on top of the white header background▼
/* This prevents the search overlay from getting "trapped" or clipped */
body:not(.mw-mf-search-mode) .minerva-header .search-box {▼
position: relative;▼
z-index: 100; ▼
}▼
/* FIX: MOBILE SEARCH INPUT VISIBILITY (THE NUCLEAR FIX) */▼
body.mw-mf-search-mode .header-container.header-chrome {
z-index: 1000 !important;
}
▲/*
body.mw-mf-search-mode .minerva-header .search-box input[type="search"] {▼
▲ position: relative !important;
▲}
/* 4. INPUT TEXT COLOR FIX (The "Invisible Text" Fix) */
/* Target every possible state of the search input to force black text */
.minerva-header .search-box input,
.minerva-header .search-box input.search,
color: #000000 !important;
opacity: 1 !important;▼
▲ background-color: #ffffff !important;
text-shadow: none !important;
▲ -webkit-text-fill-color: #000000 !important; /* Force iOS black text */
▲ opacity: 1 !important;
▲ z-index: 1001 !important;
▲ position: relative !important;
box-shadow: none !important;
}
/*
color: #72777d !important;
-webkit-text-fill-color: #72777d !important;▼
opacity: 1 !important;
▲ -webkit-text-fill-color: #72777d !important;
}
| |||