TelegramPWA/src/components/common/ProfilePhoto.scss
2022-03-19 21:18:54 +01:00

40 lines
659 B
SCSS

.ProfilePhoto {
width: 100%;
height: 100%;
cursor: pointer;
position: relative;
.avatar-media {
width: 100%;
object-fit: cover;
}
.spinner-wrapper {
width: 100%;
height: 100%;
}
.spinner-wrapper,
&.deleted-account,
&.replies-bot-account,
&.no-photo,
&.saved-messages {
display: flex;
align-items: center;
justify-content: center;
color: var(--color-white);
background: linear-gradient(var(--color-white) -125%, var(--color-user));
cursor: default;
}
&.no-photo {
font-size: 14rem;
}
&.replies-bot-account,
&.deleted-account,
&.saved-messages {
font-size: 20rem;
}
}