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.

171 lines
2.7 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. }
  15. &.entry-follow, &.entry-favourite {
  16. .content {
  17. padding-top: 10px;
  18. padding-bottom: 10px;
  19. strong {
  20. font-weight: 500;
  21. }
  22. }
  23. }
  24. &:last-child {
  25. border-bottom: 0;
  26. border-radius: 0 0 4px 4px;
  27. }
  28. }
  29. &.activity-stream-headless {
  30. .entry:first-child {
  31. border-radius: 4px 4px 0 0;
  32. &:last-child {
  33. border-radius: 4px;
  34. }
  35. }
  36. }
  37. .entry__container {
  38. display: flex;
  39. }
  40. .avatar {
  41. width: 56px;
  42. padding: 15px;
  43. img {
  44. width: 56px;
  45. height: 56px;
  46. display: block;
  47. border-radius: 56px;
  48. }
  49. }
  50. .entry__container__container {
  51. flex-grow: 1;
  52. }
  53. .header {
  54. margin-bottom: 10px;
  55. padding: 15px;
  56. padding-bottom: 0;
  57. padding-left: 8px;
  58. display: flex;
  59. .header__left {
  60. flex: 1;
  61. }
  62. .header__right {
  63. .counter-btn {
  64. color: #d9e1e8;
  65. display: inline-block;
  66. padding: 0 10px;
  67. cursor: default;
  68. .counter-number {
  69. font-weight: 500;
  70. display: inline-block;
  71. margin-left: 3px;
  72. font-size: 12px;
  73. }
  74. &.reblogged {
  75. color: #2b90d9;
  76. }
  77. &.favourited {
  78. color: #df405a;
  79. }
  80. }
  81. }
  82. .name {
  83. text-decoration: none;
  84. color: #9baec8;
  85. strong {
  86. color: #282c37;
  87. font-weight: 500;
  88. }
  89. &:hover {
  90. strong {
  91. text-decoration: underline;
  92. }
  93. }
  94. }
  95. }
  96. .pre-header {
  97. border-bottom: 1px solid #d9e1e8;
  98. color: #2b90d9;
  99. padding: 5px 10px;
  100. padding-left: 8px;
  101. clear: both;
  102. .name {
  103. color: #2b90d9;
  104. font-weight: 500;
  105. text-decoration: none;
  106. &:hover {
  107. text-decoration: underline;
  108. }
  109. }
  110. }
  111. .content {
  112. font-size: 14px;
  113. padding: 0 10px;
  114. padding-left: 8px;
  115. padding-bottom: 25px;
  116. color: #282c37;
  117. a {
  118. color: #2b90d9;
  119. text-decoration: none;
  120. &:hover {
  121. text-decoration: underline;
  122. }
  123. &.mention {
  124. &:hover {
  125. text-decoration: none;
  126. span {
  127. text-decoration: underline;
  128. }
  129. }
  130. }
  131. }
  132. }
  133. .time {
  134. text-decoration: none;
  135. color: #9baec8;
  136. &:hover {
  137. text-decoration: underline;
  138. }
  139. }
  140. }