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.

227 lines
3.5 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. @media screen and (max-width: 700px) {
  49. border-radius: 0;
  50. box-shadow: none;
  51. .entry {
  52. &:last-child {
  53. border-radius: 0;
  54. }
  55. &:first-child {
  56. border-radius: 0;
  57. &:last-child {
  58. border-radius: 0;
  59. }
  60. }
  61. }
  62. }
  63. @media screen and (max-width: 360px) {
  64. .avatar {
  65. display: none;
  66. }
  67. }
  68. .entry__container {
  69. display: flex;
  70. }
  71. .avatar {
  72. width: 56px;
  73. padding: 15px;
  74. img {
  75. width: 56px;
  76. height: 56px;
  77. display: block;
  78. border-radius: 4px;
  79. }
  80. }
  81. .entry__container__container {
  82. flex-grow: 1;
  83. }
  84. .header {
  85. margin-bottom: 10px;
  86. padding: 15px;
  87. padding-bottom: 0;
  88. padding-left: 8px;
  89. display: flex;
  90. .header__left {
  91. flex: 1;
  92. }
  93. .header__right {
  94. }
  95. .name {
  96. text-decoration: none;
  97. color: #9baec8;
  98. strong {
  99. color: #282c37;
  100. font-weight: 500;
  101. }
  102. &:hover {
  103. strong {
  104. text-decoration: underline;
  105. }
  106. }
  107. }
  108. }
  109. .pre-header {
  110. border-bottom: 1px solid #d9e1e8;
  111. color: #2b90d9;
  112. padding: 5px 10px;
  113. padding-left: 8px;
  114. clear: both;
  115. .name {
  116. color: #2b90d9;
  117. font-weight: 500;
  118. text-decoration: none;
  119. &:hover {
  120. text-decoration: underline;
  121. }
  122. }
  123. }
  124. .content {
  125. font-size: 14px;
  126. padding: 0 10px;
  127. padding-left: 8px;
  128. padding-bottom: 15px;
  129. color: #282c37;
  130. p {
  131. margin-bottom: 18px;
  132. &:last-child {
  133. margin-bottom: 0;
  134. }
  135. }
  136. a {
  137. color: #2b90d9;
  138. text-decoration: none;
  139. &:hover {
  140. text-decoration: underline;
  141. }
  142. &.mention {
  143. &:hover {
  144. text-decoration: none;
  145. span {
  146. text-decoration: underline;
  147. }
  148. }
  149. }
  150. }
  151. }
  152. .time {
  153. text-decoration: none;
  154. color: #9baec8;
  155. &:hover {
  156. text-decoration: underline;
  157. }
  158. }
  159. .media-attachments {
  160. list-style: none;
  161. margin: 0;
  162. padding: 0;
  163. display: block;
  164. overflow: hidden;
  165. padding-left: 10px;
  166. margin-bottom: 21px;
  167. li {
  168. display: block;
  169. float: left;
  170. width: 120px;
  171. height: 100px;
  172. border-radius: 4px;
  173. margin-right: 4px;
  174. margin-bottom: 4px;
  175. a {
  176. display: block;
  177. width: 120px;
  178. height: 100px;
  179. border-radius: 4px;
  180. background-position: center;
  181. background-repeat: none;
  182. background-size: cover;
  183. }
  184. }
  185. }
  186. }