marcercluster tooltips

This commit is contained in:
muerwre 2019-02-20 11:36:09 +07:00
parent 9d48c479a5
commit f2758843bf
2 changed files with 20 additions and 2 deletions

View file

@ -126,8 +126,25 @@
font-size: 13px;
transform: translate(-12px, -12px);
transition: box-shadow 250ms;
position: relative;
outline: none;
&:hover {
box-shadow: fade(@cluster_small, 70%) 0 0 0 7px;
}
span {
outline: none;
position: absolute;
right: -7px;
bottom: 11px;
background: @cluster_small;
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 8px;
font-size: 11px;
}
}