X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fattendees.css.sh;h=6d375a19b020c3bd2fb4eee43b4d22a2c125c738;hp=e4038f040258fd5fc19d23173bd3e206a4319fc4;hb=4e49d483fd5121fda86a33cf583c15afa6556ad1;hpb=793cb4fe08df6131b64ddbbf6cc6cb89201f1bd4 diff --git a/templates/attendees.css.sh b/templates/attendees.css.sh index e4038f0..6d375a1 100755 --- a/templates/attendees.css.sh +++ b/templates/attendees.css.sh @@ -83,47 +83,28 @@ input[type="radio"]:checked + label::before {content: '\29bf';} .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; @@ -140,19 +121,48 @@ input[type="radio"]:checked + label::before {content: '\29bf';} border-width: 1px 1px 1px 1px; } +.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 { +.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 input[type=checkbox] + label { + display: inline-block; + width: 25ex; +} + + .card .section .item { display: block; - max-width: 20ex; + max-width: 100%; word-wrap: break-word; } @@ -164,8 +174,8 @@ input[type="radio"]:checked + label::before {content: '\29bf';} } .card .section .PHOTO { - width: 20ex; - max-heigth: 30ex; + width: 100%; + max-height: 10em; }