X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fattendees.css.sh;h=036ad0428c66226337fb33a38f5d9d5def0b7d46;hp=ce0b82bf6f42a9475ffd579b1dc5546b5247bd29;hb=2d79e3831a65f8b3a54aa2514ef1e65c4b073cf2;hpb=914cd668309370feff93a4219be323c1957465b0 diff --git a/templates/attendees.css.sh b/templates/attendees.css.sh old mode 100644 new mode 100755 index ce0b82b..036ad04 --- a/templates/attendees.css.sh +++ b/templates/attendees.css.sh @@ -1,4 +1,4 @@ -# Copyright 2014 Paul Hänsch +# Copyright 2014, 2015 Paul Hänsch # # This file is part of Confetti. # @@ -19,145 +19,200 @@ cat < .label { +.filter h1 { display: block; font-weight: bold; - font-size: 1.2em; + font-size: 1.25em; border-style: none none solid none; + border-radius: 4px 4px 0 0; border-width: 1px; - margin: 0em 0ex .5em 0ex; + margin: 0 -1.625ex .5em -1.625ex; + padding: .125em 1ex; background: #EEF; } - -.filter .search { - margin: 0em 2ex .5em 2ex; +.filter input[type="text"] { + width: 100%; + margin-bottom: .5em; } -.filter .search .label { - display: inline-block; - width: 12ex; +.filter fieldset { + position: relative; + display: block; + border: none; + padding: 0 0 0 12ex; + margin: 0 0 .5em 0; +} +.filter fieldset legend { + position: absolute; + font-size: 1em; font-weight: bold; - margin-top: .5em; + margin-left: -12ex; } -.filter .search input[type="radio"] { - margin-top: .5em; - margin-left: 1ex; +.filter label { + display: inline-block; + vertical-align: top; + margin: .125em 2ex 0 0; + white-space: nowrap; } -.filter .search button { +.filter button { margin-top: .5em; } -.filter .search input[type="text"] { - width: 124ex; -} - .newcard { display: block; - width: 126ex; - border-width: 1px; - border-style: solid; + border: solid 1px; border-radius: 0 0 4px 4px; - margin: .25em auto 1em auto; + margin: .25em 2em 1em 2em; padding: .25em 2ex .25em 2ex; background: #EFF; } -.cardlist .card { +.card { display: block; - width: 130ex; - border-style: solid; - border-width: 1px; - margin: .25em auto; - padding: 0; + position: relative; + border: solid 1px; + margin: .25em 2em; + padding: 0 20ex 0 0; overflow: auto; background: #FFF; } - -.cardlist .card .section { +.card .control { display: inline-block; - float:left; + position: absolute; + top: 0; right: 0; + text-align: right; + background: #EEF; + margin: 0; + height: 100%; width: 20ex; - margin: .125em .25ex .5ex .25ex; - padding: 0 .2em .2em .2em; - background: #EEE; + max-width: 33%; + padding: .25em 1ex; } -.cardlist .card .section a.attendance { +.card .control .item { display: inline-block; - margin-right: 1ex; - word-wrap: break-word; + width: 100%; + color: #008; + margin: .25em 0 0 0; + border: 1px solid black; + background: #FFF; } +.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%;} -.cardlist .card .attendance { - width: 83.5ex; -} -.cardlist .card .attendance .check { +.card .section { display: inline-block; - width: 27ex; + 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;} -.cardlist .card .control { - float: right; - text-align: right; - margin-right: 0; - background: #EEF; +.card .section h2, .card .section h3 { + font-size: 1em; + display: block; + font-weight: bold; + 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; } -.cardlist .card div.control { - width: 23ex; +.card .section.attendance ul { margin: 0; padding: 0; } +.card .section.attendance ul li { + display: block; + word-wrap: break-word; } -.cardlist .card .control .item { - color: #008; - margin-top: .2em; - margin-right: 1ex; -} -.cardlist .card .control a.item { - min-width: 10ex; - border-style: solid double solid solid; - border-width: 1px 3px 1px 1px; - border-color: #000; - padding: .1em 1ex; - background: #FFF; +.card .section.prescriptions ul { margin: 0; padding: 0; } +.card .section.prescriptions ul li { + display: block; + word-wrap: break-word; + margin: 0 .25ex; } -.cardlist .card .control a.item:hover{ - border-width: 1px 1px 1px 1px; + +.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%; +} +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; } -.cardlist .card .section .sectitle { - display: block; +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; - margin: .2em .2em .2em .2em; + 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; } -.cardlist .card .section .item { +.card .section .item { display: block; - max-width: 20ex; + max-width: 100%; word-wrap: break-word; } +.card .section .item label { + font-weight: bold; +} -.cardlist .card .section textarea.NOTE { +.card .section textarea.NOTE { min-height: 6em; } -.cardlist .card .section textarea.ADR { +.card .section textarea.ADR { min-height: 4em; } -.cardlist .card .section .PHOTO { - width: 20ex; - max-heigth: 30ex; -} - -.cardlist .card .section .FN { - font-weight: bold; - font-size: 1.2em; +.card .section .PHOTO { + width: 100%; + max-height: 10em; } EOF