added geolocation

This commit is contained in:
SlimusMinus
2026-09-01 01:19:59 +03:00
parent 0ce69c14c1
commit 98473d4b59
8 changed files with 196 additions and 54 deletions

View File

@@ -440,6 +440,22 @@
font-size: .9rem; color: var(--err);
}
/* Geolocation hint on map view */
.f-mapview-geo {
position: absolute;
top: 12px; left: 50%; transform: translateX(-50%);
z-index: 6;
padding: 8px 14px; border-radius: 999px;
font-size: .8rem; font-weight: 600;
background: var(--bg-surface-solid);
border: 1px solid var(--border);
color: var(--text-primary);
box-shadow: 0 2px 10px rgba(0,0,0,.12);
white-space: nowrap;
}
.f-mapview-geo-info { color: var(--muted); }
.f-mapview-geo-warn { color: var(--err); border-color: rgba(237,73,86,.35); }
/* ── Feed Wrap + Scroll ── */
.f-wrap { display: flex; flex: 1; overflow: hidden; min-height: 0; }

View File

@@ -463,6 +463,18 @@ select.f-m-field::selection { background: transparent; }
word-break: break-word;
}
/* Geolocation hint inside map modal */
.f-map-geo {
margin-top: 10px; padding: 8px 12px;
border-radius: 10px;
font-size: .78rem; font-weight: 700;
background: rgba(var(--teal-rgb), .08);
border: 1px solid rgba(var(--teal-rgb), .25);
color: var(--teal);
text-align: center;
}
.f-modal-sm {
width: 420px;
}