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;
27 form > button[type=submit]:hover {
28 background-color: #FEE;
31 input.tab { display: none; }
32 input.tab + label.tab { display: block; }
33 input.tab + label.tab::before { content: '\25b8 \00a0'; float: left;}
34 input.tab:checked + label.tab::before { content: '\25be \00a0'; }
35 input.tab + label.tab + div.tab { display: none; }
36 input.tab:checked + label.tab + div.tab { display: block; }
38 input.color { display: none }
40 display: inline-block;
41 width: 1em; height: 1em;
42 border: 1px solid black;
44 input.color:checked + label{ border-width: 3px;}
45 input.color[value="#000"] + label,
46 input.color[value="#888"] + label { background-color: #888;}
47 input.color[value="#00A"] + label { background-color: #00F;}
48 input.color[value="#0A0"] + label { background-color: #0F0;}
49 input.color[value="#0AA"] + label { background-color: #0FF;}
50 input.color[value="#A00"] + label { background-color: #F00;}
51 input.color[value="#A0A"] + label { background-color: #F0F;}
52 input.color[value="#AA0"] + label { background-color: #FF0;}
53 input.color[value="#FFF"] + label { background-color: #FFF;}
55 h1, label.tab, div.tab, fieldset.tab,
56 div.patient, div.prescription {
62 div.prescription span {
63 display: inline-block;
68 div.prescription span label { font-weight: bold; margin-right: 1ex;}
69 div.prescription span.prescno,
70 div.prescription span.catalogue {
77 div.prescription label.checkbox,
78 div.prescription label.radio {
85 div.prescription label.checkbox:before,
86 div.prescription label.radio:before {
87 display: inline-block;
89 background-color: #FFF;
90 height: 1.375em; width: 1.125em;
91 padding: .125em 0 0 .375em;
92 margin: 0 .5em .25em -1.25em;
93 border: 1px solid #000;
94 vertical-align: middle;
97 div.prescription label.radio:before { border-radius: .5em;}
98 div.prescription label.checkbox.checked:before,
99 div.prescription label.radio.checked:before { content: "\2713";}
101 div.prescription label[for=prescreviewed] {
104 text-decoration: underline;
105 background-color: #FCC;
107 div.prescription label[for=prescreviewed].checked {
109 text-decoration: none;
110 background-color: transparent;
113 input.stickynote { display:none; }
114 input.stickynote + .stickynote {
116 background-color: #FF8;
117 top: 4em; bottom: 4em;
118 left: -4.5em; width: 5em;
123 input.stickynote + .stickynote > * { display: none; }
124 input.stickynote + .stickynote > label {
131 input.stickynote + .stickynote:hover {
134 input.stickynote:checked + .stickynote {
139 input.stickynote:checked + .stickynote > textarea {
142 left; 0; right: 0; bottom: 0; top: 0;
143 width: 100%; height: 100%;
144 background-color: #FF8;
147 input.stickynote:checked + .stickynote > button {
150 right: .5ex; bottom: .5ex;
153 input.stickynote:checked + .stickynote > label {
158 input.stickynote:checked + .stickynote > label:before {
162 top: .5ex; right: .5ex;
163 padding: .125ex .75ex;
164 background-color: #000;
173 bottom: 0; right: 0; width: 2em;
174 margin: .5em .5em .125em 2%;
178 fieldset.color > input.color + label {
179 width: 2em; height: 2em;
183 margin: .5em 1em .125em 2%; padding: 0;
185 border: 1px solid black;
189 left: 0; bottom: .25em;
193 @media(min-width: 800px){
194 h1, label.tab, div.tab, fieldset.tab,
195 div.patient, div.prescription {
199 input.stickynote:checked + .stickynote { right: 50%; }
200 fieldset.color { position: fixed; }
205 right: 2em; bottom: .25em;
209 right: 2em; left: auto;
215 div.patient, div.prescription { margin-top: 1em; }
217 border: 1px solid black;
218 background-color: #EEE;
219 padding: .125em 1.25ex .5em 1.25ex;
221 div > h2 { margin: 0; border-bottom: 1px solid black; }
222 div:nth-child(n+2) > a:first-of-type {
224 margin: .125em 0 .5em 0;
225 text-decoration: none;
232 padding: .125em 1ex .25em 1ex;
234 background-color: #333;
240 background-color: #FFF;
242 border: 2px solid black;
243 border-bottom-width: 1px;
246 label.heading > span {
247 text-decoration: underline;
253 display: inline-block;
257 width: 10%; float: left;
258 border: solid 1px #FFF;
259 background-color: #555;
264 label.heading > span.no {
265 background-color: inherit;
268 .tab > .date { width: 30%; }
269 .tab > .therapist { width: 30%; }
270 .tab > .signature { width: 20%; }
271 label.tab > .signature { font-size: .75em; }
273 .signature > input[type=checkbox] {
278 .signature > input[type=checkbox]:before {
279 display: block; width: 1.25em;
280 margin: -.125em 0 0 -.5ex;
281 background-color: #FFF;
283 content: "\00a0 \00a0 \00a0";
285 .signature > input[type=checkbox]:checked::before {
289 input.tab + label.tab > input.date,
290 input.tab + label.tab > input.therapist {
293 input.tab:checked + label.tab > input.date,
294 input.tab:checked + label.tab > input.therapist {
297 input.tab:checked + label.tab > span.date,
298 input.tab:checked + label.tab > span.therapist {
303 border: 2px solid #333;
304 border-top-width: 1px;
306 padding: .25em .5ex 1em .5ex;
308 div.tab > fieldset.note {
310 margin: 0; padding: 0;
312 div.tab > fieldset.note > textarea {
314 width: 93%; height: 8em;
315 margin: -8em 0 .5em 2em;
316 font: normal 1em sans-serif;
318 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
319 div.tab > fieldset.note > input.color[value="#888"]:checked ~ textarea { background-color: #AAA; }
320 div.tab > fieldset.note > input.color[value="#00A"]:checked ~ textarea { background-color: #88F; }
321 div.tab > fieldset.note > input.color[value="#0A0"]:checked ~ textarea { background-color: #8F8; }
322 div.tab > fieldset.note > input.color[value="#0AA"]:checked ~ textarea { background-color: #8FF; }
323 div.tab > fieldset.note > input.color[value="#A00"]:checked ~ textarea { background-color: #F88; }
324 div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { background-color: #F8F; }
325 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
326 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
328 div.tab > button.delete {float: right; display: inline-block; margin-top: -1em;}
331 # vi:set filetype=css: