/* * Copyright (c) 2025 by Christian Kellner. * Licensed under Apache-2.0 with Commons Clause and Attribution/Naming Clause */ .map-view-container { display: flex; flex-direction: column; height: 100%; padding: 0; box-sizing: border-box; } .map-filter-bar { margin-bottom: 1rem; } .map-container { flex-grow: 1; width: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--semi-color-border); } .map-popup-content { max-width: 250px; color: var(--semi-color-text-0); img { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; margin-bottom: 0.5rem; } h4 { margin: 0 0 0.5rem 0; font-size: 1.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .info { font-size: 0.8rem; display: flex; flex-direction: column; gap: 0.1rem; } &__linkButton { background: var(--semi-color-primary); color: white; font-size: 14px; line-height: 20px; font-weight: 600; height: 32px; width: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; a { color: white; display: flex; align-items: center; justify-content: center; text-decoration: none; width: 100%; height: 100%; } &:hover { background: var(--semi-color-primary-hover); cursor: pointer; } } &__detailsButton { background: var(--semi-color-tertiary); color: white; border: none; font-size: 14px; height: 32px; width: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; cursor: pointer; padding: 0; &:hover { background: var(--semi-color-tertiary-hover); } svg { fill: currentColor; } } &__deleteButton { background: var(--semi-color-danger); color: white; border: none; font-size: 14px; height: 32px; width: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; cursor: pointer; padding: 0; &:hover { background: var(--semi-color-danger-hover); } svg { fill: currentColor; } } } /* Override MapLibre default popup styles to match application theme */ .maplibregl-popup-content { background-color: var(--semi-color-bg-1) !important; color: var(--semi-color-text-0) !important; border-radius: 8px !important; box-shadow: var(--semi-shadow-elevated) !important; } .maplibregl-popup-tip { border-top-color: var(--semi-color-bg-1) !important; border-bottom-color: var(--semi-color-bg-1) !important; } .map { &__rangesliderLabels{ color: white; display: flex; justify-content: space-between; margin-bottom: .3rem; font-size: .7rem; } } .range-slider .range-slider__thumb { position: absolute; z-index: 3; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); border-radius: 50%; background: #2196f3; }