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 fieldset {
54 display: inline-block;
55 margin: 0; padding: 1ex;
56 margin-right: -.625ex;
60 .prescription fieldset br { display: none;}
64 .prescription textarea {
66 border: 1px solid #800;
68 background-color: #FFF;
71 background-color: #EEE;
73 white-space: pre-wrap;
78 .prescription input[type=checkbox],
79 .prescription input[type=radio] { display: none;}
81 .prescription label.checkbox,
82 .prescription label.radio,
83 .prescription input[type=checkbox] + label,
84 .prescription input[type=radio] + label { padding-left: 1.25em; font-size: 1em;}
86 .prescription label.checkbox:before,
87 .prescription label.radio:before,
88 .prescription input[type=checkbox] + label:before,
89 .prescription input[type=radio] + label:before {
90 display: inline-block;
93 width: .75em; height: .75em;
94 background-color: #FFF;
95 border: 1px solid #800;
98 .prescription label.radio:before,
99 .prescription input[type=radio] + label:before { border-radius: .5em;}
100 .prescription label.checkbox.checked:before,
101 .prescription label.radio.checked:before,
102 .prescription input[type=checkbox]:checked + label:before,
103 .prescription input[type=radio]:checked + label:before { content: "\2713";}
105 .prescription a.button,
106 .prescription input[type=submit],
107 .prescription button {
110 background-color: #800;
112 text-decoration: none;
113 margin: 0; padding: .125em 0 0 0;
116 .prescription a.button {padding: .5ex;}
118 /* ======== Specific ========== */
120 .prescription .baseinfo { width: 60%;}
122 .baseinfo label[for=insurance],
123 .baseinfo #insurance { width: 100%; }
125 .baseinfo label[for=name],
126 .baseinfo #name { width: 65%; margin-right: -.875ex;}
127 .baseinfo #name { height: 4em; }
129 .baseinfo label[for=bday],
130 .baseinfo #bday { width: 35%;}
131 .baseinfo #bday { height: 4em; text-align: center; vertical-align: top;}
133 .baseinfo label[for=date],
134 .baseinfo #date { width: 34%; margin-left: 65%;}
135 .baseinfo #date { text-align: right;}
137 .prescription .misc { width: 40%; }
144 .misc label[for=addcontrib],
145 .misc label[for=contribconfirm] {width: 100%;}
147 .misc #contribconfirm {width: 100%; text-align: right;}
149 .prescription label[for=prescreviewed] {
152 text-decoration: underline;
153 background-color: #FCC;
155 .prescription label[for=prescreviewed].checked,
156 .prescription :checked + label[for=prescreviewed] {
158 text-decoration: none;
159 background-color: #CFF;
162 .prescription .catalogue { width: 100%; }
164 .catalogue h2:nth-of-type(1) {
167 margin-bottom: .25em;
170 display: inline-block;
172 margin-right: -.625ex;
176 .catalogue label[for=presccontinual] { margin-right: 33%;}
178 .prescription .description { width: 100%; }
179 .description * { margin-right: -.625ex; vertical-align: top;}
180 .description label {vertical-align: bottom;}
181 .description label[for=quantity1],
182 .description label[for=remidy1],
183 .description label[for=quantity_weekly1] {display: none;}
185 .description label[for=quantity] { width: 20%;}
186 .description #quantity,
187 .description #quantity1 { width: 20%; height: 3em; text-align: center;}
188 .description label[for=remidy] { width: 60%; }
189 .description #remidy,
190 .description #remidy1 { width: 60%; height: 3em;}
191 .description label[for=quantity_weekly] { width: 20%;}
192 .description #quantity_weekly,
193 .description #quantity_weekly1 { width: 20%; height: 3em; text-align: center;}
195 .description label[for=indicator],
196 .description label[for=icd10] { display: block; width: 20%;}
198 .description #indicator {width: 20%; text-align: right;}
200 .prescription .controls { width: 100%; }
202 .controls button[value=save],
203 .controls button[value=cancel],
204 .controls button[value=delete] { width: 25%;}
208 # vi:set filetype=css: