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 #addcontrib {width: 100%;}
146 .misc #addcontrib {text-align: right;}
148 .prescription .catalogue { width: 60%; }
150 .catalogue h2:nth-of-type(1) {
153 margin-bottom: .25em;
156 display: inline-block;
158 margin-right: -.625ex;
163 .prescription .description { width: 100%; }
164 .description * { margin-right: -.625ex; vertical-align: top;}
165 .description label {vertical-align: bottom;}
166 .description label[for=quantity1],
167 .description label[for=remidy1],
168 .description label[for=quantity_weekly1] {display: none;}
170 .description label[for=quantity] { width: 20%;}
171 .description #quantity,
172 .description #quantity1 { width: 20%; height: 3em; text-align: center;}
173 .description label[for=remidy] { width: 60%; }
174 .description #remidy,
175 .description #remidy1 { width: 60%; height: 3em;}
176 .description label[for=quantity_weekly] { width: 20%;}
177 .description #quantity_weekly,
178 .description #quantity_weekly1 { width: 20%; height: 3em; text-align: center;}
180 .description label[for=indicator],
181 .description label[for=icd10] { display: block; width: 20%;}
183 .description #indicator {width: 20%; text-align: right;}
185 .prescription label[for=prescreviewed] { margin-left: 1ex; }
187 .prescription .controls { width: 100%; }
189 .controls button[value=save],
190 .controls button[value=cancel],
191 .controls button[value=delete] { width: 25%;}
195 # vi:set filetype=css: