From c889b8fc7408c7b969d7f359d0e490c085cbe6df Mon Sep 17 00:00:00 2001 From: hadi Date: Tue, 28 Mar 2023 12:29:36 +0200 Subject: [PATCH] Keep avatar images out of filtering in darkmode --- pixelegg/css/mobile.css | 1 + pixelegg/css/monochrome.css | 1 + pixelegg/css/pixelegg.css | 1 + pixelegg/less/darkmode.less | 2 +- pixelegg/mobile/fw_mobile.css | 2 ++ 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index b3c37bbadf..e9e29a42dc 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -86,6 +86,7 @@ html[data-darkmode='1'] et2-calendar-owner::part(icon), html[data-darkmode='1'] sl-menu-item [slot="prefix"], html[data-darkmode='1'] iframe, + html[data-darkmode='1'] et2-lavatar[image=""]::part(base), html[data-darkmode='1'] video, html[data-darkmode='1'] #loginMainDiv, html[data-darkmode='1'] .et2_taglist_tags_icon, diff --git a/pixelegg/css/monochrome.css b/pixelegg/css/monochrome.css index 59d17997cf..6c865d22ac 100644 --- a/pixelegg/css/monochrome.css +++ b/pixelegg/css/monochrome.css @@ -66,6 +66,7 @@ html[data-darkmode='1'] et2-calendar-owner::part(icon), html[data-darkmode='1'] sl-menu-item [slot="prefix"], html[data-darkmode='1'] iframe, + html[data-darkmode='1'] et2-lavatar[image=""]::part(base), html[data-darkmode='1'] video, html[data-darkmode='1'] #loginMainDiv, html[data-darkmode='1'] .et2_taglist_tags_icon, diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 74dc5bb9a7..d26c4a4173 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -76,6 +76,7 @@ html[data-darkmode='1'] et2-calendar-owner::part(icon), html[data-darkmode='1'] sl-menu-item [slot="prefix"], html[data-darkmode='1'] iframe, + html[data-darkmode='1'] et2-lavatar[image=""]::part(base), html[data-darkmode='1'] video, html[data-darkmode='1'] #loginMainDiv, html[data-darkmode='1'] .et2_taglist_tags_icon, diff --git a/pixelegg/less/darkmode.less b/pixelegg/less/darkmode.less index ee623bf637..c168fe27e2 100644 --- a/pixelegg/less/darkmode.less +++ b/pixelegg/less/darkmode.less @@ -33,7 +33,7 @@ sl-menu-item::part(prefix), et2-select-country::part(prefix), et2-button::part(prefix), *::part(image), img, #blueimp-gallery:not(:fullscreen), #blueimp-gallery ol, et2-select-email::part(icon), et2-calendar-owner::part(icon), sl-menu-item [slot="prefix"], - iframe, + iframe, et2-lavatar[image=""]::part(base), video, #loginMainDiv, .et2_taglist_tags_icon, .fw_avatar_stat, et2-tag::part(icon), et2-email-tag::part(icon), et2-avatar-group, .blueimp-gallery .slide { filter: invert(1) hue-rotate(180deg) !important; diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 0a57ccd3e8..26fb22940e 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -51,6 +51,7 @@ html[data-darkmode='1'] et2-calendar-owner::part(icon), html[data-darkmode='1'] sl-menu-item [slot="prefix"], html[data-darkmode='1'] iframe, + html[data-darkmode='1'] et2-lavatar[image=""]::part(base), html[data-darkmode='1'] video, html[data-darkmode='1'] #loginMainDiv, html[data-darkmode='1'] .et2_taglist_tags_icon, @@ -9466,3 +9467,4 @@ table.egwGridView_grid img.et2_appicon { border-radius: 0; } } +/*# sourceMappingURL=fw_mobile.css.map */ \ No newline at end of file