From a766eacb431e982587f1b5792bad885db5ae9f1f Mon Sep 17 00:00:00 2001 From: Stefan Hanauska Date: Thu, 7 Nov 2024 20:56:39 +0100 Subject: [PATCH] MBS-9490: Fix pulse animation --- templates/cssskeleton.mustache | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/cssskeleton.mustache b/templates/cssskeleton.mustache index 6413340..405a903 100644 --- a/templates/cssskeleton.mustache +++ b/templates/cssskeleton.mustache @@ -136,15 +136,15 @@ } {{#hover}} -#learningmap-svgmap-{{mapid}} .learningmap-place:hover, -#learningmap-svgmap-{{mapid}} .learningmap-place:not(.learningmap-visited):hover { +#learningmap-svgmap-{{mapid}} .learningmap-place.learningmap-reachable:hover, +#learningmap-svgmap-{{mapid}} .learningmap-place.learningmap-reachable:not(.learningmap-visited):hover { animation: none; stroke-width: 5px; stroke-opacity: 1; } {{/hover}} {{#pulse}} -#learningmap-svgmap-{{mapid}} .learningmap-place:not(.learningmap-visited) { +#learningmap-svgmap-{{mapid}} .learningmap-place.learningmap-reachable:not(.learningmap-visited) { animation: pulse 1.5s infinite; stroke-opacity: 1; }