1
0

feed.css 5.4 KB

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