kefu/public/css/server.css

224 lines
3.4 KiB
CSS

.friend {
position: relative;
float: left;
width: 300px;
height: 100%;
background: #fbfcfe;
border-right: 1px solid #e9e9e9;
}
.chat {
position: relative;
float: left;
width: calc(100% - 301px);
height: 100%;
}
.friend-head {
display: block;
cursor: pointer;
height: 51px;
padding: 0 12px;
font-size: 15px;
line-height: 50px;
color: #767d85;
background-color: #fff;
border-top: 1px solid #e9e9e9;
border-bottom: 1px solid #e9e9e9;
}
.friend-head-right {
float: right;
}
.message-agent,.message-client{
overflow: auto;
margin-bottom: 10px;
margin-top: 10px;
}
.message-container{
padding: 0 20px 0 20px;
overflow: auto;
}
.message-time-sender{
line-height: 1;
margin-bottom: 5px;
font-size: 12px;
color: #adb2bb;
}
.message-agent-time-sender{
text-align: right;
}
.message-content{
border-radius: 3px;
padding: 8px 12px;
font-size: 13px;
line-height: 22px;
word-wrap: break-word;
word-break: break-all;
border: 1px dashed transparent;
}
.message-agent-content{
position: relative;
float: right;
background-color: #6d92bb;
color: #fff;
}
.message-client-content{
position: relative;
float: left ;
background-color: #efefef;
color: #161e26;
}
.message-sender{
position: absolute;
bottom: 0;
height: 180px;
border-top: 1px solid #e9e9e9;
width: 100%;
}
.sender-editor{
height: calc(100% - 40px);
}
.message-sender textarea{
resize: none;
border: none;
border-radius: 6px;
font-size: 15px;
color: #161e26;
line-height: 22px;
background-color: #fff;
height: calc(100% - 40px);
padding: 20px;
width: calc(100% - 40px);
}
.btnMsgSend{
z-index: 1;
position: absolute;
right: 15px;
bottom: 15px;
}
.user-info{
/*height: 60px;*/
/*line-height: 60px;*/
background: #ffffff;
font-size: 16px;
color: #767d85;
cursor: pointer;
border-bottom: 1px solid #e9e9e9;
position: relative;
}
.user-info .user-status{
background-color: #999;
margin-left:5px;
color: #fff;
display: none;
}
.chat-user{
overflow: auto;
}
.user-info img{
width: 50px;
}
.user-info .user-avatar{
text-align: center;
}
.user-info .user-name{
font-size: 12px;
padding:14px 0;
}
.user-info .rename{
position: absolute;
width: 50px;
font-size: 13px;
display: none;
right: 0;
top: 0;
height: 50px;
color: #666;
text-align: center;
line-height: 50px;
}
.user-info:hover .rename{
display: block;
}
.empty-status{
width: 150px;
margin: 0 auto;
text-align: center;
margin-top: 200px;
}
.empty-status img{
width: 100px;
}
.msg-tips{
margin-top: 25px;
display: none;
}
.msg-client-img{
text-align: left;
}
.msg-client-img img{
width: 10rem;
}
.msg-agent-img{
text-align: right;
}
.msg-agent-img img{
width: 10rem;
}
.layui-icon{
cursor: pointer;
}
.message-emoji-picture{
height: 40px;
line-height: 40px;
padding-left: 20px;
}
.emoji-list{
display: none;
position: fixed;
left: 300px;
bottom:230px;
border: solid 1px #e9e9e9;
border-radius: 3px;
box-shadow: 0 15px 30px 0 rgba(52,63,75,.2);
background: #fff;
}
.emoji-list ul{
overflow: auto;
}
.emoji-list li{
float: left;
width: 30px;
cursor: pointer;
height: 30px;
}