X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=style_new.css;h=f74df8637be540ca26501abb43036b9341dc9884;hp=1fc36b2a21c9ee7db23af2f74eec3699b7c5d4eb;hb=27eaed1f6c5be64e58e84a7019f6d9e6d08ce6fb;hpb=27559cd5080d304385662d469866bdf69c42a89c diff --git a/style_new.css b/style_new.css index 1fc36b2..f74df86 100644 --- a/style_new.css +++ b/style_new.css @@ -26,6 +26,7 @@ a { i, em { font-style: italic; } b, strong { font-weight: bolder; } ul, ol { margin-left: 1.125em; } +table th { font-weight: bold; } h1, h2, h3 { font-weight: bold; @@ -65,6 +66,7 @@ select { padding: .375em 0; } input[type=radio], input[type=checkbox] { vertical-align: baseline; } +input[type=number] { text-align: right; padding-right: 0; } button, input[type=button], .control a { @@ -127,6 +129,8 @@ form.filter button[type=submit] { margin-top: .5em; margin-bottom: .5em; } +body.courses form .order { display: inline-block; margin-right: 2em;} + /* ============ LIST ITEMS, Generic ============= */ @@ -230,7 +234,7 @@ form .section button[value^=addfield] { float: right; font-size: .75em; line-height: 1; - max-width: .75em; height: .875em; overflow: hidden; + max-width: 1.75em; height: 1.125em; overflow: hidden; color: #FBB; background-color: #444; margin: 0; padding: .125em .5em 0 .5em; border-radius: 4pt 4pt 0 0; @@ -301,3 +305,60 @@ form .control .item { form .control .item.newfield select { width: calc(100% - 2.5em); } form .control .item.delete { bottom: .125em; right: .25em; } } + +/* ======= LIST ITEMS, Courses ======= */ + +form.course .dtstart input[name=DTS_YEAR], +form.course .dtstart select[name=DTS_MONTH] { width: calc(50% - 1.25em); } +form.course .dtstart input[name=DTS_YEAR] { margin-right: -.375em; } +form.course .dtstart table { width: 100%; margin: 1em 0; } +form.course .dtstart table td { text-align: right; -border: .5pt solid; } +form.course .dtstart table input[type=radio] { display: none; } +form.course .dtstart table input[type=radio] + label { + display: block; + width: 100%; + margin: 0; padding: 0 3pt; +} +form.course .dtstart table input[type=radio]:checked + label { + font-weight: bold; + padding: 0 2pt; + box-shadow: .125em .125em .25em; +} + +form.course .dtstart label.DTSTIME { + display: inline-block; + font-weight: bold; + margin: 0; + width: calc(100% - 7.875em); +} +form.course .dtstart input[name=DTS_HOUR], +form.course .dtstart input[name=DTS_MINUTE] { + vertical-align: baseline; + width: 3.5em; + margin-bottom: 0; +} + +form.course .recur .item { white-space: nowrap; } +form.course .recur .item > * { margin-bottom: 0; vertical-align: baseline; } +form.course .recur input[name=RRULE_INTERVAL], +form.course .recur input[name=RRULE_COUNT], +form.course .recur input[name=RRULE_UMONTH], +form.course .recur input[name=RRULE_UDAY] { width: 3.5em; } +form.course .recur input[name=RRULE_UYEAR] { width: 4.5em; } +form.course .recur input[name=RRULE_UYEAR], +form.course .recur input[name=RRULE_UMONTH], +form.course .recur input[name=RRULE_UDAY] { + margin-right: -.375em; +} + +form.course .attendance div.attendance { + max-height: 16em; + overflow-y: scroll; +} +form.course .attendance label { + display: inline-block; + max-width: calc(100% - 2em); + vertical-align: top; + margin-bottom: 0; +} +form.course .attendance input { margin-top: .375em; }