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

45 lines
668 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;
}
> img,
> .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
}