chat.css 4.8 KB

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