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.

116 lines
2.2 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. /*******************************
  19. Content
  20. *******************************/
  21. /* Event */
  22. .ui.feed .event {
  23. width: 100%;
  24. display: table;
  25. padding: 1em;
  26. -webkit-box-sizing: border-box;
  27. -moz-box-sizing: border-box;
  28. -ms-box-sizing: border-box;
  29. box-sizing: border-box;
  30. }
  31. .ui.feed .event:first-child {
  32. border-top: 0px;
  33. }
  34. .ui.feed .event:last-child {
  35. margin-bottom: 1em;
  36. }
  37. /* Event Label */
  38. .ui.feed .label {
  39. width: 3em;
  40. display: table-cell;
  41. vertical-align: top;
  42. text-align: left;
  43. }
  44. .ui.feed .label .icon {
  45. font-size: 1.5em;
  46. margin: 0em;
  47. }
  48. .ui.feed .label img {
  49. width: 3em;
  50. margin: 0em;
  51. border-radius: 50em;
  52. }
  53. .ui.feed .label + .content {
  54. padding: 1em 1em 0em;
  55. }
  56. /* Content */
  57. .ui.feed .content {
  58. display: table-cell;
  59. vertical-align: top;
  60. text-align: left;
  61. }
  62. /* Date */
  63. .ui.feed .content .date {
  64. float: right;
  65. padding-left: 1em;
  66. color: rgba(0, 0, 0, 0.4);
  67. }
  68. /* Summary */
  69. .ui.feed .content .summary {
  70. color: rgba(0, 0, 0, 0.75);
  71. }
  72. .ui.feed .content .summary img {
  73. display: inline-block;
  74. margin-right: 0.25em;
  75. width: 4em;
  76. border-radius: 500px;
  77. }
  78. /* Additional Information */
  79. .ui.feed .content .extra {
  80. margin: 1em 0em 0em;
  81. padding: 0.5em 0em 0em;
  82. color: rgba(0, 0, 0, 0.5);
  83. }
  84. .ui.feed .content .extra.images img {
  85. display: inline-block;
  86. margin-right: 0.25em;
  87. width: 6em;
  88. }
  89. .ui.feed .content .extra.text {
  90. padding: 0.5em 1em;
  91. border-left: 0.2em solid rgba(0, 0, 0, 0.1);
  92. }
  93. /*******************************
  94. Variations
  95. *******************************/
  96. .ui.small.feed .label img {
  97. width: 2.5em;
  98. }
  99. .ui.small.feed .label .icon {
  100. font-size: 1.25em;
  101. }
  102. .ui.feed .event {
  103. padding: 0.75em 0em;
  104. }
  105. .ui.small.feed .label + .content {
  106. padding: 0.5em 0.5em 0;
  107. }
  108. .ui.small.feed .content .extra.images img {
  109. width: 5em;
  110. }
  111. .ui.small.feed .content .extra {
  112. margin: 0.5em 0em 0em;
  113. }
  114. .ui.feed .content .extra.text {
  115. padding: 0.25em 0.5em;
  116. }