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.

270 lines
5.1 KiB

  1. /*******************************
  2. Chat Room
  3. *******************************/
  4. .ui.chatroom {
  5. background-color: #F8F8F8;
  6. width: 330px;
  7. height: 370px;
  8. padding: 0px;
  9. }
  10. .ui.chatroom .room {
  11. position: relative;
  12. background-color: #FFFFFF;
  13. overflow: hidden;
  14. height: 286px;
  15. border: 1px solid rgba(0, 0, 0, 0.1);
  16. border-top: none;
  17. border-bottom: none;
  18. }
  19. .ui.chatroom .room .loader {
  20. display: none;
  21. margin: -25px 0px 0px -25px;
  22. }
  23. /* Chat Room Actions */
  24. .ui.chatroom .actions {
  25. overflow: hidden;
  26. background-color: #EEEEEE;
  27. padding: 4px;
  28. border: 1px solid rgba(0, 0, 0, 0.1);
  29. -moz-border-radius: 5px 5px 0px 0px;
  30. -webkit-border-radius: 5px 5px 0px 0px;
  31. border-radius: 5px 5px 0px 0px;
  32. }
  33. .ui.chatroom .actions .button {
  34. float: right;
  35. margin-left: 3px;
  36. }
  37. /* Online User Count */
  38. .ui.chatroom .actions .message {
  39. float: left;
  40. margin-left: 6px;
  41. font-size: 11px;
  42. color: #AAAAAA;
  43. text-shadow: 0px -1px 0px rgba(255, 255, 255, 0.8);
  44. line-height: 28px;
  45. }
  46. .ui.chatroom .actions .message .loader {
  47. display: inline-block;
  48. margin-right: 8px;
  49. }
  50. /* Chat Room Text Log */
  51. .ui.chatroom .log {
  52. float: left;
  53. overflow: auto;
  54. overflow-x: hidden;
  55. overflow-y: auto;
  56. }
  57. .ui.chatroom .log .message {
  58. padding: 3px 0px;
  59. border-top: 1px dotted #DADADA;
  60. }
  61. .ui.chatroom .log .message:first-child {
  62. border-top: none;
  63. }
  64. /* status event */
  65. .ui.chatroom .status {
  66. padding: 5px 0px;
  67. color: #AAAAAA;
  68. font-size: 12px;
  69. font-style: italic;
  70. line-height: 1.33;
  71. border-top: 1px dotted #DADADA;
  72. }
  73. .ui.chatroom .log .status:first-child {
  74. border-top: none;
  75. }
  76. .ui.chatroom .log .flag {
  77. float: left;
  78. }
  79. .ui.chatroom .log p {
  80. margin-left: 0px;
  81. }
  82. .ui.chatroom .log .author {
  83. font-weight: bold;
  84. -webkit-transition: color 0.3s ease-out;
  85. -moz-transition: color 0.3s ease-out;
  86. -o-transition: color 0.3s ease-out;
  87. -ms-transition: color 0.3s ease-out;
  88. transition: color 0.3s ease-out;
  89. }
  90. .ui.chatroom .log a.author:hover {
  91. opacity: 0.8;
  92. }
  93. .ui.chatroom .log .message.admin p {
  94. font-weight: bold;
  95. margin: 1px 0px 0px 23px;
  96. }
  97. .ui.chatroom .log .divider {
  98. margin: -1px 0px;
  99. font-size: 11px;
  100. padding: 10px 0px;
  101. border-top: 1px solid #F8F8F8;
  102. border-bottom: 1px solid #F8F8F8;
  103. }
  104. .ui.chatroom .log .divider .rule {
  105. top: 50%;
  106. width: 15%;
  107. }
  108. .ui.chatroom .log .divider .label {
  109. color: #777777;
  110. margin: 0px;
  111. }
  112. /* Chat Room User List */
  113. .ui.chatroom .room .list {
  114. position: relative;
  115. overflow: auto;
  116. overflow-x: hidden;
  117. overflow-y: auto;
  118. float: left;
  119. background-color: #EEEEEE;
  120. border-left: 1px solid #DDDDDD;
  121. }
  122. .ui.chatroom .room .list .user {
  123. display: table;
  124. padding: 3px 7px;
  125. border-bottom: 1px solid #DDDDDD;
  126. }
  127. .ui.chatroom .room .list .user:hover {
  128. background-color: #F8F8F8;
  129. }
  130. .ui.chatroom .room .list .image {
  131. display: table-cell;
  132. vertical-align: middle;
  133. width: 20px;
  134. }
  135. .ui.chatroom .room .list .image img {
  136. width: 20px;
  137. height: 20px;
  138. vertical-align: middle;
  139. }
  140. .ui.chatroom .room .list p {
  141. display: table-cell;
  142. vertical-align: middle;
  143. padding-left: 7px;
  144. padding-right: 14px;
  145. font-size: 11px;
  146. line-height: 1.2;
  147. font-weight: bold;
  148. }
  149. .ui.chatroom .room .list a:hover {
  150. opacity: 0.8;
  151. }
  152. /* User List Loading */
  153. .ui.chatroom.loading .loader {
  154. display: block;
  155. }
  156. /* Chat Room Talk Input */
  157. .ui.chatroom .talk {
  158. border: 1px solid rgba(0, 0, 0, 0.1);
  159. padding: 5px 0px 0px;
  160. background-color: #EEEEEE;
  161. -webkit-border-radius: 0px 0px 5px 5px;
  162. -moz-border-radius: 0px 0px 5px 5px;
  163. border-radius: 0px 0px 5px 5px;
  164. }
  165. .ui.chatroom .talk .avatar,
  166. .ui.chatroom .talk input,
  167. .ui.chatroom .talk .button {
  168. float: left;
  169. }
  170. .ui.chatroom .talk .avatar img {
  171. display: block;
  172. width: 30px;
  173. height: 30px;
  174. margin-right: 4px;
  175. border-radius: 500rem;
  176. }
  177. .ui.chatroom .talk input {
  178. border: 1px solid #CCCCCC;
  179. margin: 0px;
  180. width: 196px;
  181. height: 14px;
  182. padding: 8px 5px;
  183. font-size: 12px;
  184. color: #555555;
  185. }
  186. .ui.chatroom .talk input.focus {
  187. border: 1px solid #AAAAAA;
  188. }
  189. .ui.chatroom .send {
  190. width: 80px;
  191. height: 32px;
  192. margin-left: -1px;
  193. padding: 4px 12px;
  194. font-size: 12px;
  195. line-height: 23px;
  196. -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  197. -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  198. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  199. border-radius: 0 5px 5px 0;
  200. }
  201. .ui.chatroom .talk .log-in.button {
  202. display: block;
  203. float: none;
  204. margin-top: -6px;
  205. height: 22px;
  206. border-radius: 0px 0px 4px 4px;
  207. }
  208. .ui.chatroom .talk .log-in.button i {
  209. vertical-align: text-top;
  210. }
  211. /* Quirky Flags */
  212. .ui.chatroom .log .team.flag {
  213. width: 18px;
  214. }
  215. /* Chat room Loaded */
  216. .ui.chatroom.loading .loader {
  217. display: block;
  218. }
  219. /* Standard Size */
  220. .ui.chatroom {
  221. width: 330px;
  222. height: 370px;
  223. }
  224. .ui.chatroom .room .container {
  225. width: 3000px;
  226. }
  227. .ui.chatroom .log {
  228. width: 314px;
  229. height: 278px;
  230. padding: 4px 7px;
  231. }
  232. .ui.chatroom .room .list {
  233. width: 124px;
  234. height: 278px;
  235. padding: 4px 0px;
  236. }
  237. .ui.chatroom .room .list .user {
  238. width: 110px;
  239. }
  240. .ui.chatroom .talk {
  241. height: 40px;
  242. }