Files

103 lines
2.4 KiB
CSS

#liveMap3D {
position: absolute;
inset: 0;
z-index: 1;
}
#liveMap3D[hidden],
.rid-live-3d-marker[hidden],
.rid-live-3d-height[hidden],
.rid-live-3d-popup[hidden] { display: none; }
.mapWrap[data-map-mode="3d"] #map { visibility: hidden; }
.rid-live-3d-trails,
.rid-live-3d-markers {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.rid-live-3d-marker {
position: absolute;
padding: 0;
border: 0;
background: none;
box-shadow: none;
transform: translate(-50%, -50%);
outline-offset: 3px;
pointer-events: auto;
cursor: pointer;
}
.rid-live-3d-height {
position: absolute;
left: calc(100% + 5px);
top: 2px;
padding: 3px 6px;
border: 1px solid #74c4f484;
border-radius: 5px;
background: #071e32ed;
color: #e5f8ff;
font: 600 11px/1.4 system-ui, sans-serif;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.rid-live-3d-popup {
position: absolute;
transform: translate(-50%, calc(-100% - 20px));
z-index: 2;
padding: 12px 22px 12px 14px;
width: max-content;
max-width: min(310px, 100%);
overflow-wrap: anywhere;
border-radius: 12px;
background: #fff;
color: #152537;
box-shadow: 0 3px 15px #10202b75;
font: 13px/1.4 system-ui, sans-serif;
pointer-events: auto;
}
.rid-live-3d-popup.below { transform: translate(-50%, 20px); }
.rid-live-3d-popup button {
position: absolute;
right: 6px;
top: 4px;
padding: 0 4px;
border: 0;
background: transparent;
color: #516476;
box-shadow: none;
}
.mapWrap .zonePopupCard {
min-width: 100px;
color: #192e42;
overflow-wrap: anywhere;
font: 13px/1.5 system-ui, sans-serif;
}
.mapWrap .zonePopupCard strong { display: block; font-size: 14px; font-weight: 650; }
.mapWrap .zonePopupMeta { margin-top: 3px; color: #4b6072; }
.mapWrap .zoneMapPopup .maplibregl-popup-content {
padding: 10px 29px 10px 12px;
border-radius: 8px;
}
.mapWrap .zoneMapPopup .leaflet-popup-content { margin: 10px 29px 10px 12px; }
.mapWrap .zoneMapPopup :is(.maplibregl-popup-close-button, .leaflet-popup-close-button) {
padding: 0;
color: #4b6072;
background: transparent;
border: 0;
box-shadow: none;
font-size: 16px;
width: 24px;
height: 24px;
text-align: center;
}
.mapWrap .zoneMapPopup :is(.maplibregl-popup-close-button, .leaflet-popup-close-button):hover {
color: #192e42;
background: #e7edf2;
}
#mapViewToggle[aria-pressed="true"] {
border-color: #6bccff;
background: #166b97;
color: white;
}