郑许地铁

myindex.css 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. em {
  2. font-style: normal;
  3. }
  4. .headpic{
  5. width: 45px;
  6. height: 45px;
  7. border-radius: 50%;
  8. margin-right: 8px;
  9. }
  10. /*会话样式*/
  11. .service {
  12. width: 100%;
  13. height: 100%;
  14. display: none;
  15. color: #333;
  16. overflow: hidden;
  17. position: relative;
  18. margin: 0;
  19. }
  20. .roll {
  21. height: 100%;
  22. width: 180px;
  23. overflow-x: hidden;
  24. }
  25. /*客服列表*/
  26. .serviceList {
  27. overflow-y: auto;
  28. position: absolute;
  29. left: 0px;
  30. top: 0;
  31. height: 100%;
  32. width: 197px;
  33. background-color: #e2e2e2;
  34. }
  35. .serviceList li {
  36. display: block;
  37. }
  38. .serviceList li:hover {
  39. background-color: #f0f0f0;
  40. }
  41. .serviceList li * {
  42. vertical-align: top;
  43. }
  44. .serviceList li i {
  45. margin-right: 8px;
  46. font-size: 25px;
  47. color: #007DDB;
  48. }
  49. .service .layui-tab-title .layui-this {
  50. background-color: #fff;
  51. color: #000;
  52. }
  53. /*会话窗体*/
  54. .chatFrame {
  55. position: absolute;
  56. right: 0px;
  57. top: 0;
  58. height: 100%;
  59. width: 602px;
  60. box-sizing: border-box;
  61. }
  62. .chatFrame>.layui-tab-item {
  63. width: 100%;
  64. height: 100%;
  65. overflow: hidden;
  66. }
  67. /*聊天信息显示*/
  68. .chatFrame>div>.layim-chat-main {
  69. height: calc(100% - 160px);
  70. overflow-x: hidden;
  71. overflow-y: auto;
  72. width: calc(100% + 17px)
  73. }
  74. .chatFrame>div>.layim-chat-main ul li {
  75. position: relative;
  76. font-size: 0;
  77. margin-bottom: 10px;
  78. padding-left: 60px;
  79. min-height: 68px;
  80. }
  81. .chatFrame>div>.layim-chat-main ul .layim-chat-mine {
  82. text-align: right;
  83. padding-left: 0;
  84. padding-right: 60px;
  85. }
  86. .chatFrame>div>.layim-chat-main ul .layim-chat-mine span {
  87. color: #007DDB;
  88. }
  89. .chatFrame .layim-chat-user {
  90. position: absolute;
  91. }
  92. .chatFrame .layim-chat-mine .layim-chat-user {
  93. left: auto;
  94. right: 3px;
  95. }
  96. .chatFrame .layim-chat-text,
  97. .chatFrame .layim-chat-user {
  98. display: inline-block;
  99. vertical-align: top;
  100. font-size: 14px;
  101. }
  102. .chatFrame .layim-chat-user span {
  103. width: 40px;
  104. height: 40px;
  105. border-radius: 100%;
  106. font-size: 40px
  107. }
  108. .chatFrame .layim-chat-user cite {
  109. position: absolute;
  110. left: 60px;
  111. top: -2px;
  112. width: 500px;
  113. line-height: 24px;
  114. font-size: 12px;
  115. white-space: nowrap;
  116. color: #999;
  117. text-align: left;
  118. font-style: normal;
  119. }
  120. .chatFrame .layim-chat-mine .layim-chat-user cite {
  121. left: auto;
  122. right: 60px;
  123. text-align: right;
  124. }
  125. .chatFrame .layim-chat-mine .layim-chat-user cite i {
  126. padding-left: 0;
  127. padding-right: 15px;
  128. }
  129. .chatFrame .layim-chat-user cite i {
  130. padding-left: 15px;
  131. font-style: normal;
  132. }
  133. .chatFrame .layim-chat-user {
  134. position: absolute;
  135. left: 3px;
  136. }
  137. .chatFrame .layim-chat-mine .layim-chat-text {
  138. margin-left: 0;
  139. text-align: left;
  140. background-color: #5FB878;
  141. color: #fff;
  142. }
  143. .chatFrame .layim-chat-text {
  144. position: relative;
  145. line-height: 22px;
  146. margin-top: 25px;
  147. padding: 8px 15px;
  148. background-color: #e2e2e2;
  149. border-radius: 3px;
  150. color: #333;
  151. word-break: break-all;
  152. }
  153. .chatFrame .layim-chat-text:after {
  154. content: '';
  155. position: absolute;
  156. left: -10px;
  157. top: 13px;
  158. width: 0;
  159. height: 0;
  160. border-style: solid dashed dashed;
  161. border-color: #e2e2e2 transparent transparent;
  162. overflow: hidden;
  163. border-width: 10px;
  164. }
  165. .chatFrame .layim-chat-mine .layim-chat-text:after {
  166. left: auto;
  167. right: -10px;
  168. border-top-color: #5FB878;
  169. }
  170. /*底部区域*/
  171. .chatFrame .layim-chat-footer {
  172. height: 158px;
  173. border-top: 1px solid #e6e6e6;
  174. }
  175. .chatFrame .layim-chat-footer .tools {
  176. height: 38px;
  177. line-height: 38px;
  178. }
  179. .chatFrame .layim-chat-footer .tools li {
  180. float: left;
  181. font-size: 26px;
  182. color: #333;
  183. cursor: pointer;
  184. padding: 0 8px;
  185. }
  186. .chatFrame .layim-chat-footer .tools li:hover {
  187. background-color: #f0f0f0;
  188. }
  189. .chatFrame .layim-chat-footer .tools li i {
  190. font-size: inherit !important;
  191. color: inherit;
  192. }
  193. .chatFrame .layim-chat-footer .tools .chatHistory {
  194. font-size: 14px;
  195. float: right;
  196. }
  197. /*输入框*/
  198. .chatFrame .layim-chat-footer .layim-chat-textarea textarea {
  199. display: block;
  200. width: 100%;
  201. padding: 5px 0 0;
  202. height: 83px;
  203. line-height: 20px;
  204. border: none;
  205. overflow: auto;
  206. resize: none;
  207. background: 0 0;
  208. }
  209. /*底部按钮*/
  210. .chatFrame .layim-chat-footer .layim-chat-bottom span {
  211. background-color: #5FB878;
  212. display: inline-block;
  213. padding: 0 20px;
  214. font-size: 14px;
  215. color: #fff;
  216. line-height: 32px;
  217. border-radius: 5px;
  218. float: right;
  219. margin-right: 8px;
  220. cursor: pointer;
  221. -webkit-user-select: none;
  222. -moz-user-select: none;
  223. -ms-user-select: none;
  224. user-select: none;
  225. }
  226. .chatFrame .layim-chat-footer .layim-chat-bottom span:hover {
  227. opacity: .8;
  228. }
  229. /*通知部分*/
  230. .newsTips {
  231. width: 100%;
  232. height: 100%;
  233. padding: 0 10px;
  234. box-sizing: border-box;
  235. overflow: hidden;
  236. }
  237. /*隐藏滚动条的滚动容器*/
  238. .newsTips .newsBox {
  239. /*width: calc(100% + 27px);*/
  240. height: 100%;
  241. overflow-x: hidden;
  242. overflow-y: auto;
  243. }
  244. .newsTips ul li {
  245. padding: 15px 0;
  246. text-indent: 2rem;
  247. cursor: pointer;
  248. border-bottom: 1px solid #e6e6e6;
  249. -webkit-user-select: none;
  250. -moz-user-select: none;
  251. -ms-user-select: none;
  252. user-select: none;
  253. }
  254. .newsTips ul li:hover {
  255. background-color: #f9f9f9;
  256. }
  257. .newsTips ul li p {
  258. display: -webkit-box;
  259. -webkit-box-orient: vertical;
  260. -webkit-line-clamp: 3;
  261. overflow: hidden;
  262. }