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 {
69 div.prescription span {
70 display: inline-block;
75 div.prescription span label { font-weight: bold; margin-right: 1ex;}
76 div.prescription span.prescno,
77 div.prescription span.catalogue {
84 div.prescription ul {margin-top: 0;}
86 div.prescription label.checkbox,
87 div.prescription label.radio {
94 div.prescription label.checkbox:before,
95 div.prescription label.radio:before {
96 display: inline-block;
98 background-color: #FFF;
99 height: 1.375em; width: 1.125em;
100 padding: .125em 0 0 .375em;
101 margin: 0 .5em .25em -1.25em;
102 border: 1px solid #000;
103 vertical-align: middle;
106 div.prescription label.radio:before { border-radius: .5em;}
107 div.prescription label.checkbox.checked:before,
108 div.prescription label.radio.checked:before { content: "\2713";}
110 div.prescription label[for=prescreviewed] {
113 text-decoration: underline;
114 background-color: #FCC;
116 div.prescription label[for=prescreviewed].checked {
118 text-decoration: none;
119 background-color: transparent;
122 div.prescription label.tab {width: 96%; border: none; border-bottom: 1px dotted;}
123 div.prescription div.tab { width: 96%; background-color: #DDD;}
125 input.stickynote { display:none; }
126 input.stickynote + .stickynote {
128 background-color: #FF8;
129 top: 4em; bottom: 4em;
130 left: -4.5em; width: 5em;
135 input.stickynote + .stickynote > * { display: none; }
136 input.stickynote + .stickynote > label {
143 input.stickynote + .stickynote:hover {
146 input.stickynote:checked + .stickynote {
151 input.stickynote:checked + .stickynote > textarea {
154 left; 0; right: 0; bottom: 0; top: 0;
155 width: 100%; height: 100%;
156 background-color: #FF8;
159 input.stickynote:checked + .stickynote > button {
162 right: .5ex; bottom: .5ex;
165 input.stickynote:checked + .stickynote > label {
170 input.stickynote:checked + .stickynote > label:before {
174 top: .5ex; right: .5ex;
175 padding: .125ex .75ex;
176 background-color: #000;
185 right: 0; width: 2em;
186 margin: .5em .5em .125em 2%;
190 fieldset.penwidth { bottom: 19em; }
191 fieldset.penwidth > input {display: none;}
192 fieldset.penwidth > input + label { display: none;}
193 fieldset.penwidth > input:checked + label {
195 width: 2em; height: 2em;
196 background-color: #000;
197 border: 1em solid #FFF;
200 fieldset.penwidth > input[value="4"] + label { border-width: .75em; }
201 fieldset.penwidth > input[value="12"] + label { border-width: .5em; }
202 fieldset.penwidth > input[value="36"] + label { border-width: .25em; }
204 fieldset.color { bottom: 0; }
205 fieldset.color > input.color + label {
206 width: 2em; height: 2em;
210 margin: .5em 1em .125em 2%; padding: 0;
212 border: 1px solid black;
216 left: 0; bottom: .25em;
220 @media(min-width: 800px){
221 h1, label.tab, div.tab, fieldset.tab,
222 div.patient, div.prescription {
226 input.stickynote:checked + .stickynote { right: 50%; }
228 fieldset.color { position: fixed; }
233 right: 2em; bottom: .25em;
237 right: 2em; left: auto;
243 div.patient, div.prescription { margin-top: 1em; }
245 border: 1px solid black;
246 background-color: #EEE;
247 padding: .125em 1.25ex .5em 1.25ex;
249 div > h2 { margin: 0; border-bottom: 1px solid black; }
250 div:nth-child(n+2) > a:first-of-type {
252 margin: .125em 0 .5em 0;
253 text-decoration: none;
256 #report fieldset.tab,
260 padding: .125em 1ex .25em 1ex;
262 background-color: #333;
267 #report label.heading {
268 background-color: #FFF;
270 border: 2px solid black;
271 border-bottom-width: 1px;
274 #report label.heading > span {
275 text-decoration: underline;
278 #report fieldset.tab > *,
279 #report label > input,
280 #report label > span {
281 display: inline-block;
285 width: 10%; float: left;
286 border: solid 1px #FFF;
287 background-color: #555;
292 #report label.heading > span.no {
293 background-color: inherit;
296 #report .tab > .date { width: 30%; }
297 #report .tab > .therapist { width: 30%; }
298 #report .tab > .signature { width: 20%; }
299 #report label.tab > .signature { font-size: .75em; }
301 #report .signature > input[type=checkbox] {
306 #report .signature > input[type=checkbox]:before {
307 display: block; width: 1.25em;
308 margin: -.125em 0 0 -.5ex;
309 background-color: #FFF;
311 content: "\00a0 \00a0 \00a0";
313 #report .signature > input[type=checkbox]:checked::before {
317 #report input.tab + label.tab > input.date,
318 #report input.tab + label.tab > input.therapist {
321 #report input.tab:checked + label.tab > input.date,
322 #report input.tab:checked + label.tab > input.therapist {
325 #report input.tab:checked + label.tab > span.date,
326 #report input.tab:checked + label.tab > span.therapist {
331 border: 2px solid #333;
332 border-top-width: 1px;
334 padding: .25em .5ex 1em .5ex;
336 #report div.tab > fieldset.note {
338 margin: 0; padding: 0;
340 #report div.tab > fieldset.note > textarea {
342 width: 93%; height: 8em;
343 margin: -8em 0 .5em 2em;
344 font: normal 1em sans-serif;
346 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
347 div.tab > fieldset.note > input.color[value="#888"]:checked ~ textarea { background-color: #AAA; }
348 div.tab > fieldset.note > input.color[value="#00A"]:checked ~ textarea { background-color: #88F; }
349 div.tab > fieldset.note > input.color[value="#0A0"]:checked ~ textarea { background-color: #8F8; }
350 div.tab > fieldset.note > input.color[value="#0AA"]:checked ~ textarea { background-color: #8FF; }
351 div.tab > fieldset.note > input.color[value="#A00"]:checked ~ textarea { background-color: #F88; }
352 div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { background-color: #F8F; }
353 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
354 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
356 div.tab > button.delete {float: right; display: inline-block; margin-top: -1em; display: none;}