You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
1.6 KiB
105 lines
1.6 KiB
.chatbox { |
|
width: 500px; |
|
height: 580px; |
|
background: #F5F6F8; |
|
border-radius: 4px 4px 4px 4px; |
|
opacity: 1; |
|
position: absolute; |
|
display: flex; |
|
flex-direction: column; |
|
border: 1px solid rgb(216, 209, 209); |
|
} |
|
|
|
.titlebox { |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
height: 46px; |
|
border-bottom: 1px solid #E4E7EC; |
|
box-sizing: border-box; |
|
padding: 0 18px; |
|
color: #000; |
|
|
|
|
|
.titlename { |
|
flex: 1; |
|
cursor: move; |
|
text-align: left; |
|
width: 100px; |
|
white-space: nowrap; |
|
overflow: hidden; |
|
text-overflow: ellipsis; |
|
} |
|
|
|
.close { |
|
cursor: pointer; |
|
} |
|
} |
|
|
|
.chatcontent { |
|
flex: 1; |
|
overflow-y: auto; |
|
box-sizing: border-box; |
|
padding: 0 18px; |
|
position: relative; |
|
|
|
.chatitem { |
|
display: flex; |
|
flex-direction: column; |
|
margin: 12px 0; |
|
|
|
.name { |
|
text-align: left; |
|
color: gray; |
|
font-size: 12px; |
|
margin-bottom: 3px; |
|
} |
|
|
|
.chatmessage { |
|
|
|
background-color: #fff; |
|
box-sizing: border-box; |
|
padding: 6px 8px; |
|
text-align: left; |
|
width: fit-content; |
|
width: -webkit-fit-content; |
|
width: -moz-fit-content; |
|
color: #000; |
|
} |
|
} |
|
|
|
.chatitemMe { |
|
.name { |
|
text-align: right; |
|
} |
|
|
|
.chatmessage { |
|
display: flex; |
|
align-self: flex-end; |
|
background: #89d961; |
|
} |
|
} |
|
|
|
} |
|
|
|
.inputarea { |
|
height: 120px; |
|
border-top: 1px solid #E4E7EC; |
|
|
|
textarea { |
|
height: 100%; |
|
background: #F5F6F8; |
|
resize: none; |
|
} |
|
} |
|
|
|
.btnbox { |
|
display: flex; |
|
height: 56px; |
|
align-items: center; |
|
justify-content: flex-end; |
|
|
|
button { |
|
margin-right: 18px; |
|
} |
|
}
|
|
|