X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=webpoll.css;h=c0293a1725f8c6aa3033d2b9ee190b8e4e63d4c4;hb=bde17fe7155b5b89212fd4b85385bf8fd5570a69;hp=6473a1456fe4cf79dcd53f756967144a02d9bf0d;hpb=36247cc4c321b0f3b884a673428598a6c8818d27;p=webpoll diff --git a/webpoll.css b/webpoll.css index 6473a14..c0293a1 100644 --- a/webpoll.css +++ b/webpoll.css @@ -51,29 +51,36 @@ body.newdate form textarea[name=description] { } body.newdate form .date button[name=month] { + position: absolute; display: inline-block; padding: 0; - height: 3.25em; + -height: 3.25em; + height: 2.375em; width: 2em; width: calc(50% - 9em); - vertical-align: middle; + -vertical-align: middle; color: transparent; overflow: hidden; border: none; + z-index: 1; + background-color: transparent; } body.newdate form .date button[name=month]:before { display: block; content: '<'; - font-size: 2em; + font-size: 1.75em; font-weight: bold; - margin-top: .375em; + -margin-top: .375em; + margin-top: .25em; color: #666; } +body.newdate form .date table + button[name=month] { right: 0; } body.newdate form .date table + button[name=month]:before { content: '>'; } body.newdate form .date table.calendar { - vertical-align: middle; + font-size: 17.5pt; + -vertical-align: middle; } body.newdate form .timeofday label.todstart, @@ -100,7 +107,20 @@ body.newdate form fieldset button[name^=addtime] { width: 100%; } -body.newdate form .timeofday input.splittimes, -body.newdate form .splittimes input.splittimes { width: 1.5em; height: 1.5em; } +body.newdate form fieldset input.splittimes { display: none;} +body.newdate form fieldset input.splittimes + * { left: 12pt; } +body.newdate form fieldset input.splittimes + *:before { + position: absolute; + width: 16pt; height: 16pt; + left: -24pt; + content: ''; + text-align: center; + font-weight: bold; + font-size: 1.75em; + border: 1pt solid; + border-radius: .25ex; + background-color: #FFF; +} +body.newdate form fieldset input.splittimes:checked + *:before { content: '\2713'; background-color: #6AF;} body.newdate form .timeofday button[name=splittimes] { margin-top: 1.5em;}