Added feature: select unit payload at spawn and visibility.

This commit is contained in:
Davide Passoni
2022-12-30 17:43:20 +01:00
parent 92eab6fd41
commit 036f70db34
38 changed files with 14104 additions and 563 deletions

View File

@@ -56,8 +56,6 @@
}
.unitmarker-unitName-div {
width: 200px;
left: -70px;
top: -20px;
position: absolute;
text-align: center;
@@ -68,8 +66,6 @@
}
.unitmarker-name-div {
width: 200px;
left: -70px;
bottom: -20px;
position: absolute;
text-align: center;
@@ -91,6 +87,18 @@
-webkit-text-stroke: 1px;
}
.unitmarker-speed-div {
width: 100%;
left: 0px;
top: 0px;
position: absolute;
text-align: left;
font: 800 12px Arial;
white-space: nowrap;
-webkit-text-fill-color: white;
-webkit-text-stroke: 1px;
}
.unitmarker-container-table-dead .unitmarker-name-div{
opacity: 0;
}

View File

@@ -2,7 +2,7 @@
.unit-info-panel {
background-color: #202831;
height: 100px;
width: 400px;
width: 800px;
border: solid white 1px;
font-size: 12px;
position: fixed;
@@ -28,8 +28,19 @@
justify-content: space-evenly;
}
.control-panel {
background-color: #202831;
height: 40px;
width: 100%;
font-size: 12px;
display: flex;
align-items: center;
justify-content: left;
}
.panel-table {
text-shadow: 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
height: 100%;
}
.panel-title {
@@ -40,16 +51,20 @@
.panel-label {
font-size: 12px;
color: #d3e9ff;
margin: 5px;
width: 100px;
}
.panel-content {
font-size: 12px;
color: white;
margin: 5px;
}
.panel-button {
height: 30px;
width: 30px;
margin: 5px;
color: #d3e9ff;
font-size: 25px;
display: flex;
@@ -77,4 +92,32 @@
.panel-button-disabled:active {
color: #e1f0ff;
}
.panel-select {
-webkit-padding-start: 2px;
margin: 10px;
height: 25px;
color: black;
font-family: "Lucida Console", "Courier New", monospace;
vertical-align: middle;
}
.panel-select option {
margin: 40px;
color: black;
font-family: "Lucida Console", "Courier New", monospace;
height: 25px;
margin: 5px;
vertical-align: middle;
}
#unit-info-table
{
width: 400px;
}
#tactical-info-table
{
width: 400px;
}