From d408d3e6eeade03a060afea5230225d25944da92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A4r=20Thernstr=C3=B6m?= Date: Thu, 16 May 2024 08:47:17 +0200 Subject: [PATCH] Animeringsfixar --- resources/views/components/events-map.blade.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/resources/views/components/events-map.blade.php b/resources/views/components/events-map.blade.php index f2ff8249..d8a331ea 100644 --- a/resources/views/components/events-map.blade.php +++ b/resources/views/components/events-map.blade.php @@ -405,7 +405,10 @@ class EventsMap { display: flex; align-items: center; justify-content: center; - transition: all .25s; + transition: + ease-in-out width .25s, + ease-in-out height .25s, + ease-in-out margin .25s; } .EventsMap-marker-icon--near, @@ -466,6 +469,12 @@ class EventsMap { z-index: 0; background-size: cover; background-repeat: no-repeat; + transition: ease-in-out width .25s, ease-in-out height .25s; + } + + .EventsMap-marker-icon--nearer .EventsMap-marker-icon-innerIcon { + width: 30px; + height: 30px; } .EventsMap-marker-icon--nearer .EventsMap-marker-icon-inner { @@ -522,6 +531,7 @@ class EventsMap { /* Knife by Royyan Wijaya from Noun Project (CC BY 3.0) */ .EventsMap-marker-icon-innerIcon--knife { background-image: url('/img/noun-knife-1659779.svg'); + filter: invert(1); } /* Gun by David Khai from Noun Project (CC BY 3.0) */ @@ -560,6 +570,7 @@ class EventsMap { /* burglary by Luis Prado from Noun Project (CC BY 3.0) */ .EventsMap-marker-icon-innerIcon--burglary { background-image: url('/img/noun-burglary-80199.svg'); + filter: invert(1); } /* drunk driver by Clément Payot from Noun Project (CC BY 3.0) */