The code powering m.abunchtell.com https://m.abunchtell.com
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

166 righe
2.6 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. path:first-child {
  80. fill: $primary-text-color;
  81. }
  82. path:last-child {
  83. fill: $ui-highlight-color;
  84. }
  85. }
  86. &:active,
  87. &:focus,
  88. &:hover {
  89. background: lighten($ui-highlight-color, 10%);
  90. svg path:last-child {
  91. fill: lighten($ui-highlight-color, 10%);
  92. }
  93. }
  94. &.button--destructive {
  95. &:active,
  96. &:focus,
  97. &:hover {
  98. background: $error-red;
  99. svg path:last-child {
  100. fill: $error-red;
  101. }
  102. }
  103. }
  104. @media screen and (max-width: $no-gap-breakpoint) {
  105. svg {
  106. display: none;
  107. }
  108. }
  109. }
  110. .embed,
  111. .public-layout {
  112. .detailed-status {
  113. padding: 15px;
  114. }
  115. .status {
  116. padding: 15px 15px 15px (48px + 15px * 2);
  117. min-height: 48px + 2px;
  118. &__avatar {
  119. left: 15px;
  120. top: 17px;
  121. }
  122. &__content {
  123. padding-top: 5px;
  124. }
  125. &__prepend {
  126. margin-left: 48px + 15px * 2;
  127. padding-top: 15px;
  128. }
  129. &__prepend-icon-wrapper {
  130. left: -32px;
  131. }
  132. .media-gallery,
  133. &__action-bar,
  134. .video-player {
  135. margin-top: 10px;
  136. }
  137. }
  138. }