From 6024fdf2564b274af2f2d306f420e44a2c88d7b1 Mon Sep 17 00:00:00 2001 From: Scott González Date: Thu, 14 Jan 2010 17:23:11 +0000 Subject: Copied autocomplete from dev branch. --- themes/base/ui.autocomplete.css | 33 +++++++++++++++++++++++++++++++++ themes/base/ui.base.css | 1 + 2 files changed, 34 insertions(+) create mode 100644 themes/base/ui.autocomplete.css (limited to 'themes') diff --git a/themes/base/ui.autocomplete.css b/themes/base/ui.autocomplete.css new file mode 100644 index 000000000..0f487c9de --- /dev/null +++ b/themes/base/ui.autocomplete.css @@ -0,0 +1,33 @@ +/* Autocomplete +----------------------------------*/ +.ui-autocomplete-menu { position: absolute; cursor: default; } + +.ui-autocomplete-loading { background: white url('images/ui-anim.basic.16x16.gif') right center no-repeat; } +.ui-autocomplete-over { background-color: #0A246A; color: white; } + +/* Menu +----------------------------------*/ +.ui-menu { + list-style:none; + padding: 2px; + margin: 0; + display:block; +} +.ui-menu .ui-menu { + margin-top: -3px; +} +.ui-menu .ui-menu-item { + margin:0; + padding: 0; + width: 100%; +} +.ui-menu .ui-menu-item a { + text-decoration:none; + display:block; + padding:.2em .4em; + line-height:1.5; +} +.ui-menu .ui-menu-item a.ui-state-hover, +.ui-menu .ui-menu-item a.ui-state-active { + margin: -1px; +} diff --git a/themes/base/ui.base.css b/themes/base/ui.base.css index 2d49a753c..d8dc173db 100644 --- a/themes/base/ui.base.css +++ b/themes/base/ui.base.css @@ -1,6 +1,7 @@ @import url("ui.core.css"); @import url("ui.accordion.css"); +@import url("ui.autocomplete.css"); @import url("ui.button.css"); @import url("ui.datepicker.css"); @import url("ui.dialog.css"); -- cgit v1.2.3