chats.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. html,
  2. body {
  3. height: 100%;
  4. margin: 0px;
  5. padding: 0px;
  6. overflow: hidden;
  7. -webkit-touch-callout: none;
  8. -webkit-user-select: none;
  9. }
  10. footer {
  11. position: fixed;
  12. width: 100%;
  13. height: 50px;
  14. min-height: 50px;
  15. border-top: solid 1px #bbb;
  16. left: 0px;
  17. bottom: 0px;
  18. overflow: hidden;
  19. padding: 0px 50px 0px 15px;
  20. background-color: #fafafa;
  21. }
  22. .footer-left {
  23. position: absolute;
  24. width: 50px;
  25. height: 50px;
  26. left: 0px;
  27. bottom: 0px;
  28. text-align: center;
  29. vertical-align: middle;
  30. line-height: 100%;
  31. padding: 12px 4px;
  32. }
  33. .footer-right {
  34. position: absolute;
  35. width: 50px;
  36. height: 50px;
  37. right: 0px;
  38. bottom: 0px;
  39. text-align: center;
  40. vertical-align: middle;
  41. line-height: 100%;
  42. padding: 12px 5px;
  43. display: inline-block;
  44. }
  45. .footer-center {
  46. height: 100%;
  47. padding: 5px 0px;
  48. }
  49. .footer-center [class*=input] {
  50. width: 100%;
  51. height: 100%;
  52. border-radius: 5px;
  53. }
  54. .footer-center .input-text {
  55. background: #fff;
  56. border: solid 1px #ddd;
  57. padding: 10px !important;
  58. font-size: 16px !important;
  59. line-height: 18px !important;
  60. font-family: verdana !important;
  61. overflow: hidden;
  62. }
  63. .footer-center .input-sound {
  64. background-color: #eee;
  65. }
  66. .mui-content {
  67. height: 100%;
  68. padding: 44px 0px 50px 0px;
  69. overflow: auto;
  70. background-color: #f5f5f5;
  71. }
  72. #msg-list {
  73. height: 100%;
  74. overflow: auto;
  75. -webkit-overflow-scrolling: touch;
  76. }
  77. .msg-item {
  78. padding: 8px;
  79. clear: both;
  80. }
  81. .msg-item .mui-item-clear {
  82. clear: both;
  83. }
  84. .msg-item .msg-user {
  85. width: 38px;
  86. height: 38px;
  87. border: solid 1px #d3d3d3;
  88. display: inline-block;
  89. background: #fff;
  90. border-radius: 3px;
  91. vertical-align: top;
  92. text-align: center;
  93. float: left;
  94. padding: 3px;
  95. color: #ddd;
  96. }
  97. .msg-item .msg-user-img {
  98. width: 38px;
  99. height: 38px;
  100. display: inline-block;
  101. border-radius: 3px;
  102. vertical-align: top;
  103. text-align: center;
  104. float: left;
  105. color: #ddd;
  106. }
  107. .msg-item .msg-content {
  108. display: inline-block;
  109. border-radius: 5px;
  110. border: solid 1px #d3d3d3;
  111. background-color: #FFFFFF;
  112. color: #333;
  113. padding: 8px;
  114. vertical-align: top;
  115. font-size: 15px;
  116. position: relative;
  117. margin: 0px 8px;
  118. max-width: 75%;
  119. min-width: 35px;
  120. float: left;
  121. }
  122. .msg-item .msg-content .msg-content-inner {
  123. overflow-x: hidden;
  124. font-size: 14px;
  125. }
  126. .msg-item .msg-content .msg-content-arrow {
  127. position: absolute;
  128. border: solid 1px #d3d3d3;
  129. border-right: none;
  130. border-top: none;
  131. background-color: #FFFFFF;
  132. width: 10px;
  133. height: 10px;
  134. left: -5px;
  135. top: 12px;
  136. -webkit-transform: rotateZ(45deg);
  137. transform: rotateZ(45deg);
  138. }
  139. .msg-item-self .msg-user,
  140. .msg-item-self .msg-content {
  141. float: right;
  142. }
  143. .msg-item-self .msg-content .msg-content-arrow {
  144. left: auto;
  145. right: -5px;
  146. -webkit-transform: rotateZ(225deg);
  147. transform: rotateZ(225deg);
  148. }
  149. .msg-item-self .msg-content,
  150. .msg-item-self .msg-content .msg-content-arrow {
  151. /*background-color: #4CD964;*/
  152. background-color: #1BADF8;
  153. color: #fff;
  154. border-color: #d3d3d3;
  155. }
  156. footer .mui-icon {
  157. color: #000;
  158. }
  159. footer .mui-icon:active {
  160. color: #007AFF !important;
  161. }
  162. footer .mui-icon-paperplane:before {
  163. content: "发送";
  164. }
  165. footer .mui-icon-paperplane {
  166. /*-webkit-transform: rotateZ(45deg);
  167. transform: rotateZ(45deg);*/
  168. font-size: 16px;
  169. word-break: keep-all;
  170. line-height: 100%;
  171. padding-top: 6px;
  172. color: rgba(0, 135, 250, 1);
  173. }
  174. #msg-sound {
  175. -webkit-user-select: none !important;
  176. user-select: none !important;
  177. }
  178. .rprogress {
  179. position: absolute;
  180. left: 50%;
  181. top: 50%;
  182. width: 140px;
  183. height: 140px;
  184. margin-left: -70px;
  185. margin-top: -70px;
  186. background-repeat: no-repeat;
  187. background-position: center center;
  188. background-size: 30px 30px;
  189. background-color: rgba(0, 0, 0, 0.7);
  190. border-radius: 5px;
  191. display: none;
  192. -webkit-transition: .15s;
  193. }
  194. .rschedule {
  195. background-color: rgba(0, 0, 0, 0);
  196. border: 5px solid rgba(0, 183, 229, 0.9);
  197. opacity: .9;
  198. border-left: 5px solid rgba(0, 0, 0, 0);
  199. border-right: 5px solid rgba(0, 0, 0, 0);
  200. border-radius: 50px;
  201. box-shadow: 0 0 15px #2187e7;
  202. width: 46px;
  203. height: 46px;
  204. position: absolute;
  205. left: 50%;
  206. top: 50%;
  207. margin-left: -23px;
  208. margin-top: -23px;
  209. -webkit-animation: spin 1s infinite linear;
  210. animation: spin 1s infinite linear;
  211. }
  212. .r-sigh {
  213. display: none;
  214. border-radius: 50px;
  215. box-shadow: 0 0 15px #2187e7;
  216. width: 46px;
  217. height: 46px;
  218. position: absolute;
  219. left: 50%;
  220. top: 50%;
  221. margin-left: -23px;
  222. margin-top: -23px;
  223. text-align: center;
  224. line-height: 46px;
  225. font-size: 40px;
  226. font-weight: bold;
  227. color: #2187e7;
  228. }
  229. .rprogress-sigh {
  230. background-image: none !important;
  231. }
  232. .rprogress-sigh .rschedule {
  233. display: none !important;
  234. }
  235. .rprogress-sigh .r-sigh {
  236. display: block !important;
  237. }
  238. .rsalert {
  239. font-size: 12px;
  240. color: #bbb;
  241. text-align: center;
  242. position: absolute;
  243. border-radius: 5px;
  244. width: 130px;
  245. margin: 5px 5px;
  246. padding: 5px;
  247. left: 0px;
  248. bottom: 0px;
  249. }
  250. @-webkit-keyframes spin {
  251. 0% {
  252. -webkit-transform: rotate(0deg);
  253. }
  254. 100% {
  255. -webkit-transform: rotate(360deg);
  256. }
  257. }
  258. @keyframes spin {
  259. 0% {
  260. transform: rotate(0deg);
  261. }
  262. 100% {
  263. transform: rotate(360deg);
  264. }
  265. }
  266. #h {
  267. background: #fff;
  268. border: solid 1px #ddd;
  269. padding: 10px !important;
  270. font-size: 16px !important;
  271. font-family: verdana !important;
  272. line-height: 18px !important;
  273. overflow: visible;
  274. position: absolute;
  275. left: -1000px;
  276. right: 0px;
  277. word-break: break-all;
  278. word-wrap: break-word;
  279. }
  280. .cancel {
  281. background-color: darkred;
  282. }