|
|
|
|
@ -57,7 +57,8 @@ class DroneMap:
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
|
|
|
|
}
|
|
|
|
|
.control-button:hover {
|
|
|
|
|
@ -70,7 +71,8 @@ class DroneMap:
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
|
|
|
|
|
}
|
|
|
|
|
.map-toggle-button:hover {
|
|
|
|
|
@ -85,7 +87,7 @@ class DroneMap:
|
|
|
|
|
padding: 12px;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
|
|
|
|
|
min-width: 250px;
|
|
|
|
|
min-width: 200px;
|
|
|
|
|
}
|
|
|
|
|
.mission-info-row {
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
@ -135,7 +137,8 @@ class DroneMap:
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 11px;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
}
|
|
|
|
|
.selection-button:hover {
|
|
|
|
|
@ -244,7 +247,8 @@ class DroneMap:
|
|
|
|
|
tempRectangle = L.rectangle(bounds, {
|
|
|
|
|
color: selectionMode === 'drones' ? '#9C27B0' : '#FF6B6B',
|
|
|
|
|
weight: 2,
|
|
|
|
|
fillOpacity: 0.2
|
|
|
|
|
fillOpacity: selectionMode === 'drones' ? 0 : 0.2,
|
|
|
|
|
dashArray: selectionMode === 'drones' ? '5, 5' : null
|
|
|
|
|
}).addTo(selectionLayer);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|