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.

187 lines
2.9 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. .header {
  15. .header__right {
  16. .counter-btn {
  17. color: darken(#d9e1e8, 15%);
  18. }
  19. }
  20. }
  21. }
  22. &.entry-follow, &.entry-favourite {
  23. .content {
  24. padding-top: 10px;
  25. padding-bottom: 10px;
  26. strong {
  27. font-weight: 500;
  28. }
  29. }
  30. }
  31. &:last-child {
  32. border-bottom: 0;
  33. border-radius: 0 0 4px 4px;
  34. }
  35. }
  36. &.activity-stream-headless {
  37. .entry:first-child {
  38. border-radius: 4px 4px 0 0;
  39. &:last-child {
  40. border-radius: 4px;
  41. }
  42. }
  43. }
  44. &.activity-stream-embedded {
  45. box-shadow: none;
  46. .entry {
  47. border-radius: 0;
  48. }
  49. }
  50. .entry__container {
  51. display: flex;
  52. }
  53. .avatar {
  54. width: 56px;
  55. padding: 15px;
  56. img {
  57. width: 56px;
  58. height: 56px;
  59. display: block;
  60. border-radius: 56px;
  61. }
  62. }
  63. .entry__container__container {
  64. flex-grow: 1;
  65. }
  66. .header {
  67. margin-bottom: 10px;
  68. padding: 15px;
  69. padding-bottom: 0;
  70. padding-left: 8px;
  71. display: flex;
  72. .header__left {
  73. flex: 1;
  74. }
  75. .header__right {
  76. .counter-btn {
  77. color: #d9e1e8;
  78. display: inline-block;
  79. padding: 0 10px;
  80. cursor: default;
  81. .counter-number {
  82. font-weight: 500;
  83. display: inline-block;
  84. margin-left: 3px;
  85. font-size: 12px;
  86. }
  87. &.reblogged {
  88. color: #2b90d9;
  89. }
  90. &.favourited {
  91. color: #df405a;
  92. }
  93. }
  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: 25px;
  129. color: #282c37;
  130. a {
  131. color: #2b90d9;
  132. text-decoration: none;
  133. &:hover {
  134. text-decoration: underline;
  135. }
  136. &.mention {
  137. &:hover {
  138. text-decoration: none;
  139. span {
  140. text-decoration: underline;
  141. }
  142. }
  143. }
  144. }
  145. }
  146. .time {
  147. text-decoration: none;
  148. color: #9baec8;
  149. &:hover {
  150. text-decoration: underline;
  151. }
  152. }
  153. }