chat.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. .chatboxmain {
  2. position: fixed;
  3. width: auto;
  4. z-index: 9000;
  5. bottom: 0px;
  6. right: 20px;
  7. display: block;
  8. }
  9. .chatboxheadmain {
  10. color: #ffffff;
  11. background-color: #000;
  12. min-height: 34px;
  13. padding: 0 10px;
  14. }
  15. #chatboxtitlemain {
  16. font-weight: normal;
  17. float: left;
  18. font-size: 12px;
  19. padding-top: 2px;
  20. cursor: pointer;
  21. }
  22. .user_status_main {
  23. width: 18px;
  24. display: inline;
  25. float: left;
  26. }
  27. .chatbox {
  28. position: fixed;
  29. position: expression("absolute");
  30. width: 320px;
  31. display: none;
  32. z-index: 9000;
  33. }
  34. .chatbox-common {
  35. word-wrap: break-word;
  36. }
  37. .chatboxmessage_me {
  38. background-color: #4080ff;
  39. color: #fff;
  40. width: 80%;
  41. float: right !important;
  42. border-radius: 12px;
  43. }
  44. .chatboxmessage {
  45. background-color: #ebedf2;
  46. color: #2a2f35;
  47. margin-left: 1em;
  48. width: 80%;
  49. float: left;
  50. border-radius: 12px;
  51. }
  52. .chatboxmessagecontent {
  53. }
  54. .chatboxmessage_me .chatboxmessagecontent a {
  55. color: #ffffff;
  56. }
  57. .chatboxcontent {
  58. font-family: arial, sans-serif;
  59. font-size: 13px;
  60. color: #333333;
  61. max-height: 200px;
  62. overflow-y: auto;
  63. overflow-x: auto;
  64. padding: 7px;
  65. border-left: 1px solid #cccccc;
  66. border-right: 1px solid #cccccc;
  67. border-bottom: 1px solid #eeeeee;
  68. background-color: #ffffff;
  69. line-height: 1.3em;
  70. }
  71. .chatboxcontent .alert {
  72. margin-bottom: 0;
  73. }
  74. .user_status {
  75. width: 8px;
  76. display: inline-block;
  77. margin-right: 5px;
  78. }
  79. .chatimage {
  80. display: inline-block;
  81. margin-right: 5px;
  82. }
  83. .chatboxtitle {
  84. font-weight: normal;
  85. display: inline-block;
  86. font-size: 10px;
  87. width: auto;
  88. cursor: pointer;
  89. overflow: hidden;
  90. padding-left: 2px;
  91. text-overflow: ellipsis;
  92. white-space: nowrap;
  93. line-height: 10px;
  94. }
  95. .chatboxhead {
  96. /* background-color: #222; */
  97. padding: 5px;
  98. color: #ffffff;
  99. border-right: 1px solid #222;
  100. border-left: 1px solid #222;
  101. background-color: #222;
  102. background-repeat: repeat-x;
  103. background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));
  104. background-image: -moz-linear-gradient(top, #333333, #222222);
  105. background-image: -ms-linear-gradient(top, #333333, #222222);
  106. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #333333), color-stop(100%, #222222));
  107. background-image: -webkit-linear-gradient(top, #333333, #222222);
  108. background-image: -o-linear-gradient(top, #333333, #222222);
  109. background-image: linear-gradient(top, #333333, #222222);
  110. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
  111. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  112. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  113. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  114. }
  115. .chatboxblink {
  116. background-color: #FF921F;
  117. border-right: 1px solid #EF7A00;
  118. border-left: 1px solid #EF7A00;
  119. background-repeat: repeat-x;
  120. background-image: -khtml-gradient(linear, left top, left bottom, from(#FF921F), to(#FF921F));
  121. background-image: -moz-linear-gradient(top, #FF921F, #FFAC55);
  122. background-image: -ms-linear-gradient(top, #FF921F, #FF921F);
  123. background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FF921F), color-stop(100%, #FF921F));
  124. background-image: -webkit-linear-gradient(top, #FF921F, #FF921F);
  125. background-image: -o-linear-gradient(top, #FF921F, #FF921F);
  126. background-image: linear-gradient(top, #FF921F, #FF921F);
  127. }
  128. .chatboxinput {
  129. padding: 5px;
  130. background-color: #ffffff;
  131. border-left: 1px solid #cccccc;
  132. border-right: 1px solid #cccccc;
  133. border-bottom: 1px solid #cccccc;
  134. }
  135. .chatboxtextarea {
  136. width: 300px;
  137. height: 44px;
  138. padding: 3px 0pt 3px 3px;
  139. border: 1px solid #eeeeee;
  140. margin: 1px;
  141. overflow: hidden;
  142. }
  143. .chatboxtextareaselected {
  144. border: 2px solid #f99d39;
  145. margin: 0;
  146. }
  147. .chatboxinfo {
  148. margin-left: -1em;
  149. color: #666666;
  150. }
  151. .chatboxmessagefrom {
  152. margin-left: -1em;
  153. font-weight: bold;
  154. }
  155. .chatboxoptions {
  156. float: right;
  157. }
  158. .chatboxoptions a {
  159. text-decoration: none;
  160. color: white;
  161. font-weight: bold;
  162. font-family: Verdana, Arial, "Bitstream Vera Sans", sans-serif;
  163. }
  164. .chatboxoptions a:hover {
  165. background-color: #aaa;
  166. }
  167. .chatbox_checks {
  168. float: right;
  169. }
  170. .chatbox_checked {
  171. color: #13A7F0;
  172. }