cat <<EOF
+/*
input[type="checkbox"] { display: none; }
-input[type="checkbox"] + label::before {content: '\2610'; padding: 0 .5ex .25ex 0;}
+input[type="checkbox"] + label::before {content: '\2610'; padding-right: .5ex;}
input[type="checkbox"]:checked + label { text-decoration: underline; }
input[type="checkbox"]:checked + label::before {content: '\2611';}
+/*
input[type="radio"] { display: none; }
-input[type="radio"] + label::before {content: '\25cb'; padding: 0 .5ex .25ex 0;}
+input[type="radio"] + label::before {content: '\25cb'; margin-right: .75ex; font-size: .75em;}
input[type="radio"]:checked + label { text-decoration: underline; }
input[type="radio"]:checked + label::before {content: '\29bf';}
+*/
.filter {
display: block;
margin-bottom: .5em;
}
.filter fieldset {
+ position: relative;
+ display: block;
border: none;
padding: 0 0 0 12ex;
- margin: 0 0 -.5em 0;
+ margin: 0 0 .5em 0;
}
.filter fieldset legend {
- display: inline-block;
+ position: absolute;
font-size: 1em;
font-weight: bold;
margin-left: -12ex;
}
-.filter input[type="radio"] + label {
+.filter label {
display: inline-block;
- position: relative;
- top: -1.125em;
- margin-left: 2ex;
+ vertical-align: top;
+ margin: .125em 2ex 0 0;
+ white-space: nowrap;
}
.filter button {
margin-top: .5em;
.card {
display: block;
+ position: relative;
border-style: solid;
border-width: 1px;
margin: .25em 2em;
- padding: 0;
+ padding: 0 20ex 0 0;
overflow: auto;
background: #FFF;
}
-.card .section {
- display: inline-block;
- float:left;
- width: 20ex;
- margin: .125em .25ex .5ex .25ex;
- padding: 0 .2em .2em .2em;
- background: #EEE;
-}
-.card .section a.attendance {
- display: inline-block;
- margin-right: 1ex;
- word-wrap: break-word;
-}
-
-.card .attendance {
- width: 83.5ex;
-}
-.card .attendance .check {
- display: inline-block;
- width: 27ex;
-}
-
.card .control {
- float: right;
+ display: inline-block;
+ position: absolute;
+ top: 0; right: 0;
text-align: right;
- margin-right: 0;
background: #EEF;
+ margin: 0;
+ height: 100%;
+ width: 20ex;
+ max-width: 33%;
+ padding: .25em 1ex;
}
-
-.card div.control {
- width: 23ex;
-}
-
.card .control .item {
+ display: block;
color: #008;
margin-top: .2em;
margin-right: 1ex;
border-width: 1px 1px 1px 1px;
}
-.card .section .sectitle {
+.card .section {
+ display: inline-block;
+ vertical-align: top;
+ float: left;
+ width: 20ex;
+ min-width: 16.5%;
+ min-height: 6em;
+ margin: .125em 0 .5ex 0;
+ padding: 0 1ex .25em 1ex;
+}
+.card .section:nth-of-type(2n){ background: #EEE;}
+.card .section h2, .card .section h3 {
+ font-size: 1em;
display: block;
font-weight: bold;
- margin: .2em .2em .2em .2em;
+ margin: .25em -.5ex .25em -.5ex;
+ border-style: none none solid none;
+ border-width: 1px;
+}
+.card .section .FN { /* will override h2 */
+ font-size: 1.2em;
+ margin-top: 0;
+}
+
+.card .section.attendance ul { margin: 0; padding: 0; }
+.card .section.attendance ul li {
+ display: block;
+ word-wrap: break-word;
+}
+
+form.card .attendance {
+ min-width: 66%;
+}
+form.card .attendance label {
+ position: relative;
+ display: inline-block;
+ width: 25ex;
+ padding-left: 3ex;
+}
+form.card .attendance label input[type=checkbox] {
+ position: absolute;
+ margin-left: -3ex;
}
.card .section .item {
display: block;
- max-width: 20ex;
+ max-width: 100%;
word-wrap: break-word;
}
}
.card .section .PHOTO {
- width: 20ex;
- max-heigth: 30ex;
+ width: 100%;
+ max-height: 10em;
}
-.card .section .FN {
- font-weight: bold;
- font-size: 1.2em;
-}
EOF