gptbot/bingchat/components/chatbox/index.wxss
2023-03-23 21:40:07 +08:00

82 lines
1.1 KiB
Plaintext

.chat {
display: flex;
flex-direction: column;
}
.chat-item {
display: flex;
padding: 10rpx 10rpx 35rpx;
flex-direction: row;
}
.left {
justify-content: flex-start;
}
.right {
justify-content: flex-end;
}
.avatar {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
background-color: #e0e2e8;
}
.dt {
font-size: 24rpx;
color: #b4bbc4;
}
.content {
border-radius: 16rpx;
padding: 10rpx 16rpx 10rpx 16rpx;
word-break: break-all;
white-space: pre-wrap;
}
.bg-green {
background-color: #d2f9d1;
}
.bg-white {
background-color: #f4f6f8;
}
.chat-box {
display: flex;
flex-direction: column;
max-width: 84%;
}
.suggest {
display: flex;
justify-content: flex-start;
margin-top: 8rpx;
flex-wrap: wrap;
}
.suggest-item{
background-color: #f4f6f8;
display: inline-block;
padding: 5rpx 8rpx 5rpx 8rpx;
border-radius: 8rpx;
margin-right: 16rpx;
color: #b4bbc4;
margin-bottom: 10rpx;
font-size: 24rpx;
}
@keyframes blink {
from { display: 1.0; }
to { opacity: 0.0; }
}
.blinking {
animation: blink 1.5s ease-in-out infinite;
display: block;
}
.suggest-item-hover {
color: #ff502c;
}