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.6KB

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