michat.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. ::-webkit-scrollbar {
  2. width: 3px;
  3. height: 3px;
  4. }
  5. ::-webkit-scrollbar-track {
  6. border-radius: 2px;
  7. background: #ccc !important;
  8. }
  9. ::-webkit-scrollbar-thumb {
  10. border-radius: 5%;
  11. background-color: #666 !important;
  12. }
  13. .michat-message-icon {
  14. width: 60px;
  15. height: 60px;
  16. right: 50px;
  17. bottom: 50px;
  18. padding: 0;
  19. z-index: 998;
  20. position: fixed;
  21. line-height: 60px;
  22. border-radius: 50%;
  23. }
  24. .michat-message-icon .layui-icon {
  25. color: #fff;
  26. margin: 0;
  27. font-size: 28px;
  28. }
  29. .michat-message-icon .michat-message-number {
  30. width: 25px;
  31. height: 25px;
  32. font-size: 12px;
  33. background: red;
  34. font-weight: 400;
  35. line-height: 25px;
  36. border-radius: 50%;
  37. position: absolute;
  38. margin: -3px 5px 0 0;
  39. }
  40. .michat {
  41. color: #333;
  42. border: 1px solid rgba(0, 0, 0, 0.05);
  43. font-family: \5FAE\8F6F\96C5\9ED1, serif;
  44. background: #fff url(image/bg.jpg) no-repeat center center;
  45. background-size: cover;
  46. }
  47. .michat .layui-layer-title {
  48. background-color: rgba(245, 245, 245, 0.8);
  49. }
  50. .michat .layui-layer-content {
  51. height: auto !important;
  52. overflow: visible;
  53. }
  54. .michat-left {
  55. top: 0;
  56. left: 0;
  57. bottom: 0;
  58. width: 220px;
  59. z-index: 1000;
  60. overflow: hidden;
  61. position: absolute;
  62. background-color: rgba(220, 220, 220, 0.9);
  63. }
  64. .michat-left:hover {
  65. overflow-y: auto;
  66. }
  67. .michat-left li {
  68. margin: 5px;
  69. cursor: pointer;
  70. position: relative;
  71. line-height: 40px;
  72. white-space: nowrap;
  73. border-radius: 3px;
  74. padding: 5px 30px 5px 5px;
  75. }
  76. .michat-left li:hover {
  77. background-color: #E2E2E2;
  78. }
  79. .michat-left li:hover .layui-icon {
  80. display: inline-block;
  81. }
  82. .michat-left li.michat-this {
  83. background-color: #F3F3F3;
  84. }
  85. .michat-left li .layui-icon {
  86. top: 7px;
  87. right: 5px;
  88. color: #555;
  89. display: none;
  90. font-size: 22px;
  91. position: absolute;
  92. }
  93. .michat-left li .layui-icon:hover {
  94. color: #c00;
  95. }
  96. .michat-left li img {
  97. width: 40px;
  98. height: 40px;
  99. border-radius: 10%;
  100. }
  101. .michat-left li span {
  102. width: 130px;
  103. font-size: 14px;
  104. overflow: hidden;
  105. white-space: nowrap;
  106. text-overflow: ellipsis;
  107. }
  108. .michat-left li * {
  109. font-size: 14px;
  110. vertical-align: top;
  111. display: inline-block;
  112. *display: inline;
  113. *zoom: 1;
  114. }
  115. .michat-right {
  116. position: relative;
  117. margin-left: 220px;
  118. background-color: rgba(255, 255, 255, 0.9);
  119. }
  120. .michat-right-header {
  121. height: 80px;
  122. cursor: default;
  123. overflow: hidden;
  124. position: relative;
  125. }
  126. .michat-right-header img {
  127. top: 15px;
  128. left: 20px;
  129. width: 50px;
  130. height: 50px;
  131. position: absolute;
  132. border-radius: 100%;
  133. }
  134. .michat-right-header-username {
  135. top: 20px;
  136. left: 60px;
  137. font-size: 16px;
  138. position: relative;
  139. }
  140. .michat-right-list {
  141. height: 300px;
  142. padding: 15px 15px 5px;
  143. overflow-x: hidden;
  144. overflow-y: auto;
  145. border-bottom: 1px solid #ccc;
  146. }
  147. .michat-right-list li {
  148. position: relative;
  149. font-size: 0;
  150. min-height: 68px;
  151. padding-left: 60px;
  152. margin-bottom: 10px;
  153. }
  154. .michat-right-list-item-user {
  155. left: 3px;
  156. position: absolute;
  157. }
  158. .michat-right-list-item-user img {
  159. width: 40px;
  160. height: 40px;
  161. border-radius: 100%;
  162. }
  163. .michat-right-list-item-text {
  164. display: inline-block;
  165. *display: inline;
  166. *zoom: 1;
  167. color: #333;
  168. padding: 8px 15px;
  169. position: relative;
  170. font-size: 14px;
  171. line-height: 22px;
  172. border-radius: 3px;
  173. vertical-align: top;
  174. word-break: break-all;
  175. background-color: #e2e2e2;
  176. }
  177. .michat-right-list-item-text:hover {
  178. opacity: 0.9;
  179. }
  180. .michat-right-list-item-text:after {
  181. top: 8px;
  182. left: -16px;
  183. width: 0;
  184. height: 0;
  185. content: '';
  186. overflow: hidden;
  187. position: absolute;
  188. border-width: 10px;
  189. border-style: solid dashed dashed;
  190. border-color: transparent #e2e2e2 transparent transparent;
  191. }
  192. .michat-right-list-item-text a {
  193. color: #33DF83;
  194. }
  195. .michat-right-list-item-text img {
  196. max-width: 100%;
  197. vertical-align: middle;
  198. }
  199. .michat-right-list-right {
  200. text-align: right;
  201. padding-left: 0;
  202. padding-right: 60px;
  203. }
  204. .michat-right-list-right .michat-right-list-item-user {
  205. left: auto;
  206. right: 3px;
  207. }
  208. .michat-right-list-right .michat-right-list-item-text {
  209. color: #fff;
  210. text-align: left;
  211. margin-left: 0;
  212. background-color: #5FB878;
  213. }
  214. .michat-right-list-right .michat-right-list-item-text:after {
  215. left: auto;
  216. right: -16px;
  217. border-color: transparent transparent transparent #5FB878;
  218. }
  219. .michat-right-list-right .michat-right-list-item-text a {
  220. color: #fff;
  221. }
  222. .michat-right-footer-textarea {
  223. display: block;
  224. margin-left: 10px;
  225. }
  226. .michat-right-footer-textarea textarea {
  227. width: 100%;
  228. height: 110px;
  229. border: none;
  230. resize: none;
  231. display: block;
  232. padding: 8px 0 0;
  233. overflow: auto;
  234. background: 0 0;
  235. line-height: 22px;
  236. }
  237. .michat-right-footer-textarea textarea:focus {
  238. outline: 0;
  239. }
  240. .michat-right-footer-textarea textarea::-webkit-input-placeholder {
  241. color: #ccc;
  242. }
  243. .michat-right-footer-bottom {
  244. right: 10px;
  245. height: 32px;
  246. bottom: 10px;
  247. cursor: pointer;
  248. font-size: 0;
  249. position: absolute;
  250. line-height: 32px;
  251. }
  252. .michat-right-footer-bottom span {
  253. display: inline-block;
  254. *display: inline;
  255. *zoom: 1;
  256. color: #fff;
  257. padding: 0 20px;
  258. font-size: 14px;
  259. margin-left: 5px;
  260. line-height: 32px;
  261. border-radius: 3px;
  262. vertical-align: top;
  263. background-color: #5FB878;
  264. }
  265. .michat-right-footer-bottom span:hover {
  266. background-color: #69BC80;
  267. }
  268. .michat-right-footer-bottom span:active {
  269. background-color: #59B573;
  270. }
  271. /*# sourceMappingURL=michat.css.map */