From c2fd70cb1125945ec036b9c1c7d5b2242586c81b Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 7 Nov 2022 16:00:30 +0100 Subject: [PATCH] Fix filtered filemanager icon used in contextmenu gets a wrong color --- pixelegg/css/pixelegg.css | 3 +++ pixelegg/less/layout_dhtmlSubmenu.less | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index c8ed06ecfa..3997dc6695 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -3165,6 +3165,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected td.sub_item_icon img.sub_icon { filter: invert(1) brightness(5); } +div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected td.sub_item_icon img[id$="filemanager"] { + filter: invert(0) brightness(5) !important; +} div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected div.sub_item_text, div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub_item_selected td.sub_item_hk div.sub_item_hk { color: hsl(0, 0%, 100%); diff --git a/pixelegg/less/layout_dhtmlSubmenu.less b/pixelegg/less/layout_dhtmlSubmenu.less index 9b78f8d9cd..88531b5b15 100644 --- a/pixelegg/less/layout_dhtmlSubmenu.less +++ b/pixelegg/less/layout_dhtmlSubmenu.less @@ -31,6 +31,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon{ img.sub_icon { filter: @sl-filter-menu; } + img[id$="filemanager"] { + filter: invert(0) brightness(5) !important; + } } background-color: @sl-bg-color-menu !important; background-image: none !important;