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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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. left: 46%;
  87. top: 27%
  88. }
  89. #bottomUnreadMessages {
  90. top: 5px;
  91. left: 10px;
  92. position: absolute;
  93. font-size: 8px;
  94. }
  95. #chatspace .username {
  96. float: left;
  97. padding-left: 5px;
  98. font-weight: bold;
  99. }
  100. #chatspace .timestamp {
  101. float: right;
  102. padding-right: 5px;
  103. font-size: 11px;
  104. }
  105. #chatspace .usermessage {
  106. padding-top: 20px;
  107. padding-left: 5px;
  108. }
  109. .chatArrow {
  110. position: absolute;
  111. height: 15px;
  112. left: 5px;
  113. }
  114. .chatmessage {
  115. background: #3a3a3a;
  116. width: 93%;
  117. margin-left: 5%;
  118. margin-right: auto;
  119. border-radius: 5px;
  120. border-top-left-radius: 0px;
  121. margin-top: 3px;
  122. left: 5px;
  123. color: #a7a7a7;
  124. overflow: hidden;
  125. padding-bottom: 3px;
  126. }
  127. .smiley {
  128. height: 26px;
  129. }
  130. #smileys {
  131. position: absolute;
  132. bottom: 7px;
  133. right: 5px;
  134. background: white;
  135. border-radius: 50px;
  136. height: 26px;
  137. margin: auto;
  138. cursor: pointer;
  139. }
  140. #smileys img {
  141. width: 22px;
  142. padding: 2px;
  143. }
  144. #smileysarea {
  145. position: absolute;
  146. bottom: 0px;
  147. left: 0px;
  148. width: 17%;
  149. min-width: 31px;
  150. height: 40px;
  151. padding: 0px;
  152. max-height:150px;
  153. min-height:35px;
  154. border: 0px none;
  155. background: #3a3a3a;
  156. overflow: hidden;
  157. visibility: hidden;
  158. }
  159. #chatspace.is-conversation-mode #smileysarea {
  160. visibility: visible;
  161. }
  162. #smileysContainer {
  163. display: none;
  164. position: absolute;
  165. background: #3a3a3a;
  166. border-bottom: 1px solid;
  167. border-top: 1px solid;
  168. width: 100%;
  169. bottom: 10%;
  170. }
  171. #smileysContainer .smiley {
  172. padding: 7px;
  173. }
  174. .smileyContainer {
  175. width: 40px;
  176. height: 40px;
  177. display: inline-block;
  178. }
  179. .smileyContainer:hover {
  180. background: #3e3e3e;
  181. }
  182. #usermsg::-webkit-input-placeholder {
  183. line-height: 30px;
  184. }
  185. ::-webkit-scrollbar {
  186. background: #06a5df;
  187. width: 7px;
  188. }
  189. ::-webkit-scrollbar-button {
  190. display: none;
  191. }
  192. ::-webkit-scrollbar-track {
  193. background: black;
  194. }
  195. ::-webkit-scrollbar-track-piece {
  196. background: black;
  197. }
  198. ::-webkit-scrollbar-thumb {
  199. background: #06a5df;
  200. border-radius: 4px;
  201. }
  202. #usermsg::-webkit-scrollbar-track-piece {
  203. background: #3a3a3a;
  204. }
  205. a:link {
  206. color: rgb(184, 184, 184);
  207. }
  208. a:visited {
  209. color: white;
  210. }
  211. a:hover {
  212. color: rgb(213, 213, 213);
  213. }
  214. a:active {
  215. color: black;
  216. }