#11541 Adjusted the background of the autocomplete Agent according to the selected theme
This commit is contained in:
parent
7fa32854e9
commit
2d40641a9d
|
@ -5616,6 +5616,9 @@ function ui_print_agent_autocomplete_input($parameters)
|
|||
if ($config['style'] === 'pandora_black' && !is_metaconsole()) {
|
||||
$text_color = 'style="color: white"';
|
||||
$icon_agent = 'images/agent_mc.menu.png';
|
||||
$background_results = 'background: #111;';
|
||||
} else {
|
||||
$background_results = 'background: #a8e7eb;';
|
||||
}
|
||||
|
||||
$icon_image = html_print_image($icon_agent, true, false, true);
|
||||
|
@ -6289,7 +6292,7 @@ function ui_print_agent_autocomplete_input($parameters)
|
|||
.appendTo(ul);
|
||||
break;
|
||||
case \'alias\':
|
||||
return $("<li style=\'background: #a8e7eb;\'></li>")
|
||||
return $("<li style=\"'.$background_results.'\"></li>")
|
||||
.data("item.autocomplete", item)
|
||||
.append(text)
|
||||
.appendTo(ul);
|
||||
|
|
|
@ -39,7 +39,7 @@ select,
|
|||
.selection,
|
||||
button.sub,
|
||||
.select2-container .select2-selection--single,
|
||||
.select2-container .select2-selection--multiple {
|
||||
.select2-container {
|
||||
background-color: #111 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
@ -1435,8 +1435,9 @@ button.submitButton.secondary:hover > div {
|
|||
}
|
||||
|
||||
select[multiple] option:checked,
|
||||
select[multiple] option:active {
|
||||
background: #008d86;
|
||||
select[multiple] option:active,
|
||||
select[multiple] option:hover {
|
||||
background: #008d86 !important;
|
||||
}
|
||||
|
||||
.select2-search.select2-search--dropdown,
|
||||
|
|
Loading…
Reference in New Issue