File size: 1,512 Bytes
a9df3bb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.answerIcon {
  position: relative;
  background: url(./icons/robot.svg);
}

.typeingIcon {
  position: absolute;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 16px;
  height: 16px;
  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;
  border-radius: 50%;
}

.answer::before,
.question::before {
  content: '';
  position: absolute;
  top: 0;
  width: 8px;
  height: 12px;
}

.answer::before {
  left: 0;
  background: url(./icons/answer.svg) no-repeat;
}

.answerWrap .itemOperation {
  display: none;
}

.answerWrap:hover .itemOperation {
  display: flex;
}

.question::before {
  right: 0;
  background: url(./icons/question.svg) no-repeat;
}

.textArea {
  padding-top: 13px;
  padding-bottom: 13px;
  padding-right: 90px;
  border-radius: 12px;
  line-height: 20px;
  background-color: #fff;
}

.textArea:hover {
  background-color: #fff;
}

/* .textArea:focus {
  box-shadow: 0px 3px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px rgba(0, 0, 0, 0.05);
} */

.count {
  /* display: none; */
  padding: 0 2px;
}

.sendBtn {
  background: url(./icons/send.svg) center center no-repeat;
}

.sendBtn:hover {
  background-image: url(./icons/send-active.svg);
  background-color: #EBF5FF;
}

.textArea:focus+div .count {
  display: block;
}

.textArea:focus+div .sendBtn {
  background-image: url(./icons/send-active.svg);
}