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.

386 lines
9.0 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Chat Room
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. /*
  15. */
  16. /*******************************
  17. Folders
  18. *******************************/
  19. /* Path to theme packages */
  20. /* Path to site override folder */
  21. /*******************************
  22. Themes
  23. *******************************/
  24. /* To override a theme for an individual element
  25. specify theme name below
  26. Be sure to update the user folder name (see README)
  27. */
  28. /* Global */
  29. /* Elements */
  30. /* Collections */
  31. /* Modules */
  32. /* Views */
  33. /*******************************
  34. Import Directives
  35. *******************************/
  36. /*------------------
  37. Load Default
  38. -------------------*/
  39. /*******************************
  40. Site Variables
  41. *******************************/
  42. /*-------------------
  43. Paths
  44. --------------------*/
  45. /*-------------------
  46. Page
  47. --------------------*/
  48. /*-------------------
  49. Grid
  50. --------------------*/
  51. /*-------------------
  52. Breakpoints
  53. --------------------*/
  54. /*-------------------
  55. Fonts
  56. --------------------*/
  57. /*-------------------
  58. Icons
  59. --------------------*/
  60. /* Max Width of Icon */
  61. /*-------------------
  62. Easing
  63. --------------------*/
  64. /*******************************
  65. BG Colors
  66. *******************************/
  67. /*******************************
  68. Colors
  69. *******************************/
  70. /*--- Colors ---*/
  71. /*--- Neutrals ---*/
  72. /*--- Text Colors ---*/
  73. /* Preserve */
  74. /* Adjust for Legibility */
  75. /*--- Backgrounds ---*/
  76. /*-------------------
  77. Emotive Colors
  78. --------------------*/
  79. /* Positive / Negative */
  80. /* Messages */
  81. /*-------------------
  82. Text Colors
  83. --------------------*/
  84. /*-------------------
  85. Brand Colors
  86. --------------------*/
  87. /*-------------------
  88. Borders
  89. --------------------*/
  90. /*-------------------
  91. Sizes
  92. --------------------*/
  93. /*-------------------
  94. Transitions
  95. --------------------*/
  96. /*******************************
  97. States
  98. *******************************/
  99. /*-------------------
  100. Disabled
  101. --------------------*/
  102. /*-------------------
  103. Hover
  104. --------------------*/
  105. /*--- Colors ---*/
  106. /*--- Emotive ---*/
  107. /*--- Neutrals ---*/
  108. /*-------------------
  109. Down (:active)
  110. --------------------*/
  111. /*--- Colors ---*/
  112. /*--- Emotive ---*/
  113. /*--- Neutrals ---*/
  114. /*-------------------
  115. Active
  116. --------------------*/
  117. /*--- Standard ---*/
  118. /*--- Emotive ---*/
  119. /*--- Neutrals ---*/
  120. /*******************************
  121. Chatroom
  122. *******************************/
  123. /*------------------
  124. Load Theme
  125. -------------------*/
  126. /*------------------
  127. Load Site
  128. -------------------*/
  129. /*******************************
  130. User Global Variables
  131. *******************************/
  132. /*******************************
  133. User Variable Overrides
  134. *******************************/
  135. /*------------------
  136. Override Mix-in
  137. -------------------*/
  138. /*******************************
  139. Chat Room
  140. *******************************/
  141. .ui.chatroom {
  142. background-color: #F8F8F8;
  143. width: 330px;
  144. height: 370px;
  145. padding: 0px;
  146. }
  147. .ui.chatroom .room {
  148. position: relative;
  149. background-color: #FFFFFF;
  150. overflow: hidden;
  151. height: 286px;
  152. border: 1px solid rgba(0, 0, 0, 0.1);
  153. border-top: none;
  154. border-bottom: none;
  155. }
  156. .ui.chatroom .room .loader {
  157. display: none;
  158. margin: -25px 0px 0px -25px;
  159. }
  160. /* Chat Room Actions */
  161. .ui.chatroom .actions {
  162. overflow: hidden;
  163. background-color: #EEEEEE;
  164. padding: 4px;
  165. border: 1px solid rgba(0, 0, 0, 0.1);
  166. border-radius: 5px 5px 0px 0px;
  167. }
  168. .ui.chatroom .actions .button {
  169. float: right;
  170. margin-left: 3px;
  171. }
  172. /* Online User Count */
  173. .ui.chatroom .actions .message {
  174. float: left;
  175. margin-left: 6px;
  176. font-size: 11px;
  177. color: #AAAAAA;
  178. text-shadow: 0px -1px 0px rgba(255, 255, 255, 0.8);
  179. line-height: 28px;
  180. }
  181. .ui.chatroom .actions .message .loader {
  182. display: inline-block;
  183. margin-right: 8px;
  184. }
  185. /* Chat Room Text Log */
  186. .ui.chatroom .log {
  187. float: left;
  188. overflow: auto;
  189. overflow-x: hidden;
  190. overflow-y: auto;
  191. }
  192. .ui.chatroom .log .message {
  193. padding: 3px 0px;
  194. border-top: 1px dotted #DADADA;
  195. }
  196. .ui.chatroom .log .message:first-child {
  197. border-top: none;
  198. }
  199. /* status event */
  200. .ui.chatroom .status {
  201. padding: 5px 0px;
  202. color: #AAAAAA;
  203. font-size: 12px;
  204. font-style: italic;
  205. line-height: 1.33;
  206. border-top: 1px dotted #DADADA;
  207. }
  208. .ui.chatroom .log .status:first-child {
  209. border-top: none;
  210. }
  211. .ui.chatroom .log .flag {
  212. float: left;
  213. }
  214. .ui.chatroom .log p {
  215. margin-left: 0px;
  216. }
  217. .ui.chatroom .log .author {
  218. font-weight: bold;
  219. -webkit-transition: color 0.3s ease-out;
  220. transition: color 0.3s ease-out;
  221. }
  222. .ui.chatroom .log a.author:hover {
  223. opacity: 0.8;
  224. }
  225. .ui.chatroom .log .message.admin p {
  226. font-weight: bold;
  227. margin: 1px 0px 0px 23px;
  228. }
  229. .ui.chatroom .log .divider {
  230. margin: -1px 0px;
  231. font-size: 11px;
  232. padding: 10px 0px;
  233. border-top: 1px solid #F8F8F8;
  234. border-bottom: 1px solid #F8F8F8;
  235. }
  236. .ui.chatroom .log .divider .rule {
  237. top: 50%;
  238. width: 15%;
  239. }
  240. .ui.chatroom .log .divider .label {
  241. color: #777777;
  242. margin: 0px;
  243. }
  244. /* Chat Room User List */
  245. .ui.chatroom .room .list {
  246. position: relative;
  247. overflow: auto;
  248. overflow-x: hidden;
  249. overflow-y: auto;
  250. float: left;
  251. background-color: #EEEEEE;
  252. border-left: 1px solid #DDDDDD;
  253. }
  254. .ui.chatroom .room .list .user {
  255. display: table;
  256. padding: 3px 7px;
  257. border-bottom: 1px solid #DDDDDD;
  258. }
  259. .ui.chatroom .room .list .user:hover {
  260. background-color: #F8F8F8;
  261. }
  262. .ui.chatroom .room .list .image {
  263. display: table-cell;
  264. vertical-align: middle;
  265. width: 20px;
  266. }
  267. .ui.chatroom .room .list .image img {
  268. width: 20px;
  269. height: 20px;
  270. vertical-align: middle;
  271. }
  272. .ui.chatroom .room .list p {
  273. display: table-cell;
  274. vertical-align: middle;
  275. padding-left: 7px;
  276. padding-right: 14px;
  277. font-size: 11px;
  278. line-height: 1.2;
  279. font-weight: bold;
  280. }
  281. .ui.chatroom .room .list a:hover {
  282. opacity: 0.8;
  283. }
  284. /* User List Loading */
  285. .ui.chatroom.loading .loader {
  286. display: block;
  287. }
  288. /* Chat Room Talk Input */
  289. .ui.chatroom .talk {
  290. border: 1px solid rgba(0, 0, 0, 0.1);
  291. padding: 5px 0px 0px;
  292. background-color: #EEEEEE;
  293. border-radius: 0px 0px 5px 5px;
  294. }
  295. .ui.chatroom .talk .avatar,
  296. .ui.chatroom .talk input,
  297. .ui.chatroom .talk .button {
  298. float: left;
  299. }
  300. .ui.chatroom .talk .avatar img {
  301. display: block;
  302. width: 30px;
  303. height: 30px;
  304. margin-right: 4px;
  305. border-radius: 500rem;
  306. }
  307. .ui.chatroom .talk input {
  308. border: 1px solid #CCCCCC;
  309. margin: 0px;
  310. width: 196px;
  311. height: 14px;
  312. padding: 8px 5px;
  313. font-size: 12px;
  314. color: #555555;
  315. }
  316. .ui.chatroom .talk input.focus {
  317. border: 1px solid #AAAAAA;
  318. }
  319. .ui.chatroom .send {
  320. width: 80px;
  321. height: 32px;
  322. margin-left: -1px;
  323. padding: 4px 12px;
  324. font-size: 12px;
  325. line-height: 23px;
  326. -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  327. box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  328. border-radius: 0 5px 5px 0;
  329. }
  330. .ui.chatroom .talk .log-in.button {
  331. display: block;
  332. float: none;
  333. margin-top: -6px;
  334. height: 22px;
  335. border-radius: 0px 0px 4px 4px;
  336. }
  337. .ui.chatroom .talk .log-in.button i {
  338. vertical-align: text-top;
  339. }
  340. /* Quirky Flags */
  341. .ui.chatroom .log .team.flag {
  342. width: 18px;
  343. }
  344. /* Chat room Loaded */
  345. .ui.chatroom.loading .loader {
  346. display: block;
  347. }
  348. /* Standard Size */
  349. .ui.chatroom {
  350. width: 330px;
  351. height: 370px;
  352. }
  353. .ui.chatroom .room .container {
  354. width: 3000px;
  355. }
  356. .ui.chatroom .log {
  357. width: 314px;
  358. height: 278px;
  359. padding: 4px 7px;
  360. }
  361. .ui.chatroom .room .list {
  362. width: 124px;
  363. height: 278px;
  364. padding: 4px 0px;
  365. }
  366. .ui.chatroom .room .list .user {
  367. width: 110px;
  368. }
  369. .ui.chatroom .talk {
  370. height: 40px;
  371. }
  372. /*******************************
  373. Overrides
  374. *******************************/
  375. /*******************************
  376. User Overrides
  377. *******************************/