chat.css 3.8 KB

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