style.css 7.2 KB

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