62 lines
1.4 KiB
CSS
62 lines
1.4 KiB
CSS
.rid-drone-marker {
|
|
box-sizing: border-box;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 2px solid rgb(255 255 255 / 92%);
|
|
border-radius: 50%;
|
|
background: var(--rid-drone-fill);
|
|
box-shadow: 0 0 18px var(--rid-drone-glow);
|
|
}
|
|
|
|
.rid-drone-plane {
|
|
width: 21px;
|
|
height: 21px;
|
|
background: #fff;
|
|
clip-path: polygon(50% 2%, 57% 9%, 58% 34%, 95% 59%, 95% 68%, 58% 57%,
|
|
57% 79%, 72% 91%, 72% 98%, 50% 90%, 28% 98%, 28% 91%,
|
|
43% 79%, 42% 57%, 5% 68%, 5% 59%, 42% 34%, 43% 9%);
|
|
}
|
|
|
|
.rid-pilot-marker {
|
|
box-sizing: border-box;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: 2px solid #fff1c5;
|
|
border-radius: 9px;
|
|
background: #ffd35a;
|
|
box-shadow: 0 2px 7px #081726bb;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.rid-pair-label {
|
|
position: absolute;
|
|
bottom: calc(100% + 5px);
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
box-sizing: border-box;
|
|
width: max-content;
|
|
max-width: 240px;
|
|
padding: 3px 7px;
|
|
border: 1px solid #80b5d8;
|
|
border-radius: 6px;
|
|
background: #0b2034f2;
|
|
color: #eff8ff;
|
|
font: 600 12px/1.25 "Segoe UI", "Microsoft YaHei", sans-serif;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
box-shadow: 0 2px 5px #06101b9c;
|
|
}
|
|
|
|
.rid-pilot-marker .rid-pair-label {
|
|
top: calc(100% + 5px + var(--rid-pilot-label-offset));
|
|
bottom: auto;
|
|
border-color: #dcaf4b;
|
|
}
|
|
|
|
.mapWrap[data-hide-models] .rid-pair-label { display: none; }
|