From 4f2263552ce589a53e41c7a007baea51d05b8c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 1 Oct 2016 16:31:57 +0200 Subject: [PATCH] feat(alerting): updated look for alerting panel, #6136 --- public/sass/pages/_alerting.scss | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/public/sass/pages/_alerting.scss b/public/sass/pages/_alerting.scss index 79eaa8ad8ee..c0f4818c690 100644 --- a/public/sass/pages/_alerting.scss +++ b/public/sass/pages/_alerting.scss @@ -50,7 +50,8 @@ .panel-alert-state { &--alerting { - box-shadow: 0 0 10px $critical; + animation: alerting-panel 2s 0s infinite; + opacity: 1; .panel-alert-icon:before { color: $critical; @@ -59,7 +60,7 @@ } &--ok { - //box-shadow: 0 0 5px rgba(0,200,0,10.8); + box-shadow: 0 0 5px rgba(0,200,0,10.8); .panel-alert-icon:before { color: $online; content: "\e611"; @@ -67,4 +68,16 @@ } } +@keyframes alerting-panel { + 0% { + box-shadow: none; + } + 50% { + box-shadow: 0 0 10px $critical; + } + 100% { + box-shadow: none; + } +} +