238 lines
3.5 KiB
CSS
238 lines
3.5 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
--bg: #f3efe3;
|
|
--panel: rgba(253, 249, 240, 0.92);
|
|
--panel-border: rgba(92, 73, 49, 0.18);
|
|
--ink: #1f2a2e;
|
|
--muted: #5f6b6f;
|
|
--accent: #1f7a62;
|
|
--accent-strong: #125441;
|
|
--shadow: 0 24px 60px rgba(52, 43, 28, 0.12);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
font-family: "Aptos", "Segoe UI", sans-serif;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 32%),
|
|
linear-gradient(135deg, #e9dec4 0%, #f7f4ec 52%, #d8eadf 100%);
|
|
color: var(--ink);
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.app-shell {
|
|
display: grid;
|
|
grid-template-columns: minmax(320px, 380px) 1fr;
|
|
min-height: 100vh;
|
|
gap: 24px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.sidebar,
|
|
.map-wrap {
|
|
min-height: 0;
|
|
}
|
|
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.brand,
|
|
.panel {
|
|
background: var(--panel);
|
|
backdrop-filter: blur(16px);
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 24px;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.brand {
|
|
padding: 24px;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-family: "Aptos Display", "Segoe UI", sans-serif;
|
|
font-size: clamp(2rem, 4vw, 2.7rem);
|
|
line-height: 0.98;
|
|
}
|
|
|
|
.panel {
|
|
padding: 20px;
|
|
}
|
|
|
|
form.panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.parcel-search-form {
|
|
display: grid;
|
|
gap: 12px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.parcel-search-form button {
|
|
width: 100%;
|
|
}
|
|
|
|
label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
label span {
|
|
color: var(--muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(73, 84, 79, 0.18);
|
|
background: rgba(255, 255, 255, 0.72);
|
|
color: var(--ink);
|
|
font: inherit;
|
|
}
|
|
|
|
input:focus {
|
|
outline: 2px solid rgba(31, 122, 98, 0.18);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
border-radius: 14px;
|
|
padding: 13px 16px;
|
|
background: linear-gradient(135deg, var(--accent) 0%, #2b9a79 100%);
|
|
color: #fffefb;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
|
|
box-shadow: 0 18px 36px rgba(31, 122, 98, 0.22);
|
|
}
|
|
|
|
button:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
button:disabled {
|
|
opacity: 0.72;
|
|
cursor: wait;
|
|
}
|
|
|
|
.panel-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.badge {
|
|
min-width: 2rem;
|
|
padding: 5px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(31, 122, 98, 0.12);
|
|
color: var(--accent-strong);
|
|
text-align: center;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.status {
|
|
margin-top: 12px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.status.error {
|
|
color: #9d2e21;
|
|
}
|
|
|
|
.status.success {
|
|
color: var(--accent-strong);
|
|
}
|
|
|
|
.layer-list {
|
|
margin-top: 16px;
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.layer-list.empty {
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.layer-item {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 12px;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.66);
|
|
border: 1px solid rgba(73, 84, 79, 0.12);
|
|
}
|
|
|
|
.layer-item input {
|
|
width: auto;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.layer-meta {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
|
|
.layer-title {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.layer-name {
|
|
color: var(--muted);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.map-wrap {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: 32px;
|
|
box-shadow: var(--shadow);
|
|
min-height: 70vh;
|
|
}
|
|
|
|
#map {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
@media (max-width: 920px) {
|
|
.app-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.map-wrap {
|
|
min-height: 62vh;
|
|
}
|
|
}
|