- Node.js/Express backend with SQLite database - Interactive map with real-time location tracking - MapBox API integration for fast geocoding - Admin panel for content moderation - 24-hour auto-expiring reports - Deployment scripts for Debian 12 ARM64 - Caddy reverse proxy with automatic HTTPS
137 lines
2.1 KiB
CSS
137 lines
2.1 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
line-height: 1.6;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: #f4f4f9;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.map-section, .form-section {
|
|
margin-bottom: 20px;
|
|
padding: 15px;
|
|
background-color: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.map-section {
|
|
height: auto;
|
|
min-height: 650px;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
#map {
|
|
width: 100%;
|
|
height: 600px;
|
|
border-radius: 8px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
input[type="text"], textarea {
|
|
width: calc(100% - 20px);
|
|
padding: 8px;
|
|
margin-top: 5px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.autocomplete-container {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.autocomplete-list {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
background: white;
|
|
border: 1px solid #ddd;
|
|
border-top: none;
|
|
border-radius: 0 0 4px 4px;
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
z-index: 1000;
|
|
display: none;
|
|
}
|
|
|
|
.autocomplete-item {
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.autocomplete-item:hover,
|
|
.autocomplete-item.selected {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.autocomplete-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.input-help {
|
|
color: #666;
|
|
font-size: 0.85em;
|
|
margin-top: 4px;
|
|
display: block;
|
|
}
|
|
|
|
button[type="submit"] {
|
|
background-color: #007bff;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s ease-in;
|
|
}
|
|
|
|
button[type="submit"]:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
|
|
.message {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
display: none;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.success {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
}
|
|
|
|
.error {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 30px 20px;
|
|
margin-top: 30px;
|
|
border-top: 1px solid #ddd;
|
|
clear: both;
|
|
}
|
|
|
|
disclaimer {
|
|
font-size: 0.8em;
|
|
color: #777;
|
|
}
|