2 # Copyright 2014 - 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/>.
23 border-radius: 4px 4px 0 0;
24 margin: .5em 2em .25em 2em;
25 padding: 0 2ex .5em 2ex;
33 border-style: none none solid none;
34 border-radius: 4px 4px 0 0;
36 margin: 0 -1.625ex .5em -1.625ex;
40 .filter input[type="text"] {
51 .filter fieldset legend {
58 display: inline-block;
60 margin: .125em 2ex 0 0;
70 border-radius: 0 0 4px 4px;
71 margin: .25em 2em 1em 2em;
72 padding: .25em 2ex .25em 2ex;
87 display: inline-block;
98 .card .control .item {
99 display: inline-block;
103 margin: .25em 0 .5em 0;
104 border: 1px solid black;
106 padding: .25em .75ex 0 .75ex;
107 text-decoration: none;
110 .card .control .item:hover{ border-color: #888; }
111 .card .control input.item { font-size: normal; }
112 .card .control button.item { text-align: right;}
113 .card .control button.item:hover{ border-color: #888;}
114 .card .control .item[name=newfield] { width: 85%;}
115 .card .control .item[value=addfield] { width: 15%;}
117 .card .control #delete + label + button,
118 .card .control #delete { display: none; }
119 .card .control #delete + label { background-color: #FEE; }
120 .card .control #delete:checked + label + button {
121 position: fixed; display: block;
122 left: 40%; top: 30%; width: 20%;
125 background-color: #FAA;
127 border-radius: .25em 0 0 .25em;
129 .card .control #delete:checked + label:after {
130 position: fixed; display: block;
131 left: 60%; top: 30%; width: 5%;
132 margin: .25em 0; padding: .5em .75ex 0 .75ex;
137 color: #AAA; background-color: #000;
138 border-radius: 0 .25em .25em 0;
142 display: inline-block;
148 margin: .125em 0 .5ex 0;
149 padding: 0 1ex .25em 1ex;
151 .card .section:nth-of-type(2n){ background: #EEE;}
153 .card .section h2, .card .section h3 {
157 margin: .25em -.5ex .25em -.5ex;
158 border-style: none none solid none;
161 .card .section .FN { /* will override h2 */
166 .card .section .item {
169 word-wrap: break-word;
171 .card .section .item label {
175 .card .section textarea.NOTE {
178 .card .section textarea.ADR {
182 .card .section .PHOTO {
186 .card .section .GENDER { display: inline-block; padding-right: .5ex;}
187 .card .section .BDAY { display: inline-block;}
189 .card .section select {
191 background-color: #FFF;
192 border: 1px solid black;
195 .card .section.attendance ul { margin: 0; padding: 0; }
196 .card .section.attendance ul li {
198 word-wrap: break-word;
201 .card .section.prescriptions ul { margin: 0; padding: 0; }
202 .card .section.prescriptions ul li {
204 word-wrap: break-word;
208 .card .section.prescriptions { width: 40ex;}
210 form.card .section input[type=text],
211 form.card .section input:not([type]),
212 form.card .section textarea,
213 form.card .section select {width: 100%;}
215 form.card .attendance {
218 form.card .attendance label {
220 display: inline-block;
224 form.card .attendance label input[type=checkbox] {
229 form.card .insurance input[type=radio] {display: none;}
230 form.card .insurance input[type=radio] + label {
231 display: inline-block;
235 border: 1px solid black;
238 form.card .insurance input[type=radio]:checked + label {
240 background-color: #FFF;
241 border-width: 1px 1px 0 1px;
243 form.card .insurance input[type=radio] + label + input + label + select,
244 form.card .insurance input[type=radio] + label + select + input {display: none;}
245 form.card .insurance input[type=radio]:checked + label + input + label + select,
246 form.card .insurance input[type=radio]:checked + label + select + input {
248 border: 1px solid black;
249 background-color: #FFF;
250 border-width: 0 1px 1px 1px;