*{margin:0;padding:0} body { font-family: "open sans","Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 13px; color: #676a6c; overflow-x: hidden; } .small-chat-box { background: #fff; width: 100%; height: 100%; } .small-chat-box .heading { background: #2f4050; padding: 15px 15px; font-weight: 700; color: #fff; } .small-chat-box .chat-date { opacity: .6; font-size: 10px; font-weight: 400; } .small-chat-box .content { text-align: center; padding: 15px; } .slimScrollDiv >* { overflow: hidden; } .small-chat-box .content>div { padding-bottom: 10px; } .small-chat-box .content .author-name { font-weight: 700; margin-bottom: 3px; font-size: 11px; } .small-chat-box .chat-date { opacity: .6; font-size: 10px; font-weight: 400; } .small-chat-box a{ text-decoration: none; color: #fff; } .small-chat-box .content .chat-mine { text-align: right; padding-left: 0; position: relative; padding-right: 60px; } .small-chat-box .content .chat-mine .chat-mine-left{ display: inline-block; } .small-chat-box .content .chat-mine .chat-mine-right{ position: absolute; left: auto; right: 3px; display: inline-block; } .small-chat-box .content .chat-mine .chat-mine-right img{ width: 40px; height: 40px; border-radius: 100%; } .small-chat-box .content .chat-other { text-align: left; padding-left: 0; position: relative; padding-left: 60px; } .small-chat-box .content .chat-other .chat-other-left{ position: absolute; right: auto; left: 3px; display: inline-block; } .small-chat-box .content .chat-other .chat-other-left{ display: inline-block; } .small-chat-box .content .chat-other .chat-other-left img{ width: 40px; height: 40px; border-radius: 100%; } .small-chat-box .content .chat-mine .chat-text { margin-left: 0; text-align: left; background-color: #2F4056; color: #fff; } .small-chat-box .content .chat-text { position: relative; line-height: 22px; margin-top: 5px; padding: 8px 15px; background-color: #e2e2e2; border-radius: 3px; color: #333; word-break: break-all; max-width: 462px; } .small-chat-box .content .chat-text{ display: inline-block; vertical-align: top; font-size: 14px; } .small-chat-box .content .chat-mine .chat-text:after { left: auto; right: -10px; border-top-color: #2F4056; } .small-chat-box .content .chat-text:after { content: ''; position: absolute; left: -10px; top: 13px; width: 0; height: 0; border-style: solid dashed dashed; border-color: #e2e2e2 transparent transparent; overflow: hidden; border-width: 10px; } .small-chat-box .form-chat { padding: 10px 10px 5px 10px; } .small-chat-box .form-chat .input-group { position: relative; display: table; border-collapse: separate; } .small-chat-box .form-chat .input-group .form-control, .input-group-addon, .input-group-btn { display: table-cell; } .small-chat-box .form-chat .input-group-sm>.form-control, .input-group-sm>.input-group-addon, .input-group-sm>.input-group-btn>.btn { height: 35px; padding: 5px 10px; font-size: 12px; line-height: 1.5; } .small-chat-box .form-chat .input-group .form-control { position: relative; z-index: 2; float: left; width: 100%; margin-bottom: 0; } .small-chat-box .form-chat .input-group .form-control, .single-line { background-color: #FFF; background-image: none; border: 1px solid #2F4056; box-shadow: none; } .small-chat-box .form-chat .input-group .input-group-btn { position: relative; font-size: 0; white-space: nowrap; } .small-chat-box .form-chat .input-group .input-group-addon, .input-group-btn { white-space: nowrap; vertical-align: middle; } .input-group .form-control, .input-group-addon, .input-group-btn { display: table-cell; } .input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group { z-index: 2; margin-left: -1px; } .small-chat-box .form-chat .input-group .btn-primary { background-color: #2F4056; border-color: #2F4056; color: #FFF; } .chat-area{font-family: "open sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size: 13px;} .small-chat-box .form-chat .input-group .input-group-btn>.btn { position: relative; } .small-chat-box .form-chat .input-group .btn { display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: 400; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-image: none; border: 1px solid transparent; } .small-chat-box .pull-right{float:right} .small-chat-box .face-box{width:350px;background:#fff;position:absolute;z-index:99999999;top:190px} .small-chat-box .face-box:after{content:'';display:block;clear:both} .small-chat-box .face-box ul li{ cursor: pointer; float: left; border: 1px solid #e8e8e8; height: 22px; width: 26px; overflow: hidden; margin: -1px 0 0 -1px; padding: 4px 2px; text-align: center; } .layui-mylink-file, .small-chat-box .content .layui-mylink-file{display: block; text-align: center; } .small-chat-box .content .layui-mylink-file{color: #333;} .small-chat-box .content .layui-mylink-file:hover{opacity: 0.9} .small-chat-box .content .layui-mylink-file i{font-size: 80px; line-height: 80px;} .small-chat-box .content .layui-mylink-file cite{display: block; line-height: 20px; font-size: 14px;} .small-chat-box .content .layui-mylink-audio{text-align: center; cursor: pointer;} .small-chat-box .content .layui-mylink-audio .layui-icon{position: relative; top: 5px; font-size: 24px;} .small-chat-box .content .layui-mylink-audio p{margin-top: 3px;} .small-chat-box .content .layui-mylink-video{width: 120px; height: 80px; line-height: 80px; background-color: #333; text-align: center; border-radius: 3px;} .small-chat-box .content .layui-mylink-video .layui-icon{font-size: 36px; cursor: pointer; color: #fff;} .small-chat-box .content .mylink-chat-system span { display: inline-block; line-height: 30px; padding: 0 15px; border-radius: 3px; background-color: #e2e2e2; cursor: default; font-size: 14px;}