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.scss 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. #chat_container * {
  2. -webkit-user-select: text;
  3. user-select: text;
  4. }
  5. #chatconversation {
  6. visibility: hidden;
  7. position: relative;
  8. top: 5px;
  9. padding: 5px;
  10. text-align: left;
  11. line-height: 20px;
  12. font-size: 10pt;
  13. width: 100%;
  14. height: 90%;
  15. overflow: auto;
  16. word-wrap: break-word;
  17. a:link {
  18. color: rgb(184, 184, 184);
  19. }
  20. a:visited {
  21. color: white;
  22. }
  23. a:hover {
  24. color: rgb(213, 213, 213);
  25. }
  26. a:active {
  27. color: black;
  28. }
  29. }
  30. #chat_container.is-conversation-mode #chatconversation {
  31. visibility: visible;
  32. }
  33. .localuser {
  34. color: #087dba;
  35. }
  36. .errorMessage {
  37. color: red;
  38. }
  39. .remoteuser {
  40. color: white;
  41. }
  42. #usermsg {
  43. visibility:hidden;
  44. position: absolute;
  45. bottom: 0px;
  46. right: 0px;
  47. width: 83%;
  48. height: 30px;
  49. padding: 5px 5px 5px 0px;
  50. max-height:150px;
  51. min-height:35px;
  52. border: 0px none;
  53. background: #3a3a3a;
  54. color: #a7a7a7;
  55. box-shadow: none;
  56. border-radius:0;
  57. font-size: 10pt;
  58. line-height: 30px;
  59. overflow: hidden;
  60. resize: none;
  61. }
  62. #usermsg:hover {
  63. border: 0px none;
  64. box-shadow: none;
  65. }
  66. #chat_container.is-conversation-mode #usermsg {
  67. visibility: visible;
  68. }
  69. #nickname {
  70. position: absolute;
  71. text-align: center;
  72. color: #9d9d9d;
  73. font-size: 18px;
  74. top: 100px;
  75. left: 5px;
  76. right: 5px;
  77. width: 95%;
  78. }
  79. #chat_container.is-conversation-mode #nickname {
  80. visibility: hidden;
  81. }
  82. #nickinput {
  83. margin-top: 20px;
  84. font-size: 14px;
  85. background: #3a3a3a;
  86. box-shadow: inset 0 0 3px 2px #a7a7a7;
  87. border: 1px solid #a7a7a7;
  88. color: #a7a7a7;
  89. }
  90. #chat_container .username {
  91. float: left;
  92. padding-left: 5px;
  93. font-weight: bold;
  94. white-space: nowrap;
  95. text-overflow: ellipsis;
  96. width: 95%;
  97. overflow: hidden;
  98. }
  99. #chat_container .timestamp {
  100. float: right;
  101. padding-right: 5px;
  102. font-size: 11px;
  103. }
  104. #chat_container .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: 9px;
  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. #chat_container.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. :not(.default-scrollbar)::-webkit-scrollbar {
  185. background: #06a5df;
  186. width: 7px;
  187. }
  188. :not(.default-scrollbar)::-webkit-scrollbar-button {
  189. display: none;
  190. }
  191. :not(.default-scrollbar)::-webkit-scrollbar-track {
  192. background: black;
  193. }
  194. :not(.default-scrollbar)::-webkit-scrollbar-track-piece {
  195. background: black;
  196. }
  197. :not(.default-scrollbar)::-webkit-scrollbar-thumb {
  198. background: #06a5df;
  199. border-radius: 4px;
  200. }
  201. #usermsg::-webkit-scrollbar-track-piece {
  202. background: #3a3a3a;
  203. }