chatroom.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  1. html, body {
  2. height: 100%;
  3. margin: 0px;
  4. padding: 0px;
  5. overflow: hidden;
  6. -webkit-touch-callout: none;
  7. -webkit-user-select: none;
  8. }
  9. .c-tips{
  10. display: inline-block;
  11. margin-right: 5px
  12. }
  13. .c-tips:before{
  14. content: "!";
  15. background: red;
  16. color: #fff;
  17. font-size: 14px;
  18. width: 20px;
  19. height: 20px;
  20. display: block;
  21. border-radius: 50%;
  22. text-align: center;
  23. }
  24. .time-tips div{
  25. background: #E1E1E1;
  26. display: inline-block;
  27. padding: 5px 10px;
  28. font-size: 14px;
  29. border-radius: 7px;
  30. }
  31. .time-tips a{
  32. margin-left: 10px;
  33. }
  34. .time-tips span{
  35. padding: 2px 10px;
  36. border-radius: 15px;
  37. color: #aaa;
  38. /*background-color: #E1E1E1;*/
  39. font-size: 12px;
  40. }
  41. .chat-left, .chat-right {
  42. display: -webkit-box;
  43. clear: both;
  44. overflow: hidden;
  45. padding: 10px 0;
  46. }
  47. .chat-right{
  48. -webkit-box-direction: reverse;
  49. }
  50. .chat-left > dt{
  51. float: none;
  52. }
  53. .chat-right > dt {
  54. float: none;
  55. }
  56. .chat-right .word-bread{
  57. white-space: pre-wrap;
  58. word-wrap: break-word;
  59. position: relative;
  60. min-height: 18px;
  61. font-size: 15px;
  62. display: inline-block;
  63. max-width: 82%;
  64. background: #17b3ec;
  65. border: 1px solid #17b3ec;
  66. border-radius: 6px;
  67. padding: 8px 15px;
  68. box-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
  69. text-align: left;
  70. }
  71. .new-messg{
  72. margin-bottom: 4px;
  73. display: flex;
  74. display: -webkit-flex;
  75. width: 100%;
  76. }
  77. .new-messg .new-mess-p{
  78. padding: 1px 10px 1px 26px;
  79. border-radius: 20px;
  80. color: #fff;
  81. background: url('../message/images/xitongtixing_im_icon.png') no-repeat;
  82. background-color: #17B3EC!important;
  83. background-position:8px center;
  84. background-size:14px 14px;
  85. justify-content: flex-start;
  86. -webkit-justify-content: flex-start;
  87. }
  88. .chat-right .new-messg{
  89. justify-content: flex-end;
  90. -webkit-justify-content:flex-end;
  91. }
  92. .word-bread.new-sty{
  93. background: #fff!important;
  94. border-color:#17b3ec!important;
  95. }
  96. a.view-detail{
  97. float:right;
  98. text-decoration: none!important;
  99. color:#17b3ec!important;
  100. }
  101. .xf-word{
  102. word-break: break-all;
  103. }
  104. .word-bread.new-sty:after{
  105. background: #fff!important;
  106. border-color:#17b3ec!important;
  107. }
  108. .chat-right .word-bread.word-article{background: #fff;}
  109. /*链接类消息显示*/
  110. .chat-right .word-article{
  111. width: 82%;
  112. text-align: left;
  113. }
  114. .chat-left .word-article{
  115. width: 82%;
  116. text-align: left;
  117. }
  118. .chat-right > div.c-content{
  119. -webkit-box-flex: 1;
  120. text-align: right;
  121. }
  122. .chat-right .word-bread:after{
  123. content: "";
  124. position: absolute;
  125. top: 5px;
  126. right: -5px;
  127. display: block;
  128. width: 8px;
  129. height: 8px;
  130. background: #17b3ec;
  131. border-color: #17b3ec;
  132. border-style: solid;
  133. border-width: 1px 0 0 1px;
  134. -webkit-transform: rotate(135deg);
  135. -moz-transform: rotate(135deg);
  136. transform: rotate(135deg);
  137. }
  138. .chat-right .word-bread.word-article:after{background: #fff;}
  139. .chat-left .word-bread{
  140. /*float: left;*/
  141. white-space: pre-wrap;
  142. word-wrap: break-word;
  143. position: relative;
  144. min-height: 18px;
  145. font-size: 15px;
  146. display: inline-block;
  147. max-width: 82%;
  148. background: #fff;
  149. border: 1px solid #e1e1e1;
  150. border-radius: 6px;
  151. padding: 8px 15px;
  152. box-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
  153. }
  154. .word-bread-img {
  155. padding: 2px!important;
  156. }
  157. .word-bread-img img{
  158. position: relative;
  159. z-index: 2;
  160. border-radius: 6px;
  161. }
  162. .chat-left > div.c-content{
  163. -webkit-box-flex: 1;
  164. text-align: left;
  165. }
  166. .chat-left .word-bread:after{
  167. content: "";
  168. position: absolute;
  169. top: 5px;
  170. left: -5px;
  171. display: block;
  172. width: 8px;
  173. height: 8px;
  174. background: #fff;
  175. border-color: #e1e1e1;
  176. border-style: solid;
  177. border-width: 1px 0 0 1px;
  178. -webkit-transform: rotate(-45deg);
  179. -moz-transform: rotate(-45deg);
  180. transform: rotate(-45deg);
  181. }
  182. .chat-left span.name, .chat-right span.name{
  183. display: block;
  184. height: 24px;
  185. }
  186. .time-tips span:before, .time-tips span:after{
  187. height: 0!important;
  188. }
  189. .zi2{
  190. z-index: 2;
  191. }
  192. .doc-name {
  193. font-size: 15px;
  194. }
  195. /*#contain{position: absolute; width: 95%; top:45px; bottom: 52px; overflow-y: auto;}*/
  196. @media only screen and (max-width: 640px) {
  197. .doc-name {
  198. font-size: 13px;
  199. }
  200. }
  201. .chat-right.checkbox:after, .chat-left.checkbox:before{
  202. display: block;
  203. content: '\e472';
  204. line-height: 22px;
  205. width: 22px;
  206. height: 22px;
  207. border: 1px solid #ccc;
  208. border-radius: 50%;
  209. margin-right: 10px;
  210. color: #f2f4f6;
  211. text-align: left;
  212. font-size: 22px;
  213. box-sizing: border-box;
  214. font-family: Muiicons;
  215. }
  216. .chat-right.checked:after, .chat-left.checked:before{
  217. background: #17b3ec;
  218. border: none;
  219. }
  220. .log-oper{
  221. position: absolute;
  222. background: rgba(20, 20, 20, .8);
  223. border-radius: 8px;
  224. color: #fff;
  225. z-index: 10000;
  226. display: -webkit-box;
  227. display: none;
  228. }
  229. .log-oper li{
  230. margin: 8px 0px;
  231. padding: 0px 8px;
  232. font-size: 14px;
  233. border-right: 1px solid #fff;
  234. }
  235. .log-oper li:last-child{
  236. border-right:none ;
  237. }
  238. .log-oper div{
  239. position: absolute;
  240. /*width: 10px;
  241. height: 10px;
  242. background: transparent;*/
  243. /*-webkit-transform: rotate(45deg);*/
  244. top: 37px;
  245. border-left: 8px solid transparent;
  246. border-right: 8px solid transparent;
  247. border-top: 8px solid rgba(20, 20, 20, .8);
  248. border-bottom: 8px solid transparent;
  249. }
  250. .xzzd{
  251. z-index: 2;
  252. bottom: 0;
  253. left: 0;
  254. width: 100%;
  255. position: fixed;
  256. /*border-top-width: 1px;
  257. border-color: #e1e1e1;
  258. border-style: solid;
  259. background-color: #fff;
  260. display: block;*/
  261. padding: 8px 10px;
  262. text-align: center;
  263. /*margin: 0px 10px 7px 10px;*/
  264. font-size: 16px;
  265. /*border-radius: 8px;*/
  266. }
  267. .xzzd span{
  268. border:1px solid #e1e1e1;
  269. background-color: #fff;
  270. display: block;
  271. padding: 8px 10px;
  272. text-align: center;
  273. border-radius: 8px;
  274. box-shadow: 2px 2px 4px #e1e1e1;
  275. }
  276. .footer-bar{
  277. z-index: 3;
  278. bottom: 0;
  279. left: 0;
  280. width: 100%;
  281. position: fixed;
  282. border-top-width: 1px;
  283. border-color: #e1e1e1;
  284. border-style: solid;
  285. background-color: #fff;
  286. display: -webkit-box;
  287. }
  288. .c-hide{
  289. display: none;
  290. }
  291. .footer-bar li{
  292. margin: 10px 0px;
  293. -webkit-box-flex: 1;
  294. text-align: center;
  295. line-height: 27px;
  296. font-size: 16px;
  297. color: #333;
  298. }
  299. .footer-bar li:first-child{
  300. border-right: 1px solid #e1e1e1;
  301. }
  302. .footer-bar li > img{
  303. width: 22px;
  304. margin-right: 10px;
  305. }
  306. .header-group{
  307. line-height: 20px;
  308. }
  309. .btn-cancel{
  310. color: #fff;
  311. font-size: 16px;
  312. display: none;
  313. }
  314. .tw-add, .yy-add{
  315. width: 50px;
  316. margin: 3px 5px 3px 0;
  317. text-align: center;
  318. }
  319. .input-group input{
  320. margin-bottom: 0;
  321. }
  322. .topmsg{
  323. z-index: 4;
  324. background: #E1E1E1;
  325. line-height: 30px;
  326. position: fixed;
  327. top: 45px;
  328. width: 100%;
  329. text-align: center;
  330. color: #909090;
  331. }
  332. .topmsg a{
  333. text-decoration: underline;
  334. color: #17b3ec;
  335. margin-left: 20px;
  336. }
  337. .chat-left .urlMatch, .word-bread a{
  338. color: #17b3ec;
  339. text-decoration: underline;
  340. }
  341. .chat-right .urlMatch, .word-bread a{
  342. color: #063B52;
  343. text-decoration: underline;
  344. }
  345. .chat-right .article-content{
  346. -webkit-box-direction: normal;
  347. display: -webkit-box;
  348. height: 80px;
  349. font-size: 16px;
  350. padding: 5px 0px;
  351. overflow: hidden;
  352. }
  353. .chat-right .article-content>img{
  354. width: 60px;
  355. height: 60px;
  356. margin-top: 3px;
  357. }
  358. .chat-right .article-content>div{
  359. -webkit-box-flex: 1;
  360. overflow: hidden;
  361. padding: 1px 0px 0px 10px;
  362. }
  363. .chat-left .article-content{
  364. -webkit-box-direction: reverse;
  365. display: -webkit-box;
  366. height: 80px;
  367. padding: 5px 0px;
  368. overflow: hidden;
  369. }
  370. .chat-left .article-content>img{
  371. width: 60px;
  372. height: 60px;
  373. margin-top: 3px;
  374. }
  375. .chat-left .article-content>div{
  376. -webkit-box-flex: 1;
  377. overflow: hidden;
  378. padding: 1px 0px 0px 5px;
  379. }
  380. .forward{
  381. position: fixed;
  382. top: 95px;
  383. right: 40px;
  384. width: 60px;
  385. height: 60px;
  386. background: #444;
  387. color: #fff;
  388. z-index: 8;
  389. border-radius: 50%;
  390. text-align: center;
  391. padding: 9px;
  392. font-size: 16px;
  393. line-height: 20px;
  394. display: none;
  395. }
  396. .yy-hold{
  397. background: #ccc;
  398. }
  399. .rprogress {
  400. position: absolute;
  401. left: 50%;
  402. top: 50%;
  403. width: 140px;
  404. height: 140px;
  405. margin-left: -70px;
  406. margin-top: -70px;
  407. /*background-image: url(../images/arecord.png);
  408. background-repeat: no-repeat;
  409. background-position: center center;
  410. background-size: 30px 30px;*/
  411. background-color: rgba(0, 0, 0, 0.7);
  412. border-radius: 5px;
  413. display: none;
  414. -webkit-transition: .15s;
  415. z-index: 100;
  416. }
  417. .rschedule {
  418. background-color: rgba(0, 0, 0, 0);
  419. border: 5px solid rgba(0, 183, 229, 0.9);
  420. opacity: .9;
  421. border-left: 5px solid rgba(0, 0, 0, 0);
  422. border-right: 5px solid rgba(0, 0, 0, 0);
  423. border-radius: 50px;
  424. box-shadow: 0 0 15px #2187e7;
  425. width: 46px;
  426. height: 46px;
  427. position: absolute;
  428. left: 50%;
  429. top: 50%;
  430. margin-left: -23px;
  431. margin-top: -23px;
  432. -webkit-animation: spin 1s infinite linear;
  433. animation: spin 1s infinite linear;
  434. }
  435. @-webkit-keyframes spin {
  436. 0% {
  437. -webkit-transform: rotate(0deg);
  438. }
  439. 100% {
  440. -webkit-transform: rotate(360deg);
  441. }
  442. }
  443. @keyframes spin {
  444. 0% {
  445. transform: rotate(0deg);
  446. }
  447. 100% {
  448. transform: rotate(360deg);
  449. }
  450. }
  451. .r-sigh{
  452. display: none;
  453. border-radius: 50px;
  454. box-shadow: 0 0 15px #2187e7;
  455. width: 46px;
  456. height: 46px;
  457. position: absolute;
  458. left: 50%;
  459. top: 50%;
  460. margin-left: -23px;
  461. margin-top: -23px;
  462. text-align: center;
  463. line-height: 46px;
  464. font-size: 40px;
  465. font-weight: bold;
  466. color: #2187e7;
  467. }
  468. .rprogress-sigh{
  469. background-image: none !important;
  470. }
  471. .rprogress-sigh .rschedule{
  472. display: none !important;
  473. }
  474. .rprogress-sigh .r-sigh{
  475. display: block !important;
  476. }
  477. .rsalert {
  478. font-size: 12px;
  479. color: #bbb;
  480. text-align: center;
  481. position: absolute;
  482. border-radius: 5px;
  483. width: 130px;
  484. margin: 5px 5px;
  485. padding: 5px;
  486. left: 0px;
  487. bottom: 0px;
  488. }
  489. .chat-right .audio{
  490. padding: 8px 0;
  491. padding-right: 30px;
  492. background: url("../message/images/yuyin4_icon.png") no-repeat -20px 0 #17b3ec;
  493. background-size: 18px;
  494. -webkit-background-size: 18px;
  495. -moz-background-size: 18px;
  496. -o-background-size: 18px;
  497. background-position: 90% 50%;
  498. }
  499. .chat-right .audio.active{
  500. background: url("../message/images/yuyin3.gif") no-repeat -20px 0 #17b3ec;
  501. background-size: 18px;
  502. -webkit-background-size: 18px;
  503. -moz-background-size: 18px;
  504. -o-background-size: 18px;
  505. background-position: 90% 50%;
  506. }
  507. .chat-right .soundWav{
  508. /*height: 20px;display: -webkit-box;-webkit-box-direction: normal;*/
  509. height: 20px;
  510. display: -webkit-box;
  511. -webkit-box-direction: normal;
  512. min-width: 30px;
  513. -webkit-box-pack: end;
  514. padding-right: 5px;
  515. }
  516. .chat-right .soundWavT{
  517. display: block;margin-left: 10px;
  518. }
  519. .chat-right .soundWav img{
  520. position: relative;
  521. width: 40px;
  522. height: 30px;
  523. top: -5px;
  524. }
  525. .chat-left .audio{
  526. padding: 8px 0;
  527. padding-left: 30px;
  528. background: url("../message/images/yuyin_icon.png") no-repeat #fff;
  529. background-size: 18px;
  530. -webkit-background-size: 18px;
  531. -moz-background-size: 18px;
  532. -o-background-size: 18px;
  533. background-position: 10% 50%;
  534. }
  535. .chat-left .audio.active{
  536. background: url("../message/images/yuyin-2.gif") no-repeat #fff;
  537. background-size: 18px;
  538. -webkit-background-size: 18px;
  539. -moz-background-size: 18px;
  540. -o-background-size: 18px;
  541. background-position: 10% 50%;
  542. }
  543. .chat-left .soundWav{
  544. /*height: 20px;display: -webkit-box;-webkit-box-direction: reverse;*/
  545. height: 20px;
  546. display: -webkit-box;
  547. -webkit-box-direction: normal;
  548. min-width: 30px;
  549. -webkit-box-pack: start;
  550. padding-left: 5px;
  551. }
  552. .chat-left .soundWavT{
  553. display: block;margin-right: 10px;
  554. }
  555. .chat-left .soundWav img{
  556. position: relative;
  557. width: 40px;
  558. height: 30px;
  559. top: -5px;
  560. }
  561. .volumn {
  562. display: inline-block;
  563. height: 30px;
  564. line-height: 40px;
  565. text-align: center;
  566. position: relative;
  567. vertical-align: bottom;
  568. left: 84px;
  569. top: 60px;
  570. }
  571. .volumn div {
  572. height: 3px;
  573. margin-bottom: 0;
  574. background-color: white;
  575. margin-right: -12px;
  576. margin-bottom: 6px;
  577. }
  578. .volumn .line1 {
  579. width: 10px;
  580. -webkit-animation: line1 2s infinite ease-in-out alternate;
  581. }
  582. .volumn .line2 {
  583. width: 14px;
  584. -webkit-animation: line2 2s infinite ease-in-out alternate;
  585. }
  586. .volumn .line3 {
  587. width: 18px;
  588. -webkit-animation: line3 2s infinite ease-in-out alternate;
  589. }
  590. .volumn .line4 {
  591. width: 22px;
  592. /*-webkit-animation: line 0.6s infinite 1.8s ease-in-out alternate;*/
  593. /*-webkit-animation-delay: 3.6s;*/
  594. }
  595. @-webkit-keyframes line1 {
  596. 0% {
  597. opacity: 0;
  598. }
  599. 41%{
  600. opacity: 0;
  601. }
  602. 42%{
  603. opacity: 1;
  604. }
  605. 55% {
  606. opacity: 1;
  607. }
  608. 56% {
  609. opacity: 0;
  610. }
  611. 100% {
  612. opacity: 0;
  613. }
  614. }
  615. @-webkit-keyframes line2 {
  616. 0% {
  617. opacity: 0;
  618. }
  619. 27%{
  620. opacity: 0;
  621. }
  622. 28%{
  623. opacity: 1;
  624. }
  625. 73% {
  626. opacity: 1;
  627. }
  628. 74% {
  629. opacity: 0;
  630. }
  631. 100% {
  632. opacity: 0;
  633. }
  634. }
  635. @-webkit-keyframes line3 {
  636. 0% {
  637. opacity: 0;
  638. }
  639. 13%{
  640. opacity: 0;
  641. }
  642. 14%{
  643. opacity: 1;
  644. }
  645. 84% {
  646. opacity: 1;
  647. }
  648. 85% {
  649. opacity: 0;
  650. }
  651. 100% {
  652. opacity: 0;
  653. }
  654. }
  655. .input-msg{
  656. min-height: 32px;
  657. width: 100%;
  658. line-height: 22px;
  659. overflow-x: hidden;
  660. overflow-y: auto;
  661. /*_overflow-y: visible;
  662. _height: 32px;*/
  663. max-height: 120px;
  664. background-color: #fff;
  665. background-image: none;
  666. border: 1px solid #e1e1e1;
  667. padding: 5px 10px;
  668. font-size: 14px;
  669. border-radius: 4px;
  670. -webkit-user-select: auto;
  671. user-modify: read-write-plaintext-only;
  672. -webkit-user-modify: read-write-plaintext-only
  673. }
  674. .preview-video{padding: 6px 0px;max-height: 100px;position: relative;}
  675. .preview-video .video-img-right{width: 135px;height: 100px;border-radius: 15px;border-bottom-right-radius: 0px;border-top-right-radius: 0px;}
  676. .preview-video .video-img-left{width: 135px;height: 100px;border-radius: 15px;border-bottom-left-radius: 0px;border-top-left-radius: 0px;}
  677. .preview-video .bofang-icon-right{position: absolute;right: 65px;bottom: 50%;width: 25px;height: 25px;margin-right: -12px;top: 40px;z-index: 100;}
  678. .preview-video .bofang-icon-left{position: absolute;left: 65px;bottom: 50%;width: 25px;height: 25px;margin-right: -12px;top: 40px;z-index: 100;}
  679. .preview-video .shichang-time-right{position: absolute;right: 27px;bottom: 50%;width: auto;height: 18px;margin-right: -12px;top: 82px;font-size: 12px;color: #fff;}
  680. .preview-video .shichang-time-left{position: absolute;left: 5px;bottom: 50%;width: auto;height: 18px;margin-left: 90px;top: 82px;font-size: 12px;color: #fff}
  681. .preview-video .jianjiao-icon-right{top: 6px;z-index: 20;position: absolute;right: 12px;width: 20px;height: 100px;margin-right: -12px;}
  682. .preview-video .jianjiao-icon-left{top: 6px;z-index: 20;position: absolute;left: 12px;width: 20px;height: 100px;margin-left: -12px;}
  683. .yidu{margin-right: 5px;color: #666;font-size: 14px;}
  684. .yidu1{position: absolute;left: -37px;top: 40px;}
  685. .yidu2{position: absolute;right: 110px;top: 40px;width: 28px;}