135 lines
No EOL
2.4 KiB
CSS
135 lines
No EOL
2.4 KiB
CSS
body {
|
|
margin: 0px !important;
|
|
}
|
|
|
|
|
|
#container {
|
|
display: flexbox;
|
|
}
|
|
|
|
|
|
#map {
|
|
height: 100vh;
|
|
width: 100vw;
|
|
}
|
|
|
|
|
|
.button-image {
|
|
width: 5px;
|
|
height: auto;
|
|
}
|
|
|
|
|
|
.leaflet-popup-content>img {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
|
|
#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;
|
|
}
|
|
|
|
|
|
#markerFormContainer {
|
|
display: none;
|
|
z-index: 999;
|
|
position: absolute;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
left:1px;
|
|
right: 1px;
|
|
text-align: center;
|
|
width: fit-content;
|
|
background-color: white;
|
|
}
|
|
|
|
input[type='file'] {
|
|
color: transparent;
|
|
}
|
|
|
|
textarea[name="description"] {
|
|
width: 200px;
|
|
height: 50px;
|
|
}
|
|
|
|
|
|
|
|
.image {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.file-input {
|
|
display: none; /* Hide the file input */
|
|
}
|
|
|
|
.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 */
|
|
}
|
|
|
|
.file-label:hover {
|
|
background-color: #bec3c9; /* Background color on hover */
|
|
}
|
|
|
|
|
|
.file-chosen {
|
|
font-size: 14px;
|
|
color: #555;
|
|
}
|
|
|
|
|
|
|
|
.leaflet-popup-content p {
|
|
margin: 0; /* Remove default margin */
|
|
padding: 5px; /* Optional: Add some padding */
|
|
word-wrap: break-word; /* Allow long words to break */
|
|
overflow-wrap: break-word; /* Recommended for modern browsers */
|
|
white-space: normal; /* Ensure normal text wrapping */
|
|
text-align: center; /* Optional: Center the text */
|
|
}
|
|
|
|
.leaflet-popup-content h1 {
|
|
margin: 0; /* Remove default margin */
|
|
padding: 5px; /* Optional: Add some padding */
|
|
word-wrap: break-word; /* Allow long words to break */
|
|
overflow-wrap: break-word; /* Recommended for modern browsers */
|
|
white-space: normal; /* Ensure normal text wrapping */
|
|
text-align: center; /* Optional: Center the text */
|
|
}
|
|
|
|
|
|
#markerForm {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
margin: 20px 10px;
|
|
}
|
|
|
|
|
|
#markerForm > button {
|
|
margin-left: auto;
|
|
}
|
|
|
|
|
|
#remainingForm {
|
|
display: none;
|
|
} |