X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=static%2Ftherapy.css;h=b17497c98d8e5bb6bcbe28d7c898b4d0e932ce1c;hp=9aa971e74cebd043f1971ac8b2548ea24afe6cf6;hb=069a829a781c2799836843fe037dc44d1af5c9db;hpb=fefc6021197b07105698dfb7d97ece83067bda27 diff --git a/static/therapy.css b/static/therapy.css index 9aa971e..b17497c 100644 --- a/static/therapy.css +++ b/static/therapy.css @@ -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;