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;
27 width: 480px; height: 41em;
29 background-color: #CFF;
30 margin: 1em; padding: 0;
31 border: 1px solid #888;
37 margin: 0 2em; padding: .5ex 2ex;
38 background-color: #CFF;
39 border: 1px solid #888;
40 border-radius: 0 0 1ex 1ex;
42 .prescription + .newprescription {display: none;}
46 display: inline-block;
50 margin: 0; padding: 0;
52 .prescription label {padding-left: .5ex; font-size: .75em;}
56 .prescription textarea {
58 border: 1px solid #800;
60 background-color: #FFF;
63 background-color: #EEE;
65 white-space: pre-wrap;
69 input[type=radio] { display: none;}
70 label.checkbox, label.radio,
71 input[type=checkbox] + label,
72 input[type=radio] + label { padding-left: 1em; font-size: 1em; }
73 label.checkbox:before, label.radio:before,
74 input[type=checkbox] + label:before,
75 input[type=radio] + label:before {
76 display: inline-block;
77 position: absolute; left: 0;
78 width: .75em; height: .75em;
79 background-color: #FFF;
80 border: 1px solid #800;
84 input[type=radio] + label:before { border-radius: .5em;}
85 label.checkbox.checked:before, label.radio.checked:before,
86 input[type=checkbox]:checked + label:before,
87 input[type=radio]:checked + label:before { content: "\2713";}
90 .prescription input[type=submit],
91 .prescription button {
94 background-color: #800;
96 text-decoration: none;
97 margin: 0; padding: .125em 0 0 0;
100 a.button {padding: .5ex;}
102 /* ======== Specific ========== */
103 .prescription h1:nth-of-type(1) {
106 left: 62%; top: .5em;
110 label[for=insurance], #insurance {
115 #insurance {top: 1.5em;}
117 label[for=name], #name {
122 #name {top: 4.125em; height: 4em;}
124 label[for=bday], #bday {
129 #bday {top: 4.125em; height: 4em; text-align: center;}
131 label[for=date], #date {
136 #date {top: 9.25em; text-align: right;}
138 label[for=addcontrib], #addcontrib {
143 #addcontrib {top: 5.5em; text-align: right;}
144 label[for=contribconfirm] { top: 7.25em; left: 62%;}
146 .prescription h2:nth-of-type(1) {
152 label[for=prescfirst] { left: 2%; top: 14.5em; width: 30%; }
153 label[for=prescfollow1] { left: 2%; top: 16em; width: 30%; }
154 label[for=prescfollow2] { left: 2%; top: 17.5em; width: 30%; }
155 label[for=presccontinual]{ left: 33%; top: 14.5em; width: 30%; }
156 label[for=prescother ] { left: 33%; top: 16em; width: 30%; }
158 label[for=grouptherapy] { left: 2%; top: 20em; width: 30%; }
159 label[for=housecall] { left: 33%; top: 20em; width: 30%; }
160 label[for=report] { left: 2%; top: 21.5em; width: 30%; }
163 label[for=quantity], #quantity, #quantity1 {
168 #quantity {top: 25.5em; height: 3em; text-align: center;}
169 #quantity1 {top: 28.5em; height: 3em; text-align: center;}
170 label[for=remidy], #remidy, #remidy1 {
175 #remidy {top: 25.5em; height: 3em;}
176 #remidy1 {top: 28.5em; height: 3em;}
177 label[for=quantity_weekly], #quantity_weekly, #quantity_weekly1 {
182 #quantity_weekly {top: 25.5em; height: 3em; text-align: center;}
183 #quantity_weekly1 {top: 28.5em; height: 3em; text-align: center;}
185 label[for=quantity1], label[for=remidy1], label[for=quantity_weekly1] {display: none}
187 label[for=indicator], #indicator {
192 #indicator {top: 33.375em; text-align: right;}
193 label[for=icd10], #icd10 {
198 #icd10 {top: 36em; text-align: right;}
200 label[for=prescreviewed] { left: 62%; top: 36em; width: 36%; }
203 button[value=save] { top: 39em; left: 2%; width: 18%;}
204 button[value=cancel] { top: 39em; left: 21%; width: 18%;}
205 button[value=delete] { top: 39em; left: 42%; width: 18%;}
209 # vi:set filetype=css: