mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
13451-Fix text color autocomplete agents result
This commit is contained in:
parent
021cc245ac
commit
d425e25c03
@ -6470,25 +6470,25 @@ function ui_print_agent_autocomplete_input($parameters)
|
|||||||
switch (item.filter) {
|
switch (item.filter) {
|
||||||
default:
|
default:
|
||||||
case \'agent\':
|
case \'agent\':
|
||||||
return $("<li style=\'background: #DFFFC4;\'></li>")
|
return $("<li style=\'background: #DFFFC4;\' class=\'agent-autocomplete-li-text-color\' title=\''.__('Agent').'\'></li>")
|
||||||
.data("item.autocomplete", item)
|
.data("item.autocomplete", item)
|
||||||
.append(text)
|
.append(text)
|
||||||
.appendTo(ul);
|
.appendTo(ul);
|
||||||
break;
|
break;
|
||||||
case \'address\':
|
case \'address\':
|
||||||
return $("<li style=\'background: #F7CFFF;\'></li>")
|
return $("<li style=\'background: #F7CFFF;\' class=\'agent-autocomplete-li-text-color\' title=\''.__('Address').'\'></li>")
|
||||||
.data("item.autocomplete", item)
|
.data("item.autocomplete", item)
|
||||||
.append(text)
|
.append(text)
|
||||||
.appendTo(ul);
|
.appendTo(ul);
|
||||||
break;
|
break;
|
||||||
case \'description\':
|
case \'description\':
|
||||||
return $("<li style=\'background: #FEFCC6;\'></li>")
|
return $("<li style=\'background: #FEFCC6;\' class=\'agent-autocomplete-li-text-color\' title=\''.__('Description').'\'></li>")
|
||||||
.data("item.autocomplete", item)
|
.data("item.autocomplete", item)
|
||||||
.append(text)
|
.append(text)
|
||||||
.appendTo(ul);
|
.appendTo(ul);
|
||||||
break;
|
break;
|
||||||
case \'alias\':
|
case \'alias\':
|
||||||
return $("<li style=\"'.$background_results.'\"></li>")
|
return $("<li style=\"'.$background_results.'\" title=\''.__('Alias').'\'></li>")
|
||||||
.data("item.autocomplete", item)
|
.data("item.autocomplete", item)
|
||||||
.append(text)
|
.append(text)
|
||||||
.appendTo(ul);
|
.appendTo(ul);
|
||||||
|
@ -1970,3 +1970,7 @@ input.button_task:not(div.login_pass > input):not(div.login_nick
|
|||||||
.empty-view > .empty-view-img-text > img {
|
.empty-view > .empty-view-img-text > img {
|
||||||
filter: brightness(0.85);
|
filter: brightness(0.85);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li.agent-autocomplete-li-text-color a {
|
||||||
|
color: #333 !important;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user