common.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. *{padding:0;margin:0}
  2. .floatRight{float: right;}
  3. .clear{clear: both;}
  4. .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  5. font-family: inherit;
  6. font-weight: 500;
  7. line-height: 1.2;
  8. color: inherit;
  9. }
  10. .el-menu.el-menu--horizontal{
  11. border-bottom: none;
  12. padding-bottom: 4px;
  13. }
  14. .el-menu--horizontal>.el-menu-item.is-active{
  15. border-bottom: 3px solid #409EFF;
  16. }
  17. .chatBg .el-tabs__header{margin: 0;}
  18. .faceBtn, .faceBtn:after, .faceBtn {
  19. border: 1px solid;
  20. }
  21. .iconBtns{
  22. border-top:1px solid #e4e4e4;
  23. border-bottom:1px solid #e4e4e4;
  24. padding: 2px 0;
  25. }
  26. .visitorFaceBtn{
  27. float: left;
  28. margin-left: 5px;
  29. }
  30. .visitorFaceBox{
  31. position: absolute;
  32. bottom: 105px;
  33. }
  34. .kefuFaceBox{
  35. position: absolute;
  36. bottom: 0px;
  37. z-index: 999;
  38. }
  39. .faceBtn {
  40. -webkit-border-radius: 50%;
  41. -moz-border-radius: 50%;
  42. -o-border-radius: 50%;
  43. border-radius: 50%;
  44. height: 28px;
  45. width: 28px;
  46. display: inline-block;
  47. vertical-align: middle;
  48. font-style: normal;
  49. color: #9da0a0;
  50. text-align: left;
  51. text-indent: -9999px;
  52. direction: ltr;
  53. position: relative;
  54. cursor: pointer;
  55. }
  56. .faceBtn:before {
  57. content: '';
  58. pointer-events: none;
  59. -webkit-border-radius: 50%;
  60. -moz-border-radius: 50%;
  61. -o-border-radius: 50%;
  62. border-radius: 50%;
  63. box-shadow: 8px 0 0 0, 0 0 0 2px inset;
  64. height: 4px;
  65. width: 4px;
  66. left: 7px;
  67. position: absolute;
  68. top: 29%;
  69. }
  70. .faceBtn:after {
  71. content: '';
  72. pointer-events: none;
  73. -webkit-border-radius: 50%;
  74. -moz-border-radius: 50%;
  75. -o-border-radius: 50%;
  76. border-radius: 50%;
  77. -webkit-transform: translateX(-50%);
  78. -moz-transform: translateX(-50%);
  79. -ms-transform: translateX(-50%);
  80. -o-transform: translateX(-50%);
  81. transform: translateX(-50%);
  82. border-top-color: transparent;
  83. border-left-color: transparent;
  84. border-right-color: transparent;
  85. height: 15px;
  86. left: 50%;
  87. position: absolute;
  88. top: 10%;
  89. width: 15px;
  90. }
  91. .imageBtn {
  92. width: 32px;
  93. height: 23px;
  94. overflow: hidden;
  95. display: inline-block;
  96. vertical-align: middle;
  97. position: relative;
  98. font-style: normal;
  99. color: #9da0a0;
  100. text-align: left;
  101. text-indent: -9999px;
  102. direction: ltr;
  103. border: 1px solid;
  104. }
  105. .imageBtn:before {
  106. content: '';
  107. position: absolute;
  108. width: 17px;
  109. height: 16px;
  110. left: -2px;
  111. top: 10px;
  112. -webkit-transform: rotate(45deg);
  113. -moz-transform: rotate(45deg);
  114. -ms-transform: rotate(45deg);
  115. -o-transform: rotate(45deg);
  116. transform: rotate(45deg);
  117. box-shadow: inset 0 0 0 32px, 10px -6px 0 0;
  118. }
  119. .imageBtn:after {
  120. content: '';
  121. -webkit-border-radius: 50%;
  122. -moz-border-radius: 50%;
  123. -o-border-radius: 50%;
  124. border-radius: 50%;
  125. position: absolute;
  126. width: 3px;
  127. height: 3px;
  128. box-shadow: inset 0 0 0 32px;
  129. top: 5px;
  130. right: 5px
  131. }
  132. .visitorImageBtn{
  133. float: left;
  134. margin-left: 20px;
  135. margin-top: 2px;
  136. }
  137. .faceBox{
  138. width: 100%;
  139. background: #fff;
  140. z-index: 99999999;
  141. padding: 2px;
  142. display: none;
  143. }
  144. .faceBoxList{
  145. list-style: none;
  146. padding: 0;
  147. margin: 0;
  148. }
  149. .faceBoxList li{
  150. cursor: pointer;
  151. float: left;
  152. border: 1px solid #e8e8e8;
  153. width: 28px;
  154. overflow: hidden;
  155. margin: -1px 0 0 -1px;
  156. padding: 4px 2px;
  157. text-align: center;
  158. }
  159. @-webkit-keyframes bounce-up {
  160. 25% {-webkit-transform: translateY(10px);}
  161. 50%, 100% {-webkit-transform: translateY(0);}
  162. 75% {-webkit-transform: translateY(-10px);}
  163. }
  164. @keyframes bounce-up {
  165. 25% {transform: translateY(10px);}
  166. 50%, 100% {transform: translateY(0);}
  167. 75% {transform: translateY(-10px);}
  168. }
  169. .animate-bounce-up{ -webkit-animation: bounce-up 1.4s linear infinite;animation: bounce-up 1.4s linear infinite;}
  170. .mainLogo{
  171. font-size: 20px;
  172. font-weight: bold;
  173. color: #fff;
  174. }
  175. .mainVersion{
  176. margin-left: 5px;
  177. font-size: 12px;
  178. }
  179. .el-submenu__title i{
  180. color: #fff;
  181. }
  182. .el-container{
  183. height: 100%;
  184. }
  185. .el-aside{
  186. height: 100%;
  187. background: #222d32;
  188. }
  189. .textDark {color: #343a40;}
  190. .bgInfo {background-color: #17a2b8}
  191. .bgSuccess {background-color: #28a745}
  192. .bgDanger {background-color: #dc3545}
  193. .bgInfo {background-color: #17a2b8}
  194. .smallBox {
  195. border-radius: .25rem;
  196. box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
  197. display: block;
  198. margin-bottom: 20px;
  199. position: relative;
  200. padding: 10px;
  201. color: #fff;
  202. }
  203. .settingMain h2{
  204. margin-bottom: 20px;
  205. }
  206. .settingMain h3{
  207. font-size: 24px;
  208. margin-bottom: 10px;
  209. }
  210. .bigPic{
  211. background: #ccc;
  212. width: 100%;
  213. height: 100%;
  214. position: fixed;
  215. top: 0;
  216. left: 0;
  217. z-index: 999;
  218. display: none;
  219. text-align: center;
  220. }
  221. /*客服聊天主板*/
  222. .chatLeft .el-tabs__nav,.chatRight .el-tabs__nav {
  223. margin-left: 20px;
  224. }
  225. .onlineUsers {
  226. padding: 5px;
  227. height: 40px;
  228. line-height: 40px;
  229. font-size: 14px;
  230. border-bottom: solid 1px #e6e6e6;
  231. }
  232. .onlineUsers a{
  233. color: #333;
  234. }
  235. .onlineUsers:hover,.onlineUsers.cur{background-color: #f0f9eb;color: #67C23A;}
  236. .imgGray {-webkit-filter: grayscale(100%);-ms-filter: grayscale(100%);filter: grayscale(100%);filter: gray;color:#888;}
  237. .hasLastMsg{line-height: normal;}
  238. .lastNewMsg{font-size: 12px;color: #7f7f7f;margin-top: 4px;overflow: hidden;height: 16px;}
  239. /*客服页*/
  240. .chatKfPageApp{
  241. max-width: 800px;
  242. margin:0 auto;
  243. }
  244. .chatCenter{background: #fff;max-width: 800px;margin: 0 auto;}
  245. .chatContext{
  246. width: 100%;
  247. text-align: left;
  248. position: relative;
  249. margin-bottom: 105px;
  250. }
  251. .chatBox{
  252. /*overflow-y: auto;*/
  253. overflow-x: hidden;
  254. /*margin-bottom: 80px;*/
  255. }
  256. .chatVisitorPage .chatBox{
  257. min-height: 540px;
  258. padding: 0 4px;
  259. }
  260. .chatBox .el-col{margin:10px 0;}
  261. .chatUser{
  262. line-height: 24px;
  263. font-size: 12px;
  264. white-space: nowrap;
  265. color: #999;
  266. text-align: left;
  267. }
  268. .chatContent{
  269. background-color: rgb(166,212,242);
  270. color: #000;
  271. border: 1px solid rgb(152, 199, 230);
  272. padding: 8px 15px;
  273. word-break: break-all;
  274. position: relative;
  275. border-radius: 5px;
  276. display: inline-block;
  277. margin-left: 6px;
  278. }
  279. .chatContent:after {
  280. content: '';
  281. position: absolute;
  282. left: -10px;
  283. top: 13px;
  284. width: 0;
  285. height: 0;
  286. border-style: dashed;
  287. border-color: transparent;
  288. overflow: hidden;
  289. border-width: 10px;
  290. border-top-style: solid;
  291. border-top-color: rgb(166,212,242);
  292. }
  293. .chatBoxMe .chatContent{float: right;background-color: rgb(152,225,101);border: 1px solid rgb(145, 215, 96);}
  294. .chatBoxMe .chatContent:after{border-top-color: rgb(152,225,101);}
  295. .chatBoxMe .el-col-3{float: right;text-align: right;}
  296. .chatBoxMe .chatUser{text-align: right}
  297. .chatBoxMe .chatContent:after{left:auto;right: -10px;}
  298. .chatArea{float: left;width: 85%;margin: 4px 0 0 4px;}
  299. .chatArea .el-textarea__inner{padding: 1px 5px}
  300. .btnArea{width: 10%;float: right;}
  301. @media screen and (max-width: 500px) {
  302. body{background: #fff}
  303. .chatArea {width: 70%;}
  304. .btnArea{width: 20%;}
  305. }
  306. .chatTitle{height: 30px;line-height: 30px;color: #1989fa}
  307. .chatBoxSend{background: #f5f5f5;position: fixed;bottom: 0px;width: 100%;height: 105px;max-width: 800px;}
  308. .chatBoxSendBtn{float: right;margin: 12px 4px 0 0;}
  309. .footContact{text-align: center;}
  310. .footContact a{font-size: 12px;color: #999;text-decoration: none;}
  311. .chatTime{text-align: center;color: #bbb;margin: 5px 0;font-size: 12px;}
  312. .chatTimeHide{display: none;}
  313. .clear{clear:both;}