1 .trailbtn:checked + fieldset.trailbox { display: block;}
3 .trailbtn:checked + .trailbox + .trailbtn {
5 height: 2.25em; padding: 0 3ex;
6 font-size: 1em; font-weight: normal;
7 color: #000; background-color: #FDD;
8 border: 1px solid #000;
11 .trailbtn:checked + .trailbox + .trailbtn[type=submit]:before {content: none;}
14 * { box-sizing: border-box; }
19 margin: 0; padding: 0;
23 form > button[type=submit] {
24 position: fixed; display: block;
26 height: 2.25em; padding: 0 3ex;
27 font-size: 1em; font-weight: bold;
28 color: #000; background-color: #FDD;
29 border-width: 1px; border-color: #000;
30 border-style: none solid solid solid;
31 border-radius: 0 0 4px 4px;
34 form > button[type=submit]:hover {
35 background-color: #FEE;
38 form > button#backbutton {
42 background: transparent;
49 input.tab { display: none; }
50 input.tab + label.tab { display: block; }
51 input.tab + label.tab::before { content: '\25b8 \00a0'; float: left;}
52 input.tab:checked + label.tab::before { content: '\25be \00a0'; }
53 input.tab + label.tab + div.tab { display: none; }
54 input.tab:checked + label.tab + div.tab { display: block; }
56 input.color { display: none }
58 display: inline-block;
59 width: 1em; height: 1em;
60 border: 1px solid black;
62 input.color:checked + label{ border-width: 3px;}
63 input.color[value="#000"] + label,
64 input.color[value="#888"] + label { background-color: #888;}
65 input.color[value="#00A"] + label { background-color: #00F;}
66 input.color[value="#0A0"] + label { background-color: #0F0;}
67 input.color[value="#0AA"] + label { background-color: #0FF;}
68 input.color[value="#A00"] + label { background-color: #F00;}
69 input.color[value="#A0A"] + label { background-color: #F0F;}
70 input.color[value="#AA0"] + label { background-color: #FF0;}
71 input.color[value="#FFF"] + label { background-color: #FFF;}
73 h1, label.tab, div.tab, fieldset.tab,
74 div.patient, div.prescription, div.therapies {
81 text-decoration: none; color: #000;
85 display: inline-block;
86 text-decoration: none;
87 border: 1px solid black;
88 margin-top: .5em; padding: .25em .5em;
89 background-color: #DDF;
92 div.therapies > a.current {
93 background-color: #AAF;
97 background-color: #CFF;
103 div.prescription span {
104 display: inline-block;
106 margin-right: -.75ex;
109 div.prescription span label { font-weight: bold; margin-right: 1ex;}
110 div.prescription span.prescno,
111 div.prescription span.catalogue {
118 div.prescription ul {
123 div.prescription label.checkbox,
124 div.prescription label.radio {
126 padding-left: 1.25em;
131 div.prescription label.checkbox:before,
132 div.prescription label.radio:before {
133 display: inline-block;
135 background-color: #FFF;
136 height: 1.375em; width: 1.125em;
137 padding: .125em 0 0 .375em;
138 margin: 0 .5em .25em -1.25em;
139 border: 1px solid #000;
140 vertical-align: middle;
143 div.prescription label.radio:before { border-radius: .5em;}
144 div.prescription label.checkbox.checked:before,
145 div.prescription label.radio.checked:before { content: "\2713";}
147 div.prescription label[for=prescreviewed] {
150 text-decoration: underline;
151 background-color: #FCC;
153 div.prescription label[for=prescreviewed].checked {
155 text-decoration: none;
156 background-color: transparent;
159 div.prescription label.tab {width: 96%; border: none; border-bottom: 1px dotted;}
160 div.prescription div.tab { width: 96%; background-color: #DDD;}
162 input.stickynote { display:none; }
163 input.stickynote + .stickynote {
165 background-color: #FF8;
166 top: 4em; bottom: 4em;
167 left: -4.5em; width: 5em;
172 input.stickynote + .stickynote:nth-of-type(2n) {
173 background-color: #8FF;
177 input.stickynote + .stickynote > * { display: none; }
178 input.stickynote + .stickynote > textarea {
181 left; 0; right: 0; bottom: 0; top: 0;
182 width: 100%; height: 100%;
183 background-color: #FF8;
186 input.stickynote + .stickynote > label {
188 top: 0; bottom: 0; right: .5ex; left: 0;
194 input.stickynote + .stickynote:hover {
195 width: auto; left: 0em; right: 2em;
197 input.stickynote:checked + .stickynote {
198 width: auto; left: 1em; right: 1em;
200 input.stickynote:checked + .stickynote > * { display: block; }
201 input.stickynote:checked + .stickynote > button[type="submit"] {
204 right: .5ex; bottom: .5ex;
207 input.stickynote:checked + .stickynote > label {
212 input.stickynote:checked + .stickynote > label:before {
217 top: .5ex; right: .5ex;
218 padding: .125ex .75ex;
219 background-color: #000;
228 right: 0; width: 2em;
229 margin: .5em .5em .125em 2%;
233 fieldset.penwidth { bottom: 19em; }
234 fieldset.penwidth > input {display: none;}
235 fieldset.penwidth > input + label { display: none;}
236 fieldset.penwidth > input:checked + label {
238 width: 2em; height: 2em;
239 background-color: #000;
240 border: 1em solid #FFF;
243 fieldset.penwidth > input[value="4"] + label { border-width: .75em; }
244 fieldset.penwidth > input[value="12"] + label { border-width: .5em; }
245 fieldset.penwidth > input[value="36"] + label { border-width: .25em; }
247 fieldset.color { bottom: 0; }
248 fieldset.color > input.color + label {
249 width: 2em; height: 2em;
253 margin: .5em 1em .125em 2%; padding: 0;
255 border: 1px solid black;
259 left: 0; bottom: .25em;
263 @media(min-width: 800px){
264 h1, label.tab, div.tab, fieldset.tab,
265 div.patient, div.prescription, div.therapies {
269 input.stickynote + .stickynote:hover { right: calc(50% + 1em); }
270 input.stickynote:checked + .stickynote { right: 50%; }
272 fieldset.color { position: fixed; }
277 right: 2em; bottom: .25em;
281 right: 2em; left: auto;
287 div.patient, div.prescription, div.therapies { margin-top: .5em; }
288 div.prescription, div.therapies {
289 border: 1px solid black;
290 padding: .125em 1.25ex .5em 1.25ex;
292 div > h2 { margin: 0; border-bottom: 1px solid black; }
294 div:nth-child(n+2) > a:first-of-type {
296 margin: .125em 0 .5em 0;
297 text-decoration: none;
301 #report fieldset.tab,
305 padding: .125em 1ex .25em 1ex;
307 background-color: #333;
312 #report label.heading {
313 background-color: #FFF;
315 border: 2px solid black;
316 border-bottom-width: 1px;
319 #report label.heading > span {
320 text-decoration: underline;
323 #report fieldset.tab > *,
324 #report label > input,
325 #report label > span {
326 display: inline-block;
330 width: 10%; float: left;
331 border: solid 1px #FFF;
332 background-color: #555;
337 #report label.heading > span.no {
338 background-color: inherit;
341 #report .tab > .date { width: 30%; }
342 #report .tab > .therapist { width: 30%; }
343 #report .tab > .signature { width: 20%; }
344 #report label.tab > .signature { font-size: .75em; }
346 #report .signature > input[type=checkbox] {
351 #report .signature > input[type=checkbox]:before {
352 display: block; width: 1.25em;
353 margin: -.125em 0 0 -.5ex;
354 background-color: #FFF;
356 content: "\00a0 \00a0 \00a0";
358 #report .signature > input[type=checkbox]:checked::before {
362 #report input.tab + label.tab > input.date,
363 #report input.tab + label.tab > input.therapist {
366 #report input.tab:checked + label.tab > input.date,
367 #report input.tab:checked + label.tab > input.therapist {
370 #report input.tab:checked + label.tab > span.date,
371 #report input.tab:checked + label.tab > span.therapist {
376 border: 2px solid #333;
377 border-top-width: 1px;
379 padding: .25em .5ex 1em .5ex;
381 #report div.tab > fieldset.note {
383 margin: 0; padding: 0;
385 #report div.tab > fieldset.note > textarea {
387 width: 93%; height: 8em;
388 margin: -8em 0 .5em 2em;
389 font: normal 1em sans-serif;
391 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
392 div.tab > fieldset.note > input.color[value="#888"]:checked ~ textarea { background-color: #AAA; }
393 div.tab > fieldset.note > input.color[value="#00A"]:checked ~ textarea { background-color: #88F; }
394 div.tab > fieldset.note > input.color[value="#0A0"]:checked ~ textarea { background-color: #8F8; }
395 div.tab > fieldset.note > input.color[value="#0AA"]:checked ~ textarea { background-color: #8FF; }
396 div.tab > fieldset.note > input.color[value="#A00"]:checked ~ textarea { background-color: #F88; }
397 div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { background-color: #F8F; }
398 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
399 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
401 div.tab > button.delete {float: right; display: inline-block; margin-top: -1em; display: none;}