]> git.plutz.net Git - confetti/blob - templates/prescriptions.css.sh
80e61ea889a2bf8de6e459009cbb5b8081f3bd1c
[confetti] / templates / prescriptions.css.sh
1 # /*
2 # Copyright 2016 Paul Hänsch
3 #
4 # This file is part of Confetti.
5
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.
10
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.
15
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/>. 
18
19 . ${0%/*}/attendees.css.sh
20
21 cat <<EOF
22 /**/
23 form.prescription {
24   display: inline-block;
25   position: relative;
26   width: 30%; height: 30em;
27   min-width: 480px;
28   border: 1px solid #000;
29   background-color: #DEF;
30   color: #800;
31   margin: 1em 1ex;
32   padding: 0;
33 }
34
35 form.prescription * {
36   position: absolute;
37   display: inline-block;
38   left: -50em;
39   font-size: 1em;
40   line-height: 1em;
41   margin: 0; padding: 0;
42 }
43 form.prescription label {padding-left: .5ex;}
44
45 form.prescription input,
46 form.prescription textarea {
47   height: 1em;
48   border: 1px solid #800;
49 }
50
51 label[for=insurance], #insurance {
52   width: 58%;
53   left: 2%;
54   top: .5em;
55 }
56 #insurance {top: 1.5em;}
57
58 label[for=name], #name {
59   width: 38%;
60   left: 2%;
61   top: 3.25em;
62 }
63 #name {top: 4.25em; height: 4em;}
64
65 label[for=bday], #bday {
66   width: 20%;
67   left: 40%;
68   top: 3.25em;
69 }
70 #bday {top: 4.25em; height: 4em;}
71
72 label[for=date], #date {
73   width: 20%;
74   left: 40%;
75   top: 8.5em;
76 }
77 #date {top: 9.5em;}
78
79 label[for=addcontrib], #addcontrib {
80   width: 18%;
81   left: 62%;
82   top: 6.25em;
83 }
84 #addcontrib {top: 7.25em;}
85
86 form.prescription h2 {
87   font-weight: normal;
88   width: 50%;
89   left: 2%;
90   top: 11em;
91 }
92
93 EOF
94
95 # vi:set filetype=css: