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

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