From de0f0876683f2370b903daccb600a01f45695d39 Mon Sep 17 00:00:00 2001 From: Gwendolyn Date: Wed, 27 Dec 2023 17:15:29 +0100 Subject: [PATCH] make assembly report warning blinky --- src/c3nav/site/static/site/css/c3nav.scss | 16 ++++++++++++++++ src/c3nav/site/templates/site/report_create.html | 15 ++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/src/c3nav/site/static/site/css/c3nav.scss b/src/c3nav/site/static/site/css/c3nav.scss index 03b97744..d67bfb99 100644 --- a/src/c3nav/site/static/site/css/c3nav.scss +++ b/src/c3nav/site/static/site/css/c3nav.scss @@ -1368,3 +1368,19 @@ button + button { table td select:last-child { margin-bottom: 0; } + +@keyframes blinking { + 0%, 49% { + color: #4000ff; + } + 50%, 100% { + color: #d900ff; + } +} + +blink { + animation-name: blinking; + animation-iteration-count: infinite; + animation-timing-function: cubic-bezier(.5, 0, 1, 1); + animation-duration: 1.7s; +} \ No newline at end of file diff --git a/src/c3nav/site/templates/site/report_create.html b/src/c3nav/site/templates/site/report_create.html index 8df387ff..ca113af8 100644 --- a/src/c3nav/site/templates/site/report_create.html +++ b/src/c3nav/site/templates/site/report_create.html @@ -10,9 +10,18 @@ {% csrf_token %} {% include 'site/fragment_report_meta.html' %} {{ form.as_p }} -

{% blocktrans trimmed %}I understand that if i report an issue related to an assembly, - all that will happen is that i owe each member on the c3nav team one bottle of mate. - I can avoid this by contacting the assembly team, which will actually be able to fix my issue.{% endblocktrans %}

+

+ + + + {% blocktrans trimmed %} + I understand that if I report an issue related to an assembly, + all that will happen is that I owe each member on the c3nav team one bottle of mate. + I can avoid this by contacting the assembly team, which will actually be able to fix my issue. + {% endblocktrans %} + + +