Mercurial > public > sg101
annotate media/js/jquery-autocomplete/jquery.autocomplete.css @ 186:be3fff614b93
Implement #66; use jQuery UI autocomplete widget to replace obsolete jquery-autocomplete plugin. I implemented a very simple caching system.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 30 Mar 2010 01:30:32 +0000 |
parents | a5b4c5ce0658 |
children |
rev | line source |
---|---|
bgneal@45 | 1 .ac_results { |
bgneal@45 | 2 padding: 0px; |
bgneal@45 | 3 border: 1px solid black; |
bgneal@45 | 4 background-color: white; |
bgneal@45 | 5 overflow: hidden; |
bgneal@45 | 6 z-index: 99999; |
bgneal@45 | 7 } |
bgneal@45 | 8 |
bgneal@45 | 9 .ac_results ul { |
bgneal@45 | 10 width: 100%; |
bgneal@45 | 11 list-style-position: outside; |
bgneal@45 | 12 list-style: none; |
bgneal@45 | 13 padding: 0; |
bgneal@45 | 14 margin: 0; |
bgneal@45 | 15 } |
bgneal@45 | 16 |
bgneal@45 | 17 .ac_results li { |
bgneal@45 | 18 margin: 0px; |
bgneal@45 | 19 padding: 2px 5px; |
bgneal@45 | 20 cursor: default; |
bgneal@45 | 21 display: block; |
bgneal@45 | 22 /* |
bgneal@45 | 23 if width will be 100% horizontal scrollbar will apear |
bgneal@45 | 24 when scroll mode will be used |
bgneal@45 | 25 */ |
bgneal@45 | 26 /*width: 100%;*/ |
bgneal@45 | 27 font: menu; |
bgneal@45 | 28 font-size: 12px; |
bgneal@45 | 29 /* |
bgneal@45 | 30 it is very important, if line-height not setted or setted |
bgneal@45 | 31 in relative units scroll will be broken in firefox |
bgneal@45 | 32 */ |
bgneal@45 | 33 line-height: 16px; |
bgneal@45 | 34 overflow: hidden; |
bgneal@45 | 35 } |
bgneal@45 | 36 |
bgneal@45 | 37 .ac_loading { |
bgneal@45 | 38 background: white url('indicator.gif') right center no-repeat; |
bgneal@45 | 39 } |
bgneal@45 | 40 |
bgneal@45 | 41 .ac_odd { |
bgneal@45 | 42 background-color: #eee; |
bgneal@45 | 43 } |
bgneal@45 | 44 |
bgneal@45 | 45 .ac_over { |
bgneal@45 | 46 background-color: #0A246A; |
bgneal@45 | 47 color: white; |
bgneal@45 | 48 } |