2014-03-12, 12:07 AM
How can one make MyAlerts notification flash red when there are notifications?
Right now it turns a miserly red... which some users might not notice. I think it would be better if one could do some kind of CSS that causes it to dim/flash a hue of reds or something like that.
I hope someone understands what I mean.
lol don't mind the lame text:
![[Image: flashing_text.gif]](https://camo.mybb.com/00a46339ffa9e88fed049ef7c8715da3f425817c/687474703a2f2f7777772e686f676c656e736865726f65732e636f6d2f7764312f7764315f71315f61737369676e6d656e74732f66775f74757465732f616e696d617465645f676966732f666c617368696e675f746578742e676966)
I tried this but it didn't work:
Based on:
http://visualidiot.com/articles/css3
and
http://visualidiot.com/files/real-world.css
Right now it turns a miserly red... which some users might not notice. I think it would be better if one could do some kind of CSS that causes it to dim/flash a hue of reds or something like that.
I hope someone understands what I mean.
lol don't mind the lame text:
I tried this but it didn't work:
.newAlerts > a {
color:red !important;
-webkit-animation: blink .75s linear infinite !important;;
-moz-animation: blink .75s linear infinite !important;;
-ms-animation: blink .75s linear infinite !important;;
-o-animation: blink .75s linear infinite !important;;
animation: blink .75s linear infinite !important;;
}
@-webkit-keyframes newAlerts > a {
0% { opacity: 1; }
50% { opacity: 1; }
50.01% { opacity: 0; }
100% { opacity: 0; }
}
@-moz-keyframes newAlerts > a {
0% { opacity: 1; }
50% { opacity: 1; }
50.01% { opacity: 0; }
100% { opacity: 0; }
}
@-ms-keyframes newAlerts > a {
0% { opacity: 1; }
50% { opacity: 1; }
50.01% { opacity: 0; }
100% { opacity: 0; }
}
@-o-keyframes newAlerts > a {
0% { opacity: 1; }
50% { opacity: 1; }
50.01% { opacity: 0; }
100% { opacity: 0; }
}
@keyframes newAlerts > a {
0% { opacity: 1; }
50% { opacity: 1; }
50.01% { opacity: 0; }
100% { opacity: 0; }
}
Based on:
http://visualidiot.com/articles/css3
and
http://visualidiot.com/files/real-world.css