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.

269 lines
4.9 KiB

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