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.

541 lines
12 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 - 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 Defaults
  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. /* Status */
  86. /*-------------------
  87. Neutral Text
  88. --------------------*/
  89. /*-------------------
  90. Brand Colors
  91. --------------------*/
  92. /*-------------------
  93. Borders
  94. --------------------*/
  95. /*-------------------
  96. Sizes
  97. --------------------*/
  98. /*-------------------
  99. Transitions
  100. --------------------*/
  101. /*-------------------
  102. Derived Values
  103. --------------------*/
  104. /* Makes sure padded grid can fit at 320px */
  105. /* Used to match floats with text */
  106. /* Positive / Negative Dupes */
  107. /* Header Colors */
  108. /* Responsive */
  109. /* Columns */
  110. /*******************************
  111. States
  112. *******************************/
  113. /*-------------------
  114. Disabled
  115. --------------------*/
  116. /*-------------------
  117. Hover
  118. --------------------*/
  119. /*--- Colors ---*/
  120. /*--- Emotive ---*/
  121. /*--- Neutrals ---*/
  122. /*-------------------
  123. Down (:active)
  124. --------------------*/
  125. /*--- Colors ---*/
  126. /*--- Emotive ---*/
  127. /*--- Neutrals ---*/
  128. /*-------------------
  129. Active
  130. --------------------*/
  131. /*--- Standard ---*/
  132. /*--- Emotive ---*/
  133. /*--- Neutrals ---*/
  134. /*******************************
  135. Feed
  136. *******************************/
  137. /*-------------------
  138. Feed
  139. --------------------*/
  140. /*-------------------
  141. Elements
  142. --------------------*/
  143. /* Event */
  144. /* Event Label */
  145. /* Icon Label */
  146. /* Image Label */
  147. /* Content w/ Label */
  148. /* Content */
  149. /* Date */
  150. /* Summary */
  151. /* Summary Image */
  152. /* Summary Date */
  153. /* User */
  154. /* Extra Summary Data */
  155. /* Extra Images */
  156. /* Extra Text */
  157. /* Metadata Group */
  158. /* Like */
  159. /* Metadata Divider */
  160. /*-------------------
  161. Variations
  162. --------------------*/
  163. /* Size */
  164. /*------------------
  165. Load Theme
  166. -------------------*/
  167. /*******************************
  168. Site Settings
  169. *******************************/
  170. /*-------------------
  171. Paths
  172. --------------------*/
  173. /*-------------------
  174. Fonts
  175. --------------------*/
  176. /*-------------------
  177. Site Colors
  178. --------------------*/
  179. /*--- Colors ---*/
  180. /*--- Light Colors ---*/
  181. /*-------------------
  182. Page
  183. --------------------*/
  184. /*-------------------
  185. Background Colors
  186. --------------------*/
  187. /* Used for differentiating neutrals */
  188. /* Used for differentiating layers */
  189. /*-------------------
  190. Grid
  191. --------------------*/
  192. /*-------------------
  193. Breakpoints
  194. --------------------*/
  195. /*******************************
  196. Power-User
  197. *******************************/
  198. /*-------------------
  199. Icons
  200. --------------------*/
  201. /* Max Width of Icon */
  202. /*-------------------
  203. Easing
  204. --------------------*/
  205. /*--- Neutrals ---*/
  206. /*--- Colored Backgrounds ---*/
  207. /*--- Colored Text ---*/
  208. /*--- Colored Headers ---*/
  209. /*-------------------
  210. Emotive Colors
  211. --------------------*/
  212. /* Mood */
  213. /* Status */
  214. /*-------------------
  215. Neutral Text
  216. --------------------*/
  217. /*-------------------
  218. Brand Colors
  219. --------------------*/
  220. /*-------------------
  221. Borders
  222. --------------------*/
  223. /*-------------------
  224. Sizes
  225. --------------------*/
  226. /*-------------------
  227. Transitions
  228. --------------------*/
  229. /*-------------------
  230. Derived Values
  231. --------------------*/
  232. /* Makes sure padded grid can fit at 320px */
  233. /* Used to match floats with text */
  234. /* Positive / Negative Dupes */
  235. /* Header Colors */
  236. /* Responsive */
  237. /* Columns */
  238. /*******************************
  239. States
  240. *******************************/
  241. /*-------------------
  242. Disabled
  243. --------------------*/
  244. /*-------------------
  245. Hover
  246. --------------------*/
  247. /*--- Colors ---*/
  248. /*--- Emotive ---*/
  249. /*--- Neutrals ---*/
  250. /*-------------------
  251. Down (:active)
  252. --------------------*/
  253. /*--- Colors ---*/
  254. /*--- Emotive ---*/
  255. /*--- Neutrals ---*/
  256. /*-------------------
  257. Active
  258. --------------------*/
  259. /*--- Standard ---*/
  260. /*--- Emotive ---*/
  261. /*--- Neutrals ---*/
  262. /*******************************
  263. Feed
  264. *******************************/
  265. /*-------------------
  266. Feed
  267. --------------------*/
  268. /*-------------------
  269. Elements
  270. --------------------*/
  271. /* Event */
  272. /* Event Label */
  273. /* Icon Label */
  274. /* Image Label */
  275. /* Content w/ Label */
  276. /* Content */
  277. /* Date */
  278. /* Summary */
  279. /* Summary Image */
  280. /* Summary Date */
  281. /* User */
  282. /* Extra Summary Data */
  283. /* Extra Images */
  284. /* Extra Text */
  285. /* Metadata Group */
  286. /* Like */
  287. /* Metadata Divider */
  288. /*-------------------
  289. Variations
  290. --------------------*/
  291. /* Size */
  292. /*------------------
  293. Load Site
  294. -------------------*/
  295. /*******************************
  296. User Global Variables
  297. *******************************/
  298. /*******************************
  299. User Variable Overrides
  300. *******************************/
  301. /*------------------
  302. Override Loader
  303. -------------------*/
  304. /*******************************
  305. Activity Feed
  306. *******************************/
  307. .ui.feed {
  308. margin: 1em 0em;
  309. }
  310. .ui.feed:first-child {
  311. margin-top: 0em;
  312. }
  313. .ui.feed:last-child {
  314. margin-top: 0em;
  315. }
  316. /*******************************
  317. Content
  318. *******************************/
  319. /* Event */
  320. .ui.feed > .event {
  321. display: table;
  322. width: 100%;
  323. padding: 0.5rem 0em;
  324. margin: 0em;
  325. background: none;
  326. border-top: none;
  327. }
  328. .ui.feed > .event:first-child {
  329. border-top: 0px;
  330. padding-top: 0em;
  331. }
  332. .ui.feed > .event:last-child {
  333. padding-bottom: 0em;
  334. }
  335. /* Event Label */
  336. .ui.feed > .event > .label {
  337. display: table-cell;
  338. width: 2.5em;
  339. height: 2.5em;
  340. vertical-align: top;
  341. text-align: left;
  342. }
  343. .ui.feed > .event > .label .icon {
  344. opacity: 1;
  345. font-size: 1.5em;
  346. width: 100%;
  347. padding: 0.25em;
  348. background: none;
  349. border: none;
  350. border-radius: none;
  351. color: rgba(0, 0, 0, 0.6);
  352. }
  353. .ui.feed > .event > .label img {
  354. width: 100%;
  355. height: auto;
  356. border-radius: 500rem;
  357. }
  358. .ui.feed > .event > .label + .content {
  359. padding: 0.5em 0em 0.5em 1.5em;
  360. }
  361. /* Content */
  362. .ui.feed > .event > .content {
  363. display: table-cell;
  364. vertical-align: top;
  365. text-align: left;
  366. word-wrap: break-word;
  367. }
  368. .ui.feed > .event:last-child > .content {
  369. padding-bottom: 0em;
  370. }
  371. /* Link */
  372. .ui.feed > .event > .content a {
  373. cursor: pointer;
  374. }
  375. /*--------------
  376. Date
  377. ---------------*/
  378. .ui.feed > .event > .content .date {
  379. margin: -0.5rem 0em 0em;
  380. padding: 0em;
  381. font-weight: normal;
  382. font-size: 1em;
  383. font-style: normal;
  384. color: rgba(0, 0, 0, 0.4);
  385. }
  386. /*--------------
  387. Summary
  388. ---------------*/
  389. .ui.feed > .event > .content .summary {
  390. margin: 0em;
  391. font-size: 1em;
  392. font-weight: bold;
  393. color: rgba(0, 0, 0, 0.8);
  394. }
  395. /* Summary Image */
  396. .ui.feed > .event > .content .summary img {
  397. display: inline-block;
  398. width: auto;
  399. height: 2em;
  400. margin: -0.25em 0.25em 0em 0em;
  401. border-radius: 0.25em;
  402. vertical-align: middle;
  403. }
  404. /*--------------
  405. User
  406. ---------------*/
  407. .ui.feed > .event > .content .user {
  408. display: inline-block;
  409. font-weight: bold;
  410. margin-right: 0em;
  411. vertical-align: baseline;
  412. }
  413. .ui.feed > .event > .content .user img {
  414. margin: -0.25em 0.25em 0em 0em;
  415. width: auto;
  416. height: 2em;
  417. vertical-align: middle;
  418. }
  419. /*--------------
  420. Inline Date
  421. ---------------*/
  422. /* Date inside Summary */
  423. .ui.feed > .event > .content .summary > .date {
  424. display: inline-block;
  425. float: none;
  426. font-weight: normal;
  427. font-size: 0.875em;
  428. font-style: normal;
  429. margin: 0em 0em 0em 0.5em;
  430. padding: 0em;
  431. color: rgba(0, 0, 0, 0.4);
  432. }
  433. /*--------------
  434. Extra Summary
  435. ---------------*/
  436. .ui.feed > .event > .content .extra {
  437. margin: 0.5em 0em 0em;
  438. background: none;
  439. padding: 0em;
  440. color: rgba(0, 0, 0, 0.8);
  441. }
  442. /* Images */
  443. .ui.feed > .event > .content .extra.images img {
  444. display: inline-block;
  445. margin: 0em 0.25em 0em 0em;
  446. width: 6em;
  447. }
  448. /* Text */
  449. .ui.feed > .event > .content .extra.text {
  450. padding: 0.5em 1em;
  451. border-left: 3px solid rgba(0, 0, 0, 0.2);
  452. font-size: 1em;
  453. max-width: 500px;
  454. line-height: 1.33;
  455. }
  456. /*--------------
  457. Meta
  458. ---------------*/
  459. .ui.feed > .event > .content .meta {
  460. display: inline-block;
  461. font-size: 0.875em;
  462. margin: 0.5em 0em 0em;
  463. background: none;
  464. border: none;
  465. border-radius: 0;
  466. box-shadow: none;
  467. padding: 0em;
  468. color: rgba(0, 0, 0, 0.6);
  469. }
  470. .ui.feed > .event > .content .meta > * {
  471. position: relative;
  472. margin-left: 0.75em;
  473. }
  474. .ui.feed > .event > .content .meta > *:after {
  475. content: '';
  476. color: rgba(0, 0, 0, 0.2);
  477. top: 0em;
  478. left: -1em;
  479. opacity: 1;
  480. position: absolute;
  481. vertical-align: top;
  482. }
  483. .ui.feed > .event > .content .meta .like {
  484. color: '';
  485. -webkit-transition: 0.2s color ease;
  486. transition: 0.2s color ease;
  487. }
  488. .ui.feed > .event > .content .meta .like:hover .icon {
  489. color: #ff2733;
  490. }
  491. .ui.feed > .event > .content .meta .active.like .icon {
  492. color: #ef404a;
  493. }
  494. /* First element */
  495. .ui.feed > .event > .content .meta > :first-child {
  496. margin-left: 0em;
  497. }
  498. .ui.feed > .event > .content .meta > :first-child::after {
  499. display: none;
  500. }
  501. /* Action */
  502. .ui.feed > .event > .content .meta a,
  503. .ui.feed > .event > .content .meta > .icon {
  504. cursor: pointer;
  505. opacity: 1;
  506. color: rgba(0, 0, 0, 0.5);
  507. -webkit-transition: color 0.2s ease;
  508. transition: color 0.2s ease;
  509. }
  510. .ui.feed > .event > .content .meta a:hover,
  511. .ui.feed > .event > .content .meta a:hover .icon,
  512. .ui.feed > .event > .content .meta > .icon:hover {
  513. color: rgba(0, 0, 0, 0.8);
  514. }
  515. /*******************************
  516. Variations
  517. *******************************/
  518. .ui.small.feed {
  519. font-size: 0.9em;
  520. }
  521. .ui.feed {
  522. font-size: 1em;
  523. }
  524. .ui.large.feed {
  525. font-size: 1.1em;
  526. }
  527. /*******************************
  528. Overrides
  529. *******************************/
  530. /*******************************
  531. User Variable Overrides
  532. *******************************/