style.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  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: 50px;
  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: 50px;
  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. z-index: 100;
  177. }
  178. .chat-bottom-area-tool {
  179. position: relative;
  180. padding: 0 8px;
  181. height: 38px;
  182. line-height: 38px;
  183. font-size: 0;
  184. }
  185. .chat-bottom-area-tool img {
  186. margin: 7px 10px;
  187. }
  188. .chat-bottom-area-textarea {
  189. margin-left: 10px;
  190. }
  191. .chat-bottom-area-textarea textarea {
  192. display: block;
  193. width: 100%;
  194. padding: 5px 0 0;
  195. height: 68px;
  196. line-height: 20px;
  197. border: none;
  198. overflow: auto;
  199. resize: none;
  200. background: 0 0;
  201. }
  202. .chat-bottom-area-send-space {
  203. position: relative;
  204. height: 46px;
  205. }
  206. .chat-bottom-area-send {
  207. position: absolute;
  208. right: 15px;
  209. top: 3px;
  210. height: 32px;
  211. line-height: 32px;
  212. cursor: pointer;
  213. }
  214. .chat-bottom-area-send-btn {
  215. border-radius: 3px 0 0 3px;
  216. }
  217. .chat-bottom-area-send span {
  218. display: inline-block;
  219. vertical-align: top;
  220. font-size: 14px;
  221. line-height: 32px;
  222. margin-left: 5px;
  223. padding: 0 20px;
  224. background-color: #5FB878;
  225. color: #fff;
  226. border-radius: 3px;
  227. }
  228. .chat-sender {
  229. clear: both;
  230. font-size: 80%;
  231. }
  232. .chat-sender div:nth-of-type(1) {
  233. float: left;
  234. }
  235. .chat-sender div:nth-of-type(2) {
  236. margin: 0 50px 2px 50px;
  237. padding: 0px;
  238. color: #848484;
  239. font-size: 70%;
  240. text-align: left;
  241. }
  242. .chat-sender div:nth-of-type(3) {
  243. background-color: white;
  244. /*float: left;*/
  245. margin: 0 50px 10px 50px;
  246. padding: 10px 10px 10px 10px;
  247. border-radius: 7px;
  248. text-indent: -12px;
  249. }
  250. .chat-receiver {
  251. clear: both;
  252. font-size: 80%;
  253. }
  254. .chat-receiver div:nth-of-type(1) {
  255. float: right;
  256. }
  257. .chat-receiver div:nth-of-type(2) {
  258. margin: 0px 50px 2px 50px;
  259. padding: 0px;
  260. color: #848484;
  261. font-size: 70%;
  262. text-align: right;
  263. }
  264. .chat-receiver div:nth-of-type(3) {
  265. /*float:right;*/
  266. background-color: #b2e281;
  267. margin: 0px 50px 10px 50px;
  268. padding: 10px 10px 10px 10px;
  269. border-radius: 7px;
  270. }
  271. .chat-receiver div:first-child img,
  272. .chat-sender div:first-child img {
  273. width: 40px;
  274. height: 40px;
  275. /*border-radius: 10%;*/
  276. }
  277. .chat-left_triangle {
  278. height: 0px;
  279. width: 0px;
  280. border-width: 6px;
  281. border-style: solid;
  282. border-color: transparent white transparent transparent;
  283. position: relative;
  284. left: -22px;
  285. top: 3px;
  286. }
  287. .chat-right_triangle {
  288. height: 0px;
  289. width: 0px;
  290. border-width: 6px;
  291. border-style: solid;
  292. border-color: transparent transparent transparent #b2e281;
  293. position: relative;
  294. right: -22px;
  295. top: 3px;
  296. }
  297. .chat-notice {
  298. clear: both;
  299. font-size: 70%;
  300. color: white;
  301. text-align: center;
  302. margin-top: 15px;
  303. margin-bottom: 15px;
  304. }
  305. .chat-notice span {
  306. background-color: #cecece;
  307. line-height: 25px;
  308. border-radius: 5px;
  309. padding: 5px 10px;
  310. }