From 7722ce3148391d15210808d3a83e3865bdd60d96 Mon Sep 17 00:00:00 2001 From: MaryWylde Date: Wed, 18 Feb 2026 18:08:44 +0400 Subject: [PATCH] chore: add nudge animation to 'Why do this' text --- .../LongevitySubSection.module.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/components/longevity/LongevitySubSection/LongevitySubSection.module.scss b/src/components/longevity/LongevitySubSection/LongevitySubSection.module.scss index 44be819..3886413 100644 --- a/src/components/longevity/LongevitySubSection/LongevitySubSection.module.scss +++ b/src/components/longevity/LongevitySubSection/LongevitySubSection.module.scss @@ -58,6 +58,10 @@ } } + .habitTooltip { + animation: pulse-shadow-animation 2s infinite; + } + .dateTxt { cursor: default; @@ -187,3 +191,15 @@ justify-content: space-between; } } + +@keyframes pulse-shadow-animation { + 0% { + filter: drop-shadow(0px 0px 18px rgba(53, 35, 13, 0.2)); + } + 70% { + filter: drop-shadow(0px 0px 18px rgba(255, 0, 0, 0.8)); + } + 100% { + filter: drop-shadow(0px 0px 18px rgba(53, 35, 13, 0.2)); + } +}