mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-26 03:26:41 +07:00
good markers for router
This commit is contained in:
parent
50c2ac70e3
commit
d4307ae336
2 changed files with 23 additions and 17 deletions
|
@ -189,28 +189,30 @@
|
|||
|
||||
.router-marker {
|
||||
div {
|
||||
color: @router_line;
|
||||
background: @router_line;
|
||||
color: white;
|
||||
left: auto;
|
||||
right: 50%;
|
||||
transform: translate(50%, 0);
|
||||
top: -20px;
|
||||
right: 15px;
|
||||
// transform: translate(50%, 0);
|
||||
top: -5px;
|
||||
position: absolute;
|
||||
z-index: -10;
|
||||
padding: 2px 2px 2px 4px;
|
||||
border-radius: 100%;
|
||||
padding: 2px 8px 2px 8px;
|
||||
border-radius: 4px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&.right {
|
||||
div {
|
||||
padding: 2px 4px 2px 16px;
|
||||
left: -3px;
|
||||
right: auto;
|
||||
// padding: 2px 4px 2px 16px;
|
||||
// left: -3px;
|
||||
right: auto;
|
||||
left: 15px;
|
||||
|
||||
&::after {
|
||||
left: 5px;
|
||||
right: auto;
|
||||
}
|
||||
// &::after {
|
||||
// left: 5px;
|
||||
// right: auto;
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue