@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
77 lines (69 loc) • 1.15 kB
CSS
/* SPDX-License-Identifier: Apache-2.0 */
html,
body {
margin: 0;
padding: 0;
font-family: var(--font-family);
font-size: 0.9rem;
max-width: 100vw;
max-height: 100vh;
overflow: hidden;
}
girafe-header {
height: 2.25rem;
position: absolute;
top: 0.5rem;
left: 0.5rem;
z-index: 10;
background-color: var(--bkg-color);
opacity: 0.5;
border-radius: 4px;
}
#content {
position: absolute;
display: flex;
flex-direction: column;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#main {
display: flex;
flex-direction: row;
position: relative;
width: 100%;
height: 100%;
overflow-y: hidden;
}
girafe-map-grid {
display: block;
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
}
girafe-map-2d,
girafe-map-3d {
display: block;
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
}
girafe-basemap {
display: block;
position: absolute;
left: 0.5rem;
bottom: 0.5rem;
}
girafe-search {
display: block;
width: 25vw;
height: 2.25rem;
position: absolute;
top: 0.5rem;
left: 50%;
transform: translate(-50%, 0);
box-shadow: 0 1px 4px #0000004d;
}