X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=static%2Ftherapy.css;h=cdc6312d1da34b3e03a3ca96895eebcce1aabccb;hp=f7dc3beae7f45e1d85a52f4c50e5091cd01d40c5;hb=0dc31a9e7992c227b680180d3ceee031ac293169;hpb=73e1291b6d0d15ba93d78e7eb167a1eb30347db3 diff --git a/static/therapy.css b/static/therapy.css index f7dc3be..cdc6312 100644 --- a/static/therapy.css +++ b/static/therapy.css @@ -1,5 +1,16 @@ .trailbtn:checked + fieldset.trailbox { display: block;} +.trailbtn:checked + .trailbox + .trailbtn { + display: block; + height: 2.25em; padding: 0 3ex; + font-size: 1em; font-weight: normal; + color: #000; background-color: #FDD; + border: 1px solid #000; + border-radius: 4px; +} +.trailbtn:checked + .trailbox + .trailbtn[type=submit]:before {content: none;} + + * { box-sizing: border-box; } body { overflow: scroll; @@ -168,14 +179,29 @@ input.stickynote:checked + .stickynote > label:before { z-index: 2; } - +fieldset.penwidth, fieldset.color { position: absolute; - bottom: 0; right: 0; width: 2em; + right: 0; width: 2em; margin: .5em .5em .125em 2%; border: none; padding: 0; } +fieldset.penwidth { bottom: 19em; } +fieldset.penwidth > input {display: none;} +fieldset.penwidth > input + label { display: none;} +fieldset.penwidth > input:checked + label { + display: block; + width: 2em; height: 2em; + background-color: #000; + border: 1em solid #FFF; + border-radius: 1em; +} +fieldset.penwidth > input[value="4"] + label { border-width: .75em; } +fieldset.penwidth > input[value="12"] + label { border-width: .5em; } +fieldset.penwidth > input[value="36"] + label { border-width: .25em; } + +fieldset.color { bottom: 0; } fieldset.color > input.color + label { width: 2em; height: 2em; } @@ -198,6 +224,7 @@ fieldset.color > input.color + label { margin-right: 0; } input.stickynote:checked + .stickynote { right: 50%; } + fieldset.penwidth, fieldset.color { position: fixed; } .dotmark { position: fixed;