style.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  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. display: flex;
  13. display: -webkit-box;
  14. display: -webkit-flex;
  15. flex-direction: column;
  16. -ms-flex-direction: column;
  17. }
  18. .o2_im_chat_list_top {
  19. margin-bottom: 20px;
  20. height: 40px;
  21. background-color: rgb(248, 248, 248);
  22. border-bottom: 1px solid rgb(204, 204, 204);
  23. }
  24. .o2_im_chat_list_top .add {
  25. background: url(../x_component_IMV2/$Main/default/icons/add.png) left center no-repeat;
  26. height: 40px;
  27. cursor: pointer;
  28. margin-left: 14px;
  29. text-align: center;
  30. line-height: 40px;
  31. color: #848484;
  32. padding-left: 24px;
  33. float: left;
  34. }
  35. .o2_im_chat_list_top .group {
  36. height: 40px;
  37. cursor: pointer;
  38. margin-left: 14px;
  39. text-align: center;
  40. line-height: 40px;
  41. color: #848484;
  42. padding-left: 24px;
  43. float: left;
  44. }
  45. .o2_im_chat_list_top .search_out {
  46. margin-right: 40px;
  47. height: 40px;
  48. }
  49. .o2_im_chat_list_top .search_icon {
  50. float: left;
  51. width: 40px;
  52. height: 40px;
  53. background: url(../x_component_IMV2/$Main/default/icons/search.png) center center no-repeat;
  54. cursor: pointer;
  55. }
  56. .o2_im_chat_list_top .search_input_out {
  57. margin-left: 40px; text-align: left;
  58. }
  59. .o2_im_chat_list_top .search_input {
  60. margin-top: 7px;
  61. width: 96%;
  62. height: 24px;
  63. line-height: 24px;
  64. border: 0px;
  65. font-family: "Microsoft YaHei";
  66. font-size: 12px;
  67. color: rgb(153, 153, 153);
  68. background: transparent;
  69. user-select: auto;
  70. }
  71. .o2_im_chat_list_top .add_button {
  72. height: 50px;
  73. width: 160px;
  74. color: rgb(51, 51, 51);
  75. font-size: 16px;
  76. line-height: 50px;
  77. padding-left: 10px;
  78. padding-right: 10px;
  79. cursor: pointer;
  80. margin: 0 auto;
  81. border:1px solid rgb(204, 204, 204);
  82. }
  83. .o2_im_chat_list_top .add_button .icon {
  84. height: 50px;
  85. width: 30px;
  86. float: left;
  87. background: url(../x_component_IMV2/$Main/default/icons/icon_newapply.png) center center no-repeat;
  88. }
  89. .o2_im_chat_list_top .add_button .text {
  90. line-height: 50px;
  91. height: 50px;
  92. float: left;
  93. }
  94. .o2_im_chat_list .item {
  95. overflow: hidden;
  96. height: 60px;
  97. margin: 0px;
  98. }
  99. .o2_im_chat_list .item .base {
  100. height: 60px;
  101. cursor: pointer;
  102. }
  103. .o2_im_chat_list .item .normal {
  104. background-color: rgb(253, 253, 253);
  105. }
  106. .o2_im_chat_list .item .check {
  107. background-color: rgb(228, 228, 228);
  108. }
  109. .o2_im_chat_list .item .avatar {
  110. background-position: center center;
  111. background-repeat: no-repeat;
  112. margin-left: 16px;
  113. height: 48px;
  114. width: 48px;
  115. border-radius: 24px;
  116. margin-top: 6px;
  117. background-color: rgb(255, 255, 255);
  118. float: left;
  119. }
  120. .o2_im_chat_list .item .avatar .img {
  121. width: 48px;
  122. height: 48px;
  123. border: 0px;
  124. border-radius: 24px;
  125. }
  126. .o2_im_chat_list .item .body {
  127. height: 59px;
  128. margin-left: 16px;
  129. border-bottom: 1px solid rgb(221, 221, 221);
  130. }
  131. .o2_im_chat_list .item .body_up {
  132. height:30px;
  133. line-height: 30px;
  134. margin-left: 56px;
  135. margin-right: 14px;
  136. }
  137. .o2_im_chat_list .item .body_up .body_title {
  138. float:left;
  139. color: rgb(51, 51, 51);
  140. overflow:hidden;
  141. }
  142. .o2_im_chat_list .item .body_up .body_time {
  143. float: right;
  144. color: rgb(191, 191, 191);
  145. font-size: 12px;
  146. overflow:hidden;
  147. }
  148. .o2_im_chat_list .item .body_down {
  149. margin-left: 8px;
  150. margin-top: 5px;
  151. max-width: 120px;
  152. height:20px;
  153. line-height: 20px;
  154. float:left;
  155. overflow:hidden;
  156. font-size: 12px;
  157. color: #aaaaaa;
  158. white-space: nowrap;
  159. text-overflow:ellipsis;
  160. }
  161. .o2_im_chat_list_conv {
  162. flex: 1;
  163. overflow: auto;
  164. }
  165. .o2_im_chat_content {
  166. height: 100%;
  167. margin-left: 259px;
  168. overflow: hidden;
  169. background-color: rgb(255, 255, 255);
  170. opacity: 1;
  171. display: flex;
  172. display: -webkit-box;
  173. display: -webkit-flex;
  174. flex-direction: column;
  175. -ms-flex-direction: column;
  176. }
  177. .o2_im_chat_content_title_more {
  178. background-image: url(../x_component_IMV2/$Main/default/icons/more.png);
  179. background-position: center center;
  180. background-repeat: no-repeat;
  181. height: 30px;
  182. width: 64px;
  183. float: right;
  184. cursor: pointer;
  185. display: none;
  186. }
  187. .o2_im_chat_content_title_menu {
  188. width: 98px;
  189. position: absolute;
  190. right: 24px;
  191. top: 61px;
  192. background-color: white;
  193. border-radius: 12px;
  194. box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  195. display: none;
  196. z-index: 10000;
  197. }
  198. .o2_im_chat_content_title_menu_item {
  199. height: 48px;
  200. text-align: center;
  201. line-height: 48px;
  202. cursor: pointer;
  203. }
  204. /* 聊天界面 */
  205. .chat-emoji-box {
  206. position: absolute;
  207. width:630px;
  208. height: 260px;
  209. left: 5px;
  210. bottom: 155px;
  211. background-color: #ffffff;
  212. border: 1px solid #F1F1F1;
  213. padding-top: 8px;
  214. border-radius: 8px;
  215. box-shadow: 5px 5px #1d1d1d10;
  216. z-index: 100;
  217. }
  218. .chat-emoji-img {
  219. width: 32px;
  220. height: 32px;
  221. float: left;
  222. margin: 5px;
  223. }
  224. .chat-title {
  225. height: 30px;
  226. text-align: center;
  227. padding-top: 15px;
  228. padding-bottom: 15px;
  229. background-color: #ffffff;
  230. border-bottom: 1px solid #F1F1F1;
  231. }
  232. .chat-title span {
  233. line-height: 30px;
  234. }
  235. .chat-content {
  236. background-color: #ebebeb;
  237. overflow: auto;
  238. flex:1;
  239. }
  240. .chat-bottom-area {
  241. height: 155px;
  242. overflow: hidden;
  243. border-top: 1px solid #F1F1F1;
  244. background: #ffffff;
  245. }
  246. .chat-bottom-area-tool {
  247. position: relative;
  248. padding: 0 8px;
  249. height: 38px;
  250. line-height: 38px;
  251. font-size: 0;
  252. }
  253. .chat-bottom-area-tool img {
  254. margin: 7px 10px;
  255. }
  256. .chat-bottom-area-textarea {
  257. margin-left: 10px;
  258. }
  259. .chat-bottom-area-textarea textarea {
  260. display: block;
  261. width: 100%;
  262. padding: 5px 0 0;
  263. height: 68px;
  264. line-height: 20px;
  265. border: none;
  266. overflow: auto;
  267. resize: none;
  268. background: 0 0;
  269. }
  270. .chat-bottom-area-send-space {
  271. position: relative;
  272. height: 46px;
  273. }
  274. .chat-bottom-area-send {
  275. position: absolute;
  276. right: 15px;
  277. top: 3px;
  278. height: 32px;
  279. line-height: 32px;
  280. cursor: pointer;
  281. }
  282. .chat-bottom-area-send-btn {
  283. border-radius: 3px 0 0 3px;
  284. }
  285. .chat-bottom-area-send span {
  286. display: inline-block;
  287. vertical-align: top;
  288. font-size: 14px;
  289. line-height: 32px;
  290. margin-left: 5px;
  291. padding: 0 20px;
  292. background-color: #5FB878;
  293. color: #fff;
  294. border-radius: 3px;
  295. }
  296. .chat-sender {
  297. clear: both;
  298. /* font-size: 80%; */
  299. }
  300. .chat-sender div:nth-of-type(1) {
  301. float: left;
  302. }
  303. .chat-sender div:nth-of-type(2) {
  304. margin: 0 50px 2px 50px;
  305. padding: 0px;
  306. color: #848484;
  307. /* font-size: 70%; */
  308. text-align: left;
  309. }
  310. .chat-sender div:nth-of-type(3) {
  311. background-color: white;
  312. /*float: left;*/
  313. margin: 0 50px 10px 50px;
  314. padding: 10px 10px 10px 10px;
  315. border-radius: 7px;
  316. text-indent: -12px;
  317. }
  318. .chat-sender .img-chat {
  319. width:192px;
  320. height:144px;
  321. display: table-cell;
  322. vertical-align: middle;
  323. }
  324. .chat-sender .img-chat img {
  325. max-width: 100%;
  326. max-height: 100%;
  327. display: block;
  328. margin: auto;
  329. }
  330. .chat-receiver {
  331. clear: both;
  332. /* font-size: 80%; */
  333. }
  334. .chat-receiver div:nth-of-type(1) {
  335. float: right;
  336. }
  337. .chat-receiver div:nth-of-type(2) {
  338. margin: 0px 50px 2px 50px;
  339. padding: 0px;
  340. color: #848484;
  341. /* font-size: 70%; */
  342. text-align: right;
  343. }
  344. .chat-receiver .img-chat {
  345. width:192px;
  346. height:144px;
  347. display: table-cell;
  348. vertical-align: middle;
  349. }
  350. .chat-receiver .img-chat img {
  351. max-width: 100%;
  352. max-height: 100%;
  353. display: block;
  354. margin: auto;
  355. }
  356. .chat-receiver div:nth-of-type(3) {
  357. /*float:right;*/
  358. background-color: #b2e281;
  359. margin: 0px 50px 10px 50px;
  360. padding: 10px 10px 10px 10px;
  361. border-radius: 7px;
  362. }
  363. .chat-receiver div:first-child img,
  364. .chat-sender div:first-child img {
  365. width: 40px;
  366. height: 40px;
  367. /*border-radius: 10%;*/
  368. }
  369. .chat-left_triangle {
  370. height: 0px;
  371. width: 0px;
  372. border-width: 6px;
  373. border-style: solid;
  374. border-color: transparent white transparent transparent;
  375. position: relative;
  376. left: -22px;
  377. top: 3px;
  378. }
  379. .chat-right_triangle {
  380. height: 0px;
  381. width: 0px;
  382. border-width: 6px;
  383. border-style: solid;
  384. border-color: transparent transparent transparent #b2e281;
  385. position: relative;
  386. right: -22px;
  387. top: 3px;
  388. }
  389. .chat-content-emoji {
  390. width: 32px;
  391. height: 32px;
  392. margin: 5px;
  393. }
  394. .chat-notice {
  395. clear: both;
  396. font-size: 70%;
  397. color: white;
  398. text-align: center;
  399. margin-top: 15px;
  400. margin-bottom: 15px;
  401. }
  402. .chat-notice span {
  403. background-color: #cecece;
  404. line-height: 25px;
  405. border-radius: 5px;
  406. padding: 5px 10px;
  407. }