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.

413 lines
9.7 KiB

10 years ago
10 years ago
10 years ago
10 years ago
  1. /*
  2. * # Semantic - Feed
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 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 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. Feed
  133. *******************************/
  134. /*-------------------
  135. Feed
  136. --------------------*/
  137. /*-------------------
  138. Elements
  139. --------------------*/
  140. /* Event */
  141. /* Event Label */
  142. /* Icon Label */
  143. /* Image Label */
  144. /* Content w/ Label */
  145. /* Content */
  146. /* Date */
  147. /* Summary */
  148. /* Summary Image */
  149. /* Summary Date */
  150. /* User */
  151. /* Extra Summary Data */
  152. /* Extra Images */
  153. /* Extra Text */
  154. /* Metadata Group */
  155. /* Like */
  156. /* Metadata Divider */
  157. /*-------------------
  158. Variations
  159. --------------------*/
  160. /* Size */
  161. /*------------------
  162. Load Theme
  163. -------------------*/
  164. /*------------------
  165. Load Site
  166. -------------------*/
  167. /*******************************
  168. User Global Variables
  169. *******************************/
  170. /*******************************
  171. User Variable Overrides
  172. *******************************/
  173. /*------------------
  174. Override Mix-in
  175. -------------------*/
  176. /*******************************
  177. Activity Feed
  178. *******************************/
  179. .ui.feed {
  180. margin: 1em;
  181. }
  182. .ui.feed:first-child {
  183. margin-top: 0em;
  184. }
  185. .ui.feed:last-child {
  186. margin-top: 0em;
  187. }
  188. /*******************************
  189. Content
  190. *******************************/
  191. /* Event */
  192. .ui.feed > .event {
  193. display: table;
  194. width: 100%;
  195. padding: 0.5rem 0em;
  196. margin: 0em;
  197. background: none;
  198. border-top: none;
  199. }
  200. .ui.feed > .event:first-child {
  201. border-top: 0px;
  202. padding-top: 0em;
  203. }
  204. .ui.feed > .event:last-child {
  205. padding-bottom: 0em;
  206. }
  207. /* Event Label */
  208. .ui.feed > .event > .label {
  209. display: table-cell;
  210. width: 2.5em;
  211. height: 2.5em;
  212. vertical-align: top;
  213. text-align: left;
  214. }
  215. .ui.feed > .event > .label .icon {
  216. opacity: 1;
  217. font-size: 1.5em;
  218. width: 100%;
  219. padding: 0.25em;
  220. background: none;
  221. border: none;
  222. border-radius: none;
  223. color: rgba(0, 0, 0, 0.6);
  224. }
  225. .ui.feed > .event > .label img {
  226. width: 100%;
  227. height: auto;
  228. border-radius: 500rem;
  229. }
  230. .ui.feed > .event > .label + .content {
  231. padding: 0.5em 0em 0.5em 1.5em;
  232. }
  233. /* Content */
  234. .ui.feed > .event > .content {
  235. display: table-cell;
  236. vertical-align: top;
  237. text-align: left;
  238. word-wrap: break-word;
  239. }
  240. .ui.feed > .event:last-child > .content {
  241. padding-bottom: 0em;
  242. }
  243. /* Link */
  244. .ui.feed > .event > .content a {
  245. cursor: pointer;
  246. }
  247. /*--------------
  248. Date
  249. ---------------*/
  250. .ui.feed > .event > .content .date {
  251. margin: -0.5rem 0em 0em;
  252. padding: 0em;
  253. font-weight: normal;
  254. font-size: 1em;
  255. font-style: normal;
  256. color: rgba(0, 0, 0, 0.4);
  257. }
  258. /*--------------
  259. Summary
  260. ---------------*/
  261. .ui.feed > .event > .content .summary {
  262. margin: 0em;
  263. font-size: 1em;
  264. font-weight: bold;
  265. color: rgba(0, 0, 0, 0.8);
  266. }
  267. /* Summary Image */
  268. .ui.feed > .event > .content .summary img {
  269. display: inline-block;
  270. width: auto;
  271. height: 2em;
  272. margin: -0.25em 0.25em 0em 0em;
  273. border-radius: 0.25em;
  274. vertical-align: middle;
  275. }
  276. /*--------------
  277. User
  278. ---------------*/
  279. .ui.feed > .event > .content .user {
  280. display: inline-block;
  281. font-weight: bold;
  282. margin-right: 0em;
  283. vertical-align: baseline;
  284. }
  285. .ui.feed > .event > .content .user img {
  286. margin: -0.25em 0.25em 0em 0em;
  287. width: auto;
  288. height: 2em;
  289. vertical-align: middle;
  290. }
  291. /*--------------
  292. Inline Date
  293. ---------------*/
  294. /* Date inside Summary */
  295. .ui.feed > .event > .content .summary > .date {
  296. display: inline-block;
  297. float: none;
  298. font-weight: normal;
  299. font-size: 0.875em;
  300. font-style: normal;
  301. margin: 0em 0em 0em 0.5em;
  302. padding: 0em;
  303. color: rgba(0, 0, 0, 0.4);
  304. }
  305. /*--------------
  306. Extra Summary
  307. ---------------*/
  308. .ui.feed > .event > .content .extra {
  309. margin: 0.5em 0em 0em;
  310. background: none;
  311. padding: 0em;
  312. color: rgba(0, 0, 0, 0.8);
  313. }
  314. /* Images */
  315. .ui.feed > .event > .content .extra.images img {
  316. display: inline-block;
  317. margin: 0em 0.25em 0em 0em;
  318. width: 6em;
  319. }
  320. /* Text */
  321. .ui.feed > .event > .content .extra.text {
  322. padding: 0.5em 1em;
  323. border-left: 3px solid rgba(0, 0, 0, 0.2);
  324. font-size: 1em;
  325. max-width: 500px;
  326. line-height: 1.33;
  327. }
  328. /*--------------
  329. Meta
  330. ---------------*/
  331. .ui.feed > .event > .content .meta {
  332. display: inline-block;
  333. font-size: 0.875em;
  334. margin: 0.5em 0em 0em;
  335. background: none;
  336. border: none;
  337. border-radius: 0;
  338. box-shadow: none;
  339. padding: 0em;
  340. color: rgba(0, 0, 0, 0.6);
  341. }
  342. .ui.feed > .event > .content .meta > * {
  343. position: relative;
  344. margin-left: 0.75em;
  345. }
  346. .ui.feed > .event > .content .meta > *:after {
  347. content: '';
  348. color: rgba(0, 0, 0, 0.2);
  349. top: 0em;
  350. left: -1em;
  351. opacity: 1;
  352. position: absolute;
  353. vertical-align: top;
  354. }
  355. .ui.feed > .event > .content .meta .like {
  356. color: '';
  357. -webkit-transition: 0.2s color ease;
  358. transition: 0.2s color ease;
  359. }
  360. .ui.feed > .event > .content .meta .like:hover .icon {
  361. color: #ff2733;
  362. }
  363. .ui.feed > .event > .content .meta .active.like .icon {
  364. color: #ef404a;
  365. }
  366. /* First element */
  367. .ui.feed > .event > .content .meta > :first-child {
  368. margin-left: 0em;
  369. }
  370. .ui.feed > .event > .content .meta > :first-child::after {
  371. display: none;
  372. }
  373. /* Action */
  374. .ui.feed > .event > .content .meta a,
  375. .ui.feed > .event > .content .meta > .icon {
  376. cursor: pointer;
  377. opacity: 1;
  378. color: rgba(0, 0, 0, 0.5);
  379. -webkit-transition: color 0.25s ease;
  380. transition: color 0.25s ease;
  381. }
  382. .ui.feed > .event > .content .meta a:hover,
  383. .ui.feed > .event > .content .meta a:hover .icon,
  384. .ui.feed > .event > .content .meta > .icon:hover {
  385. color: rgba(0, 0, 0, 0.8);
  386. }
  387. /*******************************
  388. Variations
  389. *******************************/
  390. .ui.small.feed {
  391. font-size: 0.9em;
  392. }
  393. .ui.feed {
  394. font-size: 1em;
  395. }
  396. .ui.large.feed {
  397. font-size: 1.1em;
  398. }
  399. /*******************************
  400. Overrides
  401. *******************************/
  402. /*******************************
  403. User Variable Overrides
  404. *******************************/