feat: Add location search

This commit is contained in:
abdus committed 2026-02-21 01:50:59 +03:00
1 parent 26af8af8a9
commit a53b200c21
5 files changed
+327 -105

No files matched your search

+70 -1
View File
@@ -7,6 +7,60 @@ body {
font-family: 'Inter', sans-serif;
}
.location-search {
position: relative;
max-width: 38rem;
margin: 1rem auto;
padding: 0 1rem;
}
.location-search__input {
width: 100%;
border: 1px solid #ddd;
border-radius: 0.75rem;
padding: 0.75rem 0.875rem;
font: inherit;
}
.location-search__dropdown {
position: absolute;
left: 1rem;
right: 1rem;
top: calc(100% + 0.25rem);
background: #fff;
border: 1px solid #ddd;
border-radius: 0.75rem;
max-height: 18rem;
overflow: auto;
z-index: 5;
}
.location-search__results {
list-style: none;
margin: 0;
padding: 0;
}
.location-search__item {
width: 100%;
border: 0;
border-bottom: 1px solid #f0f0f0;
background: transparent;
text-align: left;
padding: 0.625rem 0.75rem;
font: inherit;
cursor: pointer;
}
.location-search__item:hover {
background: #fafafa;
}
.location-search__state {
padding: 0.75rem;
color: #666;
}
p {
margin: 0;
}
@@ -39,6 +93,21 @@ p + p {
margin: auto;
}
@media (max-width: 768px) {
.table-wrapper {
max-width: 100%;
padding: 0 1rem;
}
.salath-table {
font-size: 1.375rem;
}
.clock {
font-size: 3rem;
}
}
.salath-table {
font-size: 2rem;
font-weight: 600;
@@ -85,4 +154,4 @@ td {
.current-salath {
font-weight: bold;
font-size: 1.5rem;
}
}