Spaces:
Running
Running
File size: 1,659 Bytes
c993983 ab7559f c993983 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | .map-viewer {
position: relative;
height: 650px;
flex: none;
min-height: 0;
border-radius: var(--radius);
overflow: hidden;
border: 1px solid var(--border);
background: var(--bg);
}
.map-viewer.fullscreen {
position: fixed;
top: 0;
left: 0;
width: 100vw !important;
height: 100vh !important;
z-index: 10001;
border-radius: 0;
border: none;
padding: 0;
margin: 0;
}
.map-viewer.fullscreen .leaflet-container {
border-radius: 0 !important;
border: none !important;
}
.map-fullscreen-btn {
position: absolute;
top: 12px;
right: 12px;
z-index: 10002;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
background: var(--surface, #ffffff);
border: 1px solid var(--border, #edebe9);
border-radius: var(--radius-sm, 2px);
color: var(--text-main, #201f1e);
cursor: pointer;
box-shadow: 0 1px 4px rgba(0,0,0,0.2);
font-size: 16px;
transition: all 0.2s;
}
.map-fullscreen-btn:hover {
background: var(--surface-hover, #f8f8f8);
transform: scale(1.05);
}
.custom-marker {
background: transparent !important;
border: none !important;
pointer-events: auto !important;
cursor: grab !important;
}
.custom-marker:active {
cursor: grabbing !important;
}
.pa-selection-active .leaflet-container {
cursor: crosshair !important;
}
.pa-selection-active .leaflet-marker-icon,
.pa-selection-active .stream-bubble {
cursor: crosshair !important;
}
.pa-selection-toast {
animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
from { transform: translate(-50%, -20px); opacity: 0; }
to { transform: translate(-50%, 0); opacity: 1; }
}
|