webapp/src/components/Inbox/DialogAvatar.module.scss

51 lines
804 B
SCSS
Raw Normal View History

2022-11-10 15:06:02 +00:00
.DialogAvatar {
width: 40px;
height: 40px;
border-radius: 100%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
&.online::before {
content: '';
position: absolute;
background: #2bb452;
width: 8px;
height: 8px;
top: -2px;
right: -2px;
border-radius: 50%;
border: 3px solid #fff;
}
2022-11-23 04:12:11 +00:00
> .imageHolder {
background-size: cover;
width: 100%;
height: 100%;
background-repeat: no-repeat;
border-radius: 100%;
}
2022-11-10 15:06:02 +00:00
> .letter {
display: block;
border-radius: 100%;
}
> .letter {
margin-bottom: -2px;
font-weight: 500;
font-size: 18px;
line-height: 10px;
color: #fff;
}
2022-11-21 05:06:53 +00:00
&.small {
width: 24px;
height: 24px;
> .letter {
font-size: 14px;
}
}
2022-11-10 15:06:02 +00:00
}