Mercurial > hgrepos > hgweb.cgi > s4
diff examples/common/default/default.css @ 452:30ab12e54324
Ballon help for s4-WikiStyle added
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 14 Aug 2017 13:46:39 +0859 |
parents | 8965bdad3172 |
children | 33149c656f37 |
line wrap: on
line diff
--- a/examples/common/default/default.css Mon Aug 14 12:32:36 2017 +0859 +++ b/examples/common/default/default.css Mon Aug 14 13:46:39 2017 +0859 @@ -251,13 +251,18 @@ position: relative; } div.search div.fr {position: relative;} -div.search p.help {display: none;} -div.search input:focus + p.help { +div.search p.help, textarea + p.help {display: none;} +div.search input:focus + p.help, +textarea:focus + p.help { display: block; background: white; position: absolute; right: 15em; white-space: pre; border: 1px solid #888; border-radius: 1em; padding: 1ex; box-shadow: #555 2px 2px; } +textarea:focus + p.help { + position: fixed; + top: 0em; left: 0; +} form.summary input[type=submit] {background: #cfc;} /*