Tree view black

This commit is contained in:
Jose Gonzalez 2023-03-10 12:47:44 +01:00
parent 5b748d8ec0
commit dc216ff788
3 changed files with 16 additions and 5 deletions

View File

@ -637,7 +637,7 @@ var TreeController = {
var $content = $("<div></div>");
// Leaf icon
$leafIcon.addClass("leaf-icon invert_filter");
$leafIcon.addClass("leaf-icon");
// Content
$content.addClass("node-content");
@ -657,7 +657,7 @@ var TreeController = {
(controller.baseURL.length > 0 ? controller.baseURL : "") +
"images/" +
element.icon +
'" /></div></div>'
'" class="invert_filter"/></div></div>'
);
} else if (
typeof element.iconHTML != "undefined" &&
@ -759,7 +759,7 @@ var TreeController = {
: "") +
'images/event.svg" /> '
);
$eventImage.addClass("agent-alerts-fired");
$eventImage.addClass("agent-alerts-fired invert_filter");
$eventImage
.click(function(e) {
e.preventDefault();
@ -875,7 +875,7 @@ var TreeController = {
$content.append($statusImage);
}
var image_tooltip =
'<span><img class="invert_filter forced_title" data-title="' +
'<span class="reinvert_filter"><img class="invert_filter forced_title" data-title="' +
(element.title ? element.title : element.name) +
'" data-use_title_for_force_title="1" src="' +
(controller.baseURL.length > 0 ? controller.baseURL : "") +

View File

@ -426,6 +426,9 @@ a.pandora_pagination {
color: #fff;
}
span.reinvert_filter {
filter: invert(1);
}
/* firts_task.css */
.new_task,
div.new_task,
@ -449,7 +452,11 @@ div.new_task > div {
}
/* tree.css */
.node-content:hover {
.tree-node div.node-content {
background-color: #444;
}
.tree-node div.node-content:hover {
background-color: #222;
}

View File

@ -403,3 +403,7 @@ div#tree-controller-recipient {
margin-left: 5px;
border-radius: 5px;
}
.tree-node .node-icon.node-status {
border: 0;
}