UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

178 lines (154 loc) 2.91 kB
/* SPDX-License-Identifier: Apache-2.0 */ #content { background: var(--bkg-color); color: var(--text-color); padding: 1rem; margin: 0; display: flex; flex-direction: column; gap: 1rem; } .filter-element-container { display: flex; flex-direction: column; gap: 2rem; } .filter-element { position: relative; display: flex; flex-direction: column; border-radius: 3px; padding: 0.5rem; /* Make background slightly transparent to distinguish it from button/input hover color */ background-color: color-mix(in srgb, var(--bkg-color-grad1) 30%, transparent); box-shadow: var(--bx-shdw); gap: 0.5rem; } .filter-title { font-size: 1.2rem; padding-right: 2rem; text-overflow: ellipsis; white-space: nowrap; } .filter-expression { font-family: monospace, Arial, sans-serif; padding-right: 1.5rem; font-size: 0.85rem; } .gg-label { background-color: transparent; } .layer-select-container { display: flex; flex-direction: column; } .text-ellipsis { overflow: hidden; text-overflow: ellipsis; } .filter-condition-container { display: flex; flex-direction: column; gap: 0.5rem; } .filter-condition { display: flex; flex-direction: column; border-radius: 3px; padding: 0.5rem; margin-left: 0.5rem; background-color: var(--bkg-color); box-shadow: var(--bx-shdw); } .value-inputs { display: flex; gap: 0.5rem; } .value-inputs > input { width: 100%; } .btn-with-icon-and-text { color: var(--text-color); display: inline-flex; align-items: center; gap: 0.25em; white-space: nowrap; width: max-content; flex-shrink: 0; } .btn-with-icon-and-text > img { margin: auto; } .apply-btn { margin-top: 1rem; } .export-btn { width: 21px; } .remove-btn { position: absolute; align-self: flex-end; font-size: 1.25rem; margin: -0.25rem -0.25rem 0 0; } ul.value-choices { overflow-y: auto; border: var(--app-standard-border); margin: 0; padding: 0.5em 0.25em; max-height: 10rem; } ul.value-choices li { display: flex; align-items: flex-start; gap: 0.25em; } ul.value-choices li label { flex: 1; } .footer-container { display: flex; gap: 0.5rem; flex-direction: row; flex-wrap: wrap; } .component-loading { margin-right: auto; margin-left: auto; } .layer-loading { margin-right: auto; margin-left: 1rem; min-width: 50px; display: flex; align-items: center; } .loader { box-sizing: border-box; border: 3px solid var(--text-color); opacity: 70%; border-bottom-color: #0000; border-radius: 50%; width: 25px; height: 25px; animation: 1s linear infinite rotation; display: inline-block; align-self: center; vertical-align: middle; } @keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .filter-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; } #export-all-btn { margin-left: auto; }