added hints on map

This commit is contained in:
SlimusMinus
2026-10-14 23:59:45 +03:00
parent 2c72d6020e
commit d3f4ae085d
9 changed files with 233 additions and 162 deletions

View File

@@ -649,4 +649,33 @@ select.f-m-field::selection { background: transparent; }
padding: 0;
margin: auto;
}
}
}
/* ── Address autocomplete + inline map (CreateUpdatePost) ── */
.f-addr { position: relative; z-index: 30; }
.f-addr-list {
position: absolute; z-index: 20;
top: calc(100% + 4px); left: 0; right: 0;
margin: 0; padding: 4px; list-style: none;
max-height: 264px; overflow-y: auto;
background: var(--bg-surface-solid);
border: 1px solid var(--border); border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
.f-addr-item {
display: flex; flex-direction: column; gap: 2px;
padding: 9px 12px; border-radius: 8px; cursor: pointer;
font-family: var(--font);
}
.f-addr-item.active { background: var(--hover-bg); }
.f-addr-title { font-size: .9rem; color: var(--text-primary); }
.f-addr-sub { font-size: .75rem; color: var(--muted); }
/* Индикатор поиска — слева от крестика очистки */
.f-addr-spinner {
position: absolute; right: 42px; top: 21px; margin-top: -8px;
width: 16px; height: 16px; border-radius: 50%;
border: 2px solid rgba(var(--teal-rgb), .25); border-top-color: var(--teal);
animation: f-addr-spin .7s linear infinite; pointer-events: none;
}
@keyframes f-addr-spin { to { transform: rotate(360deg); } }
.f-map-open { margin-top: 10px; }
.f-map-modal-frame.loading { opacity: .85; }