caprigis/css/app.css

187 lines
3.3 KiB
CSS

@import url("../webgis/js/vendor/bulma/css/bulma.min.css");
@import url("../webgis/js/vendor/fontawesome-free/css/all.min.css");
@import url("../fonts/fonts.css");
/* Variables */
:root {
--ispc-red: #ce1417;
--ispc-blue: #1b3152;
--links-color: #263aac;
--ispc-blue-tr: rgba(27,49,80,0.5);
--din-regular: 'din_next_w1gregular';
}
body {
font-family: var(--din-regular);
font-size: large;
}
a {
color: var(--links-color);
}
a:visited {
color: var(--links-color);
}
.main.columns {
height: 95vh;
}
.main.credits {
width: 60vw;
margin: 0 auto;
min-height: 75vh;
padding-bottom: 1.5rem;
}
.leaflet-container {
background: #fff;
font-family: inherit;
}
.leaflet-top,
.leaflet-left {
z-index: 999 !important;
}
.leaflet-control a {
text-decoration: none;
color: initial;
}
.wait,
.wait-lg {
z-index: 999;
position: fixed;
background-color: #fff;
font-size: xx-large;
}
.wait {
width: 80%;
margin: 0 auto;
padding-top: 100px;
}
.wait-lg {
width: 100vw;
height: 100vh;
padding-top: 25vh;
}
/* Popup */
.welcome .leaflet-popup-content {
min-height: 350px;
min-width: 700px;
padding: 2rem;
margin-right: 42px;
}
.welcome p {
font-size: 1rem;
}
.ped-popup .leaflet-popup-content {
font-size: large;
min-height: 700px;
min-width: 700px;
padding-left: 1rem;
padding-right: 1rem;
margin-right: 42px;
scrollbar-width: thin;
scrollbar-color: var(--ispc-blue) transparent;
}
.ped-popup.country .leaflet-popup-content {
min-height: 600px;
}
.leaflet-popup-content::-webkit-scrollbar {
width: 6px;
}
.leaflet-popup-content::-webkit-scrollbar-thumb {
background-color: var(--ispc-blue);
border-radius: 5px;
}
.leaflet-popup-content img {
margin: 0 auto;
}
.leaflet-popup-close-button {
padding-top: 5px;
padding-right: 30px;
padding-left: 10px;
margin-left: 40px;
}
.leaflet-popup-close-button > span {
font-size: 30px;
}
.leaflet-popup-tip {
display: none;
}
.text-lead a,
.tit_prog {
display: none;
}
.maximize path {
stroke-width: 1.5px;
stroke: black;
}
#fullscreen {
padding: 2px;
}
/* Override some Bulma rules for modals (TODO: SASS??) */
.modal {
z-index: 1000;
}
.modal-content,
.modal-card {
width: 60vw;
}
.modal-card {
min-height: 95vh;
}
.modal-card-body img {
max-height: 200px;
max-width: 200px;
}
.has-bottom-border {
border-bottom: 1px #aaa solid;
}
.overlay {
position: absolute;
width: 100%;
height: 100%;
top: -10%;
left: 0;
}
/* Custom controls */
.site-control {
padding-top: 3px;
padding-left: 10px;
padding-right: 33px;
}
/* Leaflef map container */
#map {
/*height: calc(100vh - 107px);*/
height: 100%;
}
#map-progress {
position: absolute;
top: 30vh;
max-width: 600px;
left: 35vw;
}
/* Menu overlay */
#menu {
z-index: 1000;
overflow-y: auto;
}
/* Content in tabs */
.docs-title {
width: 300px;
max-width: 300px;
}
/* Panoramas */
#pano-viewer {
height: 100%;
width: 100%;
}
/* Marker cluster */
.marker-cluster-small {
background-color: rgba(202, 92, 143, 0.61);
}
.marker-cluster-small div {
background-color: rgba(204, 57, 113, 0.6);
}
.marker-cluster-small span {
color: #fff;
}