MediaWiki:Mobile.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 153:
 
/* ======================================================= */
/* 2. HIGH-TRANSPARENCYTOP TOOLBARFLOATING BUBBLES (ShortHome - Search Bar- VersionTOC) */
/* ======================================================= */
 
/* --- A. THE HEADER CONTAINERRESET (TheMake Transparentit StripInvisible) --- */
/* We keep the container to push content down, but make it invisible */
.header-container.header-chrome {
position: fixed !important;
top: 0 !important; left: 0 !important; right: 0 !important;
leftheight: 060px !important; /* Space for buttons */
right: 0 !important;
height: 50px !important;
z-index: 1000 !important;
background: transparent !important;
/* Transparency Level (0.3 = 30% visible) */
background-colorborder: rgba(0, 0, 0, 0.3)none !important;
borderbox-bottomshadow: 1px solid rgba(255, 255, 255, 0.1)none !important;
pointer-events: none !important; /* Let clicks pass through empty space */
/* Frosted glass effect */
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
/* Fixes */
transform: none !important;
transition: none !important;
Line 179 ⟶ 174:
}
 
/* Push bodypage content down */
body.skin-minerva { padding-top: 50px60px !important; }
.mw-body { margin-top: 50px10px !important; }
 
/* Hide default elements */
.header-container .navigation-drawer { display: none !important; }
 
/* --- B. BUTTONCOMMON 1:BUBBLE HOME (Top Left)STYLE --- */
/* Shared style for Home, Search, TOC, and Input Box */
.branding-box,
#searchIcon,
#cps-open-toc,
body.mw-mf-search-mode .minerva-header .search-box .minerva-iconinput {
background-color: rgba(0, 0, 0, 0.6) !important; /* Transparent Black */
backdrop-filter: blur(4px) !important; /* Frosted Glass */
border-radius: 50% !important; /* Perfect Circle */
textbox-shadow: 0 1px2px 3px5px rgba(0,0,0,0.52) !important;
pointer-events: auto !important; /* Re-enable clicking */
}
 
/* --- C. BUTTON 1: HOME (Top Left) --- */
.branding-box, .branding-box a {
position: fixed !important;
top: 08px !important; left: 0 !important; /* Vertical Alignment */
widthleft: 50px10px !important; height: 50px !important; /* Left Spacing */
width: 44px !important; height: 44px !important;
z-index: 1002 !important;
display: flex !important; align-items: center; justify-content: center;
}
.branding-box a { font-size: 0 !important; color: transparent !important; background: transparent !important; box-shadow: none !important; }
.branding-box a::before {
content: "⌂";
font-size: 28px24px; color: #fff; margin-top: -4px;
margin-top: -4px;
text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
 
/* --- CD. BUTTON 2: TOC (Top Right - Far Right) --- */
#cps-open-toc {
display: flex !important;
position: fixed !important;
top: 3px8px !important; /* Vertical Alignment */
right: 010px !important; /* Right Spacing */
left: auto !important; bottom: auto !important;
width: 50px44px !important; height: 44px !important;
z-index: 1002 !important;
background: transparent !important;
color: #fff !important;
align-items: center; justify-content: center;
box-shadow: none !important;
text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
#cps-open-toc .icon { font-size: 20px !important; }
 
/* --- DE. BUTTON 3: SEARCH TRIGGER (TopLeft Right - Next toof TOC) --- */
#searchIcon {
position: fixed !important;
top: 08px !important; /* Vertical Alignment */
right: 50px64px !important; /* Offset10px by(Right) width+ of44px (TOC) + 10px button(Gap) */
left: auto !important;
width: 50px44px !important; height: 50px44px !important;
z-index: 1002 !important;
display: flex !important; align-items: center; justify-content: center;
backgroundborder: transparentnone !important; bordermargin: none0 !important; padding: 0 !important;
margin: 0 !important; padding: 0 !important; box-shadow: none !important;
}
#searchIcon .minerva-icon {
font-size: 24px20px; color: #fff; opacity: 1;
color: #fff;
opacity: 1;
text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
 
/* --- EF. THE SHORT SEARCH INPUT (NoAppears in the IconMiddle) --- */
 
/* 1. Hide Input when NOT searchinginitially */
body:not(.mw-mf-search-mode) .minerva-header .search-box {
display: none !important;
}
 
/* 2. Position Input when SEARCHINGContainer */
body.mw-mf-search-mode .minerva-header .search-box {
display: block !important;
position: fixed !important;
top: 8px !important; /* VerticallySame top alignment as centeredbuttons */
height: 34px44px !important;
z-index: 1001 !important;
/* WIDTH & POSITIONALIGNMENT LOGIC: */
widthleft: 160px64px !important; /* Makes10px (Left) + 44px (Home) + it10px shortGap */
right: 105px118px !important; /* 50px10px (Right) + 44px (TOC) + 50px10px Gap + 44px (Search) + 5px10px Gap */
left: auto !important; /* Don't stretch to left */
marginpadding: 0 !important; paddingmargin: 0 !important; box-shadow: none !important;
background: transparent !important;
padding: 0 !important;
margin: 0 !important;
}
 
/* 3. Style the BoxInput itselfPill */
body.mw-mf-search-mode .minerva-header .search-box input {
width: 100% !important;
height: 34px44px !important;
border-radius: 4px22px !important; /* Pill Shape */
border: none !important;
/* Visuals (Inherits common bubble style + adjustments) */
/* Visual Style */
background-color: rgba(0, 0, 0, 0.56) !important;
color: #fffffffff !important;
-webkit-text-fill-color: #fffffffff !important;
heightpadding-left: 50px15px !important;
padding-right: 015px !important;
/* Padding: Small padding since we removed the icon */
paddingfont-leftsize: 8px16px !important;
padding-right: 8px !important;
/* Force remove any background images (icons) */
background-image: none !important;
}
 
/* 4. REMOVE THE INNER MAGNIFYINGICON GLASS(Clean (Strictlylook) */
.minerva-header .search-box .search-box-icon-overlay, {
.minerva-header .search-box .minerva-icon {
display: none !important;
visibility: hidden !important;
width: 0 !important;
}
 
/* 5. Placeholder Text Color */
body.mw-mf-search-mode .minerva-header .search-box input::placeholder {
color: rgba(255, 255, 255, 0.7) !important;
Line 295 ⟶ 288:
}
 
/* 6. Hide the Cancel button textButton */
.search-box .search-box-cancel { display: none !important; }