| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- *{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;
- }
- .small-chat-box .content .chat-other {
- text-align: left;
- padding-left: 0;
- }
- .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-whisper-file,
- .small-chat-box .content .layui-whisper-file{display: block; text-align: center; }
- .small-chat-box .content .layui-whisper-file{color: #333;}
- .small-chat-box .content .layui-whisper-file:hover{opacity: 0.9}
- .small-chat-box .content .layui-whisper-file i{font-size: 80px; line-height: 80px;}
- .small-chat-box .content .layui-whisper-file cite{display: block; line-height: 20px; font-size: 14px;}
- .small-chat-box .content .layui-whisper-audio{text-align: center; cursor: pointer;}
- .small-chat-box .content .layui-whisper-audio .layui-icon{position: relative; top: 5px; font-size: 24px;}
- .small-chat-box .content .layui-whisper-audio p{margin-top: 3px;}
- .small-chat-box .content .layui-whisper-video{width: 120px; height: 80px; line-height: 80px; background-color: #333; text-align: center; border-radius: 3px;}
- .small-chat-box .content .layui-whisper-video .layui-icon{font-size: 36px; cursor: pointer; color: #fff;}
- .small-chat-box .content .whisper-chat-system span { display: inline-block; line-height: 30px; padding: 0 15px; border-radius: 3px; background-color: #e2e2e2; cursor: default; font-size: 14px;}
|