2020-11-13 13:43:35 +01:00
|
|
|
:host {
|
|
|
|
position: relative;
|
2021-05-10 11:52:41 +02:00
|
|
|
|
|
|
|
.clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2020-12-04 15:23:00 +01:00
|
|
|
img {
|
|
|
|
border-radius: 50%;
|
|
|
|
width: var(--core-avatar-size);
|
|
|
|
height: var(--core-avatar-size);
|
2021-01-27 10:34:03 +01:00
|
|
|
max-width: var(--core-avatar-size);
|
|
|
|
max-height: var(--core-avatar-size);
|
|
|
|
}
|
|
|
|
img[core-external-content]:not([src]),
|
|
|
|
img[core-external-content][src=""] {
|
|
|
|
visibility: visible;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
&:after {
|
|
|
|
border-radius: 50%;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: url('/assets/img/user-avatar.png');
|
|
|
|
background-size: contain;
|
|
|
|
content: "";
|
|
|
|
}
|
2020-12-04 15:23:00 +01:00
|
|
|
}
|
2021-01-22 17:06:30 +01:00
|
|
|
&.core-bar-button-image img {
|
|
|
|
padding: 0;
|
2021-05-07 10:31:06 +02:00
|
|
|
width: var(--core-header-toolbar-button-image-size);
|
|
|
|
height: var(--core-header-toolbar-button-image-size);
|
|
|
|
max-width: var(--core-header-toolbar-button-image-size);
|
|
|
|
max-height: var(--core-header-toolbar-button-image-size);
|
2021-01-22 17:06:30 +01:00
|
|
|
border-radius: 50%;
|
|
|
|
}
|
2020-11-13 13:43:35 +01:00
|
|
|
|
|
|
|
.contact-status {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
border-radius: 50%;
|
|
|
|
&.online {
|
|
|
|
border: 1px solid white;
|
|
|
|
background-color: var(--core-online-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.core-avatar-extra-icon {
|
|
|
|
margin: 0 !important;
|
|
|
|
border-radius: 0 !important;
|
|
|
|
background: none;
|
|
|
|
position: absolute;
|
|
|
|
right: -4px;
|
|
|
|
bottom: -4px;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
:host-context(.toolbar) .contact-status {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2020-12-04 15:23:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
:host-context([dir="rtl"]) .contact-status {
|
|
|
|
left: 0;
|
|
|
|
right: unset;
|
|
|
|
}
|