5 .trailbtn:checked + fieldset.trailbox { display: block;}
7 * { box-sizing: border-box; }
12 margin: 0; padding: 0;
16 form > button[type=submit] {
17 position: fixed; display: block;
19 height: 2.25em; padding: 0 3ex;
20 font-size: 1em; font-weight: bold;
21 color: #000; background-color: #FDD;
22 border-width: 1px; border-color: #000;
23 border-style: none solid solid solid;
24 border-radius: 0 0 4px 4px;
26 form > button[type=submit]:hover {
27 background-color: #FEE;
30 input.tab { display: none; }
31 input.tab + label.tab { display: block; }
32 input.tab + label.tab::before { content: '\25b8 \00a0'; float: left;}
33 input.tab:checked + label.tab::before { content: '\25be \00a0'; }
34 input.tab + label.tab + div.tab { display: none; }
35 input.tab:checked + label.tab + div.tab { display: block; }
37 input.color { display: none }
39 display: inline-block;
40 width: 1em; height: 1em;
41 border: 1px solid black;
43 input.color:checked + label{ border-width: 3px;}
44 input.color[value="#000"] + label,
45 input.color[value="#888"] + label { background-color: #888;}
46 input.color[value="#00A"] + label { background-color: #00F;}
47 input.color[value="#0A0"] + label { background-color: #0F0;}
48 input.color[value="#0AA"] + label { background-color: #0FF;}
49 input.color[value="#A00"] + label { background-color: #F00;}
50 input.color[value="#A0A"] + label { background-color: #F0F;}
51 input.color[value="#AA0"] + label { background-color: #FF0;}
52 input.color[value="#FFF"] + label { background-color: #FFF;}
54 h1, label.tab, div.tab, fieldset.tab,
55 div.patient, div.prescription {
61 div.prescription span {
62 display: inline-block;
67 div.prescription span label { font-weight: bold; margin-right: 1ex;}
68 div.prescription span.prescno,
69 div.prescription span.catalogue {
76 div.prescription label.checkbox,
77 div.prescription label.radio {
84 div.prescription label.checkbox:before,
85 div.prescription label.radio:before {
86 display: inline-block;
88 background-color: #FFF;
89 height: 1.375em; width: 1.125em;
90 padding: .125em 0 0 .375em;
91 margin: 0 .5em .25em -1.25em;
92 border: 1px solid #000;
93 vertical-align: middle;
96 div.prescription label.radio:before { border-radius: .5em;}
97 div.prescription label.checkbox.checked:before,
98 div.prescription label.radio.checked:before { content: "\2713";}
100 div.prescription label[for=prescreviewed] {
103 text-decoration: underline;
104 background-color: #FCC;
106 div.prescription label[for=prescreviewed].checked {
108 text-decoration: none;
109 background-color: transparent;
112 input.stickynote { display:none; }
113 input.stickynote + .stickynote {
115 background-color: #FF8;
116 top: 4em; bottom: 4em;
117 left: -4.5em; width: 5em;
122 input.stickynote + .stickynote > * { display: none; }
123 input.stickynote + .stickynote > label {
130 input.stickynote + .stickynote:hover {
133 input.stickynote:checked + .stickynote {
138 input.stickynote:checked + .stickynote > textarea {
141 left; 0; right: 0; bottom: 0; top: 0;
142 width: 100%; height: 100%;
143 background-color: #FF8;
146 input.stickynote:checked + .stickynote > button {
149 right: .5ex; bottom: .5ex;
152 input.stickynote:checked + .stickynote > label {
157 input.stickynote:checked + .stickynote > label:before {
161 top: .5ex; right: .5ex;
162 padding: .125ex .75ex;
163 background-color: #000;
172 bottom: 0; right: 0; width: 2em;
173 margin: .5em .5em .125em 2%;
177 fieldset.color > input.color + label {
178 width: 2em; height: 2em;
182 margin: .5em 1em .125em 2%; padding: 0;
184 border: 1px solid black;
188 left: 0; bottom: .25em;
192 @media(min-width: 800px){
193 h1, label.tab, div.tab, fieldset.tab,
194 div.patient, div.prescription {
198 input.stickynote:checked + .stickynote { right: 50%; }
199 fieldset.color { position: fixed; }
204 right: 2em; bottom: .25em;
208 right: 2em; left: auto;
214 div.patient, div.prescription { margin-top: 1em; }
216 border: 1px solid black;
217 background-color: #EEE;
218 padding: .125em 1.25ex .5em 1.25ex;
220 div > h2 { margin: 0; border-bottom: 1px solid black; }
221 div:nth-child(n+2) > a:first-of-type {
223 margin: .125em 0 .5em 0;
224 text-decoration: none;
231 padding: .125em 1ex .25em 1ex;
233 background-color: #333;
239 background-color: #FFF;
241 border: 2px solid black;
242 border-bottom-width: 1px;
245 label.heading > span {
246 text-decoration: underline;
252 display: inline-block;
256 width: 10%; float: left;
257 border: solid 1px #FFF;
258 background-color: #555;
263 label.heading > span.no {
264 background-color: inherit;
267 .tab > .date { width: 30%; }
268 .tab > .therapist { width: 30%; }
269 .tab > .signature { width: 20%; }
270 label.tab > .signature { font-size: .75em; }
272 .signature > input[type=checkbox] {
277 .signature > input[type=checkbox]:before {
278 display: block; width: 1.25em;
279 margin: -.125em 0 0 -.5ex;
280 background-color: #FFF;
282 content: "\00a0 \00a0 \00a0";
284 .signature > input[type=checkbox]:checked::before {
288 input.tab + label.tab > input.date,
289 input.tab + label.tab > input.therapist {
292 input.tab:checked + label.tab > input.date,
293 input.tab:checked + label.tab > input.therapist {
296 input.tab:checked + label.tab > span.date,
297 input.tab:checked + label.tab > span.therapist {
302 border: 2px solid #333;
303 border-top-width: 1px;
305 padding: .25em .5ex 1em .5ex;
307 div.tab > fieldset.note {
309 margin: 0; padding: 0;
311 div.tab > fieldset.note > textarea {
313 width: 93%; height: 8em;
314 margin: -8em 0 .5em 2em;
315 font: normal 1em sans-serif;
317 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
318 div.tab > fieldset.note > input.color[value="#888"]:checked ~ textarea { background-color: #AAA; }
319 div.tab > fieldset.note > input.color[value="#00A"]:checked ~ textarea { background-color: #88F; }
320 div.tab > fieldset.note > input.color[value="#0A0"]:checked ~ textarea { background-color: #8F8; }
321 div.tab > fieldset.note > input.color[value="#0AA"]:checked ~ textarea { background-color: #8FF; }
322 div.tab > fieldset.note > input.color[value="#A00"]:checked ~ textarea { background-color: #F88; }
323 div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { background-color: #F8F; }
324 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
325 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
327 div.tab > button.delete {float: right; display: inline-block; margin-top: -1em;}
330 # vi:set filetype=css: