Files
LMEMappeCatastaliProApp/wwwroot/css/app.css
T

1990 lines
36 KiB
CSS

:root {
--ink: #17212b;
--muted: #63717c;
--surface: #ffffff;
--panel: #f4f6f7;
--line: #d6dde2;
--accent: #14705e;
--accent-strong: #0c5749;
--warning: #a34b08;
--nav-height: 0px;
}
html,
body,
#app,
.app-shell,
.map-app,
.map-stage {
width: 100%;
height: 100%;
margin: 0;
overflow: hidden;
}
html,
body {
font-family: Inter, "Segoe UI", Arial, sans-serif;
background: #d8e0e4;
color: var(--ink);
}
button,
input,
select,
textarea {
font: inherit;
}
button {
min-height: 42px;
border: 0;
border-radius: 6px;
padding: 0 14px;
background: var(--accent);
color: #fff;
font-weight: 700;
}
button:active:not(:disabled) {
transform: translateY(1px);
}
button:disabled {
opacity: 0.48;
}
input,
select,
textarea {
width: 100%;
border: 1px solid #bfcbd2;
border-radius: 6px;
background: #fff;
color: var(--ink);
}
input,
select {
min-height: 44px;
padding: 0 11px;
}
textarea {
padding: 9px 11px;
resize: vertical;
}
.license-code-input {
min-height: 108px;
font-family: Consolas, "Courier New", monospace;
font-size: 11px;
line-height: 1.35;
overflow-wrap: anywhere;
}
input[type="range"],
input[type="checkbox"] {
min-height: auto;
}
.map-stage {
position: relative;
}
#map {
position: absolute;
inset: 0;
background: #d8e0e4;
}
.map-toolbar {
position: absolute;
top: 12px;
left: 12px;
right: 12px;
z-index: 900;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
min-height: 52px;
padding: 7px 8px 7px 13px;
border: 1px solid rgba(255, 255, 255, 0.54);
border-radius: 8px;
background: rgba(22, 31, 38, 0.9);
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
color: #fff;
}
.app-identity {
display: flex;
align-items: baseline;
gap: 10px;
min-width: 0;
overflow: hidden;
}
.app-identity strong {
min-width: 0;
overflow: hidden;
font-size: 18px;
text-overflow: ellipsis;
white-space: nowrap;
}
.app-identity span {
overflow: hidden;
color: #bfe6dc;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.toolbar-button {
min-height: 38px;
background: #fff;
color: var(--ink);
}
.toolbar-actions,
.layer-button {
display: flex;
align-items: center;
gap: 7px;
}
.toolbar-actions {
flex: 0 0 auto;
}
.map-icon-command,
.map-menu-button {
width: 38px;
min-width: 38px;
min-height: 38px;
padding: 0;
background: #fff;
color: var(--ink);
font-size: 22px;
line-height: 1;
}
.map-menu-button.is-active {
background: #ccebe3;
color: var(--accent-strong);
}
.app-status-line i {
display: inline-block;
width: 8px;
height: 8px;
margin-left: 5px;
border-radius: 50%;
background: #fbbf24;
}
.map-navigation-menu {
position: absolute;
top: 70px;
right: 12px;
left: auto;
z-index: 1150;
display: grid;
width: min(300px, calc(100vw - 24px));
max-height: calc(100vh - 84px);
overflow-y: auto;
border: 1px solid var(--line);
border-radius: 8px;
padding: 7px;
background: rgba(255, 255, 255, 0.99);
box-shadow: 0 5px 22px rgba(0, 0, 0, 0.3);
}
.map-navigation-menu > button {
min-height: 40px;
border-bottom: 1px solid #e5eaed;
border-radius: 0;
background: transparent;
color: var(--ink);
text-align: left;
}
.menu-credits {
display: grid;
gap: 3px;
padding: 10px 12px 5px;
color: var(--muted);
font-size: 10px;
line-height: 1.35;
}
.menu-credits a {
color: var(--accent-strong);
}
.layer-button.is-active {
background: #ccebe3;
color: var(--accent-strong);
}
.layer-symbol {
width: 20px;
height: 20px;
background: url("../lib/leaflet/images/layers.png") center / contain no-repeat;
}
.map-search {
position: absolute;
top: 72px;
left: 12px;
right: 12px;
z-index: 890;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 8px;
max-width: 640px;
padding: 8px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.96);
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
opacity: 0;
pointer-events: none;
transform: translateY(-8px);
transition: opacity 140ms ease, transform 140ms ease;
}
.map-search.is-open {
opacity: 1;
pointer-events: auto;
transform: translateY(0);
}
.map-layer-panel {
position: absolute;
top: 72px;
right: 12px;
left: auto;
bottom: calc(var(--nav-height) + 8px);
z-index: 1080;
display: block;
box-sizing: border-box;
width: min(480px, 50vw);
overflow-y: auto;
border: 1px solid var(--line);
border-radius: 8px;
padding: 9px;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
}
.map-layer-panel > header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 0 0 7px 4px;
border-bottom: 1px solid var(--line);
}
.layer-panel-close {
width: 36px;
min-width: 36px;
min-height: 34px;
padding: 0;
background: #e9eef0;
color: var(--ink);
font-size: 23px;
}
.map-layer-option {
display: flex;
align-items: flex-start;
gap: 9px;
min-height: 45px;
padding: 9px 4px;
border-bottom: 1px solid #e5eaed;
}
.map-layer-option input {
flex: 0 0 auto;
width: 19px;
height: 19px;
margin-top: 2px;
}
.map-layer-option span {
display: grid;
gap: 2px;
min-width: 0;
line-height: 1.25;
}
.map-layer-option strong,
.map-layer-option small {
overflow-wrap: anywhere;
}
.map-layer-option small {
color: var(--muted);
font-size: 10px;
font-weight: 600;
}
.layer-panel-actions {
display: grid;
gap: 7px;
padding-top: 9px;
}
.menu-help {
margin-top: 4px;
border: 1px solid #c8d3d8;
border-radius: 6px;
background: #f7fafb;
color: var(--ink);
}
.menu-help summary {
display: flex;
align-items: center;
gap: 8px;
min-height: 40px;
padding: 7px 10px;
cursor: pointer;
list-style: none;
font-size: 12px;
}
.menu-help summary::-webkit-details-marker {
display: none;
}
.menu-help summary > span {
display: grid;
place-items: center;
width: 22px;
height: 22px;
border: 1px solid #82949d;
border-radius: 50%;
color: #42535c;
font-weight: 900;
}
.menu-help summary::after {
margin-left: auto;
content: "\25BE";
color: #52636b;
font-size: 14px;
transition: transform 140ms ease;
}
.menu-help[open] summary::after {
transform: rotate(180deg);
}
.menu-help-content {
padding: 10px 12px 12px;
border-top: 1px solid #d8e0e4;
font-size: 11px;
line-height: 1.45;
}
.menu-help-content p {
margin: 0 0 8px;
font-weight: 700;
}
.menu-help-content ol {
margin: 0;
padding-left: 18px;
}
.menu-help-content li + li {
margin-top: 6px;
}
.layer-tree-section {
display: grid;
gap: 6px;
padding-top: 9px;
}
.layer-tree-section > header {
display: grid;
gap: 2px;
padding: 0 4px;
}
.layer-tree-section > header small {
color: var(--muted);
font-size: 10px;
}
.layer-manager-tree,
.layer-manager-children {
display: grid;
gap: 4px;
}
.layer-selection-toolbar {
position: sticky;
top: -9px;
z-index: 3;
display: grid;
gap: 6px;
padding: 8px 4px;
border-bottom: 1px solid var(--line);
background: rgba(255, 255, 255, 0.98);
}
.layer-selection-toolbar label,
.layer-object-tools > label:not(.layer-manager-suboption),
.layer-style-controls label {
display: grid;
gap: 3px;
font-size: 9px;
}
.layer-selection-summary {
display: flex;
align-items: center;
justify-content: space-between;
gap: 6px;
font-size: 10px;
}
.layer-selection-summary button,
.layer-batch-actions button,
.layer-compact-actions button,
.layer-object-tools > button {
min-height: 28px;
min-width: 0;
padding: 4px 6px;
font-size: 9px;
}
.layer-selection-summary button {
max-width: 48%;
}
.layer-batch-actions,
.layer-compact-actions {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 4px;
}
.layer-group-tools,
.layer-object-tools {
display: grid;
gap: 6px;
min-width: 0;
padding: 7px;
border: 1px dashed var(--layer-group-border, #cbd5da);
border-radius: 4px;
background: rgba(255, 255, 255, 0.7);
}
.layer-group-tools {
margin: 0 3px 4px;
}
.layer-group-totals {
color: var(--muted);
font-size: 9px;
}
.layer-style-controls {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 5px;
}
.layer-style-controls input,
.layer-style-controls select,
.layer-object-tools textarea {
width: 100%;
min-width: 0;
min-height: 28px;
padding: 3px;
font-size: 10px;
}
.layer-style-controls input[type="color"] {
padding: 1px;
}
.layer-color-editor {
grid-column: 1 / -1;
display: grid;
gap: 5px;
padding: 6px;
border: 1px solid #cbd5da;
border-radius: 4px;
background: rgba(255, 255, 255, 0.82);
}
.layer-color-editor > header {
display: grid;
grid-template-columns: minmax(0, 1fr) 46px auto;
align-items: center;
gap: 5px;
font-size: 10px;
}
.layer-color-editor > header input[type="color"] {
width: 46px;
min-height: 30px;
}
.layer-color-editor button {
min-height: 28px;
min-width: 0;
padding: 3px 6px;
font-size: 9px;
}
.layer-color-formats {
display: grid;
gap: 4px;
}
.layer-color-formats label {
grid-template-columns: 30px minmax(0, 1fr);
align-items: center;
}
.layer-color-formats input {
font-family: Consolas, "Courier New", monospace;
}
.layer-color-copy {
justify-self: stretch;
}
.layer-photo-picker {
position: relative;
min-height: 32px;
place-items: center;
border: 1px dashed #8aa2aa;
border-radius: 4px;
}
.layer-photo-picker input {
position: absolute;
inset: 0;
opacity: 0;
}
.layer-photo-preview {
display: block;
width: 100%;
max-height: 140px;
object-fit: contain;
}
.lme-popup-photo {
display: block;
width: min(240px, 60vw);
max-height: 180px;
margin-top: 6px;
object-fit: contain;
}
.lme-permanent-label {
width: 0 !important;
height: 0 !important;
border: 0 !important;
background: transparent !important;
}
.lme-permanent-label span {
position: absolute;
transform: translate(-50%, -50%);
padding: 2px 5px;
border: 1px solid #52616c;
border-radius: 3px;
background: rgba(255, 255, 255, 0.92);
color: #17212b;
font-size: 10px;
font-weight: 800;
white-space: nowrap;
}
.lme-offline-tile {
box-sizing: border-box;
width: 256px;
height: 256px;
border: 1px solid #d8e0e3;
background-color: #f5f7f8;
}
.layer-manager-group,
.layer-manager-block,
.layer-manager-object {
border: 1px solid var(--layer-group-border, #dce3e6);
border-radius: 6px;
background: var(--layer-group-surface, #fff);
}
.layer-manager-group > summary {
background: var(--layer-group-parent, #f6f8f9);
}
.layer-manager-block > summary {
background: color-mix(in srgb, var(--layer-group-parent, #f6f8f9) 72%, white);
}
.layer-manager-object > summary {
background: color-mix(in srgb, var(--layer-group-parent, #f6f8f9) 42%, white);
}
.layer-manager-details,
.layer-group-tools {
background: color-mix(in srgb, var(--layer-group-parent, #f6f8f9) 22%, white);
}
.layer-manager-group > summary,
.layer-manager-block > summary,
.layer-manager-object > summary {
display: grid;
grid-template-columns: 28px 28px minmax(0, 1fr) minmax(28px, auto);
grid-template-areas:
"handle expand title count"
"visibility lock moves moves"
"actions actions actions actions";
align-items: start;
gap: 6px;
min-height: 38px;
padding: 4px 6px;
cursor: pointer;
list-style: none;
}
.layer-expand-button {
grid-area: expand;
align-self: center;
justify-self: center;
width: 28px;
min-width: 28px;
height: 28px;
min-height: 28px;
padding: 0;
border: 1px solid #cbd5da;
border-radius: 4px;
background: #fff;
color: var(--ink);
font-size: 18px;
line-height: 1;
}
.layer-manager-group > summary::-webkit-details-marker,
.layer-manager-block > summary::-webkit-details-marker,
.layer-manager-object > summary::-webkit-details-marker {
display: none;
}
.layer-drag-handle {
grid-area: handle;
width: 28px;
height: 28px;
border: 0;
border-radius: 4px;
background: #e9eef0;
color: var(--ink);
font-size: 18px;
line-height: 1;
touch-action: none;
cursor: grab;
}
.layer-row-actions {
grid-area: actions;
display: grid;
grid-template-columns: minmax(0, 1fr);
width: 100%;
gap: 4px;
margin-top: 2px;
}
.layer-manager-group > summary > input,
.layer-manager-block > summary > input,
.layer-manager-object > summary > input {
grid-area: visibility;
justify-self: start;
width: 20px;
height: 20px;
margin: 1px 0;
}
.layer-rename-button,
.layer-membership-button,
.layer-remove-button {
width: 100%;
min-height: 28px;
min-width: 0;
padding: 4px;
border: 1px solid #bfd4cd;
border-radius: 4px;
background: #eef8f5;
color: var(--accent-strong);
font-size: 10px;
font-weight: 800;
line-height: 1.15;
overflow-wrap: anywhere;
}
.layer-rename-button:active {
background: #d9eee7;
}
.layer-membership-button {
border-color: #bfdbfe;
background: #eff6ff;
color: #1d4ed8;
}
.layer-membership-button:active {
background: #dbeafe;
}
.layer-remove-button {
border-color: #fecaca;
background: #fff1f2;
color: #b42318;
}
.layer-remove-button:active {
background: #ffe4e6;
}
.layer-move-buttons {
grid-area: moves;
display: inline-grid;
grid-template-columns: 24px 24px;
justify-self: end;
gap: 2px;
}
.layer-move-buttons button {
width: 24px;
height: 28px;
padding: 0;
border: 1px solid #cbd5da;
border-radius: 4px;
background: #f6f8f9;
color: var(--ink);
font-size: 16px;
font-weight: 800;
line-height: 1;
}
.layer-move-buttons button:active {
background: #dce8ec;
}
.layer-manager-title {
grid-area: title;
min-width: 0;
overflow-wrap: anywhere;
color: var(--layer-group-accent, var(--ink));
font-size: 12px;
}
.layer-manager-group > summary > .layer-manager-title {
font-size: 13px;
font-weight: 800;
}
.layer-manager-block > summary > .layer-manager-title {
font-size: 12px;
font-weight: 800;
}
.layer-manager-object > summary > .layer-manager-title {
font-size: 11px;
font-style: italic;
font-weight: 400;
}
.layer-inline-lock {
grid-area: lock;
justify-self: center;
width: 28px;
min-width: 28px;
min-height: 24px;
margin: 0;
padding: 0;
background: transparent;
color: var(--ink);
font-size: 15px;
}
.layer-inline-lock.is-locked {
background: #fff2cc;
}
.project-readonly .leaflet-draw,
.project-readonly .layer-rename-button,
.project-readonly .layer-membership-button,
.project-readonly .layer-remove-button,
.project-readonly .layer-inline-lock,
.project-readonly .layer-object-tools,
.project-readonly .layer-group-tools,
.project-readonly .layer-batch-actions {
pointer-events: none;
opacity: 0.5;
}
.lme-app-dialog {
position: absolute;
inset: 0;
z-index: 1500;
display: grid;
place-items: center;
padding: 16px;
background: rgba(15, 23, 28, 0.48);
}
.lme-app-dialog > section {
display: flex;
flex-direction: column;
width: min(820px, 96vw);
max-height: 88vh;
overflow: hidden;
border-radius: 8px;
background: #fff;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
}
.lme-app-dialog header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 12px;
border-bottom: 1px solid var(--line);
}
.lme-app-dialog header button {
width: 36px;
min-width: 36px;
min-height: 34px;
padding: 0;
background: #e9eef0;
color: var(--ink);
font-size: 22px;
}
.lme-app-dialog-body {
overflow: auto;
padding: 12px;
}
.object-table-wrap {
overflow: auto;
}
.object-table-wrap table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.object-table-wrap th,
.object-table-wrap td {
padding: 7px;
border-bottom: 1px solid var(--line);
text-align: left;
white-space: nowrap;
}
.object-table-wrap button {
width: 30px;
min-width: 30px;
min-height: 30px;
padding: 0;
}
.object-table-search,
.coordinate-result {
display: grid;
gap: 8px;
margin-bottom: 10px;
}
.release-notes {
max-height: 220px;
overflow: auto;
margin: 8px 0 0;
padding: 9px;
border: 1px solid var(--line);
border-radius: 6px;
background: #fff;
color: var(--ink);
font-family: inherit;
font-size: 11px;
white-space: pre-wrap;
}
.lme-offline-image-tile {
width: 256px;
height: 256px;
}
.layer-manager-count {
grid-area: count;
justify-self: end;
color: var(--muted);
font-size: 10px;
font-weight: 900;
}
.layer-manager-children {
margin-left: 4px;
padding: 4px 3px 5px 6px;
border-left: 2px solid var(--layer-group-border, #dce3e6);
}
.layer-manager-block > .layer-manager-children {
margin-left: 5px;
padding-left: 5px;
}
.layer-manager-object {
margin-left: 3px;
border-radius: 4px;
}
.layer-manager-object > summary {
grid-template-columns: 24px 24px minmax(0, 1fr) 46px;
gap: 4px;
padding: 3px 4px;
}
.layer-manager-object > summary > .layer-expand-button {
width: 24px;
min-width: 24px;
height: 24px;
min-height: 24px;
font-size: 15px;
}
.layer-manager-object > summary > .layer-drag-handle {
width: 24px;
height: 24px;
font-size: 15px;
}
.layer-manager-object > summary > .layer-move-buttons {
grid-template-columns: 22px 22px;
}
.layer-manager-object > summary > .layer-move-buttons button {
width: 22px;
height: 24px;
}
.layer-manager-object > summary .layer-rename-button,
.layer-manager-object > summary .layer-membership-button,
.layer-manager-object > summary .layer-remove-button {
min-height: 24px;
font-size: 9px;
}
.layer-manager-details {
display: grid;
gap: 2px;
padding: 0 6px 7px 12px;
color: var(--muted);
font-size: 10px;
}
.layer-manager-suboption {
display: grid;
grid-template-columns: 18px minmax(0, 1fr);
align-items: center;
gap: 6px;
min-height: 30px;
color: var(--ink);
font-size: 11px;
font-weight: 700;
}
.layer-manager-suboption input {
margin: 0;
}
.layer-manager-info {
display: grid;
gap: 2px;
padding: 3px 0 0 24px;
}
.layer-manager-dragging {
opacity: 0.55;
outline: 2px solid #2563eb;
}
.layer-manager-object-selected > summary {
background: #fff0fb;
box-shadow: inset 3px 0 #ff00d4;
}
.layer-manager-parent-highlighted > summary,
.layer-manager-parent-selected > summary {
background: #fff0fb;
box-shadow: inset 3px 0 #ff00d4;
}
.layer-manager-selection-path > summary {
box-shadow: inset 3px 0 #ff00d4;
}
.project-command-stack {
display: grid;
gap: 8px;
min-width: 0;
}
.project-command-stack > * {
width: 100%;
min-width: 0;
}
.lme-edit-form,
.attribute-editor,
.attribute-editor-rows {
display: grid;
gap: 12px;
}
.lme-edit-form textarea,
.attribute-editor textarea {
min-height: 82px;
resize: vertical;
white-space: pre-wrap;
}
.dialog-command-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.attribute-editor > p {
margin: 0;
color: var(--muted);
font-size: 12px;
}
.attribute-copy-panel {
display: grid;
grid-template-columns: minmax(170px, 1fr) auto;
grid-template-areas:
"heading heading"
"source source"
"toggle action"
"hint hint";
align-items: end;
gap: 8px 12px;
padding: 10px;
border: 1px solid var(--line);
border-radius: 6px;
background: #f5f8f9;
}
.attribute-copy-panel > strong {
grid-area: heading;
}
.attribute-copy-panel > label:first-child {
grid-area: source;
min-width: 0;
}
.attribute-copy-panel > .toggle-line {
grid-area: toggle;
}
.attribute-copy-panel > button {
grid-area: action;
}
.attribute-copy-panel > label:first-child select {
width: 100%;
}
.attribute-copy-panel > small {
grid-area: hint;
color: var(--muted);
line-height: 1.4;
}
.attribute-editor-row {
display: grid;
grid-template-columns: minmax(130px, 0.8fr) minmax(180px, 2fr) 36px;
align-items: end;
gap: 8px;
padding-bottom: 10px;
border-bottom: 1px solid var(--line);
}
.attribute-editor-row > button {
width: 36px;
min-width: 36px;
min-height: 36px;
padding: 0;
background: #fff1f2;
color: #b42318;
font-size: 20px;
}
.object-table-legend {
display: flex;
flex-wrap: wrap;
gap: 6px 14px;
margin-bottom: 8px;
color: var(--muted);
font-size: 11px;
}
.object-table-wrap input[type="checkbox"] {
width: 18px;
height: 18px;
}
.geometry-result {
display: grid;
grid-template-columns: 46px minmax(0, 1fr);
align-items: center;
gap: 12px;
}
.geometry-result > span {
display: grid;
place-items: center;
width: 42px;
height: 42px;
border-radius: 50%;
background: #dcfce7;
color: #166534;
font-size: 25px;
font-weight: 900;
}
.geometry-result-warning > span { background: #fef3c7; color: #92400e; }
.geometry-result-error > span { background: #ffe4e6; color: #b42318; }
.geometry-result > p { margin: 0; line-height: 1.45; }
.lme-geometry-toolbar a {
display: grid !important;
place-items: center;
font-size: 20px !important;
font-weight: 900;
text-decoration: none;
}
.leaflet-help {
display: grid;
gap: 14px;
}
.leaflet-help > p {
margin: 0;
color: var(--muted);
line-height: 1.45;
}
.leaflet-help-list {
display: grid;
gap: 0;
margin: 0;
}
.leaflet-help-list > div {
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
gap: 10px;
padding: 10px 0;
border-bottom: 1px solid var(--line);
}
.leaflet-help-list dt {
font-size: 20px;
font-weight: 900;
text-align: center;
}
.leaflet-help-list dd {
margin: 0;
line-height: 1.45;
}
.leaflet-help-list dd strong {
display: block;
margin-bottom: 2px;
}
.gps-overlay {
position: absolute;
top: 72px;
right: auto;
bottom: auto;
left: 12px;
z-index: 850;
display: grid;
grid-template-columns: minmax(160px, auto) auto auto;
align-items: center;
gap: 7px;
max-width: calc(100% - 24px);
padding: 7px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
transition: top 140ms ease;
}
.gps-overlay.is-collapsed {
grid-template-columns: auto;
right: auto;
width: 48px;
max-width: 48px;
padding: 5px;
}
.gps-overlay.is-collapsed .gps-state,
.gps-overlay.is-collapsed .gps-actions {
display: none;
}
.fiducial-list {
display: grid;
gap: 8px;
}
.fiducial-item {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 10px;
padding: 10px 0;
border-bottom: 1px solid #d9e0e3;
}
.fiducial-item strong {
overflow-wrap: anywhere;
}
.fiducial-item .secondary-command {
margin: 0;
}
.gps-overlay.search-open {
top: 140px;
}
.gps-state {
display: grid;
min-width: 0;
padding: 0 6px;
font-size: 11px;
}
.gps-state span,
.gps-state strong {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.gps-state strong {
color: #a33227;
}
.gps-actions {
display: grid;
gap: 5px;
}
.gps-main,
.gps-center,
.gps-collapse {
min-height: 38px;
padding: 0 10px;
white-space: nowrap;
}
.gps-center {
background: #e7ecef;
color: var(--ink);
}
.gps-collapse {
width: 38px;
padding: 0;
background: #e7ecef;
color: var(--ink);
font-size: 22px;
line-height: 1;
}
.leaflet-top.leaflet-right {
top: 68px;
right: 2px;
}
.map-stage.search-active .leaflet-top.leaflet-right {
top: 136px;
}
.leaflet-touch .leaflet-draw-toolbar a {
width: 38px;
height: 38px;
}
.cadastral-sheet-label {
width: auto !important;
height: auto !important;
border: 1px solid #9a5b00;
border-radius: 4px;
padding: 3px 6px;
background: rgba(255, 251, 235, 0.94);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
color: #713f12;
font-size: 11px;
font-weight: 800;
line-height: 1.2;
white-space: nowrap;
}
.lme-drawing-scope-actions a[aria-disabled="true"] {
opacity: 0.45;
pointer-events: none;
}
.tool-sheet {
position: absolute;
top: 0;
bottom: var(--nav-height);
right: 0;
left: auto;
z-index: 1100;
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
width: min(430px, calc(100% - 48px));
border-left: 1px solid var(--line);
background: var(--panel);
box-shadow: -7px 0 24px rgba(0, 0, 0, 0.24);
}
.sheet-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 14px;
padding: 18px 16px 13px;
border-bottom: 1px solid var(--line);
background: #fff;
}
.eyebrow {
margin: 0 0 4px;
color: var(--muted);
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
}
h1,
h2,
p {
margin-top: 0;
}
h1 {
margin-bottom: 0;
font-size: 22px;
line-height: 1.12;
}
h2 {
margin: 10px 0 2px;
font-size: 15px;
}
.close-button {
width: 42px;
min-width: 42px;
padding: 0;
background: #e9eef0;
color: var(--ink);
font-size: 27px;
line-height: 1;
}
.panel-content {
flex: 1 1 auto;
min-height: 0;
display: grid;
align-content: start;
gap: 12px;
overflow-y: auto;
overscroll-behavior: contain;
padding: 15px 16px max(32px, calc(24px + env(safe-area-inset-bottom)));
scroll-padding-bottom: max(32px, calc(24px + env(safe-area-inset-bottom)));
}
.panel-section {
display: grid;
gap: 12px;
padding: 0 0 16px;
border-bottom: 1px solid var(--line);
}
.panel-section:last-child {
padding-bottom: 0;
border-bottom: 0;
}
.panel-section h2 {
margin-top: 0;
}
.field-help {
margin-top: -7px;
color: var(--muted);
font-size: 10px;
line-height: 1.35;
}
label {
display: grid;
gap: 5px;
color: #45545f;
font-size: 12px;
font-weight: 800;
}
.button-row {
display: flex;
gap: 8px;
}
.button-row > * {
flex: 1;
}
.primary-command,
.secondary-command {
width: 100%;
}
.secondary-command {
border: 1px solid #b9c7ce;
background: #fff;
color: var(--ink);
}
.danger-command {
width: 100%;
border: 1px solid #cfaca8;
background: #fff;
color: #9b2f26;
}
.file-picker {
position: relative;
min-height: 52px;
place-items: center;
border: 1px dashed #7e969f;
border-radius: 8px;
background: #fff;
color: var(--accent-strong);
cursor: pointer;
}
.file-picker input {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
}
.catalog-progress,
.service-note {
display: grid;
gap: 7px;
padding: 11px;
border: 1px solid #c7dce0;
border-radius: 8px;
background: #edf7f5;
color: #24443e;
font-size: 12px;
line-height: 1.4;
}
.catalog-progress progress {
width: 100%;
accent-color: var(--accent);
}
.service-note p {
margin-bottom: 0;
}
.protected-service {
border-color: #ead4b9;
background: #fff7ea;
color: #5d4024;
}
.layer-toggles {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 9px;
padding: 4px 0;
}
.layer-toggles label,
.toggle-line {
display: flex;
align-items: center;
gap: 8px;
}
.layer-toggles input,
.toggle-line input {
width: 18px;
height: 18px;
}
.project-save-option {
padding: 10px 11px;
border: 1px solid var(--line);
border-radius: 6px;
background: #fff;
}
.project-archive-state {
color: var(--muted);
font-size: 11px;
line-height: 1.35;
}
.measurement-mode-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 7px;
}
.measurement-mode-grid button {
min-width: 0;
padding: 0 8px;
}
.lme-measure-label {
width: 0 !important;
height: 0 !important;
border: 0 !important;
background: transparent !important;
pointer-events: none !important;
}
.lme-measure-label span {
position: absolute;
transform: translate(-50%, -50%);
border: 1px solid rgba(23, 33, 43, 0.35);
border-radius: 4px;
padding: 2px 5px;
background: rgba(255, 255, 255, 0.92);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
color: #17212b;
font-size: 10px;
font-weight: 800;
line-height: 1.25;
white-space: nowrap;
}
.lme-measure-label.imported span {
border-color: #15806a;
color: #0c5749;
}
.lme-measure-label.drawing span {
border-color: #d35d0b;
color: #7c2d12;
}
.lme-measure-label.side span {
padding: 1px 4px;
font-size: 9px;
font-weight: 700;
}
.map-info {
position: absolute;
left: 12px;
bottom: 76px;
z-index: 820;
max-width: min(620px, calc(100% - 460px));
border-radius: 8px;
display: flex;
align-items: flex-start;
gap: 8px;
padding: 7px 7px 7px 11px;
background: rgba(22, 31, 38, 0.88);
color: #fff;
font-size: 12px;
pointer-events: auto;
}
.map-info[hidden] {
display: none;
}
.map-info-text {
min-width: 0;
padding: 2px 0;
overflow-wrap: anywhere;
}
.map-info-close {
flex: 0 0 28px;
width: 28px;
min-height: 28px;
padding: 0;
border: 0;
background: transparent;
color: #fff;
font-size: 20px;
line-height: 1;
}
.wms-preview[hidden] {
display: none;
}
.wms-preview {
position: absolute;
inset: 0;
z-index: 1400;
display: grid;
place-items: center;
padding: 16px;
background: rgba(15, 22, 27, 0.72);
}
.wms-preview-dialog {
display: grid;
grid-template-rows: auto minmax(0, 1fr);
width: min(980px, 100%);
height: min(820px, 100%);
overflow: hidden;
border-radius: 8px;
background: #fff;
box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}
.wms-preview-dialog > header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 11px 12px;
border-bottom: 1px solid var(--line);
}
.wms-preview-dialog > header div {
display: grid;
gap: 2px;
}
.wms-preview-dialog > header small {
color: var(--muted);
font-size: 10px;
}
.wms-preview-body {
display: grid;
min-height: 0;
place-items: center;
overflow: auto;
padding: 12px;
background: #eef2f3;
color: var(--muted);
}
.wms-preview-map {
position: relative;
flex: 0 0 auto;
overflow: hidden;
background: #fff;
}
.wms-preview-map[hidden] {
display: none;
}
.wms-preview-map img,
.wms-preview-map svg {
display: block;
width: 100%;
height: 100%;
}
.wms-preview-map svg {
position: absolute;
inset: 0;
pointer-events: none;
}
.wms-preview-parcel {
fill: rgba(251, 191, 36, 0.28);
fill-rule: evenodd;
stroke: #ef4444;
stroke-width: 4px;
vector-effect: non-scaling-stroke;
}
.wms-preview-gps-parcel {
fill: rgba(56, 189, 248, 0.24);
fill-rule: evenodd;
stroke: #1d4ed8;
stroke-width: 4px;
vector-effect: non-scaling-stroke;
}
.bottom-tabs {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 1200;
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
height: var(--nav-height);
padding-bottom: env(safe-area-inset-bottom);
border-top: 1px solid #bcc7cd;
background: rgba(255, 255, 255, 0.98);
}
.bottom-tabs button {
min-width: 0;
min-height: 0;
border-radius: 0;
padding: 0 5px;
background: transparent;
color: #52616c;
font-size: 12px;
}
.bottom-tabs button.active {
box-shadow: inset 0 3px 0 var(--accent);
color: var(--accent-strong);
}
footer {
margin-top: 4px;
color: var(--muted);
font-size: 11px;
line-height: 1.4;
}
.leaflet-bottom {
bottom: calc(var(--nav-height) + 6px);
}
#blazor-error-ui {
position: fixed;
right: 8px;
bottom: calc(var(--nav-height) + 8px);
left: 8px;
z-index: 2000;
display: none;
border: 1px solid #e4be77;
border-radius: 8px;
padding: 10px 42px 10px 12px;
background: #fff3cd;
color: #5f4614;
}
#blazor-error-ui .dismiss {
position: absolute;
top: 7px;
right: 10px;
cursor: pointer;
}
.status-bar-safe-area {
display: none;
}
@media (max-width: 700px) {
.map-toolbar {
top: 8px;
left: 8px;
right: 8px;
}
.map-search {
top: 68px;
left: 8px;
right: 8px;
}
.map-layer-panel {
top: 68px;
right: 8px;
left: auto;
bottom: calc(var(--nav-height) + 8px);
width: calc(100vw - 16px);
}
.map-stage.layers-open .gps-overlay {
visibility: hidden;
pointer-events: none;
}
.app-status-line {
display: none;
}
.map-navigation-menu {
top: 66px;
right: 8px;
left: auto;
}
.tool-sheet {
top: 10%;
bottom: var(--nav-height);
width: 100%;
border-top: 1px solid var(--line);
border-left: 0;
border-radius: 8px 8px 0 0;
box-shadow: 0 -7px 24px rgba(0, 0, 0, 0.24);
}
.attribute-editor-row {
grid-template-columns: minmax(0, 1fr) 36px;
}
.attribute-editor-row > label {
grid-column: 1;
}
.attribute-editor-row > button {
grid-column: 2;
grid-row: 1 / span 2;
align-self: center;
}
.attribute-copy-panel {
grid-template-columns: minmax(0, 1fr);
grid-template-areas:
"heading"
"source"
"toggle"
"action"
"hint";
align-items: stretch;
}
.gps-overlay {
top: 68px;
right: 8px;
bottom: auto;
left: 8px;
grid-template-columns: minmax(0, 1fr) auto auto;
max-width: none;
}
.gps-overlay.search-open {
top: 136px;
}
.gps-overlay.is-collapsed {
right: auto;
width: 48px;
max-width: 48px;
}
.leaflet-top.leaflet-right {
top: 174px;
right: 0;
}
.map-stage.search-active .leaflet-top.leaflet-right {
top: 242px;
}
.gps-main,
.gps-center {
padding: 0 8px;
font-size: 11px;
}
.map-info {
right: 8px;
bottom: calc(var(--nav-height) + 116px);
left: 8px;
max-width: none;
overflow: hidden;
line-height: 1.35;
white-space: normal;
}
.map-info-text {
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
.bottom-tabs button {
padding: 0 2px;
font-size: 10px;
}
.wms-preview {
padding: 8px;
}
}
@media (max-width: 380px) {
.app-identity span {
display: none;
}
.gps-state {
min-width: 0;
}
.gps-overlay {
grid-template-columns: minmax(0, 1fr) auto auto;
}
.gps-overlay.is-collapsed {
grid-template-columns: auto;
right: auto;
width: 48px;
max-width: 48px;
}
.fiducial-item {
grid-template-columns: minmax(0, 1fr);
}
.gps-main,
.gps-center {
min-width: 86px;
}
.bottom-tabs button {
font-size: 9px;
}
}