You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

chat.css 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. #chatspace {
  2. display: none;
  3. background-color: black;
  4. border-left: 1px solid #424242;
  5. }
  6. #chatspace * {
  7. -webkit-user-select: text;
  8. user-select: text;
  9. }
  10. #chatconversation {
  11. visibility: hidden;
  12. position: relative;
  13. top: 5px;
  14. padding: 5px;
  15. text-align: left;
  16. line-height: 20px;
  17. font-size: 10pt;
  18. width: 100%;
  19. height: 90%;
  20. overflow-y: scroll;
  21. overflow-x: hidden;
  22. word-wrap: break-word;
  23. }
  24. #chatspace.is-conversation-mode #chatconversation {
  25. visibility: visible;
  26. }
  27. .localuser {
  28. color: #087dba;
  29. }
  30. .errorMessage {
  31. color: red;
  32. }
  33. .remoteuser {
  34. color: white;
  35. }
  36. #usermsg {
  37. visibility:hidden;
  38. position: absolute;
  39. bottom: 0px;
  40. right: 0px;
  41. width: 83%;
  42. height: 30px;
  43. padding: 5px 5px 5px 0px;
  44. max-height:150px;
  45. min-height:35px;
  46. border: 0px none;
  47. background: #3a3a3a;
  48. color: #a7a7a7;
  49. box-shadow: none;
  50. border-radius:0;
  51. font-size: 10pt;
  52. line-height: 30px;
  53. overflow: hidden;
  54. resize: none;
  55. }
  56. #usermsg:hover {
  57. border: 0px none;
  58. box-shadow: none;
  59. }
  60. #chatspace.is-conversation-mode #usermsg {
  61. visibility: visible;
  62. }
  63. #nickname {
  64. position: absolute;
  65. text-align: center;
  66. color: #9d9d9d;
  67. font-size: 18px;
  68. top: 100px;
  69. left: 5px;
  70. right: 5px;
  71. width: 95%;
  72. }
  73. #chatspace.is-conversation-mode #nickname {
  74. visibility: hidden;
  75. }
  76. #nickinput {
  77. margin-top: 20px;
  78. font-size: 14px;
  79. background: #3a3a3a;
  80. box-shadow: inset 0 0 3px 2px #a7a7a7;
  81. border: 1px solid #a7a7a7;
  82. color: #a7a7a7;
  83. }
  84. #unreadMessages {
  85. font-size: 8px;
  86. position: absolute;
  87. }
  88. #bottomUnreadMessages {
  89. top: 5px;
  90. left: 10px;
  91. position: absolute;
  92. font-size: 8px;
  93. }
  94. #chatspace .username {
  95. float: left;
  96. padding-left: 5px;
  97. font-weight: bold;
  98. }
  99. #chatspace .timestamp {
  100. float: right;
  101. padding-right: 5px;
  102. font-size: 11px;
  103. }
  104. #chatspace .usermessage {
  105. padding-top: 20px;
  106. padding-left: 5px;
  107. }
  108. .chatArrow {
  109. position: absolute;
  110. height: 15px;
  111. left: 5px;
  112. }
  113. .chatmessage {
  114. background: #3a3a3a;
  115. width: 93%;
  116. margin-left: 5%;
  117. margin-right: auto;
  118. border-radius: 5px;
  119. border-top-left-radius: 0px;
  120. margin-top: 3px;
  121. left: 5px;
  122. color: #a7a7a7;
  123. overflow: hidden;
  124. padding-bottom: 3px;
  125. }
  126. .smiley {
  127. height: 26px;
  128. }
  129. #smileys {
  130. position: absolute;
  131. bottom: 7px;
  132. right: 5px;
  133. background: white;
  134. border-radius: 50px;
  135. height: 26px;
  136. margin: auto;
  137. cursor: pointer;
  138. }
  139. #smileys img {
  140. width: 22px;
  141. padding: 2px;
  142. }
  143. #smileysarea {
  144. position: absolute;
  145. bottom: 0px;
  146. left: 0px;
  147. width: 17%;
  148. min-width: 31px;
  149. height: 40px;
  150. padding: 0px;
  151. max-height:150px;
  152. min-height:35px;
  153. border: 0px none;
  154. background: #3a3a3a;
  155. overflow: hidden;
  156. visibility: hidden;
  157. }
  158. #chatspace.is-conversation-mode #smileysarea {
  159. visibility: visible;
  160. }
  161. #smileysContainer {
  162. display: none;
  163. position: absolute;
  164. background: #3a3a3a;
  165. border-bottom: 1px solid;
  166. border-top: 1px solid;
  167. width: 100%;
  168. bottom: 10%;
  169. }
  170. #smileysContainer .smiley {
  171. padding: 7px;
  172. }
  173. .smileyContainer {
  174. width: 40px;
  175. height: 40px;
  176. display: inline-block;
  177. }
  178. .smileyContainer:hover {
  179. background: #3e3e3e;
  180. }
  181. #usermsg::-webkit-input-placeholder {
  182. line-height: 30px;
  183. }
  184. ::-webkit-scrollbar {
  185. background: #06a5df;
  186. width: 7px;
  187. }
  188. ::-webkit-scrollbar-button {
  189. display: none;
  190. }
  191. ::-webkit-scrollbar-track {
  192. background: black;
  193. }
  194. ::-webkit-scrollbar-track-piece {
  195. background: black;
  196. }
  197. ::-webkit-scrollbar-thumb {
  198. background: #06a5df;
  199. border-radius: 4px;
  200. }
  201. #usermsg::-webkit-scrollbar-track-piece {
  202. background: #3a3a3a;
  203. }
  204. a:link {
  205. color: rgb(184, 184, 184);
  206. }
  207. a:visited {
  208. color: white;
  209. }
  210. a:hover {
  211. color: rgb(213, 213, 213);
  212. }
  213. a:active {
  214. color: black;
  215. }