From 69423bdfff89e6c00db4406319189a8852c05aa7 Mon Sep 17 00:00:00 2001 From: Haishan Date: Sun, 12 Jun 2022 09:30:45 +0800 Subject: Always show update and health check buttons for proxy provider ref #649 --- src/components/shared/ZapAnimated.module.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/components/shared/ZapAnimated.module.scss (limited to 'src/components/shared/ZapAnimated.module.scss') diff --git a/src/components/shared/ZapAnimated.module.scss b/src/components/shared/ZapAnimated.module.scss new file mode 100644 index 0000000..e4cb37b --- /dev/null +++ b/src/components/shared/ZapAnimated.module.scss @@ -0,0 +1,12 @@ +.animate { + --saturation: 70%; + stroke: hsl(46deg var(--saturation) 45%); + animation: zap-pulse 0.7s 0s ease-in-out none normal infinite; +} + +// prettier-ignore +@keyframes zap-pulse { + 0% { stroke: hsl(46deg var(--saturation) 45%); } + 50% { stroke: hsl(46deg var(--saturation) 95%); } + 100% { stroke: hsl(46deg var(--saturation) 45%); } +} -- cgit v1.3.1