73 lines
1.2 KiB
CSS
73 lines
1.2 KiB
CSS
/* Map controls */
|
|
.map-controls {
|
|
position: absolute;
|
|
top: 20px;
|
|
right: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
/* Move Controls */
|
|
.move-controls {
|
|
position: fixed;
|
|
top: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background: white;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
z-index: 12200;
|
|
min-width: 300px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Crosshair for location selection */
|
|
.crosshair {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
pointer-events: none;
|
|
z-index: 999;
|
|
}
|
|
|
|
.crosshair.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.crosshair-x,
|
|
.crosshair-y {
|
|
position: absolute;
|
|
background-color: rgba(44, 90, 160, 0.8);
|
|
}
|
|
|
|
.crosshair-x {
|
|
width: 40px;
|
|
height: 2px;
|
|
left: -20px;
|
|
top: -1px;
|
|
}
|
|
|
|
.crosshair-y {
|
|
width: 2px;
|
|
height: 40px;
|
|
left: -1px;
|
|
top: -20px;
|
|
}
|
|
|
|
.crosshair-info {
|
|
position: absolute;
|
|
top: 30px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background-color: rgba(44, 62, 80, 0.9);
|
|
color: white;
|
|
padding: 5px 10px;
|
|
border-radius: var(--border-radius);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|