Skip to content
Snippets Groups Projects
Commit 3818f527 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

add style & title to geolocation button & geocoder

parent 33908979
No related branches found
No related tags found
Loading
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
<button <button
class="button-geocoder" class="button-geocoder"
@click="toggleGeocoder" @click="toggleGeocoder"
title="Rechercher une adresse"
> >
<i class="search icon" /> <i class="search icon" />
</button> </button>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<button <button
:class="['button-geolocation', { tracking }]" :class="['button-geolocation', { tracking }]"
@click.prevent="toggleTracking" @click.prevent="toggleTracking"
title="Me localiser"
> >
<i class="crosshairs icon" /> <i class="crosshairs icon" />
</button> </button>
...@@ -55,6 +56,9 @@ button.button-geolocation { ...@@ -55,6 +56,9 @@ button.button-geolocation {
line-height: 1.15; line-height: 1.15;
cursor: pointer; cursor: pointer;
} }
button.button-geolocation:hover {
background-color: #ebebeb;
}
button.button-geolocation.tracking { button.button-geolocation.tracking {
background-color: rgba(255, 145, 0, 0.904); background-color: rgba(255, 145, 0, 0.904);
color: #fff; color: #fff;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment