UNPKG

geoportal-extensions-leaflet

Version:
47 lines (39 loc) 831 B
/* MEASURE TOOL */ .GPmeasureTooltip { position: relative; background: rgba(0, 0, 0, 0.5); border-radius: 4px; color: white; padding: 4px 8px; white-space: nowrap; } .GPmeasureTooltip-measure { font-weight: bold; } .GPmeasureTooltip-info { font-size: 0.75em; text-align: center; } .GPmeasureTooltip-static { background-color: #ffcc33; color: black; border: 1px solid white; } .GPmeasureTooltip-hidden { display: none; } .GPmeasureTooltip-measure::before, .GPmeasureTooltip-info::before, .GPmeasureTooltip-static::before { border-top: 6px solid rgba(0, 0, 0, 0.5); border-right: 6px solid transparent; border-left: 6px solid transparent; content: ""; position: absolute; bottom: -6px; margin-left: -7px; left: 50%; } .GPmeasureTooltip-static::before { border-top-color: #ffcc33; }