feat: add ai thinking anim

This commit is contained in:
Joel
2023-05-12 14:16:53 +08:00
parent caf5b31ccd
commit 7a1b139f04
5 changed files with 124 additions and 12 deletions

View File

@ -1,22 +1,23 @@
.answerIcon {
position: relative;
background: url(./icons/robot.svg);
}
.typeingIcon {
position: relative;
}
.typeingIcon::after {
content: '';
position: absolute;
top: -3px;
left: -3px;
top: 0px;
left: 0px;
display: flex;
justify-content: center;
align-items: center;
width: 16px;
height: 16px;
background: url(./icons/typing.svg) no-repeat;
background-size: contain;
background: #FFFFFF;
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
border-radius: 16px;
}
.questionIcon {
background: url(./icons/default-avatar.jpg);
background-size: contain;