From 3818f5270e5b6d2150fd1e2124f463c11352ec65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Poussard?= <tpoussard@neogeo.fr> Date: Tue, 29 Aug 2023 17:52:35 +0200 Subject: [PATCH] add style & title to geolocation button & geocoder --- src/components/Map/Geocoder.vue | 1 + src/components/Map/Geolocation.vue | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/components/Map/Geocoder.vue b/src/components/Map/Geocoder.vue index bced9885..f4a65eb6 100644 --- a/src/components/Map/Geocoder.vue +++ b/src/components/Map/Geocoder.vue @@ -6,6 +6,7 @@ <button class="button-geocoder" @click="toggleGeocoder" + title="Rechercher une adresse" > <i class="search icon" /> </button> diff --git a/src/components/Map/Geolocation.vue b/src/components/Map/Geolocation.vue index d94c83b4..b09bb74d 100644 --- a/src/components/Map/Geolocation.vue +++ b/src/components/Map/Geolocation.vue @@ -3,6 +3,7 @@ <button :class="['button-geolocation', { tracking }]" @click.prevent="toggleTracking" + title="Me localiser" > <i class="crosshairs icon" /> </button> @@ -55,6 +56,9 @@ button.button-geolocation { line-height: 1.15; cursor: pointer; } +button.button-geolocation:hover { + background-color: #ebebeb; + } button.button-geolocation.tracking { background-color: rgba(255, 145, 0, 0.904); color: #fff; -- GitLab