ruscomap/public/css/map.css

135 lines
2.4 KiB
CSS
Raw Normal View History

2024-06-30 22:56:19 +02:00
body {
margin: 0px !important;
}
2024-08-18 23:55:27 +02:00
2024-06-30 22:56:19 +02:00
#container {
display: flexbox;
}
2024-08-16 23:55:03 +02:00
2024-06-30 22:56:19 +02:00
#map {
height: 100vh;
width: 100vw;
2024-08-16 23:55:03 +02:00
}
2024-08-18 23:55:27 +02:00
2024-08-16 23:55:03 +02:00
.button-image {
2024-08-18 23:55:27 +02:00
width: 5px;
height: auto;
2024-06-30 22:56:19 +02:00
}
2024-08-18 23:55:27 +02:00
2024-06-30 22:56:19 +02:00
.leaflet-popup-content>img {
width: 100%;
height: 100%;
}
2024-08-18 23:55:27 +02:00
2024-06-30 22:56:19 +02:00
#addMarkerBtn {
z-index: 1000;
2024-08-18 23:55:27 +02:00
background: rgb(255, 255, 255);
width: 40px;
height: 38px;
2024-06-30 22:56:19 +02:00
position: absolute;
top: 0;
right: 0;
margin-top: 10px;
margin-right: 10px;
}
2024-08-18 23:55:27 +02:00
2024-06-30 22:56:19 +02:00
#markerFormContainer {
2024-08-16 23:55:03 +02:00
display: none;
2024-06-30 22:56:19 +02:00
z-index: 999;
position: absolute;
margin-left: auto;
margin-right: auto;
2024-08-21 00:35:55 +02:00
left:1px;
right: 1px;
2024-06-30 22:56:19 +02:00
text-align: center;
2024-08-20 23:32:28 +02:00
width: fit-content;
2024-06-30 22:56:19 +02:00
background-color: white;
}
2024-08-20 22:30:08 +02:00
input[type='file'] {
color: transparent;
}
2024-08-20 21:34:09 +02:00
textarea[name="description"] {
width: 200px;
height: 50px;
}
2024-08-20 22:30:08 +02:00
.image {
display: flex;
flex-direction: column;
align-items: center;
}
.file-input {
display: none; /* Hide the file input */
}
.file-label {
2024-08-20 23:14:59 +02:00
background-color: #e9e9ed; /* Button color */
color: rgb(0, 0, 0);
border: 100cm;
border-color: black;
2024-08-20 22:30:08 +02:00
padding: 10px 20px;
2024-08-20 23:14:59 +02:00
border-radius: 50px;
2024-08-20 22:30:08 +02:00
cursor: pointer;
margin-bottom: 10px; /* Space between button and file name */
}
2024-08-20 23:14:59 +02:00
.file-label:hover {
background-color: #bec3c9; /* Background color on hover */
}
2024-08-20 22:30:08 +02:00
.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 */
}
2024-06-30 22:56:19 +02:00
#markerForm {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
align-items: flex-start;
gap: 10px;
2024-08-21 00:42:46 +02:00
margin: 23px 20px;
2024-06-30 22:56:19 +02:00
}
2024-08-18 23:55:27 +02:00
2024-06-30 22:56:19 +02:00
#markerForm > button {
margin-left: auto;
}
2024-08-18 23:55:27 +02:00
2024-06-30 22:56:19 +02:00
#remainingForm {
display: none;
}