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