qwc2
Version:
QGIS Web Client
34 lines (31 loc) • 718 B
CSS
div.locate-popup {
position: absolute;
text-align: center;
transform: translate(-50%,calc(-100% - 1em));
background: white;
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
white-space: nowrap;
border-radius: 12px;
padding: 1em 2em 1em 1em;
}
div.locate-popup:after {
content: '';
display: block;
position: absolute;
left: calc(50% - 1em);
bottom: -1em;
width: 0;
height: 0;
border-left: 1em solid transparent;
border-right: 1em solid transparent;
border-top: 1em solid white;
}
a.locate-popup-close {
position: absolute;
top: 0.25em;
right: 0.25em;
text-decoration: none;
font-weight: bold;
font-size: 125%;
color: black;
}