mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
displaying end marker
This commit is contained in:
parent
72c6b99f58
commit
5db6d85e35
3 changed files with 128 additions and 20 deletions
|
@ -186,6 +186,43 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
.router-end-marker {
|
||||
.leaflet-km-dist {
|
||||
background: @router_line;
|
||||
left: auto;
|
||||
right: -3px;
|
||||
top: -3px;
|
||||
position: absolute;
|
||||
z-index: -10;
|
||||
padding: 2px 16px 2px 4px;
|
||||
|
||||
&::after {
|
||||
content: ' ';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 4px;
|
||||
background: white;
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
&.right {
|
||||
.leaflet-km-dist {
|
||||
padding: 2px 4px 2px 16px;
|
||||
left: -3px;
|
||||
right: auto;
|
||||
|
||||
&::after {
|
||||
left: 5px;
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.leaflet-km-marker-2 {
|
||||
.leaflet-km-dist {
|
||||
background: green;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue