qwc2
Version:
QGIS Web Client
48 lines (42 loc) • 1.05 kB
CSS
div.map-contents {
position: absolute;
left: 0;
right: 0;
top: calc(-1 * var(--topbar-height));
bottom: calc(-1 * var(--bottombar-height));
}
/* Move and re-style rotation reset button */
div.ol-rotate {
padding: 0;
top: 4em;
right: 0.5em;
}
div.ol-rotate button {
font-size: 1.25em;
background-color: var(--map-button-bg-color);
color: var(--map-button-text-color);
cursor: pointer;
}
div.ol-overlaycontainer-stopevent {
z-index: 101;
}
span.map-loading-indicator {
display: flex;
align-items: center;
opacity: 0;
transition: opacity 0.5s;
color: var(--panel-text-color);
background-color: var(--panel-bg-color);
box-shadow: 0 -2px 4px rgba(136, 136, 136, 0.5);
position: absolute;
bottom: 0.25em;
left: 0.25em;
padding: 0.25em;
border-radius: 0.25em;
font-size: small;
}
span.map-loading-indicator > div.spinner {
width: 1.5em;
height: 1.5em;
margin-right: 0.25em;
}