119 lines
1.7 KiB
CSS
119 lines
1.7 KiB
CSS
/* ===============================
|
|
MAPPA GLOBALE (BASE)
|
|
=============================== */
|
|
|
|
.global-map {
|
|
position: fixed;
|
|
inset: 0;
|
|
top: calc(var(--header-h, 60px) + var(--safe-top, 0px));
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
height: calc(100% - var(--header-h, 60px));
|
|
|
|
display: none;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Mappa attiva */
|
|
.global-map.open {
|
|
display: block;
|
|
}
|
|
|
|
|
|
/* ===============================
|
|
LEAFLET
|
|
=============================== */
|
|
|
|
#globalMap,
|
|
#globalMap .leaflet-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
|
|
/* ===============================
|
|
MAPBOX TERRAIN 3D
|
|
=============================== */
|
|
|
|
#terrainMap {
|
|
display: none;
|
|
z-index: 1100;
|
|
}
|
|
|
|
#terrainMap.open {
|
|
display: block;
|
|
}
|
|
|
|
#terrainMap .mapboxgl-canvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
|
|
/* ===============================
|
|
GALLERY
|
|
=============================== */
|
|
|
|
.gallery.hidden {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* ===============================
|
|
TOGGLE TRACCE ATTIVITÀ
|
|
=============================== */
|
|
|
|
.map-toggle-routes {
|
|
position: absolute;
|
|
top: 12px;
|
|
left: 56px;
|
|
z-index: 1200;
|
|
|
|
min-height: 36px;
|
|
padding: 7px 12px;
|
|
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
background: #fff;
|
|
color: #111;
|
|
|
|
border: 1px solid #cfcfcf;
|
|
border-radius: 18px;
|
|
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.25);
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.map-toggle-routes.active {
|
|
background: #2b8cff;
|
|
color: #fff;
|
|
border-color: #2b8cff;
|
|
}
|
|
|
|
|
|
|
|
|
|
#terrainMap {
|
|
position: fixed;
|
|
top: 60px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
|
|
width: 100vw;
|
|
height: calc(100vh - 60px);
|
|
|
|
display: none;
|
|
z-index: 2000;
|
|
}
|
|
|
|
#terrainMap.open {
|
|
display: block;
|
|
}
|