Jqnatividad has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/154881

Change subject: Blinking error messages The <blink> tag is dead. But our user 
complains that the error messages are non-obvious in the form. Used HTML5 
animation.
......................................................................

Blinking error messages
The <blink> tag is dead. But our user complains that the error messages
are non-obvious in the form. Used HTML5 animation.

Change-Id: Iba7dd2dad330a043cbc05453ae6200513a333357
---
M skins/SemanticForms.css
1 file changed, 30 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticForms 
refs/changes/81/154881/1

diff --git a/skins/SemanticForms.css b/skins/SemanticForms.css
index da3878f..cb85ceb 100644
--- a/skins/SemanticForms.css
+++ b/skins/SemanticForms.css
@@ -91,7 +91,37 @@
 
 span.errorMessage {
        color: red;
+    animation-name: blinker;
+    animation-duration: 1s;
+    animation-iteration-count: infinite;
+    animation-timing-function: steps(2, start);
+
+    -webkit-animation-name: blinker;
+    -webkit-animation-duration: 1s;
+    -webkit-animation-iteration-count: infinite;
+    -webkit-animation-timing-function: steps(2, start);
+
+    -moz-animation-name: blinker;
+    -moz-animation-duration: 1s;
+    -moz-animation-iteration-count: infinite;
+    -moz-animation-timing-function: steps(2, start);
 }
+@keyframes blinker {
+    80% {
+        visibility: hidden;
+    }
+}
+@-webkit-keyframes blinker {
+    80% {
+        visibility: hidden;
+    }
+}
+@-moz-keyframes blinker {
+    80% {
+        visibility: hidden;
+    }
+}
+
 .multipleTemplateInstance {
        background-color: #dddddd;
        border: 1px solid #cccccc;

-- 
To view, visit https://gerrit.wikimedia.org/r/154881
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iba7dd2dad330a043cbc05453ae6200513a333357
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticForms
Gerrit-Branch: master
Gerrit-Owner: Jqnatividad <joel.nativi...@ontodia.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to