ruscomap/public/css/map.css
2024-08-27 18:42:51 +02:00

209 lines
3.8 KiB
CSS

/*BODY*/
body {
margin: 0px !important;
}
/*CONTAINER*/
#container {
display: flexbox;
}
/*MAP*/
#map {
height: 100vh;
width: 100vw;
}
/*BOTTONE ALTO DX*/
#addMarkerBtn {
z-index: 1000;
background: rgb(255, 255, 255);
width: 40px;
height: 38px;
position: absolute;
top: 0;
right: 0;
margin-top: 10px;
margin-right: 10px;
}
.button-image {
width: 5px;
height: auto;
}
/*FORM INSERIMENTO MARKER*/
/*CONTENITORE DEL FORM*/
#markerFormContainer {
display: none;
z-index: 999;
position: absolute;
margin-left: auto;
margin-right: auto;
left:42px;
right: 42px;
text-align: center;
width: fit-content;
background-color: white;
}
/*FORM*/
#markerForm {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-items: flex-start;
gap: 10px;
margin: 23px 20px;
}
/*OGEETTI DEL FORM*/
#remainingForm {
display: none;
}
/*BOH*/
#markerForm > button {
margin-left: auto;
}
/*AREA NOME MARKER*/
input[type='file'] {
color: transparent;
}
/*AREA DESCRIZIONE MARKER*/
textarea[name="description"] {
width: 200px;
height: 50px;
}
/*
.image {
display: flex;
flex-direction: column;
align-items: left;
}*/
/*BOTTONE SCEGLI IMMAGINE*/
.file-input {
display: none; /* Hide the file input */
}
/*BOTTONE SCEGLI IMMAGINE*/
.file-label {
background-color: #e9e9ed; /* Button color */
color: rgb(0, 0, 0);
border: 100cm;
border-color: black;
padding: 10px 20px;
border-radius: 50px;
cursor: pointer;
margin-bottom: 10px; /* Space between button and file name */
}
/*EFFETTO BOTTONE SCEGLI IMMAGINE*/
.file-label:hover {
background-color: #bec3c9; /* Background color on hover */
}
/*NOME FILE SCELTO*/
.file-chosen {
font-size: 14px;
color: #555;
}
/*POPUP MARKER*/
.leaflet-popup-content-wrapper {
width: 100%;
height: auto;
}
.leaflet-popup-content>img {
max-width: 230px;
max-height: 230px;
width: 100%;
height: 100%;
}
.leaflet-popup-content p {
margin: 0;
padding: 5px;
word-wrap: break-word;
overflow-wrap: break-word;
white-space: normal;
text-align: center;
}
.leaflet-popup-content h1 {
margin: 0;
padding: 5px;
word-wrap: break-word;
overflow-wrap: break-word;
white-space: normal;
text-align: center;
}
.leaflet-popup-content-wrapper {
text-align: center;
}
/*POPUP INZIALE*/
.popup {
display: flex; /* Hidden by default */
position: fixed;
top: 75%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
border: 1px solid #000000;
padding: 20px;
z-index: 1000;
text-align: cemter;
}
/* .popup img {
max-width: 100%;
height: auto;
} */
#popupstart {
height: 22px;
text-align: center;
}
#istruzioni {
font-size: 14.2px;
width: 200px;
}
#gps-button {
z-index: 1000;
background: rgb(255, 255, 255);
width: 40px;
height: 38px;
position: absolute;
top: 0;
right: 0;
margin-top: 60px;
margin-right: 10px;
align-items: center;
}
#tutorial {
font-size: 18px;
width: 40wh;
}