make the error message appear smoothly
authorDamyan Ivanov <dmn@debian.org>
Mon, 19 Jun 2017 12:29:11 +0000 (12:29 +0000)
committerDamyan Ivanov <dmn@debian.org>
Mon, 19 Jun 2017 12:29:11 +0000 (12:29 +0000)
icedeb.css

index a5ead51..0aed167 100644 (file)
@@ -34,3 +34,16 @@ body { padding: 1ex; }
 }
 .hidden { display: none; }
 a, a:visited { color: blue; }
+#error {
+  display: block;
+  background: hsl(48.2,100%,90%);
+  visibility: visible;
+  opacity: 1;
+  transition: visibility 250ms, opacity 250ms;
+}
+#error.hidden {
+  display: block;
+  visibility: hidden;
+  opacity: 0;
+  transition: none;
+}