]> git.plutz.net Git - confetti/blobdiff - static/therapy.css
Lobster: time sheet on therapy note
[confetti] / static / therapy.css
index 16528a4c5209e3ae2bd825dedd059f1ca303a70e..b17497c98d8e5bb6bcbe28d7c898b4d0e932ce1c 100644 (file)
@@ -22,7 +22,7 @@ body {
 
 form > button[type=submit] {
   position: fixed; display: block;
-  top: 0; left: 15em;
+  top: 0; right: 2.5em;
   height: 2.25em; padding: 0 3ex;
   font-size: 1em; font-weight: bold;
   color: #000; background-color: #FDD;
@@ -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;
@@ -179,14 +183,29 @@ input.stickynote:checked + .stickynote > label:before {
   z-index: 2;
 }
 
-
+fieldset.penwidth,
 fieldset.color {
   position: absolute;
-  bottom: 0; right: 0; width: 2em;
+  right: 0; width: 2em;
   margin: .5em .5em .125em 2%;
   border: none;
   padding: 0;
 }
+fieldset.penwidth { bottom: 19em; }
+fieldset.penwidth > input {display: none;}
+fieldset.penwidth > input + label { display: none;}
+fieldset.penwidth > input:checked + label {
+  display: block;
+  width: 2em; height: 2em;
+  background-color: #000;
+  border: 1em solid #FFF;
+  border-radius: 1em;
+}
+fieldset.penwidth > input[value="4"]  + label { border-width: .75em; }
+fieldset.penwidth > input[value="12"] + label { border-width:  .5em; }
+fieldset.penwidth > input[value="36"] + label { border-width: .25em; }
+
+fieldset.color { bottom: 0; }
 fieldset.color > input.color + label {
   width: 2em; height: 2em;
 }
@@ -209,6 +228,7 @@ fieldset.color > input.color + label {
     margin-right: 0;
   }
   input.stickynote:checked + .stickynote { right: 50%; }
+  fieldset.penwidth,
   fieldset.color { position: fixed; }
   .dotmark {
     position: fixed;