mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Fix wrongly filtered avatars in darkmode, happens for calOwner and regular account-selector widgets
This commit is contained in:
parent
f6adf22591
commit
37667df880
@ -146,7 +146,7 @@ export class Et2SelectAccount extends SelectAccountMixin(Et2StaticSelectMixin(Et
|
||||
let style = getComputedStyle(this);
|
||||
|
||||
return html`
|
||||
<et2-lavatar slot="prefix" part="icon" .size=${style.getPropertyValue("--icon-width")}
|
||||
<et2-lavatar slot="prefix" part="icon" exportparts="image" .size=${style.getPropertyValue("--icon-width")}
|
||||
lname=${option.lname || nothing}
|
||||
fname=${option.fname || nothing}
|
||||
image=${option.icon || nothing}
|
||||
|
@ -73,7 +73,7 @@ export class CalendarOwner extends Et2StaticSelectMixin(Et2Select)
|
||||
return html`
|
||||
<sl-option
|
||||
part="option"
|
||||
exportparts="prefix:tag__prefix, suffix:tag__suffix"
|
||||
exportparts="prefix:tag__prefix, suffix:tag__suffix, image"
|
||||
value="${value}"
|
||||
title="${!option.title || this.noLang ? option.title : this.egw().lang(option.title)}"
|
||||
class=${classMap({
|
||||
@ -183,7 +183,7 @@ export class CalendarOwner extends Et2StaticSelectMixin(Et2Select)
|
||||
// lavatar uses a size property, not a CSS variable
|
||||
let style = getComputedStyle(this);
|
||||
return html`
|
||||
<et2-lavatar slot="prefix" part="icon" .size=${style.getPropertyValue("--icon-width")}
|
||||
<et2-lavatar slot="prefix" part="icon" exportparts="image" .size=${style.getPropertyValue("--icon-width")}
|
||||
lname=${option.lname || nothing}
|
||||
fname=${option.fname || nothing}
|
||||
image=${option.icon || nothing}
|
||||
|
@ -84,7 +84,6 @@
|
||||
html[data-darkmode='1'] #blueimp-gallery ol,
|
||||
html[data-darkmode='1'] et2-select-account::part(icon),
|
||||
html[data-darkmode='1'] et2-select-email::part(icon),
|
||||
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),
|
||||
|
@ -64,7 +64,6 @@
|
||||
html[data-darkmode='1'] #blueimp-gallery ol,
|
||||
html[data-darkmode='1'] et2-select-account::part(icon),
|
||||
html[data-darkmode='1'] et2-select-email::part(icon),
|
||||
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),
|
||||
@ -6590,4 +6589,4 @@ span.egw_tutorial_title {
|
||||
/*@import "../less/layout_raster.less";*/
|
||||
/*@import "../less/layout_nextmatch.less";*/
|
||||
/*@import "../less/layout_footer.less";*/
|
||||
/*@import "../less/layout_dialog.less";*/
|
||||
/*@import "../less/layout_dialog.less";*/
|
||||
|
@ -74,7 +74,6 @@
|
||||
html[data-darkmode='1'] #blueimp-gallery ol,
|
||||
html[data-darkmode='1'] et2-select-account::part(icon),
|
||||
html[data-darkmode='1'] et2-select-email::part(icon),
|
||||
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),
|
||||
|
@ -32,7 +32,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-account::part(icon), et2-select-email::part(icon), et2-calendar-owner::part(icon), sl-menu-item [slot="prefix"],
|
||||
et2-select-account::part(icon), et2-select-email::part(icon), sl-menu-item [slot="prefix"],
|
||||
iframe, et2-lavatar[image=""]::part(base), et2-avatar[id="_cropper_image"],
|
||||
video, #loginMainDiv, .et2_taglist_tags_icon, .fw_avatar_stat, et2-avatar-group,
|
||||
.blueimp-gallery .slide {
|
||||
|
@ -49,7 +49,6 @@
|
||||
html[data-darkmode='1'] #blueimp-gallery ol,
|
||||
html[data-darkmode='1'] et2-select-account::part(icon),
|
||||
html[data-darkmode='1'] et2-select-email::part(icon),
|
||||
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),
|
||||
@ -9501,3 +9500,4 @@ table.egwGridView_grid img.et2_appicon {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
/*# sourceMappingURL=fw_mobile.css.map */
|
Loading…
Reference in New Issue
Block a user