@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
144 lines (125 loc) • 2.7 kB
CSS
/* SPDX-License-Identifier: Apache-2.0 */
#content {
z-index: 10000;
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
display: none;
}
.box {
position: absolute;
background-repeat: no-repeat;
}
.description {
position: absolute;
color: var(--bkg-color);
font-size: 1.2rem;
width: 15rem;
}
#themes {
top: 4.5rem;
left: 0;
width: 150px;
height: 120px;
transform: rotateY(0deg) rotateX(0deg) rotateZ(90deg);
background-position: bottom -50px left -60px;
}
#themes-description {
top: 10.5rem;
left: 10rem;
}
#search {
top: 8rem;
left: 45%;
width: 180px;
height: 70px;
transform: rotateY(0deg) rotateX(0deg) rotateZ(90deg);
background-position: -60px -30px;
}
#search-description {
top: 16rem;
left: 45%;
text-align: center;
}
#menu {
top: 4.5rem;
right: 3rem;
width: 150px;
height: 120px;
transform: rotateY(0deg) rotateX(0deg) rotateZ(180deg);
background-position: bottom -50px left -60px;
}
#menu-description {
top: 14rem;
right: 10rem;
text-align: right;
}
#onboarding, #onboarding-description{
--onboarding-help-width: 320px;
--onboarding-help-height: 160px;
}
#onboarding {
top: calc(50% - var(--onboarding-help-height) * 0.5);
right: calc(50% - var(--onboarding-help-width) * 0.5);
width: var(--onboarding-help-width);
height: var(--onboarding-help-height);
background-size: var(--onboarding-help-width) var(--onboarding-help-height);
}
#onboarding-description {
top: calc(50% - var(--onboarding-help-height) * 0.5);
right: calc(50% - var(--onboarding-help-width) * 0.5);
width: var(--onboarding-help-width);
height: var(--onboarding-help-height);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
span {
display: inline-flex;
align-items: end;
align-content: center;
flex-grow: 1;
margin: 0 4rem;
}
button {
display: inline-flex;
flex-grow: 1;
align-items: baseline;
margin: 0 4rem;
text-decoration: underline;
cursor: pointer;
padding: 0;
border: 0;
font: inherit;
background: transparent;
color: currentColor;
-webkit-appearance: none;
}
}
#basemap {
bottom: 11rem;
left: 26rem;
width: 150px;
height: 120px;
transform: rotateY(0deg) rotateX(180deg) rotateZ(90deg);
background-position: bottom -50px left -60px;
}
#basemap-description {
bottom: 17rem;
left: 36rem;
}
#user-preferences {
bottom: 0.5rem;
right: 3rem;
width: 150px;
height: 120px;
transform: rotateY(180deg) rotateX(0deg) rotateZ(0);
background-position: bottom -50px left -60px;
}
#user-preferences-description {
bottom: 10rem;
right: 10rem;
text-align: right;
}