feed.css 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. /*!
  2. * # Semantic UI 2.2.6 - Feed
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Released under the MIT license
  7. * http://opensource.org/licenses/MIT
  8. *
  9. */
  10. /*******************************
  11. Activity Feed
  12. *******************************/
  13. .ui.feed {
  14. margin: 1em 0em;
  15. }
  16. .ui.feed:first-child {
  17. margin-top: 0em;
  18. }
  19. .ui.feed:last-child {
  20. margin-bottom: 0em;
  21. }
  22. /*******************************
  23. Content
  24. *******************************/
  25. /* Event */
  26. .ui.feed > .event {
  27. display: -webkit-box;
  28. display: -webkit-flex;
  29. display: -ms-flexbox;
  30. display: flex;
  31. -webkit-box-orient: horizontal;
  32. -webkit-box-direction: normal;
  33. -webkit-flex-direction: row;
  34. -ms-flex-direction: row;
  35. flex-direction: row;
  36. width: 100%;
  37. padding: 0.21428571rem 0em;
  38. margin: 0em;
  39. background: none;
  40. border-top: none;
  41. }
  42. .ui.feed > .event:first-child {
  43. border-top: 0px;
  44. padding-top: 0em;
  45. }
  46. .ui.feed > .event:last-child {
  47. padding-bottom: 0em;
  48. }
  49. /* Event Label */
  50. .ui.feed > .event > .label {
  51. display: block;
  52. -webkit-box-flex: 0;
  53. -webkit-flex: 0 0 auto;
  54. -ms-flex: 0 0 auto;
  55. flex: 0 0 auto;
  56. width: 2.5em;
  57. height: auto;
  58. -webkit-align-self: stretch;
  59. -ms-flex-item-align: stretch;
  60. align-self: stretch;
  61. text-align: left;
  62. }
  63. .ui.feed > .event > .label .icon {
  64. opacity: 1;
  65. font-size: 1.5em;
  66. width: 100%;
  67. padding: 0.25em;
  68. background: none;
  69. border: none;
  70. border-radius: none;
  71. color: rgba(0, 0, 0, 0.6);
  72. }
  73. .ui.feed > .event > .label img {
  74. width: 100%;
  75. height: auto;
  76. border-radius: 500rem;
  77. }
  78. .ui.feed > .event > .label + .content {
  79. margin: 0.5em 0em 0.35714286em 1.14285714em;
  80. }
  81. /*--------------
  82. Content
  83. ---------------*/
  84. /* Content */
  85. .ui.feed > .event > .content {
  86. display: block;
  87. -webkit-box-flex: 1;
  88. -webkit-flex: 1 1 auto;
  89. -ms-flex: 1 1 auto;
  90. flex: 1 1 auto;
  91. -webkit-align-self: stretch;
  92. -ms-flex-item-align: stretch;
  93. align-self: stretch;
  94. text-align: left;
  95. word-wrap: break-word;
  96. }
  97. .ui.feed > .event:last-child > .content {
  98. padding-bottom: 0em;
  99. }
  100. /* Link */
  101. .ui.feed > .event > .content a {
  102. cursor: pointer;
  103. }
  104. /*--------------
  105. Date
  106. ---------------*/
  107. .ui.feed > .event > .content .date {
  108. margin: -0.5rem 0em 0em;
  109. padding: 0em;
  110. font-weight: normal;
  111. font-size: 1em;
  112. font-style: normal;
  113. color: rgba(0, 0, 0, 0.4);
  114. }
  115. /*--------------
  116. Summary
  117. ---------------*/
  118. .ui.feed > .event > .content .summary {
  119. margin: 0em;
  120. font-size: 1em;
  121. font-weight: bold;
  122. color: rgba(0, 0, 0, 0.87);
  123. }
  124. /* Summary Image */
  125. .ui.feed > .event > .content .summary img {
  126. display: inline-block;
  127. width: auto;
  128. height: 10em;
  129. margin: -0.25em 0.25em 0em 0em;
  130. border-radius: 0.25em;
  131. vertical-align: middle;
  132. }
  133. /*--------------
  134. User
  135. ---------------*/
  136. .ui.feed > .event > .content .user {
  137. display: inline-block;
  138. font-weight: bold;
  139. margin-right: 0em;
  140. vertical-align: baseline;
  141. }
  142. .ui.feed > .event > .content .user img {
  143. margin: -0.25em 0.25em 0em 0em;
  144. width: auto;
  145. height: 10em;
  146. vertical-align: middle;
  147. }
  148. /*--------------
  149. Inline Date
  150. ---------------*/
  151. /* Date inside Summary */
  152. .ui.feed > .event > .content .summary > .date {
  153. display: inline-block;
  154. float: none;
  155. font-weight: normal;
  156. font-size: 0.85714286em;
  157. font-style: normal;
  158. margin: 0em 0em 0em 0.5em;
  159. padding: 0em;
  160. color: rgba(0, 0, 0, 0.4);
  161. }
  162. /*--------------
  163. Extra Summary
  164. ---------------*/
  165. .ui.feed > .event > .content .extra {
  166. margin: 0.5em 0em 0em;
  167. background: none;
  168. padding: 0em;
  169. color: rgba(0, 0, 0, 0.87);
  170. }
  171. /* Images */
  172. .ui.feed > .event > .content .extra.images img {
  173. display: inline-block;
  174. margin: 0em 0.25em 0em 0em;
  175. width: 6em;
  176. }
  177. /* Text */
  178. .ui.feed > .event > .content .extra.text {
  179. padding: 0em;
  180. border-left: none;
  181. font-size: 1em;
  182. max-width: 500px;
  183. line-height: 1.4285em;
  184. }
  185. /*--------------
  186. Meta
  187. ---------------*/
  188. .ui.feed > .event > .content .meta {
  189. display: inline-block;
  190. font-size: 0.85714286em;
  191. margin: 0.5em 0em 0em;
  192. background: none;
  193. border: none;
  194. border-radius: 0;
  195. box-shadow: none;
  196. padding: 0em;
  197. color: rgba(0, 0, 0, 0.6);
  198. }
  199. .ui.feed > .event > .content .meta > * {
  200. position: relative;
  201. margin-left: 0.75em;
  202. }
  203. .ui.feed > .event > .content .meta > *:after {
  204. content: '';
  205. color: rgba(0, 0, 0, 0.2);
  206. top: 0em;
  207. left: -1em;
  208. opacity: 1;
  209. position: absolute;
  210. vertical-align: top;
  211. }
  212. .ui.feed > .event > .content .meta .like {
  213. color: '';
  214. -webkit-transition: 0.2s color ease;
  215. transition: 0.2s color ease;
  216. }
  217. .ui.feed > .event > .content .meta .like:hover .icon {
  218. color: #FF2733;
  219. }
  220. .ui.feed > .event > .content .meta .active.like .icon {
  221. color: #EF404A;
  222. }
  223. /* First element */
  224. .ui.feed > .event > .content .meta > :first-child {
  225. margin-left: 0em;
  226. }
  227. .ui.feed > .event > .content .meta > :first-child::after {
  228. display: none;
  229. }
  230. /* Action */
  231. .ui.feed > .event > .content .meta a,
  232. .ui.feed > .event > .content .meta > .icon {
  233. cursor: pointer;
  234. opacity: 1;
  235. color: rgba(0, 0, 0, 0.5);
  236. -webkit-transition: color 0.1s ease;
  237. transition: color 0.1s ease;
  238. }
  239. .ui.feed > .event > .content .meta a:hover,
  240. .ui.feed > .event > .content .meta a:hover .icon,
  241. .ui.feed > .event > .content .meta > .icon:hover {
  242. color: rgba(0, 0, 0, 0.95);
  243. }
  244. /*******************************
  245. Variations
  246. *******************************/
  247. .ui.small.feed {
  248. font-size: 0.92857143rem;
  249. }
  250. .ui.feed {
  251. font-size: 1rem;
  252. }
  253. .ui.large.feed {
  254. font-size: 1.14285714rem;
  255. }
  256. /*******************************
  257. Theme Overrides
  258. *******************************/
  259. /*******************************
  260. User Variable Overrides
  261. *******************************/