]> git.plutz.net Git - confetti/blobdiff - static/therapy.css
hide menu configuration
[confetti] / static / therapy.css
index 5a169d8b520187fdfb40b25442916a6a2cf53b11..9aa971e74cebd043f1971ac8b2548ea24afe6cf6 100644 (file)
@@ -1,5 +1,16 @@
 .trailbtn:checked + fieldset.trailbox { display: block;}
 
+.trailbtn:checked + .trailbox + .trailbtn {
+  display: block;
+  height: 2.25em; padding: 0 3ex;
+  font-size: 1em; font-weight: normal;
+  color: #000; background-color: #FDD;
+  border: 1px solid #000;
+  border-radius: 4px;
+}
+.trailbtn:checked + .trailbox + .trailbtn[type=submit]:before {content: none;}
+
+
 * { box-sizing: border-box; }
 body {
   overflow: scroll;
@@ -11,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;
@@ -70,6 +81,8 @@ div.prescription span.catalogue {
   padding: .5ex 1ex;
 }
 
+div.prescription ul {margin-top: 0;}
+
 div.prescription label.checkbox,
 div.prescription label.radio {
   display: block;
@@ -106,6 +119,9 @@ div.prescription label[for=prescreviewed].checked {
   background-color: transparent;
 }
 
+div.prescription label.tab {width: 96%; border: none; border-bottom: 1px dotted;}
+div.prescription div.tab { width: 96%; background-color: #DDD;}
+
 input.stickynote { display:none; }
 input.stickynote + .stickynote {
   position: fixed;
@@ -163,14 +179,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;
 }
@@ -193,6 +224,7 @@ fieldset.color > input.color + label {
     margin-right: 0;
   }
   input.stickynote:checked + .stickynote { right: 50%; }
+  fieldset.penwidth,
   fieldset.color { position: fixed; }
   .dotmark {
     position: fixed;
@@ -221,8 +253,8 @@ div:nth-child(n+2) > a:first-of-type {
   text-decoration: none;
 }
 
-fieldset.tab,
-label.tab {
+#report fieldset.tab,
+#report label.tab {
   font-size: 1.25em;
   font-weight: bold;
   padding: .125em 1ex .25em 1ex;
@@ -232,24 +264,24 @@ label.tab {
   text-align: right;
   border: none;
 }
-label.heading {
+#report label.heading {
   background-color: #FFF;
   margin-top: 1em;
   border: 2px solid black;
   border-bottom-width: 1px;
   color: black;
 }
-label.heading > span {
+#report label.heading > span {
   text-decoration: underline;
 }
 
-fieldset.tab > *,
-label > input,
-label > span {
+#report fieldset.tab > *,
+#report label > input,
+#report label > span {
   display: inline-block;
   text-align: right;
 }
-.tab > .no {
+#report .tab > .no {
   width:  10%; float: left;
   border: solid 1px #FFF;
   background-color: #555;
@@ -257,55 +289,55 @@ label > span {
   padding: 0;
   text-align: center;
 }
-label.heading > span.no {
+#report label.heading > span.no {
   background-color: inherit;
   border: none;
 }
-.tab > .date      { width: 30%; }
-.tab > .therapist { width: 30%; }
-.tab > .signature { width: 20%; }
-label.tab > .signature { font-size: .75em; }
+#report .tab > .date      { width: 30%; }
+#report .tab > .therapist { width: 30%; }
+#report .tab > .signature { width: 20%; }
+#report label.tab > .signature { font-size: .75em; }
 
-.signature > input[type=checkbox] {
+#report .signature > input[type=checkbox] {
   display: inline;
   font-weight: bold;
   font-size: 1.25em;
 }
-.signature > input[type=checkbox]:before {
+#report .signature > input[type=checkbox]:before {
   display: block; width: 1.25em;
   margin: -.125em 0 0 -.5ex;
   background-color: #FFF;
   text-align: center;
   content: "\00a0 \00a0 \00a0";
 }
-.signature > input[type=checkbox]:checked::before {
+#report .signature > input[type=checkbox]:checked::before {
   content: "\2713";
 }
 
-input.tab + label.tab > input.date,
-input.tab + label.tab > input.therapist {
+#report input.tab + label.tab > input.date,
+#report input.tab + label.tab > input.therapist {
   display: none;
 }
-input.tab:checked + label.tab > input.date,
-input.tab:checked + label.tab > input.therapist {
+#report input.tab:checked + label.tab > input.date,
+#report input.tab:checked + label.tab > input.therapist {
   display: inline;
 }
-input.tab:checked + label.tab > span.date,
-input.tab:checked + label.tab > span.therapist {
+#report input.tab:checked + label.tab > span.date,
+#report input.tab:checked + label.tab > span.therapist {
   display: none;
 }
 
-div.tab {
+#report div.tab {
   border: 2px solid #333;
   border-top-width: 1px;
   margin-top: -1px;
   padding: .25em .5ex 1em .5ex;
 }
-div.tab > fieldset.note {
+#report div.tab > fieldset.note {
   border: none;
   margin: 0; padding: 0;
 }
-div.tab > fieldset.note > textarea {
+#report div.tab > fieldset.note > textarea {
   display: block;
   width: 93%; height: 8em;
   margin: -8em 0 .5em 2em;
@@ -321,4 +353,4 @@ div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { backgro
 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
 
-div.tab > button.delete {float: right; display: inline-block; margin-top: -1em;}
+div.tab > button.delete {float: right; display: inline-block; margin-top: -1em; display: none;}