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