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.

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