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.

159 lines
2.5 KiB

  1. .activity-stream {
  2. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  3. border-radius: 4px;
  4. overflow: hidden;
  5. margin-bottom: 10px;
  6. @media screen and (max-width: $no-gap-breakpoint) {
  7. margin-bottom: 0;
  8. border-radius: 0;
  9. box-shadow: none;
  10. }
  11. &--headless {
  12. border-radius: 0;
  13. margin: 0;
  14. box-shadow: none;
  15. .detailed-status,
  16. .status {
  17. border-radius: 0 !important;
  18. }
  19. }
  20. div[data-component] {
  21. width: 100%;
  22. }
  23. .entry {
  24. background: $ui-base-color;
  25. .detailed-status,
  26. .status,
  27. .load-more {
  28. animation: none;
  29. }
  30. &:last-child {
  31. .detailed-status,
  32. .status,
  33. .load-more {
  34. border-bottom: 0;
  35. border-radius: 0 0 4px 4px;
  36. }
  37. }
  38. &:first-child {
  39. .detailed-status,
  40. .status,
  41. .load-more {
  42. border-radius: 4px 4px 0 0;
  43. }
  44. &:last-child {
  45. .detailed-status,
  46. .status,
  47. .load-more {
  48. border-radius: 4px;
  49. }
  50. }
  51. }
  52. @media screen and (max-width: 740px) {
  53. .detailed-status,
  54. .status,
  55. .load-more {
  56. border-radius: 0 !important;
  57. }
  58. }
  59. }
  60. &--highlighted .entry {
  61. background: lighten($ui-base-color, 8%);
  62. }
  63. }
  64. .button.logo-button {
  65. flex: 0 auto;
  66. font-size: 14px;
  67. background: $ui-highlight-color;
  68. color: $primary-text-color;
  69. text-transform: none;
  70. line-height: 36px;
  71. height: auto;
  72. padding: 3px 15px;
  73. border: 0;
  74. svg {
  75. width: 20px;
  76. height: auto;
  77. vertical-align: middle;
  78. margin-right: 5px;
  79. fill: $primary-text-color;
  80. }
  81. &:active,
  82. &:focus,
  83. &:hover {
  84. background: lighten($ui-highlight-color, 10%);
  85. }
  86. &:disabled,
  87. &.disabled {
  88. &:active,
  89. &:focus,
  90. &:hover {
  91. background: $ui-primary-color;
  92. }
  93. }
  94. &.button--destructive {
  95. &:active,
  96. &:focus,
  97. &:hover {
  98. background: $error-red;
  99. }
  100. }
  101. @media screen and (max-width: $no-gap-breakpoint) {
  102. svg {
  103. display: none;
  104. }
  105. }
  106. }
  107. .embed,
  108. .public-layout {
  109. .detailed-status {
  110. padding: 15px;
  111. }
  112. .status {
  113. padding: 15px 15px 15px (48px + 15px * 2);
  114. min-height: 48px + 2px;
  115. &__avatar {
  116. left: 15px;
  117. top: 17px;
  118. }
  119. &__content {
  120. padding-top: 5px;
  121. }
  122. &__prepend {
  123. margin-left: 48px + 15px * 2;
  124. padding-top: 15px;
  125. }
  126. &__prepend-icon-wrapper {
  127. left: -32px;
  128. }
  129. .media-gallery,
  130. &__action-bar,
  131. .video-player {
  132. margin-top: 10px;
  133. }
  134. }
  135. }