X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fattendees.css.sh;h=ce0b82bf6f42a9475ffd579b1dc5546b5247bd29;hp=126a95267e07f77dec976d39437524e22b54b04f;hb=63e4f339c5eb99b4aed9a2f201c2547c06703b5c;hpb=7f927856071799039923e9e1f00652819792987a diff --git a/templates/attendees.css.sh b/templates/attendees.css.sh index 126a952..ce0b82b 100644 --- a/templates/attendees.css.sh +++ b/templates/attendees.css.sh @@ -1,45 +1,133 @@ +# Copyright 2014 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 { + display: block; + font-weight: bold; + font-size: 1.2em; + border-style: none none solid none; + border-width: 1px; + margin: 0em 0ex .5em 0ex; + background: #EEF; +} -.cardlist .card { - margin: 4px 5%; +.filter .search { + margin: 0em 2ex .5em 2ex; +} +.filter .search .label { + display: inline-block; + width: 12ex; + font-weight: bold; + margin-top: .5em; +} +.filter .search input[type="radio"] { + margin-top: .5em; + margin-left: 1ex; +} +.filter .search 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; + padding: .25em 2ex .25em 2ex; + background: #EFF; +} + +.cardlist .card { + display: block; + width: 130ex; + border-style: solid; + border-width: 1px; + margin: .25em auto; padding: 0; overflow: auto; - width:130ex; - display: block; + background: #FFF; } .cardlist .card .section { - float:left; display: inline-block; + float:left; width: 20ex; - margin: .125em .5ex .5ex .5ex; - background: #EEE; + 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 { + display: inline-block; + width: 27ex; } + .cardlist .card .control { float: right; - background: #EEF; text-align: right; margin-right: 0; + background: #EEF; +} + +.cardlist .card div.control { + width: 23ex; } + .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; - background: #FFF; - padding: .1em 1ex; - min-width: 10ex; - margin-top: .2em; border-color: #000; + padding: .1em 1ex; + background: #FFF; } -.cardlist .card .control .item:hover{ +.cardlist .card .control a.item:hover{ border-width: 1px 1px 1px 1px; } @@ -50,11 +138,18 @@ cat <