]> git.plutz.net Git - confetti/blobdiff - static/therapy.css
Lobster: time sheet on therapy note
[confetti] / static / therapy.css
index 9aa971e74cebd043f1971ac8b2548ea24afe6cf6..b17497c98d8e5bb6bcbe28d7c898b4d0e932ce1c 100644 (file)
@@ -132,10 +132,15 @@ input.stickynote + .stickynote {
   max-height: 90%;
   z-index: 2;
 }
+input.stickynote + .stickynote:nth-of-type(2n) {
+  background-color: #8FF;
+  top: 8em;
+}
+
 input.stickynote + .stickynote > * { display: none; }
 input.stickynote + .stickynote > label {
   position: absolute;
-  top: 0; bottom: 0;
+  top: 0; bottom: 0; right: .5ex;
   display: block;
   text-align: right;
   font-weight: bold;
@@ -144,10 +149,9 @@ input.stickynote + .stickynote:hover {
   left: -1ex;
 }
 input.stickynote:checked + .stickynote {
-  width: auto;
-  left: 1em;
-  right: 1em;
+  width: auto; left: 1em; right: 1em;
 }
+input.stickynote:checked + .stickynote > * { display: block; }
 input.stickynote:checked + .stickynote > textarea {
   display: block;
   position: absolute;
@@ -156,7 +160,7 @@ input.stickynote:checked + .stickynote > textarea {
   background-color: #FF8;
   padding: 2em 1em;
 }
-input.stickynote:checked + .stickynote > button {
+input.stickynote:checked + .stickynote > button[type="submit"] {
   display: block;
   position: absolute;
   right: .5ex; bottom: .5ex;