Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

_chat.scss 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. #unreadMessages {
  92. font-size: 8px;
  93. position: absolute;
  94. }
  95. #chat_container .username {
  96. float: left;
  97. padding-left: 5px;
  98. font-weight: bold;
  99. }
  100. #chat_container .timestamp {
  101. float: right;
  102. padding-right: 5px;
  103. font-size: 11px;
  104. }
  105. #chat_container .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. #chat_container.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. }