Files
nodeMap/public/css/geocoder.css
ISA 5483ca83a4 fix: Suchfeld optimiert und alle unnötigen Elemente entfernt
- Container vereinfacht und auf Volle-Breite-Layout umgestellt.
- Überflüssige Elemente im Suchfeld (z.B. Buttons) entfernt.
- Eingabefeld auf maximale Breite erweitert.
- Platzhaltertext auf Deutsch gesetzt.
2024-12-23 14:11:08 +01:00

43 lines
1.3 KiB
CSS

.leaflet-control-geocoder {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Weicher Schatten */
border: 1px solid #d9d9d9; /* Heller Rand */
border-radius: 20px; /* Abgerundete Ecken für Google Maps Look */
padding: 5px 10px; /* Innenabstand */
font-size: 14px; /* Schriftgröße */
font-family: Arial, sans-serif; /* Schriftart */
width: 300px; /* Breite des Suchfeldes */
background-color: #fff; /* Hintergrundfarbe */
display: flex; /* Flexbox für Icon-Ausrichtung */
align-items: center; /* Zentrierte Inhalte */
}
.leaflet-control-geocoder input {
border: none; /* Kein Rand für das Eingabefeld */
outline: none; /* Kein Fokus-Rahmen */
width: 100%; /* Volle Breite */
font-size: 14px; /* Schriftgröße */
color: #333; /* Textfarbe */
padding-left: 10px; /* Abstand vom Rand */
}
.leaflet-control-geocoder input::placeholder {
color: #757575; /* Platzhalter-Farbe */
}
.leaflet-control-geocoder-icon {
background-color: transparent; /* Kein Hintergrund */
border: none; /* Kein Rand */
cursor: pointer; /* Zeiger beim Überfahren */
margin-right: 5px; /* Abstand zum Textfeld */
}
.leaflet-control-geocoder-icon img {
width: 20px; /* Icon-Größe */
height: 20px;
}
/* Alternative Ergebnisse verbergen */
.leaflet-control-geocoder-alternatives {
display: none;
}