2 font-family: sans-serif;
3 -moz-box-sizing: border-box;
4 -webkit-box-sizing: border-box;
5 box-sizing: border-box;
12 input, textarea, select, select * {
14 padding: .125em .125em;
18 vertical-align: bottom;
20 button { padding: 0 .5em; }
35 display: inline-block;
36 border-style: none solid solid solid;
37 border-width: 0 1px 1px 1px;
38 border-radius: 0 0 4px 4px;
47 border: solid 1px #BBF;
48 margin: .5em .5ex .25em .5ex;
49 padding: .2em 3ex .2em 3ex;
52 .NAVIGATION label:hover,
54 border-width: 2px 1px;
58 #CONFIGURE label[for="navigationconfig"] { display: none; }
59 #CONFIGURE:target label[for="navigationconfig"] { display: inline; }
61 .NAVIGATION input#navigationconfig { display: none; }
62 .NAVIGATION input + form.config {
67 .NAVIGATION .config a { display: block; }
68 .NAVIGATION .config a:hover { border-width: 1px 2px; }
69 .NAVIGATION input:checked + form.config { display: block; }
70 .NAVIGATION .config input[type=text],
71 .NAVIGATION .config button {
76 vertical-align: bottom;
77 border: 1px solid #000;
78 background-color: #FFF;
80 .NAVIGATION .config input[type=text] {
81 margin: .25em 0 0 .375em;
85 .NAVIGATION .config button {
90 .NAVIGATION .config button[value=del] {
98 margin: 0; padding: 1em;
101 background-color: #FAA;
102 border: 1px solid #000;
103 border-style: none none solid none;
106 .trailbtn { display: none; }
107 .trailbtn + .trailbox { display: none; }
108 .trailbtn:checked + .trailbox { display: inline-block; }
109 .trailbtn:checked + .trailbox + .trailbtn { display: block; }
110 .trailbtn:checked + .trailbox + .trailbtn:before {
111 display: block; content: '+';
112 width: 3ex; text-align: center;
113 margin-top: .25em; padding: .25em 0;
114 background-color: #FFF;
115 border-width: 1px; border-style: solid;
117 .trailbtn:checked + .trailbox + .trailbtn:checked,
118 .trailbtn:checked { display: none; }
122 background-color: #FFF;
123 border-top: 1px solid #BBF;
124 margin: 0; padding: .5em 2em;
125 position: absolute; bottom: 0;
128 # Copyright 2014 - 2017 Paul Hänsch
130 # This file is part of Confetti.
132 # Confetti is free software: you can redistribute it and/or modify
133 # it under the terms of the GNU Affero General Public License as published by
134 # the Free Software Foundation, either version 3 of the License, or
135 # (at your option) any later version.
137 # Confetti is distributed in the hope that it will be useful,
138 # but WITHOUT ANY WARRANTY; without even the implied warranty of
139 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
140 # GNU Affero General Public License for more details.
142 # You should have received a copy of the GNU Affero General Public License
143 # along with Confetti. If not, see <http://www.gnu.org/licenses/>.
146 .filter, .newcard, .card { box-shadow: 0 0 1ex; }
151 border-radius: 4px 4px 0 0;
152 margin: .5em 2em .25em 2em;
153 padding: 0 2ex .5em 2ex;
161 border-style: none none solid none;
162 border-radius: 4px 4px 0 0;
164 margin: 0 -1.625ex .5em -1.625ex;
168 .filter input[type="text"] {
180 .filter fieldset legend {
187 display: inline-block;
189 margin: .125em 2ex 0 0;
196 .filter fieldset.item { padding-left: 0; }
197 .filter fieldset.item legend { display: none; }
198 .filter fieldset.item input[type=text],
199 .filter fieldset.item fieldset.categories {
200 background-color: #FFF;
201 border: 1px solid #000;
205 .filter fieldset.item input[type=radio] { display: none; }
206 .filter fieldset.item input[type=radio] + label {
207 position: relative; z-index: 1;
208 margin: 0; padding: .25em 1em;
211 .filter fieldset.item input[type=radio]:checked + label {
212 background-color: #FFF;
213 border: 1px solid #000;
214 border-bottom-color: #FFF;
216 .filter fieldset.item input[type=radio][value="CATEGORIES"]:checked + label + input[type=text],
217 .filter fieldset.item input[type=radio][value="CATEGORIES"] + label + input[type=text] + fieldset.categories {
220 .filter fieldset.item input[type=radio][value="CATEGORIES"]:checked + label + input[type=text] + fieldset.categories {
223 .filter fieldset.item fieldset.categories a {
225 line-height: 1.625em;
232 margin: 1em 2em .5em 2em;
238 box-shadow: 0 0 .5ex #888;
252 display: inline-block;
263 .card .control .item {
264 display: inline-block;
273 text-decoration: none;
274 border: 1px solid #888;
275 box-shadow: 0 0 .5ex #888;
277 .card .control button.item { text-align: right;}
278 .card .control .item:hover{ border-color: #008; box-shadow: 0 0 .5ex #008; }
280 .card .control .item[name=newfield] {
281 width: calc(100% - 2.5em);
283 .card .control .item[value=addfield] {
285 border-style: solid solid solid none;
289 .card .control #delete + label + button,
290 .card .control #delete { display: none; }
291 .card .control #delete + label { background-color: #FEE; }
292 .card .control #delete:checked + label + button {
293 position: fixed; display: block;
294 left: 40%; top: 30%; width: 20%;
297 background-color: #FAA;
299 border-radius: .25em 0 0 .25em;
301 .card .control #delete:checked + label:after {
302 position: fixed; display: block;
303 left: 60%; top: 30%; width: 5%;
304 margin: .25em 0; padding: .5em .75ex 0 .75ex;
309 color: #AAA; background-color: #000;
310 border-radius: 0 .25em .25em 0;
314 display: inline-block;
320 margin: .125em 0 .5ex 0;
321 padding: 0 1ex .25em 1ex;
323 .card .section:nth-of-type(2n){ background: #EEE;}
325 .card .section h2, .card .section h3 {
329 margin: .25em -.5ex .25em -.5ex;
330 border-style: none none solid none;
333 .card .section .FN { /* will override h2 */
338 .card .section .item {
341 word-wrap: break-word;
342 white-space: pre-line;
344 .card .section .item label {
348 .card .section textarea.NOTE {
351 .card .section textarea.ADR {
355 .card .section .PHOTO {
359 .card .section .GENDER { display: inline-block; padding-right: .5ex; }
360 .card .section .BDAY { display: inline-block;}
361 .card .section .TEL .type { color: #444; }
363 .card .section select {
365 background-color: #FFF;
366 border: 1px solid black;
369 .card .section.attendance ul { margin: 0; padding: 0; }
370 .card .section.attendance ul li {
372 word-wrap: break-word;
375 .card .section.prescriptions ul { margin: 0; padding: 0; }
376 .card .section.prescriptions ul li {
378 word-wrap: break-word;
382 .card .section.prescriptions { width: 40ex;}
384 form.card input.delete { display: none; }
385 form.card input.delete + label {
386 display: inline-block;
389 left: calc(100% - 1.5em);
391 margin-bottom: -1.5em;
394 vertical-align: bottom;
396 form.card input.delete + label:before {
397 display: inline-block;
399 width: calc(1.5em - 2px); height: calc(1.5em - 2px);
400 vertical-align: bottom;
403 background-color: #FBB;
404 border: 1px solid #BBB;
406 form.card input.delete + label + input[type=text],
407 form.card input.delete + label + input:not([type]),
408 form.card input.delete + label + select + input.TEL {
409 width: calc(100% - 1.5em);
411 form.card input.delete[name^=TEL_] + label { top: 1.5em; }
412 form.card input.delete[name^=TEL_] + label:before { border-top: none; }
413 form.card input.delete[name^=NOTE_] + label,
414 form.card input.delete[name^=ADR_] + label { margin-bottom: 0; }
415 form.card input.delete[name^=NOTE_] + label:before,
416 form.card input.delete[name^=ADR_] + label:before { border-bottom: none; }
418 form.card input.delete:checked + label,
419 form.card input.delete:checked + label + input,
420 form.card input.delete:checked + label + select,
421 form.card input.delete:checked + label + select + input,
422 form.card input.delete:checked + label + textarea {
426 form.card .section input[type=text],
427 form.card .section input:not([type]),
428 form.card .section textarea,
429 form.card .section select {
431 margin-bottom: .25em;
434 form.card .section select.teltype { margin-bottom: 0; }
435 form.card .section input.TEL { margin-bottom: .5em; }
437 form.card .attendance {
440 form.card .attendance label {
442 display: inline-block;
446 form.card .attendance label input[type=checkbox] {
451 form.card .insurance input[type=radio] {display: none;}
452 form.card .insurance input[type=radio] + label {
453 display: inline-block;
457 border: 1px solid black;
460 form.card .insurance input[type=radio]:checked + label {
462 background-color: #FFF;
463 border-width: 1px 1px 0 1px;
465 form.card .insurance input[type=radio] + label + input + label + select,
466 form.card .insurance input[type=radio] + label + select + input {display: none;}
467 form.card .insurance input[type=radio]:checked + label + input + label + select,
468 form.card .insurance input[type=radio]:checked + label + select + input {
470 border: 1px solid black;
471 background-color: #FFF;
472 border-width: 0 1px 1px 1px;
477 # Copyright 2014 Paul Hänsch
479 # This file is part of Confetti.
481 # Confetti is free software: you can redistribute it and/or modify
482 # it under the terms of the GNU Affero General Public License as published by
483 # the Free Software Foundation, either version 3 of the License, or
484 # (at your option) any later version.
486 # Confetti is distributed in the hope that it will be useful,
487 # but WITHOUT ANY WARRANTY; without even the implied warranty of
488 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
489 # GNU Affero General Public License for more details.
491 # You should have received a copy of the GNU Affero General Public License
492 # along with Confetti. If not, see <http://www.gnu.org/licenses/>.
498 border-radius: 4px 4px 0 0 ;
499 margin: .5em 2em .25em 2em;
500 padding: .25em 2ex .25em 2ex;
510 border-radius: 0 0 4px 4px;
511 margin: .25em 2em 1em 2em;
512 padding: .25em 2ex .25em 2ex;
527 display: inline-block;
538 .course .control .item {
539 display: inline-block;
544 border: 1px solid black;
547 .course .control a.item {
548 border-right: 3px double;
551 .course .control a.item:hover{
552 border-right: 1px solid;
555 .course .control .item[name=newfield] { width: 85%;}
556 .course .control .item[value=addfield] { width: 15%;}
559 display: inline-block;
565 margin: .125em 0 .5ex 0;
566 padding: 0 1ex .25em 1ex;
568 .course .section:nth-of-type(2n){ background: #EEE;}
570 .course .section .item {
573 word-wrap: break-word;
576 .course .section h2, .course .section h3 {
580 margin: .25em -.5ex .25em -.5ex;
581 border-style: none none solid none;
584 .course .section h2 {
589 .course .attendance {
592 .course .attendance a {
593 display: inline-block;
600 margin: .25em .125ex .25em .125ex;
601 padding: .125em 1ex .125em 1ex;
605 .course .dtstart { width: 37ex; }
606 .course .dtstart .DTSYEAR,
607 .course .dtstart .DTSMONTH,
608 .course .dtstart .DTS{
610 margin: .25em .25ex 1em .25ex;
611 display: inline-block;
616 .course .dtstart .DTSYEAR{ width: 11.5ex; }
617 .course .dtstart .DTSMONTH{ width: 18.5ex; }
618 .course .dtstart .DTS{ width: 5.5ex; }
620 .course .dtstart .DTSCAL,
621 .course .dtstart .DTSCALHEAD {
622 display: inline-block;
628 .course .dtstart .DTSCALHEAD {
630 border-top: 1px solid;
631 border-bottom: 1px solid;
634 .course .dtstart input[name=DTSDAY] { display: none; margin: 0; height: 0; width: 0; }
635 .course .dtstart input[name=DTSDAY]:checked + label.DTSCAL { font-weight: bold; border: solid 1px; }
637 .course .dtstart .DTSTIME{
638 display: inline-block;
643 .course .recur{ width: 37ex; }
644 .course .section select,
645 .course .section button,
646 .course .section input {
651 .course .select_attendance {
655 .course .select_attendance label{
658 margin: 0; padding: 0;
661 .course .select_attendance label input{
663 margin: 0; padding: 0;
668 .course .section input[type="text"] { width: 100%; }
669 .course .section textarea.COMMENT { min-height: 6em; width: 100%; overflow: auto; }