MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary Tag: Reverted |
||
Line 153:
/* ======================================================= */
/* 2. FIXED TOP
/* ======================================================= */
/* --- A.
.header-container.header-chrome {▼
body:not(.mw-mf-search-mode) .header-container.header-chrome {
position: fixed !important;
top: 0 !important;
Line 167 ⟶ 168:
border-bottom: 1px solid #eaecf0 !important;
/*
align-items: center;
transition: none !important;
}
/* Push
body.skin-minerva {
padding-top: 50px !important;
}▼
margin-top: 50px !important;▼
}
/* Hide
body:not(.mw-mf-search-mode) .header-container .navigation-drawer,
body:not(.mw-mf-search-mode) .minerva-header .search-box {
display: none !important;
}
/* --- B.
/* 1. HOME BUTTON (Left) */
width: 60px; height: 50px
▲ z-index: 1002 !important; /* Above the strip */
display: flex !important;
align-items: center; justify-content: center;
▲}
body:not(.mw-mf-search-mode) .branding-box a {
}
body:not(.mw-mf-search-mode) .branding-box a::before {▼
▲.branding-box a { font-size: 0 !important; color: transparent !important; }
content: "⌂"; font-size: 28px; color: #000; margin-top: -4px;
▲.branding-box a::before {
▲ content: "⌂";
}
/*
body:not(.mw-mf-search-mode) #searchIcon {
position:
top: 0;
▲ width: 60px !important;
display: flex !important;
align-items: center; justify-content: center;
background: transparent !important;
border: none;
▲ box-shadow: none !important;
}
body:not(.mw-mf-search-mode) #searchIcon .minerva-icon {
font-size: 24px; color: #000; opacity: 0.7;
}
/*
body:not(.mw-mf-search-mode) #cps-open-toc {
display: flex !important;
position:
top: 3px;
background: transparent !important;
color: #000 !important;
Line 246 ⟶ 235:
}
/* ---
/* When search activates, we HIDE the custom buttons so they don't block the view */
/* 1.
body.mw-mf-search-mode .branding-box,
body.mw-mf-search-mode
body.mw-mf-search-mode #cps-open-toc {
}▼
/* 2. Reset Header to allow Standard Search Bar */
/* We remove the fixed height so the search bar can fit naturally */
▲body.mw-mf-search-mode .header-container.header-chrome {
position: fixed !important;
top:
}
/*
body.mw-mf-search-mode .minerva-header .search-box {
display: block !important;
padding:
}
/*
body.mw-mf-search-mode .minerva-header .search-box input {
background: #fff !important;
border: 1px solid #ccc !important;
border-radius: 4px !important;
▲}
▲/* 5. Dim the Search Trigger Button while searching */
▲body.mw-mf-search-mode #searchIcon {
}
| |||