95 lines
1.8 KiB
CSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.unit-marker-container {
height: 60px;
width: 60px;
left: -30px;
top: -30px;
border: 0px black solid;
position: absolute;
padding: 0;
margin: 0;
border-collapse: collapse;
}
.unit-marker-icon {
height: 60px;
width: 60px;
left: 0px;
top: 0px;
display: flex;
position: absolute;
justify-content: center;
align-items: center;
}
.unit-marker-icon img {
height: 30px;
}
.unit-marker-selected {
animation-name: flash;
animation-duration: 0.3s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: linear;
}
@keyframes flash {
  from {filter: brightness(100%); }
to {filter: brightness(130%);}
}
.unit-marker-hovered {
filter: brightness(130%);
}
.unit-marker-container-table-dead {
filter: brightness(50%);
}
.unit-marker-unitName {
top: -20px;
position: absolute;
text-align: center;
font: 800 16px Arial;
white-space: nowrap;
-webkit-text-fill-color: white;
-webkit-text-stroke: 1px;
}
.unit-marker-name {
bottom: -20px;
position: absolute;
text-align: center;
font: 800 14px Arial;
white-space: nowrap;
-webkit-text-fill-color: white;
-webkit-text-stroke: 1px;
}
.unit-marker-altitude {
width: 100%;
left: 0px;
top: 0px;
position: absolute;
text-align: right;
font: 800 12px Arial;
white-space: nowrap;
-webkit-text-fill-color: white;
-webkit-text-stroke: 1px;
}
.unit-marker-speed {
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;
}
.unit-marker-container-table-dead .unit-marker-name{
opacity: 0;
}