MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 349: | Line 349: | ||
/* | /* === MAP LIGHTBOX STYLES === */ | ||
#map-lightbox { | #map-lightbox { | ||
display: none; | display: none; | ||
position: fixed; | position: fixed; | ||
top: 0; | |||
left: 0; | |||
width: 100vw; | width: 100vw; | ||
height: 100vh; | height: 100vh; | ||
background: rgba(0,0,0,0.85); | background-color: rgba(0, 0, 0, 0.85); | ||
backdrop-filter: blur(2px); | backdrop-filter: blur(2px); | ||
z-index: 99999; | |||
} | } | ||
/* | /* Container inside lightbox */ | ||
#map-lightbox > div { | #map-lightbox > div { | ||
position: absolute; | position: absolute; | ||
Line 374: | Line 376: | ||
overflow: hidden; | overflow: hidden; | ||
box-shadow: 0 0 25px rgba(0,0,0,0.6); | box-shadow: 0 0 25px rgba(0,0,0,0.6); | ||
display: flex; | |||
flex-direction: column; | |||
} | |||
/* iFrame */ | |||
#map-lightbox iframe { | |||
width: 100%; | |||
height: 100%; | |||
border: none; | |||
flex-grow: 1; | |||
} | } | ||
Line 382: | Line 394: | ||
right: 10px; | right: 10px; | ||
background: #fff; | background: #fff; | ||
color: #000; | |||
font-weight: bold; | font-weight: bold; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
padding: 5px 10px; | |||
border: none; | |||
border-radius: 4px; | border-radius: 4px; | ||
z-index: 100000; | |||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
#close-map-lightbox:hover { | #close-map-lightbox:hover { | ||
background: #ddd; | background: #ddd; | ||
} | } | ||
/* Force Vector/skin elements under lightbox */ | |||
body #mw-head-base, | |||
body #mw-head, | |||
body #mw-panel, | |||
body #mw-page-base { | |||
body | |||
body | |||
body | |||
body | |||
z-index: 0 !important; | z-index: 0 !important; | ||
} | } |