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.

122 lines
2.3 KiB

  1. /*
  2. * # Activity Feed View
  3. * http://github.com/quirkyinc/semantic
  4. *
  5. *
  6. * Copyright 2013 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. * Released: May 22, 2013
  11. */
  12. /*******************************
  13. Activity Feed
  14. *******************************/
  15. .ui.feed a {
  16. cursor: pointer;
  17. }
  18. .ui.feed,
  19. .ui.feed .event,
  20. .ui.feed .label,
  21. .ui.feed .content,
  22. .ui.feed .extra {
  23. -webkit-box-sizing: border-box;
  24. -moz-box-sizing: border-box;
  25. -ms-box-sizing: border-box;
  26. box-sizing: border-box;
  27. }
  28. /*******************************
  29. Content
  30. *******************************/
  31. /* Event */
  32. .ui.feed .event {
  33. width: 100%;
  34. display: table;
  35. padding: 1em;
  36. }
  37. .ui.feed .event:first-child {
  38. border-top: 0px;
  39. }
  40. .ui.feed .event:last-child {
  41. margin-bottom: 1em;
  42. }
  43. /* Event Label */
  44. .ui.feed .label {
  45. width: 3em;
  46. display: table-cell;
  47. vertical-align: top;
  48. text-align: left;
  49. }
  50. .ui.feed .label .icon {
  51. font-size: 1.5em;
  52. margin: 0em;
  53. }
  54. .ui.feed .label img {
  55. width: 3em;
  56. margin: 0em;
  57. border-radius: 50em;
  58. }
  59. .ui.feed .label + .content {
  60. padding: 0.75em 1em 0em;
  61. }
  62. /* Content */
  63. .ui.feed .content {
  64. display: table-cell;
  65. vertical-align: top;
  66. text-align: left;
  67. }
  68. /* Date */
  69. .ui.feed .content .date {
  70. float: right;
  71. padding-left: 1em;
  72. color: rgba(0, 0, 0, 0.4);
  73. }
  74. /* Summary */
  75. .ui.feed .content .summary {
  76. color: rgba(0, 0, 0, 0.75);
  77. }
  78. .ui.feed .content .summary img {
  79. display: inline-block;
  80. margin-right: 0.25em;
  81. width: 4em;
  82. border-radius: 500px;
  83. }
  84. /* Additional Information */
  85. .ui.feed .content .extra {
  86. margin: 1em 0em 0em;
  87. padding: 0.5em 0em 0em;
  88. color: rgba(0, 0, 0, 0.5);
  89. }
  90. .ui.feed .content .extra.images img {
  91. display: inline-block;
  92. margin-right: 0.25em;
  93. width: 6em;
  94. }
  95. .ui.feed .content .extra.text {
  96. padding: 0.5em 1em;
  97. border-left: 0.2em solid rgba(0, 0, 0, 0.1);
  98. }
  99. /*******************************
  100. Variations
  101. *******************************/
  102. .ui.small.feed .label img {
  103. width: 2.5em;
  104. }
  105. .ui.small.feed .label .icon {
  106. font-size: 1.25em;
  107. }
  108. .ui.feed .event {
  109. padding: 0.75em 0em;
  110. }
  111. .ui.small.feed .label + .content {
  112. padding: 0.5em 0.5em 0;
  113. }
  114. .ui.small.feed .content .extra.images img {
  115. width: 5em;
  116. }
  117. .ui.small.feed .content .extra {
  118. margin: 0.5em 0em 0em;
  119. }
  120. .ui.small.feed .content .extra.text {
  121. padding: 0.25em 0.5em;
  122. }