]> git.plutz.net Git - confetti/blobdiff - templates/attendees.css.sh
provide info about health insurance in card view
[confetti] / templates / attendees.css.sh
index 58896fadb2a13d08cbe055164f89d04287c41ec2..1544d8682725e24e97b2e55345d58f913289574a 100755 (executable)
@@ -143,6 +143,11 @@ cat <<EOF
   word-wrap: break-word;
 }
 
+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 +162,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 +209,6 @@ form.card .attendance label input[type=checkbox] {
   max-height: 10em;
 }
 
-
 EOF
 
 # vi:set filetype=css: