TelegramPWA/src/components/common/MessageOutgoingStatus.scss
2023-04-25 17:27:14 +04:00

38 lines
627 B
SCSS

.MessageOutgoingStatus {
width: 1.1875rem;
height: 1.1875rem;
overflow: hidden;
display: inline-block;
line-height: 1;
font-size: 1.1875rem;
.icon {
background: var(--background-color);
}
.icon-message-succeeded {
padding-left: 0.125rem;
}
.Transition {
width: 100%;
height: 100%;
}
.MessageOutgoingStatus--failed::before {
content: "";
display: block;
position: absolute;
inset: 0.25rem;
border-radius: 50%;
background: white;
}
.icon-message-failed {
background: none;
color: var(--color-error);
z-index: 1;
position: relative;
}
}