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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. /*
  2. * Copyright @ 2015 Atlassian Pty Ltd
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #chatspace {
  17. background-color: black;
  18. border-left: 1px solid #424242;
  19. }
  20. #chatspace * {
  21. -webkit-user-select: text;
  22. user-select: text;
  23. }
  24. #chatconversation {
  25. visibility: hidden;
  26. position: relative;
  27. top: 5px;
  28. padding: 5px;
  29. text-align: left;
  30. line-height: 20px;
  31. font-size: 10pt;
  32. width: 100%;
  33. height: 90%;
  34. overflow-y: scroll;
  35. overflow-x: hidden;
  36. word-wrap: break-word;
  37. }
  38. .localuser {
  39. color: #087dba;
  40. }
  41. .errorMessage {
  42. color: red;
  43. }
  44. .remoteuser {
  45. color: white;
  46. }
  47. #usermsg {
  48. visibility:hidden;
  49. position: absolute;
  50. bottom: 0px;
  51. right: 0px;
  52. width: 83%;
  53. height: 30px;
  54. padding: 5px 5px 5px 0px;
  55. max-height:150px;
  56. min-height:35px;
  57. border: 0px none;
  58. background: #3a3a3a;
  59. color: #a7a7a7;
  60. box-shadow: none;
  61. border-radius:0;
  62. font-size: 10pt;
  63. line-height: 30px;
  64. overflow: hidden;
  65. resize: none;
  66. }
  67. #usermsg:hover {
  68. border: 0px none;
  69. box-shadow: none;
  70. }
  71. #nickname {
  72. position: absolute;
  73. text-align: center;
  74. color: #9d9d9d;
  75. font-size: 18px;
  76. top: 100px;
  77. left: 5px;
  78. right: 5px;
  79. width: 95%;
  80. }
  81. #nickinput {
  82. margin-top: 20px;
  83. font-size: 14px;
  84. background: #3a3a3a;
  85. box-shadow: inset 0 0 3px 2px #a7a7a7;
  86. border: 1px solid #a7a7a7;
  87. color: #a7a7a7;
  88. }
  89. #unreadMessages {
  90. font-size: 8px;
  91. position: absolute;
  92. left: 46%;
  93. top: 27%
  94. }
  95. #bottomUnreadMessages {
  96. top: 5px;
  97. left: 10px;
  98. position: absolute;
  99. font-size: 8px;
  100. }
  101. #chatspace .username {
  102. float: left;
  103. padding-left: 5px;
  104. font-weight: bold;
  105. }
  106. #chatspace .timestamp {
  107. float: right;
  108. padding-right: 5px;
  109. font-size: 11px;
  110. }
  111. #chatspace .usermessage {
  112. padding-top: 20px;
  113. padding-left: 5px;
  114. }
  115. .chatArrow {
  116. position: absolute;
  117. height: 15px;
  118. left: 5px;
  119. }
  120. .chatmessage {
  121. background: #3a3a3a;
  122. width: 93%;
  123. margin-left: 5%;
  124. margin-right: auto;
  125. border-radius: 5px;
  126. border-top-left-radius: 0px;
  127. margin-top: 3px;
  128. left: 5px;
  129. color: #a7a7a7;
  130. overflow: hidden;
  131. padding-bottom: 3px;
  132. }
  133. .smiley {
  134. height: 26px;
  135. }
  136. #smileys {
  137. position: absolute;
  138. bottom: 7px;
  139. right: 5px;
  140. background: white;
  141. border-radius: 50px;
  142. height: 26px;
  143. margin: auto;
  144. cursor: pointer;
  145. }
  146. #smileys img {
  147. width: 22px;
  148. padding: 2px;
  149. }
  150. #smileysarea {
  151. position: absolute;
  152. bottom: 0px;
  153. left: 0px;
  154. width: 17%;
  155. min-width: 31px;
  156. height: 40px;
  157. padding: 0px;
  158. max-height:150px;
  159. min-height:35px;
  160. border: 0px none;
  161. background: #3a3a3a;
  162. overflow: hidden;
  163. visibility: hidden;
  164. }
  165. #smileysContainer {
  166. display: none;
  167. position: absolute;
  168. background: #3a3a3a;
  169. border-bottom: 1px solid;
  170. border-top: 1px solid;
  171. width: 100%;
  172. bottom: 10%;
  173. }
  174. #smileysContainer .smiley {
  175. padding: 7px;
  176. }
  177. .smileyContainer {
  178. width: 40px;
  179. height: 40px;
  180. display: inline-block;
  181. }
  182. .smileyContainer:hover {
  183. background: #3e3e3e;
  184. }
  185. #usermsg::-webkit-input-placeholder {
  186. line-height: 30px;
  187. }
  188. ::-webkit-scrollbar {
  189. background: #06a5df;
  190. width: 7px;
  191. }
  192. ::-webkit-scrollbar-button {
  193. display: none;
  194. }
  195. ::-webkit-scrollbar-track {
  196. background: black;
  197. }
  198. ::-webkit-scrollbar-track-piece {
  199. background: black;
  200. }
  201. ::-webkit-scrollbar-thumb {
  202. background: #06a5df;
  203. border-radius: 4px;
  204. }
  205. #usermsg::-webkit-scrollbar-track-piece {
  206. background: #3a3a3a;
  207. }
  208. a:link {
  209. color: rgb(184, 184, 184);
  210. }
  211. a:visited {
  212. color: white;
  213. }
  214. a:hover {
  215. color: rgb(213, 213, 213);
  216. }
  217. a:active {
  218. color: black;
  219. }