X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=static%2Ftherapy.css;h=b17497c98d8e5bb6bcbe28d7c898b4d0e932ce1c;hp=cdc6312d1da34b3e03a3ca96895eebcce1aabccb;hb=069a829a781c2799836843fe037dc44d1af5c9db;hpb=e4a974a6b990f9f5fb521303b82ef6289f6027fa diff --git a/static/therapy.css b/static/therapy.css index cdc6312..b17497c 100644 --- a/static/therapy.css +++ b/static/therapy.css @@ -22,7 +22,7 @@ body { form > button[type=submit] { position: fixed; display: block; - top: 0; left: 15em; + top: 0; right: 2.5em; height: 2.25em; padding: 0 3ex; font-size: 1em; font-weight: bold; color: #000; background-color: #FDD; @@ -132,10 +132,15 @@ input.stickynote + .stickynote { max-height: 90%; z-index: 2; } +input.stickynote + .stickynote:nth-of-type(2n) { + background-color: #8FF; + top: 8em; +} + input.stickynote + .stickynote > * { display: none; } input.stickynote + .stickynote > label { position: absolute; - top: 0; bottom: 0; + top: 0; bottom: 0; right: .5ex; display: block; text-align: right; font-weight: bold; @@ -144,10 +149,9 @@ input.stickynote + .stickynote:hover { left: -1ex; } input.stickynote:checked + .stickynote { - width: auto; - left: 1em; - right: 1em; + width: auto; left: 1em; right: 1em; } +input.stickynote:checked + .stickynote > * { display: block; } input.stickynote:checked + .stickynote > textarea { display: block; position: absolute; @@ -156,7 +160,7 @@ input.stickynote:checked + .stickynote > textarea { background-color: #FF8; padding: 2em 1em; } -input.stickynote:checked + .stickynote > button { +input.stickynote:checked + .stickynote > button[type="submit"] { display: block; position: absolute; right: .5ex; bottom: .5ex;