aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-02-17 03:40:01 +0000
committerScott González <scott.gonzalez@gmail.com>2010-02-17 03:40:01 +0000
commitf52018a344484d6d76b9b6fd478c54e8da99ee00 (patch)
tree341fa3beb78e0beb9a92c6cae28ebb453aa1bc90
parent1342b2a8670c56858899cc2a620342caf524c726 (diff)
downloadjquery-ui-f52018a344484d6d76b9b6fd478c54e8da99ee00.tar.gz
jquery-ui-f52018a344484d6d76b9b6fd478c54e8da99ee00.zip
Autocomplete categories demo: Simplified styling.
-rw-r--r--demos/autocomplete/categories.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/autocomplete/categories.html b/demos/autocomplete/categories.html
index 715efb6e6..485248996 100644
--- a/demos/autocomplete/categories.html
+++ b/demos/autocomplete/categories.html
@@ -11,6 +11,7 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
.ui-autocomplete-category {
+ font-weight:bold;
padding:.2em .4em;
margin:.8em 0 .2em;
line-height:1.5;
@@ -46,7 +47,7 @@
currentCategory = "";
$.each( items, function( index, item ) {
if ( item.category != currentCategory ) {
- ul.append( "<li class='ui-widget-header ui-autocomplete-category ui-corner-all'>" + item.category + "</li>" );
+ ul.append( "<li class='ui-autocomplete-category'>" + item.category + "</li>" );
currentCategory = item.category;
}
self._renderItem( ul, item );