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.

229 lines
3.6 KiB

  1. .activity-stream {
  2. clear: both;
  3. box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  4. .entry {
  5. border-bottom: 1px solid #d9e1e8;
  6. background: #fff;
  7. border-left: 2px solid #fff;
  8. &.entry-reblog {
  9. border-left-color: #2b90d9;
  10. }
  11. &.entry-predecessor, &.entry-successor {
  12. background: #d9e1e8;
  13. border-left-color: #d9e1e8;
  14. border-bottom-color: darken(#d9e1e8, 10%);
  15. .header {
  16. .header__right {
  17. .counter-btn {
  18. color: darken(#d9e1e8, 15%);
  19. }
  20. }
  21. }
  22. }
  23. &.entry-center {
  24. border-bottom-color: darken(#d9e1e8, 10%);
  25. }
  26. &.entry-follow, &.entry-favourite {
  27. .content {
  28. padding-top: 10px;
  29. padding-bottom: 10px;
  30. strong {
  31. font-weight: 500;
  32. }
  33. }
  34. }
  35. &:last-child {
  36. border-bottom: 0;
  37. border-radius: 0 0 4px 4px;
  38. }
  39. }
  40. &.activity-stream-headless {
  41. .entry:first-child {
  42. border-radius: 4px 4px 0 0;
  43. &:last-child {
  44. border-radius: 4px;
  45. }
  46. }
  47. }
  48. &.activity-stream-embedded {
  49. box-shadow: none;
  50. .entry {
  51. border-radius: 0;
  52. }
  53. }
  54. .entry__container {
  55. display: flex;
  56. }
  57. .avatar {
  58. width: 56px;
  59. padding: 15px;
  60. img {
  61. width: 56px;
  62. height: 56px;
  63. display: block;
  64. border-radius: 56px;
  65. }
  66. }
  67. .entry__container__container {
  68. flex-grow: 1;
  69. }
  70. .header {
  71. margin-bottom: 10px;
  72. padding: 15px;
  73. padding-bottom: 0;
  74. padding-left: 8px;
  75. display: flex;
  76. .header__left {
  77. flex: 1;
  78. }
  79. .header__right {
  80. .counter-btn {
  81. color: #d9e1e8;
  82. display: inline-block;
  83. padding: 0 10px;
  84. cursor: default;
  85. .counter-number {
  86. font-weight: 500;
  87. display: inline-block;
  88. margin-left: 3px;
  89. font-size: 12px;
  90. }
  91. &.reblogged {
  92. color: #2b90d9;
  93. }
  94. &.favourited {
  95. color: #df405a;
  96. }
  97. }
  98. }
  99. .name {
  100. text-decoration: none;
  101. color: #9baec8;
  102. strong {
  103. color: #282c37;
  104. font-weight: 500;
  105. }
  106. &:hover {
  107. strong {
  108. text-decoration: underline;
  109. }
  110. }
  111. }
  112. }
  113. .pre-header {
  114. border-bottom: 1px solid #d9e1e8;
  115. color: #2b90d9;
  116. padding: 5px 10px;
  117. padding-left: 8px;
  118. clear: both;
  119. .name {
  120. color: #2b90d9;
  121. font-weight: 500;
  122. text-decoration: none;
  123. &:hover {
  124. text-decoration: underline;
  125. }
  126. }
  127. }
  128. .content {
  129. font-size: 14px;
  130. padding: 0 10px;
  131. padding-left: 8px;
  132. padding-bottom: 15px;
  133. color: #282c37;
  134. p {
  135. margin-bottom: 18px;
  136. &:last-child {
  137. margin-bottom: 0;
  138. }
  139. }
  140. a {
  141. color: #2b90d9;
  142. text-decoration: none;
  143. &:hover {
  144. text-decoration: underline;
  145. }
  146. &.mention {
  147. &:hover {
  148. text-decoration: none;
  149. span {
  150. text-decoration: underline;
  151. }
  152. }
  153. }
  154. }
  155. }
  156. .time {
  157. text-decoration: none;
  158. color: #9baec8;
  159. &:hover {
  160. text-decoration: underline;
  161. }
  162. }
  163. .media-attachments {
  164. list-style: none;
  165. margin: 0;
  166. padding: 0;
  167. display: block;
  168. overflow: hidden;
  169. padding-left: 10px;
  170. li {
  171. display: block;
  172. float: left;
  173. width: 120px;
  174. height: 100px;
  175. border-radius: 4px;
  176. margin-right: 4px;
  177. margin-bottom: 25px;
  178. a {
  179. display: block;
  180. width: 120px;
  181. height: 100px;
  182. border-radius: 4px;
  183. background-position: center;
  184. background-repeat: none;
  185. background-size: cover;
  186. }
  187. }
  188. }
  189. }