From 09de3de190a692dfbc2533ceee8f31648905b91a Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 17 Apr 2015 12:56:18 +0800 Subject: Bug 1154730: rewrite product/component searching to use jquery-ui instead of yui --- skins/standard/global.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'skins') diff --git a/skins/standard/global.css b/skins/standard/global.css index 3eb106faf..0cfec436f 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -667,3 +667,25 @@ input.required, select.required, span.required_explanation { border: 2px solid #B70000; background-color: #FFEBEB; } + +/* jquery-ui overrides */ + +.ui-autocomplete { + /* set a max height for autocomplete lists */ + overflow-y: auto; + overflow-x: hidden; + max-height: 500px; + /* hovering over the bottom item increases the height by 1px, resulting in a scrollbar */ + padding-bottom: 1px !important; +} + +/* always use our font and size */ +.ui-widget { + font-family: inherit !important; + font-size: small !important; +} + +/* menu items shouldn't be bold */ +.ui-menu .ui-menu-item { + font-weight: normal !important; +} -- cgit v1.2.3-24-g4f1b