qwc2
Version:
QGIS Web Client
38 lines (34 loc) • 818 B
CSS
div.overview-map {
position: absolute;
bottom: 0;
right: 0;
z-index: 101;
}
div.overview-map > button {
font-size: initial;
right: 0.25em;
bottom: 0.25em;
width: 1.375em;
height: 1.375em;
position: absolute;
color: var(--map-button-text-color);
background-color: var(--map-button-bg-color);
border: 0;
outline: 0;
z-index: 101;
border-radius: 2px;
font-weight: bold;
}
div.overview-map > div.ol-overviewmap-map {
position: absolute;
right: 1px;
bottom: 1px;
width: 200px;
height: 200px;
background-color: white;
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
border: 1px solid var(--border-color);
}
div.overview-map.ol-collapsed > div.ol-overviewmap-map {
display: none;
}