diff --git a/webapp/src/assets/main.css b/webapp/src/assets/main.css index 286874f..cfed625 100644 --- a/webapp/src/assets/main.css +++ b/webapp/src/assets/main.css @@ -9,7 +9,7 @@ a:hover { } :root { - --df-background-color: rgb(33,33,33); + --df-background-color: white; --df-text-color: #ccc; } diff --git a/webapp/src/components/DFCode.vue b/webapp/src/components/DFCode.vue index 14c1363..47be6f4 100644 --- a/webapp/src/components/DFCode.vue +++ b/webapp/src/components/DFCode.vue @@ -1,6 +1,6 @@ @@ -98,13 +92,12 @@ const searchField: Ref = ref(null); const searchQuery: Ref = ref(''); const router = useRouter(); const { xs } = useDisplay(); -const showPardon = ref(true); const canRefreshMarkers = computed(() => zoom.value >= MIN_ZOOM_FOR_REFRESH); const mapTileUrl = computed(() => theme.global.name.value === 'dark' ? - 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png' : - 'https://tiles.stadiamaps.com/tiles/osm_bright/{z}/{x}/{y}{r}.png' + 'https://tiles.stadiamaps.com/tiles/alidade_smooth_dark/{z}/{x}/{y}{r}.png' : + 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png' ); const alprs: Ref = ref([]); @@ -241,10 +234,6 @@ function updateMarkers() { } onMounted(() => { - setTimeout(() => { - showPardon.value = false; - }, 4200); - getClusters() .then((result: any) => { clusters.value = result.clusters; @@ -311,23 +300,4 @@ onMounted(() => { justify-content: center; color: #333; } - -.pardon { - text-align: center; - position: absolute; - bottom: 20px; - left: 20px; - right: 20px; - @media (min-width: 600px) { - right: auto; - } - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - z-index: 1000; - background-color: rgba(0, 0, 0, 0.85); - border-radius: 4px; - padding: 20px; -}