From c0f065e6bddad3c69fd802749608f05b9351ba4f Mon Sep 17 00:00:00 2001 From: "Johan \"Papa\" Cwiklinski" Date: Sat, 5 Jun 2010 21:52:47 +0200 Subject: Add autocompletion on master search ; closes #49 --- css/rpmphp.css | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) (limited to 'css/rpmphp.css') diff --git a/css/rpmphp.css b/css/rpmphp.css index aeb81ea..813d98f 100644 --- a/css/rpmphp.css +++ b/css/rpmphp.css @@ -262,4 +262,54 @@ p{ .ajax{ color: #AAAAAA; font-size:0.8em; -} \ No newline at end of file +} + +/** AUTOCOMPLETER */ +.ac_results { + padding: 0px; + border: 1px solid black; + background-color: white; + overflow: hidden; + z-index: 99999; +} + +.ac_results ul { + width: 100%; + list-style-position: outside; + list-style: none; + padding: 0; + margin: 0; +} + +.ac_results li { + margin: 0px; + padding: 2px 5px; + cursor: default; + display: block; + /* + if width will be 100% horizontal scrollbar will apear + when scroll mode will be used + */ + /*width: 100%;*/ + font: menu; + font-size: 12px; + /* + it is very important, if line-height not setted or setted + in relative units scroll will be broken in firefox + */ + line-height: 16px; + overflow: hidden; +} + +.ac_loading { + background: white url(../images/indicator.png) right center no-repeat; +} + +.ac_odd { + background-color: #F0F0F0; +} + +.ac_over { + background-color: #2963A6; + color: white; +} -- cgit