]> git.plutz.net Git - confetti/blobdiff - templates/attendees.css.sh
additional prescription fields, improved display of clients and prescriptions
[confetti] / templates / attendees.css.sh
index 58896fadb2a13d08cbe055164f89d04287c41ec2..036ad0428c66226337fb33a38f5d9d5def0b7d46 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%;}
 
@@ -143,6 +140,20 @@ cat <<EOF
   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,6 +168,32 @@ form.card .attendance label input[type=checkbox] {
   margin-left: -3ex;
 }
 
+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;
+  
+}
+form.card .insurance input[type=radio]:checked + label {
+  font-weight: bold;
+  background-color: #FFF;
+  border-width: 1px 1px 0 1px;
+}
+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;
+  border-width: 0 1px 1px 1px;
+  padding: .25ex 0;
+  margin-top: -1px;
+  background-color: #FFF;
+}
+
 .card .section .item {
   display: block;
   max-width: 100%;
@@ -178,7 +215,6 @@ form.card .attendance label input[type=checkbox] {
   max-height: 10em;
 }
 
-
 EOF
 
 # vi:set filetype=css: