PoC of robot protection

This commit is contained in:
PeekabooSteam
2023-11-02 23:03:17 +00:00
parent ade4f183cd
commit 4465f4a3bb
5 changed files with 165 additions and 97 deletions

View File

@@ -605,6 +605,12 @@ nav.ol-panel> :last-child {
align-items: center;
}
.ol-navbar-buttons-group > div {
align-items: center;
display:flex;
flex-direction: row;
}
.ol-navbar-buttons-group button {
border: none;
height: 32px;
@@ -638,6 +644,28 @@ nav.ol-panel> :last-child {
stroke: var(--background-steel) !important;
}
.ol-navbar-buttons-group .protectable button:first-of-type {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
width:28px;
}
.ol-navbar-buttons-group > div > button.lock {
display:none;
}
.ol-navbar-buttons-group > div.protectable > button.lock {
background-color: #990000;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
display:inline-block;
width:18px;
}
.ol-navbar-buttons-group > div.protectable > button[data-protected].lock {
background-color: #008800;
}
#roe-buttons-container button,
#reaction-to-threat-buttons-container button,
#emissions-countermeasures-buttons-container button {