X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fattendees.css.sh;h=796c70107148f7a3c6940bb6966e4cfe49f7db9e;hp=006bd95763b19b16ad16a0ba09247bd40850eff0;hb=4d62352e69df4972b505b65ad8a889b910d8a5a5;hpb=b3ddca9d8e6af72d0e9847b3d5d1f7778ef1f1af diff --git a/templates/attendees.css.sh b/templates/attendees.css.sh old mode 100644 new mode 100755 index 006bd95..796c701 --- a/templates/attendees.css.sh +++ b/templates/attendees.css.sh @@ -1,103 +1,120 @@ +# Copyright 2014, 2015 Paul Hänsch +# +# This file is part of Confetti. +# +# Confetti is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Confetti is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Confetti. If not, see . + 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-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; + position: relative; border-style: solid; border-width: 1px; - margin: .25em auto; - padding: 0; + margin: .25em 2em; + padding: 0 20ex 0 0; overflow: auto; background: #FFF; } - -.cardlist .card .section { - display: inline-block; - float:left; - width: 20ex; - margin: .125em .25ex .5ex .25ex; - padding: 0 .2em .2em .2em; - background: #EEE; -} -.cardlist .card .section a.attendance { - display: inline-block; - margin-right: 1ex; - word-wrap: break-word; -} - -.cardlist .card .attendance { - width: 83.5ex; -} -.cardlist .card .attendance .check { +.card .control { display: inline-block; - width: 27ex; -} - -.cardlist .card .control { - float: right; + 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; } -.cardlist .card .control .item { +.card .control .item { + display: block; color: #008; margin-top: .2em; margin-right: 1ex; } -.cardlist .card .control a.item { +.card .control a.item { min-width: 10ex; border-style: solid double solid solid; border-width: 1px 3px 1px 1px; @@ -105,38 +122,72 @@ cat <