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

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