Mercurial > hg
diff templates/static/style-paper.css @ 7299:288dda59233c
coal/paper: show a search tip when hovering over search box
This doesn't work in IE, because IE only supports :hover on <a> elements.
author | Benoit Allard <benoit@aeteurope.nl> |
---|---|
date | Sat, 01 Nov 2008 13:07:20 +0100 |
parents | 1e39a2459359 |
children | 15981c8f6cf1 |
line wrap: on
line diff
--- a/templates/static/style-paper.css Sat Nov 01 13:06:36 2008 +0100 +++ b/templates/static/style-paper.css Sat Nov 01 13:07:20 2008 +0100 @@ -67,6 +67,22 @@ right: 2em; } +form.search span { + display: none; + position: absolute; + top: 40px; + right: 0px; + width: 190px; + padding: 5px; + background: #ffc; + font-size: 70%; + border: 1px solid yellow; + -moz-border-radius: 5px; /* this works only in camino/firefox */ + -webkit-border-radius: 5px; /* this is just for Safari */ +} + +form.search:hover span { display: block; } + a { text-decoration:none; } .age { white-space:nowrap; } .date { white-space:nowrap; }