mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
59 lines
1.4 KiB
CSS
59 lines
1.4 KiB
CSS
.unitmarker-container-table {
|
|
height: 60px;
|
|
width: 60px;
|
|
left: -30px;
|
|
top: -30px;
|
|
border: 1px transparent solid;
|
|
position: absolute;
|
|
}
|
|
|
|
.unitmarker-icon-img {
|
|
height: 60px;
|
|
width: 60px;
|
|
left: 0px;
|
|
top: 0px;
|
|
display: block;
|
|
opacity: 0.8;
|
|
position: absolute;
|
|
}
|
|
|
|
.unitmarker-selection-img {
|
|
height: 60px;
|
|
width: 60px;
|
|
left: 0px;
|
|
top: 0px;
|
|
display: block;
|
|
position: absolute;
|
|
animation: spin 4s linear infinite;
|
|
opacity: 0;
|
|
}
|
|
|
|
@keyframes spin {
|
|
100% {
|
|
transform:rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.unitmarker-icon-img-blue {
|
|
filter: invert(37%) sepia(21%) saturate(7402%) hue-rotate(193deg) brightness(103%) contrast(104%) drop-shadow(1px 1px 0 black) drop-shadow(-1px -1px 0 black);
|
|
}
|
|
|
|
.unitmarker-icon-img-hovered {
|
|
filter: invert(100%) sepia(3%) saturate(0%) hue-rotate(125deg) brightness(103%) contrast(103%) drop-shadow(1px 1px 0 black) drop-shadow(-1px -1px 0 black);
|
|
}
|
|
|
|
.unitmarker-icon-img-selected {
|
|
filter: invert(100%) sepia(3%) saturate(0%) hue-rotate(125deg) brightness(103%) contrast(103%) drop-shadow(1px 1px 0 black) drop-shadow(-1px -1px 0 black);
|
|
}
|
|
|
|
.unitmarker-name-div {
|
|
width: 100%;
|
|
left: 0px;
|
|
top: -20px;
|
|
position: absolute;
|
|
text-align: center;
|
|
font: 800 16px Arial;
|
|
white-space: nowrap;
|
|
-webkit-text-fill-color: white;
|
|
-webkit-text-stroke: 1px;
|
|
} |