style.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. .o2_im_out {
  2. width: 100%;
  3. height: 100%;
  4. overflow: hidden;
  5. }
  6. .o2_im_chat_list {
  7. border-top: 1px solid rgb(255, 255, 255);
  8. border-right: 1px solid rgb(221, 221, 221);
  9. float: left;
  10. width: 257px;
  11. height: 100%;
  12. }
  13. .o2_im_chat_list_top {
  14. margin-bottom: 20px;
  15. height: 40px;
  16. background-color: rgb(248, 248, 248);
  17. border-bottom: 1px solid rgb(204, 204, 204);
  18. }
  19. .o2_im_chat_list_top .add {
  20. background: url(/x_component_IMV2/$Main/default/icons/add.png) center center no-repeat;
  21. width: 40px;
  22. height: 40px;
  23. cursor: pointer;
  24. float: right;
  25. }
  26. .o2_im_chat_list_top .search_out {
  27. margin-right: 40px;
  28. height: 40px;
  29. }
  30. .o2_im_chat_list_top .search_icon {
  31. float: left;
  32. width: 40px;
  33. height: 40px;
  34. background: url(/x_component_IMV2/$Main/default/icons/search.png) center center no-repeat;
  35. cursor: pointer;
  36. }
  37. .o2_im_chat_list_top .search_input_out {
  38. margin-left: 40px; text-align: left;
  39. }
  40. .o2_im_chat_list_top .search_input {
  41. margin-top: 7px;
  42. width: 96%;
  43. height: 24px;
  44. line-height: 24px;
  45. border: 0px;
  46. font-family: "Microsoft YaHei";
  47. font-size: 12px;
  48. color: rgb(153, 153, 153);
  49. background: transparent;
  50. user-select: auto;
  51. }
  52. .o2_im_chat_list_top .add_button {
  53. height: 50px;
  54. width: 160px;
  55. color: rgb(51, 51, 51);
  56. font-size: 16px;
  57. line-height: 50px;
  58. padding-left: 10px;
  59. padding-right: 10px;
  60. cursor: pointer;
  61. margin: 0 auto;
  62. border:1px solid rgb(204, 204, 204);
  63. }
  64. .o2_im_chat_list_top .add_button .icon {
  65. height: 50px;
  66. width: 30px;
  67. float: left;
  68. background: url(/x_component_IMV2/$Main/default/icons/icon_newapply.png) center center no-repeat;
  69. }
  70. .o2_im_chat_list_top .add_button .text {
  71. line-height: 50px;
  72. height: 50px;
  73. float: left;
  74. }
  75. .o2_im_chat_list .item {
  76. overflow: hidden;
  77. height: 60px;
  78. margin: 0px;
  79. }
  80. .o2_im_chat_list .item .base {
  81. height: 60px;
  82. cursor: pointer;
  83. }
  84. .o2_im_chat_list .item .normal {
  85. background-color: rgb(253, 253, 253);
  86. }
  87. .o2_im_chat_list .item .check {
  88. background-color: rgb(228, 228, 228);
  89. }
  90. .o2_im_chat_list .item .avatar {
  91. background-position: center center;
  92. background-repeat: no-repeat;
  93. margin-left: 16px;
  94. height: 48px;
  95. width: 48px;
  96. border-radius: 16px;
  97. margin-top: 6px;
  98. background-color: rgb(255, 255, 255);
  99. float: left;
  100. }
  101. .o2_im_chat_list .item .avatar .img {
  102. width: 48px;
  103. height: 48px;
  104. border: 0px;
  105. border-radius: 24px;
  106. }
  107. .o2_im_chat_list .item .body {
  108. height: 59px;
  109. margin-left: 16px;
  110. border-bottom: 1px solid rgb(221, 221, 221);
  111. }
  112. .o2_im_chat_list .item .body_up {
  113. height:30px;
  114. line-height: 30px;
  115. margin-left: 56px;
  116. margin-right: 14px;
  117. }
  118. .o2_im_chat_list .item .body_up .body_title {
  119. float:left;
  120. color: rgb(51, 51, 51);
  121. overflow:hidden;
  122. }
  123. .o2_im_chat_list .item .body_up .body_time {
  124. float: right;
  125. color: rgb(191, 191, 191);
  126. font-size: 12px;
  127. overflow:hidden;
  128. }
  129. .o2_im_chat_list .item .body_down {
  130. margin-left: 8px;
  131. margin-top: 5px;
  132. max-width: 120px;
  133. height:20px;
  134. line-height: 20px;
  135. float:left;
  136. overflow:hidden;
  137. font-size: 12px;
  138. color: #aaaaaa;
  139. white-space: nowrap;
  140. text-overflow:ellipsis;
  141. }
  142. .o2_im_chat_content {
  143. height: 100%;
  144. margin-left: 259px;
  145. overflow: hidden;
  146. background-color: rgb(255, 255, 255);
  147. opacity: 1;
  148. display: flex;
  149. display: -webkit-box;
  150. display: -webkit-flex;
  151. flex-direction: column;
  152. -ms-flex-direction: column;
  153. }
  154. /* 聊天界面 */
  155. .chat-title {
  156. height: 30px;
  157. text-align: center;
  158. padding-top: 15px;
  159. padding-bottom: 15px;
  160. background-color: #ffffff;
  161. border-bottom: 1px solid #F1F1F1;
  162. }
  163. .chat-title span {
  164. line-height: 30px;
  165. }
  166. .chat-content {
  167. background-color: #ebebeb;
  168. overflow: auto;
  169. flex:1;
  170. }
  171. .chat-bottom-area {
  172. height: 155px;
  173. overflow: hidden;
  174. border-top: 1px solid #F1F1F1;
  175. background: #ffffff;
  176. }
  177. .chat-bottom-area-tool {
  178. position: relative;
  179. padding: 0 8px;
  180. height: 38px;
  181. line-height: 38px;
  182. font-size: 0;
  183. }
  184. .chat-bottom-area-tool img {
  185. margin: 7px 10px;
  186. }
  187. .chat-bottom-area-textarea {
  188. margin-left: 10px;
  189. }
  190. .chat-bottom-area-textarea textarea {
  191. display: block;
  192. width: 100%;
  193. padding: 5px 0 0;
  194. height: 68px;
  195. line-height: 20px;
  196. border: none;
  197. overflow: auto;
  198. resize: none;
  199. background: 0 0;
  200. }
  201. .chat-bottom-area-send-space {
  202. position: relative;
  203. height: 46px;
  204. }
  205. .chat-bottom-area-send {
  206. position: absolute;
  207. right: 15px;
  208. top: 3px;
  209. height: 32px;
  210. line-height: 32px;
  211. cursor: pointer;
  212. }
  213. .chat-bottom-area-send-btn {
  214. border-radius: 3px 0 0 3px;
  215. }
  216. .chat-bottom-area-send span {
  217. display: inline-block;
  218. vertical-align: top;
  219. font-size: 14px;
  220. line-height: 32px;
  221. margin-left: 5px;
  222. padding: 0 20px;
  223. background-color: #5FB878;
  224. color: #fff;
  225. border-radius: 3px;
  226. }
  227. .chat-sender {
  228. clear: both;
  229. /* font-size: 80%; */
  230. }
  231. .chat-sender div:nth-of-type(1) {
  232. float: left;
  233. }
  234. .chat-sender div:nth-of-type(2) {
  235. margin: 0 50px 2px 50px;
  236. padding: 0px;
  237. color: #848484;
  238. /* font-size: 70%; */
  239. text-align: left;
  240. }
  241. .chat-sender div:nth-of-type(3) {
  242. background-color: white;
  243. /*float: left;*/
  244. margin: 0 50px 10px 50px;
  245. padding: 10px 10px 10px 10px;
  246. border-radius: 7px;
  247. text-indent: -12px;
  248. }
  249. .chat-receiver {
  250. clear: both;
  251. /* font-size: 80%; */
  252. }
  253. .chat-receiver div:nth-of-type(1) {
  254. float: right;
  255. }
  256. .chat-receiver div:nth-of-type(2) {
  257. margin: 0px 50px 2px 50px;
  258. padding: 0px;
  259. color: #848484;
  260. /* font-size: 70%; */
  261. text-align: right;
  262. }
  263. .chat-receiver div:nth-of-type(3) {
  264. /*float:right;*/
  265. background-color: #b2e281;
  266. margin: 0px 50px 10px 50px;
  267. padding: 10px 10px 10px 10px;
  268. border-radius: 7px;
  269. }
  270. .chat-receiver div:first-child img,
  271. .chat-sender div:first-child img {
  272. width: 40px;
  273. height: 40px;
  274. /*border-radius: 10%;*/
  275. }
  276. .chat-left_triangle {
  277. height: 0px;
  278. width: 0px;
  279. border-width: 6px;
  280. border-style: solid;
  281. border-color: transparent white transparent transparent;
  282. position: relative;
  283. left: -22px;
  284. top: 3px;
  285. }
  286. .chat-right_triangle {
  287. height: 0px;
  288. width: 0px;
  289. border-width: 6px;
  290. border-style: solid;
  291. border-color: transparent transparent transparent #b2e281;
  292. position: relative;
  293. right: -22px;
  294. top: 3px;
  295. }
  296. .chat-notice {
  297. clear: both;
  298. font-size: 70%;
  299. color: white;
  300. text-align: center;
  301. margin-top: 15px;
  302. margin-bottom: 15px;
  303. }
  304. .chat-notice span {
  305. background-color: #cecece;
  306. line-height: 25px;
  307. border-radius: 5px;
  308. padding: 5px 10px;
  309. }