##// END OF EJS Templates
Blinking notification counter if you have any
neko259 -
r2071:9f216412 default
parent child Browse files
Show More
@@ -206,3 +206,11 b' audio {'
206 font-family: sans-serif;
206 font-family: sans-serif;
207 }
207 }
208
208
209
210 .blinking-block {
211 animation: blinker 1s linear infinite;
212 }
213
214 @keyframes blinker {
215 50% { opacity: 0; }
216 }
@@ -61,7 +61,7 b''
61 <a class="right-link link" href="{% url 'notifications' %}" title="{% trans 'Notifications' %}">
61 <a class="right-link link" href="{% url 'notifications' %}" title="{% trans 'Notifications' %}">
62 {% trans 'Notifications' %}
62 {% trans 'Notifications' %}
63 {% ifnotequal new_notifications_count 0 %}
63 {% ifnotequal new_notifications_count 0 %}
64 (<b>{{ new_notifications_count|safe }}</b>)
64 (<b class="blinking-block">+{{ new_notifications_count|safe }}</b>)
65 {% endifnotequal %}
65 {% endifnotequal %}
66 </a>
66 </a>
67 {% endif %}
67 {% endif %}
General Comments 0
You need to be logged in to leave comments. Login now