Fix user's avatar gets filtered while in darkmode

This commit is contained in:
Hadi Nategh 2023-01-09 15:17:35 +01:00
parent a29d5f6d8b
commit 61f36f4051
2 changed files with 3 additions and 2 deletions

View File

@ -78,7 +78,8 @@
html[data-darkmode='1'] #egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_scrollarea_outerdiv .egw_fw_ui_sidemenu_entry_content .egw_fw_ui_category_content,
html[data-darkmode='1'] video,
html[data-darkmode='1'] #loginMainDiv,
html[data-darkmode='1'] .et2_taglist_tags_icon {
html[data-darkmode='1'] .et2_taglist_tags_icon,
html[data-darkmode='1'] .fw_avatar_stat {
filter: invert(1) hue-rotate(180deg) !important;
}
html[data-darkmode='1'] .dtree img {

View File

@ -33,7 +33,7 @@
et2-email-tag::part(prefix), et2-button::part(prefix), *::part(image), img, #blueimp-gallery:not(:fullscreen), #blueimp-gallery ol,
iframe, #egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_scrollarea_outerdiv .egw_fw_ui_sidemenu_entry_content .egw_fw_ui_category_active,
#egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_scrollarea_outerdiv .egw_fw_ui_sidemenu_entry_content .egw_fw_ui_category_content,
video, #loginMainDiv, .et2_taglist_tags_icon {
video, #loginMainDiv, .et2_taglist_tags_icon, .fw_avatar_stat {
filter: invert(1) hue-rotate(180deg) !important;
}
.dtree img {filter: invert(0) hue-rotate(180deg) !important;}