]> 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 d1b2f8b3de16f53c0b46781f1f1ca2002bad6625..03f22b7407e54d31bc0a0f2bae7520fbc3d54900 100644 (file)
@@ -1,10 +1,50 @@
-div.icedeb-button {
-  background: lightgray;
+body { padding: 1ex; }
+#clip-pot { position: absolute; left: -1000px; }
+#clipboard {
+  margin: 2px;
+  min-height: 1.5em;
+  max-height: 2.5em;
+  border: 1px solid hsl(0,0%,69.4%);
+  box-shadow: 0 0 0 0 hsla(208.1, 100%, 69%, 0);
+  transition: 250ms box-shadow;
+}
+#clipboard:focus {
+    border-color: hsl(204.6, 94.5%, 50.4%);
+    box-shadow: 0 0 0 2px hsla(208.1, 100%, 69%, 0.8);
+    outline: none;
+}
+
+#button-list-container {
+  background: linear-gradient(to bottom, hsl(222,4%,89%) 0%, hsl(0,0%,100%) 100%);
+  display: flex;
+  flex-direction: column;
+  padding: 0.1ex;
+}
+#button-list-container > * {
+  margin: 0.5ex;
+  padding 0.1ex;
+}
+
+.icedeb-button {
   border-radius: 5px;
+  cursor: pointer;
+  color: blue;
+}
+.icedeb-button:hover {
+    text-decoration: underline;
 }
 .hidden { display: none; }
-#clipboard {
-  position: absolute;
-  left: -50000px;
+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;
 }
-#sorry { font-size: 80%; }