郑州第一人民医院UI

chat.css 7.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506
  1. .open_chat {
  2. font-size: 14px;
  3. line-height: 18px;
  4. text-align: center;
  5. padding: 6px 5px;
  6. -webkit-box-sizing: border-box;
  7. -moz-box-sizing: border-box;
  8. box-sizing: border-box;
  9. position: fixed;
  10. top: 50%;
  11. right: 26px;
  12. z-index: 100;
  13. background: #0489ac;
  14. color: #fff;
  15. cursor: pointer;
  16. display: block;
  17. }
  18. .open_chat .before {
  19. position: absolute;
  20. padding: 5px;
  21. background: red;
  22. border-radius: 50%;
  23. display: none;
  24. right: -4px;
  25. top: -4px;
  26. }
  27. .open_chat .before.show {
  28. display: block!important;
  29. }
  30. .open_chat .before.hide {
  31. display: none!important;
  32. }
  33. body {
  34. color: #4d4d4d;
  35. font: 14px/1.4em 'Helvetica Neue', Helvetica, 'Microsoft Yahei', Arial, sans-serif;
  36. /*background: #f5f5f5 url(../img/chat_bg.jpg) no-repeat center;*/
  37. background-size: cover;
  38. }
  39. ul,
  40. li {
  41. list-style: none;
  42. margin: 0;
  43. padding: 0;
  44. }
  45. #chat {
  46. margin: 20px auto;
  47. width: 900px;
  48. height: 600px;
  49. overflow: hidden;
  50. border-radius: 3px;
  51. position: absolute;
  52. z-index: 10000;
  53. right: 550px;
  54. top: 15%;
  55. /*display: none;*/
  56. box-shadow: 1px 1px 50px rgba(0, 0, 0, .3);
  57. }
  58. .actives {
  59. background: #249fea;
  60. border: 1px solid #249fea !important;
  61. color: #FFFFFF !important;
  62. }
  63. .chat_left,
  64. .chat_sidebar {
  65. float: left;
  66. s
  67. }
  68. .chat_left ul li {
  69. /*padding: 9pt 15px;*/
  70. padding: 10px 10px;
  71. border-bottom: 1px solid #292c33;
  72. cursor: pointer;
  73. color: #f4f4f4;
  74. }
  75. .chat_left ul li .chat_name {
  76. margin: 0;
  77. }
  78. .chat_sidebar {
  79. width: 200px;
  80. color: #f4f4f4;
  81. background-color: #2e3238;
  82. }
  83. #chat .chat_left,
  84. #chat .chat_main,
  85. #chat .chat_sidebar,
  86. .message_mincon {
  87. height: 100%;
  88. }
  89. #chat .chat_main,
  90. .message_mincon {
  91. position: relative;
  92. /*overflow: hidden;*/
  93. background-color: #eee;
  94. }
  95. .ver_middle {
  96. vertical-align: middle;
  97. }
  98. #chat .chat_left {
  99. width: 70px;
  100. background: #2f3339;
  101. border-right: 1px solid #292c33;
  102. }
  103. /*chat_sidebar开始*/
  104. .pic_card {
  105. padding: 9pt;
  106. border-bottom: 1px solid #24272c;
  107. }
  108. .chat_name {
  109. display: inline-block;
  110. margin: 0 0 0 15px;
  111. font-size: 1pc;
  112. vertical-align: middle;
  113. font-size: 14px;
  114. }
  115. .chat_sidebar_foot {
  116. margin-top: 10px;
  117. }
  118. .sidebar_foot_seach {
  119. padding: 0 10px;
  120. width: 100%;
  121. font-size: 9pt;
  122. color: #fff;
  123. height: 30px;
  124. line-height: 30px;
  125. border: 1px solid #3a3a3a;
  126. border-radius: 4px;
  127. outline: 0;
  128. background-color: #26292e;
  129. }
  130. .chat_sidebar_list {
  131. height: 495px;
  132. overflow-y: auto;
  133. }
  134. .chat_sidebar_list li {
  135. /*padding: 9pt 15px;*/
  136. padding: 4pt 15px;
  137. border-bottom: 1px solid #292c33;
  138. cursor: pointer;
  139. -webkit-transition: background-color .1s;
  140. transition: background-color .1s;
  141. position: relative;
  142. }
  143. .chat_sidebar_list li.activess,
  144. .chat_left li.activess {
  145. background-color: hsla(0, 0%, 100%, .1);
  146. }
  147. .chat_sidebar_list li.activess .pieHide,
  148. .chat_sidebar_list li.activess .pieShow {
  149. display: none!important;
  150. }
  151. .chat_sidebar_list li .pieShow {
  152. display: block!important;
  153. }
  154. .chat_sidebar_list li.activess:hover,
  155. .chat_left li.activess:hover {
  156. background-color: hsla(0, 0%, 100%, .1);
  157. }
  158. /*.chat_sidebar_list li:hover,
  159. .chat_left li:hover {
  160. background-color: hsla(0, 0%, 100%, .03);
  161. }*/
  162. /*chat_sidebar结束*/
  163. /*聊天区域开始*/
  164. .message_count {
  165. display: inline-block;
  166. position: absolute;
  167. right: 0;
  168. border-radius: 50%;
  169. background: red;
  170. color: #fff;
  171. }
  172. .disnone {
  173. display: none;
  174. }
  175. .main_message {
  176. height: calc(100% - 160px);
  177. padding: 0 10pxchatlist_con;
  178. }
  179. .chat_person {
  180. position: absolute;
  181. width: 100%;
  182. top: 0;
  183. left: 0;
  184. height: 2pc;
  185. line-height: 2pc;
  186. border-bottom: 1px solid #ddd;
  187. background: #fff;
  188. }
  189. .main_message li {
  190. margin-bottom: 15px;
  191. }
  192. .main_message .message_time {
  193. margin: 7px 0;
  194. text-align: center;
  195. }
  196. .main_message .ver_middle {
  197. float: left;
  198. margin: 0 10px 0 0;
  199. border-radius: 3px;
  200. }
  201. .main_message .message_text {
  202. display: inline-block;
  203. position: relative;
  204. padding: 0 10px;
  205. max-width: calc(100% - 40px);
  206. min-height: 30px;
  207. line-height: 2.5;
  208. font-size: 9pt;
  209. text-align: left;
  210. word-break: break-all;
  211. background-color: #fafafa;
  212. border-radius: 4px;
  213. }
  214. .main_message .message_text:before {
  215. content: " ";
  216. position: absolute;
  217. top: 9px;
  218. right: 100%;
  219. border: 6px solid transparent;
  220. border-right-color: #fafafa;
  221. }
  222. .main_message .self {
  223. text-align: right;
  224. }
  225. .main_message .self .ver_middle {
  226. float: right;
  227. margin: 0 0 0 10px;
  228. }
  229. .main_message .self .message_text {
  230. background-color: #b2e281;
  231. }
  232. .main_message .self .message_text:before {
  233. right: inherit;
  234. left: 100%;
  235. border-right-color: transparent;
  236. border-left-color: #b2e281;
  237. }
  238. .main_sendMessage {
  239. position: absolute;
  240. width: 100%;
  241. bottom: 0;
  242. left: 0;
  243. height: 10pc;
  244. border-top: 1px solid #ddd;
  245. background: #fff;
  246. }
  247. .main_sendMessage textarea {
  248. padding: 10px;
  249. height: 80%;
  250. width: 100%;
  251. border: none;
  252. outline: 0;
  253. font-family: Micrsofot Yahei;
  254. resize: none;
  255. }
  256. .main_sendMessage .send_btn {
  257. height: 20%;
  258. text-align: right;
  259. color: #4d4d4d;
  260. padding-right: 20px;
  261. margin-top: -24px;
  262. }
  263. .main_sendMessage .send_btn button {
  264. border: 1px solid #ccc;
  265. background: #fff;
  266. outline: none;
  267. }
  268. .main_sendMessage .send_btn button:hover {
  269. background: #b2e281;
  270. }
  271. /*聊天区域结束*/
  272. /*后来添加改变的*/
  273. .more {
  274. display: block;
  275. text-align: center;
  276. }
  277. .more:hover {
  278. text-decoration: underline;
  279. }
  280. .tabMain {
  281. display: block;
  282. height: 100%;
  283. }
  284. .tabMain.activess {
  285. display: block!important;
  286. }
  287. .notice {
  288. display: block;
  289. text-align: center;
  290. color: red;
  291. }
  292. .chatlist_con {
  293. overflow-y: auto;
  294. width: 100%;
  295. height: 100%;
  296. padding: 20px 27px 60px;
  297. box-sizing: border-box;
  298. }
  299. .chat_main {
  300. float: left;
  301. width: 700px;
  302. }
  303. .closeds {
  304. position: absolute;
  305. right: 10px;
  306. top: 33%;
  307. display: none;
  308. }
  309. .pie {
  310. position: absolute;
  311. right: 30px;
  312. top: 33%;
  313. display: none;
  314. }
  315. .sidebar_list li {
  316. position: relative;
  317. }
  318. .sidebar_list li:hover .closeds {
  319. display: block;
  320. }
  321. .sidebar_list li .closeds:hover {
  322. color: red;
  323. }
  324. .close_icon {
  325. font-size: 27px;
  326. font-weight: 600;
  327. position: absolute;
  328. right: 21px;
  329. z-index: 40000;
  330. top: 10px;
  331. cursor: pointer;
  332. }
  333. .close_icon img{width: 20px;height: 15px;}
  334. .name {
  335. border-bottom: 1px solid rgb(221, 221, 221);
  336. text-align: left;
  337. font-size: 20px;
  338. padding: 16px 20px;
  339. color: rgb(0, 0, 0);
  340. cursor: move;
  341. }
  342. .reply_btn{
  343. border: 1px solid #ccc;
  344. background: #fff;
  345. outline: none;
  346. }
  347. .reply_btn:hover{
  348. background: #b2e281;
  349. }
  350. .con{
  351. position: absolute;
  352. bottom: 55px;
  353. right: 20px;
  354. width: 210px;
  355. max-height: 326px;
  356. overflow: auto;
  357. padding: 7px;
  358. background-color: rgb(236,254,255);
  359. z-index: 120;
  360. font-size: 9pt;
  361. border: 1px solid rgb(221,221,221);
  362. display: none;
  363. }
  364. .con li{
  365. padding: 5px 10px;
  366. margin-bottom: 4px;
  367. border-radius: 4px;
  368. }
  369. .con li:hover{
  370. background-color: rgb(36,159,234);
  371. }
  372. .replyType_cont{
  373. position: absolute;
  374. bottom: 45px;
  375. right: 26px;
  376. width: 165px;
  377. max-height: 326px;
  378. overflow: auto;
  379. padding: 7px;
  380. background-color:rgb(236,254,255);
  381. z-index: 1200;
  382. font-size: 9pt;
  383. border: 1px solid rgb(221,221,221);
  384. display: none;
  385. }
  386. .replyType_cont li{
  387. padding: 5px 10px;
  388. margin-bottom: 4px;
  389. border-radius: 4px;
  390. }
  391. .replyType_cont li:hover{
  392. background-color: rgb(36,159,234);
  393. }
  394. #preview{
  395. position: absolute;
  396. top: 7px;
  397. left: 10px;
  398. }
  399. .message_img img{
  400. width: 135px;
  401. height: 115px;
  402. background-size: 100% 100%;
  403. background-repeat: no-repeat;
  404. background-position: center;
  405. }
  406. #scwj{
  407. border: 1px solid rgb(204,204,204);
  408. outline: none;
  409. border-radius: 5px;
  410. }
  411. .imgDetial{
  412. background-color: rgb(72,72,72);
  413. width: 100%;
  414. height: 100%;
  415. position: absolute;
  416. top: 0;
  417. left: 0;
  418. z-index: 1000000;
  419. display: none;
  420. text-align: center;
  421. padding: 50px 0;
  422. overflow: auto;
  423. box-sizing: border-box;
  424. opacity: 0.95;
  425. }
  426. .closeIcon{
  427. font-size: 50px;
  428. color: #fff;
  429. position: absolute;
  430. top: 25px;
  431. right: 25px;
  432. cursor: pointer;
  433. display: inline-block;
  434. }
  435. /* .imgDetial img{
  436. max-width: 1300px;
  437. height: 800px;
  438. } */