Suche nach Strassen und Hausnummern

This commit is contained in:
concierge committed 2026-10-23 22:51:23 +02:00
1 parent a16f28b040
commit 518248ca00
12 files changed
+6346 -14

No files matched your search

+117 -7
View File
@@ -91,7 +91,7 @@ body.dispatcher-page main.container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
gap: 0.5rem;
margin-bottom: 0.55rem;
}
@@ -100,6 +100,12 @@ body.dispatcher-page main.container {
flex-direction: column;
gap: 0.05rem;
min-width: 0;
flex: 1 1 0;
}
.clock-row > #speakerButton {
flex: 0 0 auto;
margin: 0 0.25rem;
}
.clock-date {
@@ -134,16 +140,75 @@ body.dispatcher-page main.container {
flex: 0 0 auto;
width: auto;
height: 3rem;
margin-left: 0.25rem;
}
.header-controls {
display: flex;
align-items: flex-end;
gap: 0.5rem;
/* ---------- Straßensuche ---------- */
.street-search {
position: relative;
}
.header-controls > .icon-button {
margin-left: auto;
.street-search input[type="search"] {
width: 100%;
height: 2.35rem;
margin: 0;
padding: 0.25rem 2rem 0.25rem 2.4rem;
font-size: 0.8rem;
text-indent: 0;
}
.street-search-results {
position: absolute;
z-index: 60;
top: calc(100% + 0.25rem);
right: 0;
left: 0;
max-height: 14rem;
margin: 0;
padding: 0.25rem;
overflow-y: auto;
overscroll-behavior: contain;
list-style: none;
border: 1px solid var(--dispatcher-border-strong);
border-radius: 0.5rem;
background: var(--card-background-color, #fff);
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}
.street-search-results[hidden] {
display: none;
}
.street-search-option {
margin: 0;
padding: 0.42rem 0.55rem;
border-radius: 0.35rem;
font-size: 0.8rem;
line-height: 1.25;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
cursor: pointer;
}
.street-search-option:hover,
.street-search-option.is-active {
background: var(--dispatcher-subtle-bg-hover);
}
.street-search-status {
margin-top: 0.3rem;
font-size: 0.7rem;
color: var(--muted-color, #5b6771);
}
.street-search-status:empty {
display: none;
}
.street-search-status.error {
color: #b42318;
}
.map-layer-label {
@@ -657,6 +722,42 @@ dialog.group-streets-dialog.is-dragging article header {
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.38), 0 1px 3px rgba(0, 0, 0, 0.4);
}
/* Markierungsfahne für gesuchte Hausnummern */
.house-number-marker-icon {
padding: 0;
border: 0;
background: transparent;
line-height: 0;
}
.house-number-flag {
position: relative;
display: inline-block;
max-width: 12rem;
padding: 0.22rem 0.5rem 0.22rem 0.55rem;
overflow: hidden;
border-radius: 0.15rem 0.35rem 0.35rem 0.15rem;
background: #c62828;
color: #fff;
font-size: 0.68rem;
font-weight: 700;
line-height: 1.25;
white-space: nowrap;
text-overflow: ellipsis;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.42);
}
.house-number-flag::before {
content: "";
position: absolute;
top: 100%;
left: 0;
width: 2px;
height: 0.7rem;
background: #343a40;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
@media (max-width: 900px) {
.dispatcher-layout {
grid-template-columns: 1fr;
@@ -690,6 +791,11 @@ dialog.group-streets-dialog.is-dragging article header {
height: 2.25rem;
}
.clock-row > #speakerButton {
width: 2.25rem;
height: 2.25rem;
}
.clock-time {
font-size: 1.55rem;
}
@@ -728,6 +834,10 @@ html[data-theme="dark"] .connection-status.disconnected {
color: #ff8b8b;
}
html[data-theme="dark"] .street-search-status.error {
color: #ff8b8b;
}
html[data-theme="dark"] .leaflet-container {
background: var(--dispatcher-map-bg);
}