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 input.tab { display: none; }
39 input.tab + label.tab { display: block; }
40 input.tab + label.tab::before { content: '\25b8 \00a0'; float: left;}
41 input.tab:checked + label.tab::before { content: '\25be \00a0'; }
42 input.tab + label.tab + div.tab { display: none; }
43 input.tab:checked + label.tab + div.tab { display: block; }
45 input.color { display: none }
47 display: inline-block;
48 width: 1em; height: 1em;
49 border: 1px solid black;
51 input.color:checked + label{ border-width: 3px;}
52 input.color[value="#000"] + label,
53 input.color[value="#888"] + label { background-color: #888;}
54 input.color[value="#00A"] + label { background-color: #00F;}
55 input.color[value="#0A0"] + label { background-color: #0F0;}
56 input.color[value="#0AA"] + label { background-color: #0FF;}
57 input.color[value="#A00"] + label { background-color: #F00;}
58 input.color[value="#A0A"] + label { background-color: #F0F;}
59 input.color[value="#AA0"] + label { background-color: #FF0;}
60 input.color[value="#FFF"] + label { background-color: #FFF;}
62 h1, label.tab, div.tab, fieldset.tab,
63 div.patient, div.prescription, div.therapies {
70 text-decoration: none; color: #000;
74 display: inline-block;
75 text-decoration: none;
76 border: 1px solid black;
77 margin-top: .5em; padding: .25em .5em;
78 background-color: #DDF;
81 div.therapies > a.current {
82 background-color: #AAF;
86 background-color: #CFF;
92 div.prescription span {
93 display: inline-block;
98 div.prescription span label { font-weight: bold; margin-right: 1ex;}
99 div.prescription span.prescno,
100 div.prescription span.catalogue {
107 div.prescription ul {
112 div.prescription label.checkbox,
113 div.prescription label.radio {
115 padding-left: 1.25em;
120 div.prescription label.checkbox:before,
121 div.prescription label.radio:before {
122 display: inline-block;
124 background-color: #FFF;
125 height: 1.375em; width: 1.125em;
126 padding: .125em 0 0 .375em;
127 margin: 0 .5em .25em -1.25em;
128 border: 1px solid #000;
129 vertical-align: middle;
132 div.prescription label.radio:before { border-radius: .5em;}
133 div.prescription label.checkbox.checked:before,
134 div.prescription label.radio.checked:before { content: "\2713";}
136 div.prescription label[for=prescreviewed] {
139 text-decoration: underline;
140 background-color: #FCC;
142 div.prescription label[for=prescreviewed].checked {
144 text-decoration: none;
145 background-color: transparent;
148 div.prescription label.tab {width: 96%; border: none; border-bottom: 1px dotted;}
149 div.prescription div.tab { width: 96%; background-color: #DDD;}
151 input.stickynote { display:none; }
152 input.stickynote + .stickynote {
154 background-color: #FF8;
155 top: 4em; bottom: 4em;
156 left: -4.5em; width: 5em;
161 input.stickynote + .stickynote:nth-of-type(2n) {
162 background-color: #8FF;
166 input.stickynote + .stickynote > * { display: none; }
167 input.stickynote + .stickynote > label {
169 top: 0; bottom: 0; right: .5ex;
174 input.stickynote + .stickynote:hover {
177 input.stickynote:checked + .stickynote {
178 width: auto; left: 1em; right: 1em;
180 input.stickynote:checked + .stickynote > * { display: block; }
181 input.stickynote:checked + .stickynote > textarea {
184 left; 0; right: 0; bottom: 0; top: 0;
185 width: 100%; height: 100%;
186 background-color: #FF8;
189 input.stickynote:checked + .stickynote > button[type="submit"] {
192 right: .5ex; bottom: .5ex;
195 input.stickynote:checked + .stickynote > label {
200 input.stickynote:checked + .stickynote > label:before {
205 top: .5ex; right: .5ex;
206 padding: .125ex .75ex;
207 background-color: #000;
216 right: 0; width: 2em;
217 margin: .5em .5em .125em 2%;
221 fieldset.penwidth { bottom: 19em; }
222 fieldset.penwidth > input {display: none;}
223 fieldset.penwidth > input + label { display: none;}
224 fieldset.penwidth > input:checked + label {
226 width: 2em; height: 2em;
227 background-color: #000;
228 border: 1em solid #FFF;
231 fieldset.penwidth > input[value="4"] + label { border-width: .75em; }
232 fieldset.penwidth > input[value="12"] + label { border-width: .5em; }
233 fieldset.penwidth > input[value="36"] + label { border-width: .25em; }
235 fieldset.color { bottom: 0; }
236 fieldset.color > input.color + label {
237 width: 2em; height: 2em;
241 margin: .5em 1em .125em 2%; padding: 0;
243 border: 1px solid black;
247 left: 0; bottom: .25em;
251 @media(min-width: 800px){
252 h1, label.tab, div.tab, fieldset.tab,
253 div.patient, div.prescription, div.therapies {
257 input.stickynote:checked + .stickynote { right: 50%; }
259 fieldset.color { position: fixed; }
264 right: 2em; bottom: .25em;
268 right: 2em; left: auto;
274 div.patient, div.prescription, div.therapies { margin-top: .5em; }
275 div.prescription, div.therapies {
276 border: 1px solid black;
277 padding: .125em 1.25ex .5em 1.25ex;
279 div > h2 { margin: 0; border-bottom: 1px solid black; }
281 div:nth-child(n+2) > a:first-of-type {
283 margin: .125em 0 .5em 0;
284 text-decoration: none;
288 #report fieldset.tab,
292 padding: .125em 1ex .25em 1ex;
294 background-color: #333;
299 #report label.heading {
300 background-color: #FFF;
302 border: 2px solid black;
303 border-bottom-width: 1px;
306 #report label.heading > span {
307 text-decoration: underline;
310 #report fieldset.tab > *,
311 #report label > input,
312 #report label > span {
313 display: inline-block;
317 width: 10%; float: left;
318 border: solid 1px #FFF;
319 background-color: #555;
324 #report label.heading > span.no {
325 background-color: inherit;
328 #report .tab > .date { width: 30%; }
329 #report .tab > .therapist { width: 30%; }
330 #report .tab > .signature { width: 20%; }
331 #report label.tab > .signature { font-size: .75em; }
333 #report .signature > input[type=checkbox] {
338 #report .signature > input[type=checkbox]:before {
339 display: block; width: 1.25em;
340 margin: -.125em 0 0 -.5ex;
341 background-color: #FFF;
343 content: "\00a0 \00a0 \00a0";
345 #report .signature > input[type=checkbox]:checked::before {
349 #report input.tab + label.tab > input.date,
350 #report input.tab + label.tab > input.therapist {
353 #report input.tab:checked + label.tab > input.date,
354 #report input.tab:checked + label.tab > input.therapist {
357 #report input.tab:checked + label.tab > span.date,
358 #report input.tab:checked + label.tab > span.therapist {
363 border: 2px solid #333;
364 border-top-width: 1px;
366 padding: .25em .5ex 1em .5ex;
368 #report div.tab > fieldset.note {
370 margin: 0; padding: 0;
372 #report div.tab > fieldset.note > textarea {
374 width: 93%; height: 8em;
375 margin: -8em 0 .5em 2em;
376 font: normal 1em sans-serif;
378 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
379 div.tab > fieldset.note > input.color[value="#888"]:checked ~ textarea { background-color: #AAA; }
380 div.tab > fieldset.note > input.color[value="#00A"]:checked ~ textarea { background-color: #88F; }
381 div.tab > fieldset.note > input.color[value="#0A0"]:checked ~ textarea { background-color: #8F8; }
382 div.tab > fieldset.note > input.color[value="#0AA"]:checked ~ textarea { background-color: #8FF; }
383 div.tab > fieldset.note > input.color[value="#A00"]:checked ~ textarea { background-color: #F88; }
384 div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { background-color: #F8F; }
385 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
386 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
388 div.tab > button.delete {float: right; display: inline-block; margin-top: -1em; display: none;}