}
.tracker-map {
.canvas {
- width: 50em;
+ width: 100%;
height: auto;
.location {
- width: 0.04px;
- height: 0.04px;
- fill: green;
- stroke: black;
- stroke-width: 0.003px;
- transform: translate(-0.02px, -0.02px);
+ .box {
+ width: 0.04px;
+ height: 0.04px;
+ transform: translate(-0.02px, -0.02px);
+ fill: #0d0;
+ stroke: black;
+ stroke-width: 1px;
+ vector-effect: non-scaling-stroke;
+ }
+ .text {
+ fill: black;
+ font-size: 0.02px;
+ font-weight: bold;
+ text-anchor: middle;
+ dominant-baseline: middle;
+ pointer-events: none;
+ user-select: none;
+ }
&.status-cleared {
- fill: grey;
- opacity: 0.4;
+ .box {
+ fill: grey;
+ opacity: 0.4;
+ }
}
&.size-lg {
- width: 0.08px;
- height: 0.08px;
- transform: translate(-0.04px, -0.04px);
+ .box {
+ width: 0.08px;
+ height: 0.08px;
+ transform: translate(-0.04px, -0.04px);
+ }
+ .text {
+ font-size: 0.04px;
+ }
+ }
+ &.clickable {
+ .box:hover {
+ stroke: white;
+ }
}
}
}