You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

357 lines
7.4 KiB

  1. .lr-im-wrap {
  2. position:absolute;
  3. z-index:10;
  4. bottom:5px;
  5. right:5px;
  6. height:100%;
  7. }
  8. .lr-im-user-list {
  9. position:absolute;
  10. bottom:0px;
  11. right:0px;
  12. width:230px;
  13. height:100%;
  14. max-height:520px;
  15. border: 1px solid #BEBEBE;
  16. color: #333;
  17. box-shadow: 0 0 10px rgba(0,0,0,.2);
  18. border-top-left-radius: 4px;
  19. border-top-right-radius: 4px;
  20. -moz-user-select: none;
  21. -webkit-user-select: none;
  22. -ms-user-select: none;
  23. -khtml-user-select: none;
  24. user-select: none;
  25. background-color: #fff;
  26. padding-top:70px;
  27. font-size:14px;
  28. }
  29. .lr-im-header
  30. {
  31. position:absolute;
  32. top:0;
  33. left:0;
  34. width:100%;
  35. height: 40px;
  36. line-height: 40px;
  37. padding-left: 15px;
  38. border-bottom: 1px solid #DCDCDC;
  39. color: #354052;
  40. }
  41. .lr-im-close {
  42. margin-top: 5px;
  43. float: right;
  44. padding-right: 8px;
  45. }
  46. .lr-im-close a {
  47. text-decoration: none;
  48. float: right;
  49. font-size: 25px;
  50. font-weight: 700;
  51. line-height: 1;
  52. color: #000;
  53. text-shadow: 0 1px 0 #fff;
  54. filter: alpha(opacity=20);
  55. opacity: .2;
  56. }
  57. .lr-im-search {
  58. position: absolute;
  59. top:40px;
  60. left:0;
  61. width:100%;
  62. height: 30px;
  63. line-height: 30px;
  64. padding-right: 40px;
  65. border-bottom: 1px solid #DCDCDC;
  66. }
  67. .lr-im-search>input {
  68. width: 100%;
  69. height: 24px;
  70. line-height: 24px;
  71. border: none;
  72. padding-left:10px;
  73. background: transparent;
  74. font-family: Arial, 'Hiragino Sans GB', '微软雅黑', '黑体-简', Helvetica, sans-serif;
  75. font-size: 12px;
  76. -webkit-transition: box-shadow .30s ease-in-out;
  77. outline: 0;
  78. }
  79. .lr-im-search>i {
  80. position: absolute;
  81. right: 9px;
  82. top: 6px;
  83. color: #ccc;
  84. font-size: 16px;
  85. cursor: pointer;
  86. }
  87. .lr-im-body {
  88. position:relative;
  89. width:100%;
  90. height:100%;
  91. padding-top:38px;
  92. }
  93. .lr-im-body-nav {
  94. position:absolute;
  95. top:0;
  96. left:0;
  97. width:100%;
  98. height: 38px;
  99. background-color: #F4F4F4;
  100. border-bottom: 1px solid #DBDBDB;
  101. }
  102. .lr-im-body-nav > ul {
  103. position:relative;
  104. height: 100%;
  105. }
  106. .lr-im-body-nav>ul>li {
  107. position:relative;
  108. float: left;
  109. width: 76px;
  110. height: 100%;
  111. border-right: 1px solid #DBDBDB;
  112. cursor: pointer;
  113. }
  114. .lr-im-body-nav > ul > li:last-child {
  115. border-right:0px;
  116. }
  117. .lr-im-body-nav> ul > li> a {
  118. display: block;
  119. position: relative;
  120. text-align: center;
  121. height:100%;
  122. }
  123. .lr-im-body-nav> ul > li> a>i
  124. {
  125. width: 23px;
  126. height: 23px;
  127. font-size: 23px;
  128. color: #ccc;
  129. line-height: 37px;
  130. }
  131. .lr-im-body-nav> ul > li.active {
  132. height: 38px;
  133. background-color: #fff;
  134. }
  135. .lr-im-body-nav> ul > li.active i {
  136. color: #3498DB;
  137. }
  138. .learun_im_body_user {
  139. position:absolute;
  140. width:100%;
  141. height:100%;
  142. padding-top:38px;
  143. }
  144. .lr-userlist-content {
  145. position:relative;
  146. width:100%;
  147. height:100%;
  148. }
  149. .lr-im-body-list {
  150. position:relative;
  151. width:100%;
  152. height:100%;
  153. font-size: 14px;
  154. }
  155. .lr-im-chatlist > li {
  156. position:relative;
  157. width: 100%;
  158. height: 40px;
  159. line-height: 40px;
  160. padding-left:55px;
  161. cursor: pointer;
  162. }
  163. .lr-im-chatlist>li>.headimg {
  164. display:block;
  165. position:absolute;
  166. left:15px;
  167. top:5px;
  168. width: 30px;
  169. height: 30px;
  170. line-height:30px;
  171. border-radius: 50px;
  172. font-size:12px;
  173. text-align:center;
  174. }
  175. .lr-im-chatlist .lr-im-onename > span {
  176. display:none;
  177. }
  178. .lr-im-chatlist li:hover {
  179. background-color: #FDEBA8;
  180. }
  181. .lr-im-chatlist li:hover .lr-im-onename > span {
  182. display:initial;
  183. }
  184. .lr-top-department {
  185. position:absolute;
  186. top:0;
  187. left:0;
  188. height:38px;
  189. width:100%;
  190. padding:5px;
  191. }
  192. /*聊天窗口*/
  193. .lr-im-window {
  194. position:absolute;
  195. bottom: 0;
  196. right: 240px;
  197. width: 600px;
  198. height: 100%;
  199. max-height:520px;
  200. border: 1px solid #BEBEBE;
  201. background: #fff;
  202. box-shadow: 0 0 10px rgba(0,0,0,.2);
  203. border-top-left-radius: 4px;
  204. border-top-right-radius: 4px;
  205. padding:40px 0 150px 0;
  206. }
  207. /*聊天窗口内容*/
  208. .lr-im-window-chat {
  209. position:relative;
  210. width:100%;
  211. height:330px;
  212. color:#676a6c;
  213. }
  214. .lr-im-window-content {
  215. padding: 15px;
  216. height: auto;
  217. overflow: hidden;
  218. }
  219. .lr-im-window-content .author-name {
  220. margin-bottom: 3px;
  221. font-size: 11px;
  222. }
  223. .lr-im-window-content .left .chat-text{font-size: 12px;padding-right: 10px;vertical-align: top;line-height: 32px;}
  224. .lr-im-window-content .left .chat-date{font-size: 12px;color: #999;vertical-align: top;line-height: 32px;}
  225. .lr-im-window-content .right .chat-text{font-size: 12px;vertical-align: top;line-height: 32px;}
  226. .lr-im-window-content .right .chat-date{font-size: 12px;color: #999;padding-right: 10px;vertical-align: top;line-height: 32px;}
  227. .lr-im-window-content .left img{width: 30px;height: 30px;padding-right: 0;margin-right: 15px;border-radius:30px;}
  228. .lr-im-window-content .right img{width: 30px;height: 30px;padding-right: 0;margin-left: 15px;border-radius:30px;}
  229. .lr-im-window-content .chat-message{padding:8px 10px;margin-top:5px;border-radius:5px;font-size:11px;line-height:16px;max-width:80%;background:#f3f3f4;margin-bottom:10px}
  230. .lr-im-window-content .left{text-align:left;clear:both}
  231. .lr-im-window-content .left .chat-message{float:left;position: relative;background:#337ab7;color:#fff}
  232. .lr-im-window-content .left .chat-message em{display: block;width: 0;height: 0;border-width: 0 5px 5px;border-style: solid;border-color: transparent transparent #337ab7;position: absolute;top: -4px;left: 20px;margin-left: -10px;}
  233. .lr-im-window-content .right{text-align:right;clear:both}
  234. .lr-im-window-content .right .chat-message{float:right;position: relative;}
  235. .lr-im-window-content .right .chat-message em{display: block;width: 0;height: 0;border-width: 0 5px 5px;border-style: solid;border-color: transparent transparent #f3f3f4;position: absolute;top: -5px;right: 10px;margin-left: -10px;}
  236. .lr-im-window-header {
  237. position:absolute;
  238. top:0;
  239. left:0;
  240. width:100%;
  241. line-height: 40px;
  242. height: 40px;
  243. padding-left: 15px;
  244. border-bottom: 1px solid #DCDCDC;
  245. color: #fff;
  246. background: #2c3849;
  247. border-radius:4px 4px 0 0;
  248. }
  249. .lr-im-window-header .close {
  250. margin-top: 5px;
  251. float: right;
  252. padding-right: 8px;
  253. }
  254. .lr-im-window-header .close a {
  255. text-decoration: none;
  256. font-size: 25px;
  257. font-weight: 700;
  258. line-height: 1;
  259. color: #fff;
  260. text-shadow: 0 1px 0 #fff;
  261. }
  262. .lr-im-window-send {
  263. position:absolute;
  264. bottom:0;
  265. left:0;
  266. height:120px;
  267. width:100%;
  268. padding: 5px;
  269. }
  270. .lr-im-window-tool {
  271. position:absolute;
  272. bottom:120px;
  273. width:100%;
  274. height: 30px;
  275. line-height: 30px;
  276. background-color: #F4F4F4;
  277. padding-left: 10px;
  278. }
  279. /*.lr-im-window-tool>a> i {
  280. line-height: 30px;
  281. font-size: 22px;
  282. color: #666;
  283. font-weight: 500;
  284. cursor:pointer;
  285. }
  286. .lr-im-window-tool > a > span {
  287. margin-left:5px;
  288. line-height:30px;
  289. }*/
  290. .lr-im-window-tool-chatlogbtn {
  291. float: right;
  292. padding-right: 10px;
  293. cursor:pointer;
  294. }
  295. .lr-im-window-tool-chatlogbtn i {
  296. position: relative;
  297. top: 1px;
  298. font-size: 16px;
  299. color: #999;
  300. font-weight: 700;
  301. width:16px;
  302. }
  303. .lr-im-window-tool-face {
  304. }
  305. .lr-im-window-send textarea
  306. {
  307. overflow: hidden;
  308. height: 110px;
  309. width: 100%;
  310. border: 0px solid #DCDCDC;
  311. resize: none;
  312. font-family: Arial, 'Hiragino Sans GB', '微软雅黑', '黑体-简', Helvetica, sans-serif;
  313. font-size: 12px;
  314. -webkit-transition: box-shadow .30s ease-in-out;
  315. border: none;
  316. outline: 0;
  317. }