1
0
Fork 0
fgdata/Phi/widgets/map.html
Torsten Dreyer 2812cc6321 Phi: refactor some map marker
- better aircraft marker symbol
- aircraft symbol loaded from file, no longer hardcoded
- marker as knockout component
2015-07-30 21:03:06 +02:00

41 lines
777 B
HTML

<style>
.aircraft-marker-icon {
background-color: rgba(255, 255, 255, 0);
}
.aircraft-marker-icon path {
fill: rgba(0, 255, 0, 0.4);
}
.aircraft-marker {
float: left;
color: #00ff00;
text-shadow: 1px 1px #404040;
}
.aircraft-marker-label {
white-space: nowrap;
border-radius: 3px;
font-size: 10px;
text-shadow: 0px 1px 0px black;
line-height: 110%;
background: rgba(0,0,0,0.2);
border: 1px solid rgba(0,0,0,0.3);
padding: 2px 3px;
display: inline-block;
color: rgb(255,255,255);
}
.aircraft-marker span {
padding-left: 0.5em;
}
.followAircraft {
background: white;
background: rgba(255, 255, 255, 0.8);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
border-radius: 5px;
width: 40px;
height: 40px;
}
</style>