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.

161 lines
2.7 KiB

  1. .hero-widget {
  2. margin-bottom: 10px;
  3. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  4. &__img {
  5. width: 100%;
  6. height: 167px;
  7. position: relative;
  8. overflow: hidden;
  9. border-radius: 4px 4px 0 0;
  10. background: $base-shadow-color;
  11. img {
  12. object-fit: cover;
  13. display: block;
  14. width: 100%;
  15. height: 100%;
  16. margin: 0;
  17. border-radius: 4px 4px 0 0;
  18. }
  19. }
  20. &__text {
  21. background: $ui-base-color;
  22. padding: 20px;
  23. border-radius: 0 0 4px 4px;
  24. font-size: 15px;
  25. color: $darker-text-color;
  26. line-height: 20px;
  27. word-wrap: break-word;
  28. font-weight: 400;
  29. .emojione {
  30. width: 20px;
  31. height: 20px;
  32. margin: -3px 0 0;
  33. }
  34. p {
  35. margin-bottom: 20px;
  36. &:last-child {
  37. margin-bottom: 0;
  38. }
  39. }
  40. em {
  41. display: inline;
  42. margin: 0;
  43. padding: 0;
  44. font-weight: 700;
  45. background: transparent;
  46. font-family: inherit;
  47. font-size: inherit;
  48. line-height: inherit;
  49. color: lighten($darker-text-color, 10%);
  50. }
  51. a {
  52. color: $secondary-text-color;
  53. text-decoration: none;
  54. &:hover {
  55. text-decoration: underline;
  56. }
  57. }
  58. }
  59. @media screen and (max-width: $no-gap-breakpoint) {
  60. display: none;
  61. }
  62. }
  63. .moved-account-widget {
  64. padding: 15px;
  65. padding-bottom: 20px;
  66. border-radius: 4px;
  67. background: $ui-base-color;
  68. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  69. color: $secondary-text-color;
  70. font-weight: 400;
  71. margin-bottom: 10px;
  72. strong,
  73. a {
  74. font-weight: 500;
  75. @each $lang in $cjk-langs {
  76. &:lang(#{$lang}) {
  77. font-weight: 700;
  78. }
  79. }
  80. }
  81. a {
  82. color: inherit;
  83. text-decoration: underline;
  84. &.mention {
  85. text-decoration: none;
  86. span {
  87. text-decoration: none;
  88. }
  89. &:focus,
  90. &:hover,
  91. &:active {
  92. text-decoration: none;
  93. span {
  94. text-decoration: underline;
  95. }
  96. }
  97. }
  98. }
  99. &__message {
  100. margin-bottom: 15px;
  101. .fa {
  102. margin-right: 5px;
  103. color: $darker-text-color;
  104. }
  105. }
  106. &__card {
  107. .detailed-status__display-avatar {
  108. position: relative;
  109. cursor: pointer;
  110. }
  111. .detailed-status__display-name {
  112. margin-bottom: 0;
  113. text-decoration: none;
  114. span {
  115. font-weight: 400;
  116. }
  117. }
  118. }
  119. }
  120. .memoriam-widget {
  121. padding: 20px;
  122. border-radius: 4px;
  123. background: $base-shadow-color;
  124. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  125. font-size: 14px;
  126. color: $darker-text-color;
  127. margin-bottom: 10px;
  128. }
  129. .moved-account-widget,
  130. .memoriam-widget {
  131. @media screen and (max-width: $no-gap-breakpoint) {
  132. margin-bottom: 0;
  133. box-shadow: none;
  134. border-radius: 0;
  135. }
  136. }