4 * { box-sizing: border-box; }
13 input.tab { display: none; }
14 input.tab + label.tab { display: block; }
15 input.tab + label.tab::before { content: '\25b8 \00a0'; float: left;}
16 input.tab:checked + label.tab::before { content: '\25be \00a0'; }
17 input.tab + label.tab + div.tab { display: none; }
18 input.tab:checked + label.tab + div.tab { display: block; }
20 input.color { display: none }
22 display: inline-block;
23 width: 1em; height: 1em;
24 border: 1px solid black;
26 input.color:checked + label{ border-width: 3px;}
27 input.color[value="#000"] + label,
28 input.color[value="#888"] + label { background-color: #888;}
29 input.color[value="#00A"] + label { background-color: #00F;}
30 input.color[value="#0A0"] + label { background-color: #0F0;}
31 input.color[value="#0AA"] + label { background-color: #0FF;}
32 input.color[value="#A00"] + label { background-color: #F00;}
33 input.color[value="#A0A"] + label { background-color: #F0F;}
34 input.color[value="#AA0"] + label { background-color: #FF0;}
35 input.color[value="#FFF"] + label { background-color: #FFF;}
37 h1, label.tab, div.tab, fieldset.tab,
38 div.patient, div.prescription {
44 div.prescription span {
45 display: inline-block;
50 div.prescription span label { font-weight: bold; margin-right: 1ex;}
51 div.prescription span.prescno,
52 div.prescription span.catalogue {
59 div.prescription label.checkbox,
60 div.prescription label.radio {
67 div.prescription label.checkbox:before,
68 div.prescription label.radio:before {
69 display: inline-block;
71 background-color: #FFF;
72 height: 1.375em; width: 1.125em;
73 padding: .125em 0 0 .375em;
74 margin: 0 .5em .25em -1.25em;
75 border: 1px solid #000;
76 vertical-align: middle;
79 div.prescription label.radio:before { border-radius: .5em;}
80 div.prescription label.checkbox.checked:before,
81 div.prescription label.radio.checked:before { content: "\2713";}
83 div.prescription label[for=prescreviewed] {
86 text-decoration: underline;
87 background-color: #FCC;
89 div.prescription label[for=prescreviewed].checked {
91 text-decoration: none;
92 background-color: transparent;
95 input.stickynote { display:none; }
96 input.stickynote + .stickynote {
98 background-color: #FF8;
99 top: 4em; bottom: 4em;
100 left: -4.5em; width: 5em;
105 input.stickynote + .stickynote > * { display: none; }
106 input.stickynote + .stickynote > label {
113 input.stickynote + .stickynote:hover {
116 input.stickynote:checked + .stickynote {
121 input.stickynote:checked + .stickynote > textarea {
124 left; 0; right: 0; bottom: 0; top: 0;
125 width: 100%; height: 100%;
126 background-color: #FF8;
129 input.stickynote:checked + .stickynote > button {
132 right: .5ex; bottom: .5ex;
135 input.stickynote:checked + .stickynote > label {
140 input.stickynote:checked + .stickynote > label:before {
144 top: .5ex; right: .5ex;
145 padding: .125ex .75ex;
146 background-color: #000;
155 bottom: 0; right: 0; width: 2em;
156 margin: .5em .5em .125em 2%;
160 fieldset.color > input.color + label {
161 width: 2em; height: 2em;
165 margin: .5em 1em .125em 2%; padding: 0;
167 border: 1px solid black;
171 left: 0; bottom: .25em;
175 @media(min-width: 800px){
176 h1, label.tab, div.tab, fieldset.tab,
177 div.patient, div.prescription {
181 input.stickynote:checked + .stickynote { right: 50%; }
182 fieldset.color { position: fixed; }
187 right: 2em; bottom: .25em;
191 right: 2em; left: auto;
197 div.patient, div.prescription { margin-top: 1em; }
199 border: 1px solid black;
200 background-color: #EEE;
201 padding: .125em 1.25ex .5em 1.25ex;
203 div > h2 { margin: 0; border-bottom: 1px solid black; }
204 div:nth-child(n+2) > a:first-of-type {
206 margin: .125em 0 .5em 0;
207 text-decoration: none;
214 padding: .125em 1ex .25em 1ex;
216 background-color: #333;
222 background-color: #FFF;
224 border: 2px solid black;
225 border-bottom-width: 1px;
228 label.heading > span {
229 text-decoration: underline;
235 display: inline-block;
239 width: 10%; float: left;
240 border: solid 1px #FFF;
241 background-color: #555;
246 label.heading > span.no {
247 background-color: inherit;
250 .tab > .date { width: 30%; }
251 .tab > .therapist { width: 30%; }
252 .tab > .signature { width: 20%; }
253 label.tab > .signature { font-size: .75em; }
254 .tab > .signature > button { display: inline-block; margin: 0; }
255 /* fieldset.tab > button[type=submit] { width: 5%; text-align: center; margin-left: 5%;} */
256 fieldset.tab > button[type=submit] { height: 2em; color: #FFF; font-weight: bold;}
257 fieldset.tab > button[type=submit]::first-letter { font-size: 1.75em;}
259 .signature > button[value=pos],
260 .signature > button[value=neg] {
261 margin-bottom: .25em;
262 border: 1px solid black;
263 height: 1.5em; width: 1.5em;
265 background-color: #FFF;
269 .signature > input[type=checkbox] {display: none;}
270 .signature > button[value=neg]::before { padding: 0 1ex 0 .25ex; content: "\2713"; }
271 .signature > button[value=pos]::before { padding: 0 1ex 0 .25ex; content: "\00a0 \00a0 \00a0"; }
273 input.tab + label.tab > input.date,
274 input.tab + label.tab > input.therapist {
277 input.tab:checked + label.tab > input.date,
278 input.tab:checked + label.tab > input.therapist {
281 input.tab:checked + label.tab > span.date,
282 input.tab:checked + label.tab > span.therapist {
288 border: 2px solid #333;
289 border-top-width: 1px;
293 div.tab > fieldset.note {
295 margin: 0; padding: 0;
297 div.tab > fieldset.note > textarea {
299 width: 95%; height: 8em;
300 margin: -8em 0 .5em 2em;
301 font: normal 1em sans-serif;
303 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
304 div.tab > fieldset.note > input.color[value="#888"]:checked ~ textarea { background-color: #AAA; }
305 div.tab > fieldset.note > input.color[value="#00A"]:checked ~ textarea { background-color: #88F; }
306 div.tab > fieldset.note > input.color[value="#0A0"]:checked ~ textarea { background-color: #8F8; }
307 div.tab > fieldset.note > input.color[value="#0AA"]:checked ~ textarea { background-color: #8FF; }
308 div.tab > fieldset.note > input.color[value="#A00"]:checked ~ textarea { background-color: #F88; }
309 div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { background-color: #F8F; }
310 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
311 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
313 div.tab > button.delete {float: right; display: inline-block;}
316 # vi:set filetype=css: