1 .trailbtn:checked + fieldset.trailbox { display: block;}
3 * { box-sizing: border-box; }
12 form > button[type=submit] {
13 position: fixed; display: block;
15 height: 2.25em; padding: 0 3ex;
16 font-size: 1em; font-weight: bold;
17 color: #000; background-color: #FDD;
18 border-width: 1px; border-color: #000;
19 border-style: none solid solid solid;
20 border-radius: 0 0 4px 4px;
23 form > button[type=submit]:hover {
24 background-color: #FEE;
27 input.tab { display: none; }
28 input.tab + label.tab { display: block; }
29 input.tab + label.tab::before { content: '\25b8 \00a0'; float: left;}
30 input.tab:checked + label.tab::before { content: '\25be \00a0'; }
31 input.tab + label.tab + div.tab { display: none; }
32 input.tab:checked + label.tab + div.tab { display: block; }
34 input.color { display: none }
36 display: inline-block;
37 width: 1em; height: 1em;
38 border: 1px solid black;
40 input.color:checked + label{ border-width: 3px;}
41 input.color[value="#000"] + label,
42 input.color[value="#888"] + label { background-color: #888;}
43 input.color[value="#00A"] + label { background-color: #00F;}
44 input.color[value="#0A0"] + label { background-color: #0F0;}
45 input.color[value="#0AA"] + label { background-color: #0FF;}
46 input.color[value="#A00"] + label { background-color: #F00;}
47 input.color[value="#A0A"] + label { background-color: #F0F;}
48 input.color[value="#AA0"] + label { background-color: #FF0;}
49 input.color[value="#FFF"] + label { background-color: #FFF;}
51 h1, label.tab, div.tab, fieldset.tab,
52 div.patient, div.prescription {
58 div.prescription span {
59 display: inline-block;
64 div.prescription span label { font-weight: bold; margin-right: 1ex;}
65 div.prescription span.prescno,
66 div.prescription span.catalogue {
73 div.prescription label.checkbox,
74 div.prescription label.radio {
81 div.prescription label.checkbox:before,
82 div.prescription label.radio:before {
83 display: inline-block;
85 background-color: #FFF;
86 height: 1.375em; width: 1.125em;
87 padding: .125em 0 0 .375em;
88 margin: 0 .5em .25em -1.25em;
89 border: 1px solid #000;
90 vertical-align: middle;
93 div.prescription label.radio:before { border-radius: .5em;}
94 div.prescription label.checkbox.checked:before,
95 div.prescription label.radio.checked:before { content: "\2713";}
97 div.prescription label[for=prescreviewed] {
100 text-decoration: underline;
101 background-color: #FCC;
103 div.prescription label[for=prescreviewed].checked {
105 text-decoration: none;
106 background-color: transparent;
109 input.stickynote { display:none; }
110 input.stickynote + .stickynote {
112 background-color: #FF8;
113 top: 4em; bottom: 4em;
114 left: -4.5em; width: 5em;
119 input.stickynote + .stickynote > * { display: none; }
120 input.stickynote + .stickynote > label {
127 input.stickynote + .stickynote:hover {
130 input.stickynote:checked + .stickynote {
135 input.stickynote:checked + .stickynote > textarea {
138 left; 0; right: 0; bottom: 0; top: 0;
139 width: 100%; height: 100%;
140 background-color: #FF8;
143 input.stickynote:checked + .stickynote > button {
146 right: .5ex; bottom: .5ex;
149 input.stickynote:checked + .stickynote > label {
154 input.stickynote:checked + .stickynote > label:before {
158 top: .5ex; right: .5ex;
159 padding: .125ex .75ex;
160 background-color: #000;
169 bottom: 0; right: 0; width: 2em;
170 margin: .5em .5em .125em 2%;
174 fieldset.color > input.color + label {
175 width: 2em; height: 2em;
179 margin: .5em 1em .125em 2%; padding: 0;
181 border: 1px solid black;
185 left: 0; bottom: .25em;
189 @media(min-width: 800px){
190 h1, label.tab, div.tab, fieldset.tab,
191 div.patient, div.prescription {
195 input.stickynote:checked + .stickynote { right: 50%; }
196 fieldset.color { position: fixed; }
201 right: 2em; bottom: .25em;
205 right: 2em; left: auto;
211 div.patient, div.prescription { margin-top: 1em; }
213 border: 1px solid black;
214 background-color: #EEE;
215 padding: .125em 1.25ex .5em 1.25ex;
217 div > h2 { margin: 0; border-bottom: 1px solid black; }
218 div:nth-child(n+2) > a:first-of-type {
220 margin: .125em 0 .5em 0;
221 text-decoration: none;
228 padding: .125em 1ex .25em 1ex;
230 background-color: #333;
236 background-color: #FFF;
238 border: 2px solid black;
239 border-bottom-width: 1px;
242 label.heading > span {
243 text-decoration: underline;
249 display: inline-block;
253 width: 10%; float: left;
254 border: solid 1px #FFF;
255 background-color: #555;
260 label.heading > span.no {
261 background-color: inherit;
264 .tab > .date { width: 30%; }
265 .tab > .therapist { width: 30%; }
266 .tab > .signature { width: 20%; }
267 label.tab > .signature { font-size: .75em; }
269 .signature > input[type=checkbox] {
274 .signature > input[type=checkbox]:before {
275 display: block; width: 1.25em;
276 margin: -.125em 0 0 -.5ex;
277 background-color: #FFF;
279 content: "\00a0 \00a0 \00a0";
281 .signature > input[type=checkbox]:checked::before {
285 input.tab + label.tab > input.date,
286 input.tab + label.tab > input.therapist {
289 input.tab:checked + label.tab > input.date,
290 input.tab:checked + label.tab > input.therapist {
293 input.tab:checked + label.tab > span.date,
294 input.tab:checked + label.tab > span.therapist {
299 border: 2px solid #333;
300 border-top-width: 1px;
302 padding: .25em .5ex 1em .5ex;
304 div.tab > fieldset.note {
306 margin: 0; padding: 0;
308 div.tab > fieldset.note > textarea {
310 width: 93%; height: 8em;
311 margin: -8em 0 .5em 2em;
312 font: normal 1em sans-serif;
314 div.tab > fieldset.note > input.color + label { margin: 0; display: block; }
315 div.tab > fieldset.note > input.color[value="#888"]:checked ~ textarea { background-color: #AAA; }
316 div.tab > fieldset.note > input.color[value="#00A"]:checked ~ textarea { background-color: #88F; }
317 div.tab > fieldset.note > input.color[value="#0A0"]:checked ~ textarea { background-color: #8F8; }
318 div.tab > fieldset.note > input.color[value="#0AA"]:checked ~ textarea { background-color: #8FF; }
319 div.tab > fieldset.note > input.color[value="#A00"]:checked ~ textarea { background-color: #F88; }
320 div.tab > fieldset.note > input.color[value="#A0A"]:checked ~ textarea { background-color: #F8F; }
321 div.tab > fieldset.note > input.color[value="#AA0"]:checked ~ textarea { background-color: #FF8; }
322 div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; }
324 div.tab > button.delete {float: right; display: inline-block; margin-top: -1em;}