2 # Copyright 2016 Paul Hänsch
4 # This file is part of Confetti.
6 # Confetti is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU Affero General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
11 # Confetti is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU Affero General Public License for more details.
16 # You should have received a copy of the GNU Affero General Public License
17 # along with Confetti. If not, see <http://www.gnu.org/licenses/>.
19 . ${0%/*}/attendees.css.sh
25 display: inline-block;
26 width: 96%; max-width: 460px;
28 background-color: #CFF;
29 margin: 1em -1% 0 2%; padding: 0;
30 border: 1px solid #888;
36 margin: 0 2em; padding: .5ex 2ex;
37 background-color: #CFF;
38 border: 1px solid #888;
39 border-radius: 0 0 1ex 1ex;
43 display: inline-block;
46 margin: 0; padding: 0;
53 .prescription table {display: block; width: 100%; border-collapse: collapse;}
54 .prescription table tbody {width: 100%; margin: 0 auto;}
55 .prescription table tr {display: table-row; width: 100%; margin: 0 auto;}
56 .prescription table tr th,
57 .prescription table tr td {
61 border-left: 1px solid red;
63 .prescription table tr th { padding: .25em 1ex; border-bottom: 1px solid red;}
64 .prescription table tr th:nth-of-type(1),
65 .prescription table tr td:nth-of-type(1) { border-left: none;}
67 td.private {background-color: #BFB;}
68 td.selfpaid {background-color: #FFB;}
69 td.compulsory.doctor {background-color: #BBF;}
70 td.compulsory.dentist {background-color: #FBB;}
71 td.altpractition { background-color: #FBF;}
73 .prescription fieldset {
74 display: inline-block;
75 margin: 0; padding: 1ex;
76 margin-right: -.625ex;
80 .prescription fieldset br { display: none;}
84 .prescription textarea {
86 border: 1px solid #800;
88 background-color: #FFF;
91 background-color: #EEE;
93 white-space: pre-wrap;
98 .prescription input[type=checkbox],
99 .prescription input[type=radio] { display: none;}
101 .prescription label.checkbox,
102 .prescription label.radio,
103 .prescription input[type=checkbox] + label,
104 .prescription input[type=radio] + label { padding-left: 1.25em; font-size: 1em;}
106 .prescription label.checkbox:before,
107 .prescription label.radio:before,
108 .prescription input[type=checkbox] + label:before,
109 .prescription input[type=radio] + label:before {
110 display: inline-block;
112 margin-left: -1.25em;
113 width: .75em; height: .75em;
114 background-color: #FFF;
115 border: 1px solid #800;
118 .prescription label.radio:before,
119 .prescription input[type=radio] + label:before { border-radius: .5em;}
120 .prescription label.checkbox.checked:before,
121 .prescription label.radio.checked:before,
122 .prescription input[type=checkbox]:checked + label:before,
123 .prescription input[type=radio]:checked + label:before { content: "\2713";}
125 .prescription a.button,
126 .prescription input[type=submit],
127 .prescription button {
130 background-color: #800;
132 text-decoration: none;
133 margin: 0; padding: .125em 0 0 0;
136 .prescription a.button {padding: .5ex;}
138 /* ======== Specific ========== */
140 .prescription .baseinfo { width: 60%;}
142 .baseinfo label[for=insurance],
143 .baseinfo #insurance { width: 100%; }
145 .baseinfo label[for=name],
146 .baseinfo #name { width: 65%; margin-right: -.875ex;}
147 .baseinfo #name { height: 4em; }
149 .baseinfo label[for=bday],
150 .baseinfo #bday { width: 35%;}
151 .baseinfo #bday { height: 4em; text-align: center; vertical-align: top;}
153 .baseinfo label[for=date],
154 .baseinfo #date { width: 34%; margin-left: 65%;}
155 .baseinfo #date { text-align: right;}
157 .prescription .misc { width: 40%; }
164 .misc label[for=addcontrib],
165 .misc label[for=contribconfirm] {width: 100%;}
167 .misc #contribconfirm {width: 100%; text-align: right;}
169 .prescription label[for=prescreviewed] {
172 text-decoration: underline;
173 background-color: #FCC;
175 .prescription label[for=prescreviewed].checked,
176 .prescription :checked + label[for=prescreviewed] {
178 text-decoration: none;
179 background-color: #CFF;
182 .prescription .catalogue { width: 100%; }
184 .catalogue h2:nth-of-type(1) {
187 margin-bottom: .25em;
190 display: inline-block;
192 margin-right: -.625ex;
196 .catalogue label[for=presccontinual] { margin-right: 33%;}
198 .prescription .description { width: 100%; position: relative;}
199 .description * { margin-right: -.625ex; vertical-align: top; }
200 .description label {vertical-align: bottom;}
201 .description label[for=quantity1],
202 .description label[for=remidy1],
203 .description label[for=quantity_weekly1] {display: none;}
205 .description label[for=quantity] { width: 20%;}
206 .description #quantity,
207 .description #quantity1 { width: 20%; height: 3em; text-align: center;}
208 .description label[for=remidy] { width: 60%; }
209 .description #remidy,
210 .description #remidy1 { width: 60%; height: 3em;}
211 .description label[for=quantity_weekly] { width: 20%;}
212 .description #quantity_weekly,
213 .description #quantity_weekly1 { width: 20%; height: 3em; text-align: center;}
215 .description .indicator_codes {display: inline-block; width: 20%; padding: 0; padding-top: 1.5ex;}
216 .description label[for=indicator],
217 .description label[for=icd10] { display: block; width: 100%;}
219 .description #indicator {width: 100%; text-align: right;}
221 .description .indicator_reading { display: inline-block; width: 78%; padding: 0; padding-top: 1.5ex; margin-left: 2%;}
222 .description label[for=indicator_reading],
223 .description #indicator_reading { width: 100%; display: block;}
224 .description #indicator_reading { height: 4em;}
226 .prescription .controls { width: 100%; }
228 .controls button[value=save],
229 .controls button[value=cancel],
230 .controls button[value=delete] { width: 25%;}
234 # vi:set filetype=css: