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 {
204 top: .5ex; right: .5ex;
205 padding: .125ex .75ex;
206 background-color: #000;
215 right: 0; width: 2em;
216 margin: .5em .5em .125em 2%;
220 fieldset.penwidth { bottom: 19em; }
221 fieldset.penwidth > input {display: none;}
222 fieldset.penwidth > input + label { display: none;}
223 fieldset.penwidth > input:checked + label {
225 width: 2em; height: 2em;
226 background-color: #000;
227 border: 1em solid #FFF;
230 fieldset.penwidth > input[value="4"] + label { border-width: .75em; }
231 fieldset.penwidth > input[value="12"] + label { border-width: .5em; }
232 fieldset.penwidth > input[value="36"] + label { border-width: .25em; }
234 fieldset.color { bottom: 0; }
235 fieldset.color > input.color + label {
236 width: 2em; height: 2em;
240 margin: .5em 1em .125em 2%; padding: 0;
242 border: 1px solid black;
246 left: 0; bottom: .25em;
250 @media(min-width: 800px){
251 h1, label.tab, div.tab, fieldset.tab,
252 div.patient, div.prescription, div.therapies {
256 input.stickynote:checked + .stickynote { right: 50%; }
258 fieldset.color { position: fixed; }
263 right: 2em; bottom: .25em;
267 right: 2em; left: auto;
273 div.patient, div.prescription, div.therapies { margin-top: .5em; }
274 div.prescription, div.therapies {
275 border: 1px solid black;
276 padding: .125em 1.25ex .5em 1.25ex;
278 div > h2 { margin: 0; border-bottom: 1px solid black; }
280 div:nth-child(n+2) > a:first-of-type {
282 margin: .125em 0 .5em 0;
283 text-decoration: none;
287 #report fieldset.tab,
291 padding: .125em 1ex .25em 1ex;
293 background-color: #333;
298 #report label.heading {
299 background-color: #FFF;
301 border: 2px solid black;
302 border-bottom-width: 1px;
305 #report label.heading > span {
306 text-decoration: underline;
309 #report fieldset.tab > *,
310 #report label > input,
311 #report label > span {
312 display: inline-block;
316 width: 10%; float: left;
317 border: solid 1px #FFF;
318 background-color: #555;
323 #report label.heading > span.no {
324 background-color: inherit;
327 #report .tab > .date { width: 30%; }
328 #report .tab > .therapist { width: 30%; }
329 #report .tab > .signature { width: 20%; }
330 #report label.tab > .signature { font-size: .75em; }
332 #report .signature > input[type=checkbox] {
337 #report .signature > input[type=checkbox]:before {
338 display: block; width: 1.25em;
339 margin: -.125em 0 0 -.5ex;
340 background-color: #FFF;
342 content: "\00a0 \00a0 \00a0";
344 #report .signature > input[type=checkbox]:checked::before {
348 #report input.tab + label.tab > input.date,
349 #report input.tab + label.tab > input.therapist {
352 #report input.tab:checked + label.tab > input.date,
353 #report input.tab:checked + label.tab > input.therapist {
356 #report input.tab:checked + label.tab > span.date,
357 #report input.tab:checked + label.tab > span.therapist {
362 border: 2px solid #333;
363 border-top-width: 1px;
365 padding: .25em .5ex 1em .5ex;
367 #report div.tab > fieldset.note {
369 margin: 0; padding: 0;
371 #report div.tab > fieldset.note > textarea {
373 width: 93%; height: 8em;
374 margin: -8em 0 .5em 2em;
375 font: normal 1em sans-serif;
377 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
378 div.tab > fieldset.note > input.color[value="#888"]:checked ~ textarea { background-color: #AAA; }
379 div.tab > fieldset.note > input.color[value="#00A"]:checked ~ textarea { background-color: #88F; }
380 div.tab > fieldset.note > input.color[value="#0A0"]:checked ~ textarea { background-color: #8F8; }
381 div.tab > fieldset.note > input.color[value="#0AA"]:checked ~ textarea { background-color: #8FF; }
382 div.tab > fieldset.note > input.color[value="#A00"]:checked ~ textarea { background-color: #F88; }
383 div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { background-color: #F8F; }
384 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
385 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
387 div.tab > button.delete {float: right; display: inline-block; margin-top: -1em; display: none;}