feat: add advanced Overpass search composer
This commit is contained in:
110
src/styles.css
110
src/styles.css
@@ -69,7 +69,7 @@ a {
|
||||
|
||||
.app-shell {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(320px, 390px) minmax(0, 1fr);
|
||||
grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
@@ -107,12 +107,117 @@ a {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.search-section {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
border-bottom: 1px solid #e1e6df;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.section-heading h2 {
|
||||
margin: 0;
|
||||
font-size: 0.98rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.section-heading span,
|
||||
.field-note {
|
||||
color: #66726a;
|
||||
font-size: 0.82rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.field-note {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.custom-fields {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.checkbox-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.checkbox-grid label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.45rem;
|
||||
border: 1px solid #d7ded5;
|
||||
border-radius: 6px;
|
||||
background: #ffffff;
|
||||
min-height: 36px;
|
||||
padding: 0.42rem 0.55rem;
|
||||
font-weight: 560;
|
||||
}
|
||||
|
||||
.checkbox-grid input {
|
||||
width: auto;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
.active-filter-list {
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.active-filter-list li {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.75rem;
|
||||
border: 1px solid #d7ded5;
|
||||
border-radius: 6px;
|
||||
background: #ffffff;
|
||||
padding: 0.4rem;
|
||||
}
|
||||
|
||||
.active-filter-list span {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
color: #394840;
|
||||
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.active-filter-list button {
|
||||
min-height: 30px;
|
||||
padding: 0.3rem 0.55rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.suggestion-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.suggestion-row button {
|
||||
min-height: 32px;
|
||||
padding: 0.35rem 0.55rem;
|
||||
font-size: 0.82rem;
|
||||
}
|
||||
|
||||
.suggestion-active {
|
||||
border-color: #226a5d;
|
||||
background: #e8f3ef;
|
||||
color: #174d44;
|
||||
}
|
||||
|
||||
.segmented-control {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
@@ -353,7 +458,8 @@ a {
|
||||
}
|
||||
|
||||
.custom-fields,
|
||||
.segmented-control {
|
||||
.segmented-control,
|
||||
.checkbox-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user