99 lines
No EOL
2 KiB
CSS
99 lines
No EOL
2 KiB
CSS
/* Map Container */
|
|
#map {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Map Crosshair */
|
|
#map-crosshair {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
width: 20px;
|
|
height: 20px;
|
|
transform: translate(-50%, -50%);
|
|
pointer-events: none;
|
|
z-index: 900;
|
|
}
|
|
#map-crosshair::before, #map-crosshair::after {
|
|
content: '';
|
|
position: absolute;
|
|
background: rgba(0,0,0,0.6);
|
|
}
|
|
#map-crosshair::before { top: 9px; left: 0; width: 20px; height: 2px; }
|
|
#map-crosshair::after { top: 0; left: 9px; width: 2px; height: 20px; }
|
|
|
|
/* Map Note Card (Zoomed In) */
|
|
.map-note-card {
|
|
background: white;
|
|
padding: 8px;
|
|
border-radius: 4px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
|
|
width: 200px;
|
|
font-size: 0.85rem;
|
|
border: 1px solid #ddd;
|
|
white-space: normal;
|
|
user-select: none;
|
|
}
|
|
|
|
/* Move Leaflet controls down so they aren't covered by the navbar */
|
|
.leaflet-top {
|
|
top: 50px; /* Matches navbar height */
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.leaflet-top {
|
|
top: 110px; /* Matches mobile navbar height */
|
|
}
|
|
}
|
|
|
|
/* Note Buttons */
|
|
.btn-note-share {
|
|
background-color: #6bbbf7; /* Blue */
|
|
color: black;
|
|
border: none;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
margin-top: 5px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.btn-note-report {
|
|
background-color: #ffcccc; /* Light red */
|
|
color: black;
|
|
border: none;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.btn-note-delete {
|
|
background-color: #ffcccc; /* Light red */
|
|
color: black;
|
|
border: none;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.btn-note-edit {
|
|
background-color: #cce5ff; /* Light blue */
|
|
color: black;
|
|
border: none;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
font-size: 0.75rem;
|
|
cursor: pointer;
|
|
margin-top: 5px;
|
|
margin-right: 5px;
|
|
} |