54 lines
1.0 KiB
CSS
54 lines
1.0 KiB
CSS
.leaflet-label {
|
|
background: rgba(250, 250, 250, 0.9);
|
|
background-clip: padding-box;
|
|
border-color: #888;
|
|
border-color: rgba(0,0,0,0.25);
|
|
border-radius: 3px;
|
|
border-style: solid;
|
|
border-width: 1px;
|
|
color: #111;
|
|
display: block;
|
|
font: 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
font-weight: 500;
|
|
padding: 1px 6px;
|
|
position: absolute;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
z-index: 6;
|
|
}
|
|
|
|
.leaflet-label.leaflet-clickable {
|
|
cursor: pointer;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.leaflet-label:before,
|
|
.leaflet-label:after {
|
|
border-top: 6px solid transparent;
|
|
border-bottom: 6px solid transparent;
|
|
content: none;
|
|
position: absolute;
|
|
top: 5px;
|
|
}
|
|
|
|
.leaflet-label:before {
|
|
border-right: 6px solid black;
|
|
border-right-color: inherit;
|
|
left: -10px;
|
|
}
|
|
|
|
.leaflet-label:after {
|
|
border-left: 6px solid black;
|
|
border-left-color: inherit;
|
|
right: -10px;
|
|
}
|
|
|
|
.leaflet-label-right:before,
|
|
.leaflet-label-left:after {
|
|
content: "";
|
|
}
|