jquery-ui: fix autocomplete menu styling (#3671).
* Wrap menu items in a div. * Replace ui-state-focus with ui-state-active. * Make active items have a grey background. ref: http://jqueryui.com/upgrade-guide/1.12/#require-wrappers-for-each-menu-item ref: http://jqueryui.com/upgrade-guide/1.12/#use-consistent-styling-for-focused-and-active-items
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
.ui-autocomplete {
|
||||
font-size: 0.9em;
|
||||
z-index: 1000;
|
||||
|
||||
.ui-state-active {
|
||||
border: none;
|
||||
margin: 0 -1px;
|
||||
background-color: #F0F0F0;
|
||||
border-left: 1px solid #C5C5C5;
|
||||
border-right: 1px solid #C5C5C5;
|
||||
}
|
||||
|
||||
.ui-menu-item a {
|
||||
padding: 1px .2em;
|
||||
@@ -9,4 +16,4 @@
|
||||
.autocomplete-arrow {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user