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.

396 lines
9.2 KiB

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