]> git.plutz.net Git - confetti/blobdiff - templates/attendees.css.sh
enable drawing via android-4, quicker drawing via lines
[confetti] / templates / attendees.css.sh
index 58896fadb2a13d08cbe055164f89d04287c41ec2..b7c800ebd3a9b20cda73231581301727bf699139 100755 (executable)
@@ -102,13 +102,10 @@ cat <<EOF
   border: 1px solid black;
   background: #FFF;
 }
-.card .control a.item {
-  border-right: 3px double;
-  padding: .125em 1ex;
-}
-.card .control a.item:hover{
-  border-right: 1px solid;
-}
+.card .control a.item { padding: .25em .75ex 0 .75ex;}
+.card .control a.item:hover{ border-color: #888;}
+.card .control button.item { text-align: right;}
+.card .control button.item:hover{ border-color: #888;}
 .card .control .item[name=newfield] { width: 85%;}
 .card .control .item[value=addfield] { width: 15%;}
 
@@ -137,12 +134,55 @@ cat <<EOF
   margin-top: 0;
 }
 
+.card .section .item {
+  display: block;
+  max-width: 100%;
+  word-wrap: break-word;
+}
+.card .section .item label {
+  font-weight: bold;
+}
+
+.card .section textarea.NOTE {
+  min-height: 6em;
+}
+.card .section textarea.ADR {
+  min-height: 4em;
+}
+
+.card .section .PHOTO {
+  width: 100%;
+  max-height: 10em;
+}
+.card .section .GENDER { display: inline-block; padding-right: .5ex;}
+.card .section .BDAY { display: inline-block;}
+
+.card .section select {
+  display: block;
+  background-color: #FFF;
+  border: 1px solid black;
+}
+
 .card .section.attendance ul { margin: 0; padding: 0; }
 .card .section.attendance ul li {
   display: block;
   word-wrap: break-word;
 }
 
+.card .section.prescriptions ul { margin: 0; padding: 0; }
+.card .section.prescriptions ul li {
+  display: block;
+  word-wrap: break-word;
+  margin: 0 .25ex;
+}
+
+.card .section.prescriptions { width: 40ex;}
+
+form.card .section input[type=text],
+form.card .section input:not([type]),
+form.card .section textarea,
+form.card .section select {width: 100%;}
+
 form.card .attendance {
   min-width: 66%;
 }
@@ -157,28 +197,32 @@ form.card .attendance label input[type=checkbox] {
   margin-left: -3ex;
 }
 
-.card .section .item {
-  display: block;
-  max-width: 100%;
-  word-wrap: break-word;
+form.card .insurance input[type=radio] {display: none;}
+form.card .insurance input[type=radio] + label {
+  display: inline-block;
+  width: 50%;
+  padding: .25ex 0;
+  text-align: center;
+  border: 1px solid black;
+  
 }
-.card .section .item label {
+form.card .insurance input[type=radio]:checked + label {
   font-weight: bold;
+  background-color: #FFF;
+  border-width: 1px 1px 0 1px;
 }
-
-.card .section textarea.NOTE {
-  min-height: 6em;
-}
-.card .section textarea.ADR {
-  min-height: 4em;
-}
-
-.card .section .PHOTO {
-  width: 100%;
-  max-height: 10em;
+form.card .insurance input[type=radio] + label + input + label + select,
+form.card .insurance input[type=radio] + label + select + input {display: none;}
+form.card .insurance input[type=radio]:checked + label + input + label + select,
+form.card .insurance input[type=radio]:checked + label + select + input {
+  display: block;
+  border: 1px solid black;
+  background-color: #FFF;
+  border-width: 0 1px 1px 1px;
+  padding: .25ex 0;
+  margin-top: -1px;
 }
 
-
 EOF
 
 # vi:set filetype=css: