MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 153:
/* ======================================================= */
/* 2. MOBILE STICKY HEADER & SEARCH FIX (
/* ======================================================= */
/* --- A.
/*
body:not(.mw-mf-search-mode) .header-container.header-chrome {
position: -webkit-sticky !important;
Line 168:
}
/* --- B. SEARCH
/* When search is active, we disable sticky so it doesn't cover the input */
body.mw-mf-search-mode .header-container.header-chrome {
.minerva-header .search-box {▼
position: relative !important; /* Stop floating */
background: #ffffff !important;
}
/* --- C.
/*
body.
left: 0 !important;▼
bottom: 0 !important;▼
width: 36px !important; /* Reserve exact space */▼
display: flex !important;▼
align-items: center;▼
justify-content: center;▼
z-index: 20 !important; /* Must be HIGHER than input */▼
color: #72777d !important; /* Grey icon color */▼
}
/* --- D. THE INPUT FIELD
/*
.minerva-header .search-box input#searchInput {
/*
position: relative !important;
z-index: 10 !important;
width: 100% !important;
height: 32px !important;
padding-left: 36px !important; /*
margin: 0 !important;
/*
background-
border: 1px solid #a2a9b1 !important;
border-radius: 2px !important;▼
box-shadow: none !important;
-webkit-appearance: none !important;
/*
background-color: #ffffff !important;▼
color: #000000 !important;
-webkit-text-fill-color: #000000 !important;
opacity: 1 !important;
}
/* --- E.
/* Pins the icon to the left */
▲.minerva-header .search-box .search-box-icon-overlay {
▲ left: 0 !important;
▲ display: flex !important;
▲ align-items: center;
▲ justify-content: center;
pointer-events: none;
}
/* Placeholder Text Visibility */
.minerva-header .search-box input#searchInput::placeholder {
color: #72777d !important;
| |||