diff options
Diffstat (limited to 'scraper/client/common/autocomplete.css')
| -rw-r--r-- | scraper/client/common/autocomplete.css | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/scraper/client/common/autocomplete.css b/scraper/client/common/autocomplete.css new file mode 100644 index 00000000..ac90ea72 --- /dev/null +++ b/scraper/client/common/autocomplete.css @@ -0,0 +1,39 @@ +.autocomplete { + position: relative; + margin-bottom: 4px; +} +.autocomplete input[type=text], +.autocomplete .matches { + width: 400px; +} +.autocomplete div { + background: white; + cursor: pointer; +} +.autocomplete .matches { + position: absolute; + top: 100%; + left: 0; + border: 1px solid #888; + max-height: 220px; + overflow-y: auto; + z-index: 1; +} +.autocomplete .matches div { + padding: 3px; +} +.autocomplete .matches div:nth-child(even) { + background: #eee; +} +.autocomplete .matches div:nth-child(odd) { + background: #fff; +} +.autocomplete .matches div:nth-child(even).selected, +.autocomplete .matches div:nth-child(odd).selected { + color: #fff; + background: #000; + cursor: pointer; +} +.autocomplete .selected { + background: rgba(128,128,128,0.2); +}
\ No newline at end of file |
