]> git.ktnx.net Git - icedeb.git/blobdiff - icedeb.css
use a hidden <textarea> for the clipboard pasting and transfer the text into a nice...
[icedeb.git] / icedeb.css
index a5ead515e6e47947e1ddb905ddc17343518249db..03f22b7407e54d31bc0a0f2bae7520fbc3d54900 100644 (file)
@@ -1,4 +1,5 @@
 body { padding: 1ex; }
+#clip-pot { position: absolute; left: -1000px; }
 #clipboard {
   margin: 2px;
   min-height: 1.5em;
@@ -34,3 +35,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;
+}