Mail Tree visual changes according to ticket #95901

-- changed - Leaf image - hover background color
This commit is contained in:
milan 2024-07-26 13:22:48 +02:00
parent 357551c7a2
commit 47cfe1ba39
2 changed files with 6 additions and 5 deletions

View File

@ -252,12 +252,13 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) implements Fin
}
sl-tree-item.drop-hover {
background-color: var(--primary-background-color);
background-color: var(--highlight-background-color);
}
sl-tree-item.drop-hover sl-tree-item {
background-color: var(--sl-color-neutral-0);
}
//TODO color of selected marker in front should be #006699 same as border top color
sl-badge::part(base) {

View File

@ -61,7 +61,7 @@ class mail_tree
'folderNoSelectOpen' => "folderNoSelectOpen",
'folderOpen' => "folderOpen",
'folderClosed' => "MailFolderClosed",
'folderLeaf' => "MailFolderPlain",
'folderLeaf' => "MailFolderClosed",
'folderHome' => "kfm_home",
'folderAccount' => "thunderbird",
);
@ -394,9 +394,9 @@ class mail_tree
$item = array(
'id' => $parent.$component,
'text' => $component,
'im0' => self::$leafImages["folderNoSelectClosed"],
'im1' => self::$leafImages["folderNoSelectOpen"],
'im2' => self::$leafImages["folderNoSelectClosed"],
'im0' => self::$leafImages["folderClosed"],
'im1' => self::$leafImages["folderOpen"],
'im2' => self::$leafImages["folderClosed"],
'tooltip' => lang('no access')
);
$insert['item'][] =& $item;