whisper.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. *{margin:0;padding:0}
  2. body {
  3. font-family: "open sans","Helvetica Neue",Helvetica,Arial,sans-serif;
  4. font-size: 13px;
  5. color: #676a6c;
  6. overflow-x: hidden;
  7. }
  8. .small-chat-box {
  9. background: #fff;
  10. width: 100%;
  11. height: 100%;
  12. }
  13. .small-chat-box .heading {
  14. background: #2f4050;
  15. padding: 15px 15px;
  16. font-weight: 700;
  17. color: #fff;
  18. }
  19. .small-chat-box .chat-date {
  20. opacity: .6;
  21. font-size: 10px;
  22. font-weight: 400;
  23. }
  24. .small-chat-box .content {
  25. text-align: center;
  26. padding: 15px;
  27. }
  28. .slimScrollDiv >* {
  29. overflow: hidden;
  30. }
  31. .small-chat-box .content>div {
  32. padding-bottom: 10px;
  33. }
  34. .small-chat-box .content .author-name {
  35. font-weight: 700;
  36. margin-bottom: 3px;
  37. font-size: 11px;
  38. }
  39. .small-chat-box .chat-date {
  40. opacity: .6;
  41. font-size: 10px;
  42. font-weight: 400;
  43. }
  44. .small-chat-box a{
  45. text-decoration: none;
  46. color: #fff;
  47. }
  48. .small-chat-box .content .chat-mine {
  49. text-align: right;
  50. padding-left: 0;
  51. }
  52. .small-chat-box .content .chat-other {
  53. text-align: left;
  54. padding-left: 0;
  55. }
  56. .small-chat-box .content .chat-mine .chat-text {
  57. margin-left: 0;
  58. text-align: left;
  59. background-color: #2F4056;
  60. color: #fff;
  61. }
  62. .small-chat-box .content .chat-text {
  63. position: relative;
  64. line-height: 22px;
  65. margin-top: 5px;
  66. padding: 8px 15px;
  67. background-color: #e2e2e2;
  68. border-radius: 3px;
  69. color: #333;
  70. word-break: break-all;
  71. max-width: 462px;
  72. }
  73. .small-chat-box .content .chat-text{
  74. display: inline-block;
  75. vertical-align: top;
  76. font-size: 14px;
  77. }
  78. .small-chat-box .content .chat-mine .chat-text:after {
  79. left: auto;
  80. right: -10px;
  81. border-top-color: #2F4056;
  82. }
  83. .small-chat-box .content .chat-text:after {
  84. content: '';
  85. position: absolute;
  86. left: -10px;
  87. top: 13px;
  88. width: 0;
  89. height: 0;
  90. border-style: solid dashed dashed;
  91. border-color: #e2e2e2 transparent transparent;
  92. overflow: hidden;
  93. border-width: 10px;
  94. }
  95. .small-chat-box .form-chat {
  96. padding: 10px 10px 5px 10px;
  97. }
  98. .small-chat-box .form-chat .input-group {
  99. position: relative;
  100. display: table;
  101. border-collapse: separate;
  102. }
  103. .small-chat-box .form-chat .input-group .form-control, .input-group-addon, .input-group-btn {
  104. display: table-cell;
  105. }
  106. .small-chat-box .form-chat .input-group-sm>.form-control, .input-group-sm>.input-group-addon, .input-group-sm>.input-group-btn>.btn {
  107. height: 35px;
  108. padding: 5px 10px;
  109. font-size: 12px;
  110. line-height: 1.5;
  111. }
  112. .small-chat-box .form-chat .input-group .form-control {
  113. position: relative;
  114. z-index: 2;
  115. float: left;
  116. width: 100%;
  117. margin-bottom: 0;
  118. }
  119. .small-chat-box .form-chat .input-group .form-control, .single-line {
  120. background-color: #FFF;
  121. background-image: none;
  122. border: 1px solid #2F4056;
  123. box-shadow: none;
  124. }
  125. .small-chat-box .form-chat .input-group .input-group-btn {
  126. position: relative;
  127. font-size: 0;
  128. white-space: nowrap;
  129. }
  130. .small-chat-box .form-chat .input-group .input-group-addon, .input-group-btn {
  131. white-space: nowrap;
  132. vertical-align: middle;
  133. }
  134. .input-group .form-control, .input-group-addon, .input-group-btn {
  135. display: table-cell;
  136. }
  137. .input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group {
  138. z-index: 2;
  139. margin-left: -1px;
  140. }
  141. .small-chat-box .form-chat .input-group .btn-primary {
  142. background-color: #2F4056;
  143. border-color: #2F4056;
  144. color: #FFF;
  145. }
  146. .chat-area{font-family: "open sans","Helvetica Neue",Helvetica,Arial,sans-serif;font-size: 13px;}
  147. .small-chat-box .form-chat .input-group .input-group-btn>.btn {
  148. position: relative;
  149. }
  150. .small-chat-box .form-chat .input-group .btn {
  151. display: inline-block;
  152. padding: 6px 12px;
  153. margin-bottom: 0;
  154. font-size: 14px;
  155. font-weight: 400;
  156. line-height: 1.42857143;
  157. text-align: center;
  158. white-space: nowrap;
  159. vertical-align: middle;
  160. -ms-touch-action: manipulation;
  161. touch-action: manipulation;
  162. cursor: pointer;
  163. -webkit-user-select: none;
  164. -moz-user-select: none;
  165. -ms-user-select: none;
  166. user-select: none;
  167. background-image: none;
  168. border: 1px solid transparent;
  169. }
  170. .small-chat-box .pull-right{float:right}
  171. .small-chat-box .face-box{width:350px;background:#fff;position:absolute;z-index:99999999;top:190px}
  172. .small-chat-box .face-box:after{content:'';display:block;clear:both}
  173. .small-chat-box .face-box ul li{
  174. cursor: pointer;
  175. float: left;
  176. border: 1px solid #e8e8e8;
  177. height: 22px;
  178. width: 26px;
  179. overflow: hidden;
  180. margin: -1px 0 0 -1px;
  181. padding: 4px 2px;
  182. text-align: center;
  183. }
  184. .layui-whisper-file,
  185. .small-chat-box .content .layui-whisper-file{display: block; text-align: center; }
  186. .small-chat-box .content .layui-whisper-file{color: #333;}
  187. .small-chat-box .content .layui-whisper-file:hover{opacity: 0.9}
  188. .small-chat-box .content .layui-whisper-file i{font-size: 80px; line-height: 80px;}
  189. .small-chat-box .content .layui-whisper-file cite{display: block; line-height: 20px; font-size: 14px;}
  190. .small-chat-box .content .layui-whisper-audio{text-align: center; cursor: pointer;}
  191. .small-chat-box .content .layui-whisper-audio .layui-icon{position: relative; top: 5px; font-size: 24px;}
  192. .small-chat-box .content .layui-whisper-audio p{margin-top: 3px;}
  193. .small-chat-box .content .layui-whisper-video{width: 120px; height: 80px; line-height: 80px; background-color: #333; text-align: center; border-radius: 3px;}
  194. .small-chat-box .content .layui-whisper-video .layui-icon{font-size: 36px; cursor: pointer; color: #fff;}
  195. .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;}