X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=style.css;h=298ae3d614903a785fdcb45091ed4bebb91e534f;hp=8394de8e66f2bb3e2d7a190aabba355b432f7ddd;hb=07454834f9d0291be5e652eef5f62c889331d695;hpb=1e5fed890ade56928978f895681129f2214c0778 diff --git a/style.css b/style.css index 8394de8..298ae3d 100644 --- a/style.css +++ b/style.css @@ -25,8 +25,8 @@ body > .menu a { padding: .5em 3em; box-shadow: inset 0 0 .5em #000; } -body.cards > .menu a[href="/cards/"], -body.courses > .menu a[href="/courses/"] { +body.cards > .menu a[href$="/cards/"], +body.courses > .menu a[href$="/courses/"] { color: #000; background-color: #FFF; box-shadow: none; @@ -248,6 +248,23 @@ form .control .item { form .control .item.delete { bottom: .125em; right: .25em; } } + +/* ======= LIST ITEMS, Cards ======= */ + +form.card .attendance div.attendance, +form.card .attendance div.categories { + max-height: 10em; + overflow-y: auto; +} +form.card .attendance label { + display: inline-block; + width: calc(100% - 2em); + vertical-align: top; + margin-bottom: 0; +} +form.card .attendance input { margin-top: .375em; } + + /* ======= LIST ITEMS, Courses ======= */ form.course .dtstart input[name=DTS_YEAR],