mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
124 lines
2.8 KiB
CSS
124 lines
2.8 KiB
CSS
.ol-unit-marker-container {
|
|
height: 60px;
|
|
width: 60px;
|
|
left: 0px;
|
|
top: 0px;
|
|
border: 0px black solid;
|
|
position: absolute;
|
|
padding: 0;
|
|
margin: 0;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.ol-unit-marker-icon {
|
|
height: 60px;
|
|
width: 60px;
|
|
left: 0px;
|
|
top: 0px;
|
|
display: flex;
|
|
position: absolute;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.ol-unit-marker-image {
|
|
height: 60px;
|
|
width: 60px;
|
|
}
|
|
|
|
.blue.ol-unit-marker-image {
|
|
filter: invert(40%) sepia(94%) saturate(2477%) hue-rotate(197deg) brightness(92%) contrast(91%) drop-shadow(1px 1px #0005) drop-shadow(1px -1px #0005) drop-shadow(-1px 1px 0px #0005) drop-shadow(-1px -1px #0005);
|
|
}
|
|
|
|
.red.ol-unit-marker-image {
|
|
filter:invert(32%) sepia(91%) saturate(5128%) hue-rotate(349deg) brightness(97%) contrast(97%) drop-shadow(1px 1px #0005) drop-shadow(1px -1px #0005) drop-shadow(-1px 1px 0px #0005) drop-shadow(-1px -1px #0005);
|
|
}
|
|
|
|
.neutral.ol-unit-marker-image {
|
|
filter: invert(71%) sepia(12%) saturate(9%) hue-rotate(319deg) brightness(92%) contrast(96%) drop-shadow(1px 1px #0005) drop-shadow(1px -1px #0005) drop-shadow(-1px 1px 0px #0005) drop-shadow(-1px -1px #0005);
|
|
}
|
|
|
|
.ol-unit-marker-selected {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
#ring {
|
|
top: 0px;
|
|
position: absolute;
|
|
display: inline-block;
|
|
-webkit-mask: radial-gradient(transparent 60%, #000 61%);
|
|
mask: radial-gradient(transparent 60%, #000 61%);
|
|
}
|
|
|
|
#background {
|
|
top: 0px;
|
|
position: absolute;
|
|
display: inline-block;
|
|
opacity: 0.2;
|
|
}
|
|
|
|
.blue.ol-unit-marker-selected {
|
|
background-color: var(--blue-coalition-color);
|
|
}
|
|
|
|
.red.ol-unit-marker-selected {
|
|
background-color: var(--red-coalition-color);
|
|
}
|
|
|
|
.ol-unit-marker-hovered {
|
|
filter: brightness(130%);
|
|
}
|
|
|
|
.ol-unit-marker-dead {
|
|
filter: brightness(50%);
|
|
}
|
|
|
|
.ol-unit-marker-unitName {
|
|
top: -20px;
|
|
position: absolute;
|
|
text-align: center;
|
|
font: 800 14px Arial;
|
|
white-space: nowrap;
|
|
-webkit-text-fill-color: white;
|
|
-webkit-text-stroke: 1px;
|
|
}
|
|
|
|
.ol-unit-marker-name {
|
|
bottom: -12px;
|
|
position: absolute;
|
|
text-align: center;
|
|
font: 800 12px Arial;
|
|
white-space: nowrap;
|
|
-webkit-text-fill-color: white;
|
|
-webkit-text-stroke: 1px;
|
|
}
|
|
|
|
.ol-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;
|
|
}
|
|
|
|
.ol-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;
|
|
}
|
|
|
|
.ol-unit-marker-container-table-dead .ol-unit-marker-name {
|
|
opacity: 0;
|
|
} |