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.

283 lines
6.4 KiB

  1. // Notes!
  2. // Sass color functions, "darken" and "lighten" are automatically replaced.
  3. // Change the colors of button texts
  4. .button {
  5. color: $white;
  6. &.button-alternative-2 {
  7. color: $white;
  8. }
  9. }
  10. // Change default background colors of columns
  11. .column {
  12. > .scrollable {
  13. background: $white;
  14. }
  15. }
  16. .drawer__inner {
  17. background: $ui-base-color;
  18. }
  19. .drawer__inner__mastodon {
  20. background: $ui-base-color url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234.80078 31.757813" width="234.80078" height="31.757812"><path d="M19.599609 0c-1.05 0-2.10039.375-2.90039 1.125L0 16.925781v14.832031h234.80078V17.025391l-16.5-15.900391c-1.6-1.5-4.20078-1.5-5.80078 0l-13.80078 13.099609c-1.6 1.5-4.19883 1.5-5.79883 0L179.09961 1.125c-1.6-1.5-4.19883-1.5-5.79883 0L159.5 14.224609c-1.6 1.5-4.20078 1.5-5.80078 0L139.90039 1.125c-1.6-1.5-4.20078-1.5-5.80078 0l-13.79883 13.099609c-1.6 1.5-4.20078 1.5-5.80078 0L100.69922 1.125c-1.600001-1.5-4.198829-1.5-5.798829 0l-13.59961 13.099609c-1.6 1.5-4.200781 1.5-5.800781 0L61.699219 1.125c-1.6-1.5-4.198828-1.5-5.798828 0L42.099609 14.224609c-1.6 1.5-4.198828 1.5-5.798828 0L22.5 1.125C21.7.375 20.649609 0 19.599609 0z" fill="#{hex-color($white)}"/></svg>') no-repeat bottom / 100% auto;
  21. }
  22. // Change the colors used in compose-form
  23. .compose-form {
  24. .compose-form__modifiers {
  25. .compose-form__upload__actions .icon-button {
  26. color: lighten($white, 7%);
  27. &:active,
  28. &:focus,
  29. &:hover {
  30. color: $white;
  31. }
  32. }
  33. .compose-form__upload-description input {
  34. color: lighten($white, 7%);
  35. &::placeholder {
  36. color: lighten($white, 7%);
  37. }
  38. }
  39. }
  40. .compose-form__buttons-wrapper {
  41. background: darken($ui-base-color, 6%);
  42. }
  43. .autosuggest-textarea__suggestions {
  44. background: darken($ui-base-color, 6%);
  45. }
  46. .autosuggest-textarea__suggestions__item {
  47. &:hover,
  48. &:focus,
  49. &:active,
  50. &.selected {
  51. background: lighten($ui-base-color, 4%);
  52. }
  53. }
  54. }
  55. .emoji-mart-bar {
  56. border-color: lighten($ui-base-color, 4%);
  57. &:first-child {
  58. background: darken($ui-base-color, 6%);
  59. }
  60. }
  61. .emoji-mart-search input {
  62. background: rgba($ui-base-color, 0.3);
  63. border-color: $ui-base-color;
  64. }
  65. // Change the background colors of statuses
  66. .focusable:focus {
  67. background: $ui-base-color;
  68. }
  69. .status.status-direct {
  70. background: lighten($ui-base-color, 4%);
  71. }
  72. .focusable:focus .status.status-direct {
  73. background: lighten($ui-base-color, 8%);
  74. }
  75. .detailed-status,
  76. .detailed-status__action-bar {
  77. background: darken($ui-base-color, 6%);
  78. }
  79. // Change the background colors of status__content__spoiler-link
  80. .reply-indicator__content .status__content__spoiler-link,
  81. .status__content .status__content__spoiler-link {
  82. background: $ui-base-lighter-color;
  83. &:hover {
  84. background: lighten($ui-base-lighter-color, 6%);
  85. }
  86. }
  87. // Change the background colors of media and video spoilers
  88. .media-spoiler,
  89. .video-player__spoiler {
  90. background: $ui-base-color;
  91. }
  92. .account-gallery__item a {
  93. background-color: $ui-base-color;
  94. }
  95. // Change the colors used in the dropdown menu
  96. .dropdown-menu {
  97. background: $ui-base-color;
  98. &__arrow {
  99. &.left {
  100. border-left-color: $ui-base-color;
  101. }
  102. &.top {
  103. border-top-color: $ui-base-color;
  104. }
  105. &.bottom {
  106. border-bottom-color: $ui-base-color;
  107. }
  108. &.right {
  109. border-right-color: $ui-base-color;
  110. }
  111. }
  112. &__item {
  113. a {
  114. background: $ui-base-color;
  115. color: $darker-text-color;
  116. }
  117. }
  118. }
  119. // Change the text colors on inverted background
  120. .privacy-dropdown__option.active .privacy-dropdown__option__content,
  121. .privacy-dropdown__option.active .privacy-dropdown__option__content strong,
  122. .privacy-dropdown__option:hover .privacy-dropdown__option__content,
  123. .privacy-dropdown__option:hover .privacy-dropdown__option__content strong,
  124. .dropdown-menu__item a:active,
  125. .dropdown-menu__item a:focus,
  126. .dropdown-menu__item a:hover,
  127. .actions-modal ul li:not(:empty) a.active,
  128. .actions-modal ul li:not(:empty) a.active button,
  129. .actions-modal ul li:not(:empty) a:active,
  130. .actions-modal ul li:not(:empty) a:active button,
  131. .actions-modal ul li:not(:empty) a:focus,
  132. .actions-modal ul li:not(:empty) a:focus button,
  133. .actions-modal ul li:not(:empty) a:hover,
  134. .actions-modal ul li:not(:empty) a:hover button,
  135. .admin-wrapper .sidebar ul ul a.selected,
  136. .simple_form .block-button,
  137. .simple_form .button,
  138. .simple_form button {
  139. color: $white;
  140. }
  141. // Change the background colors of modals
  142. .actions-modal,
  143. .boost-modal,
  144. .confirmation-modal,
  145. .mute-modal,
  146. .report-modal,
  147. .embed-modal,
  148. .error-modal,
  149. .onboarding-modal {
  150. background: $ui-base-color;
  151. }
  152. .boost-modal__action-bar,
  153. .confirmation-modal__action-bar,
  154. .mute-modal__action-bar,
  155. .onboarding-modal__paginator,
  156. .error-modal__footer {
  157. background: darken($ui-base-color, 6%);
  158. .onboarding-modal__nav,
  159. .error-modal__nav {
  160. &:hover,
  161. &:focus,
  162. &:active {
  163. background-color: darken($ui-base-color, 12%);
  164. }
  165. }
  166. }
  167. .display-case__case {
  168. background: $white;
  169. }
  170. .embed-modal .embed-modal__container .embed-modal__html {
  171. background: $white;
  172. &:focus {
  173. background: darken($ui-base-color, 6%);
  174. }
  175. }
  176. .react-toggle-track {
  177. background: $ui-secondary-color;
  178. }
  179. .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
  180. background: darken($ui-secondary-color, 10%);
  181. }
  182. .react-toggle.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
  183. background: lighten($ui-highlight-color, 10%);
  184. }
  185. // Change the default color used for the text in an empty column or on the error column
  186. .empty-column-indicator,
  187. .error-column {
  188. color: $primary-text-color;
  189. }
  190. // Change the default colors used on some parts of the profile pages
  191. .activity-stream-tabs {
  192. background: $account-background-color;
  193. border-bottom-color: lighten($ui-base-color, 8%);
  194. }
  195. .activity-stream {
  196. .entry {
  197. background: $account-background-color;
  198. .detailed-status.light,
  199. .more.light,
  200. .status.light {
  201. border-bottom-color: lighten($ui-base-color, 8%);
  202. }
  203. }
  204. .status.light {
  205. .status__content {
  206. color: $primary-text-color;
  207. }
  208. .display-name {
  209. strong {
  210. color: $primary-text-color;
  211. }
  212. }
  213. }
  214. }
  215. .accounts-grid {
  216. .account-grid-card {
  217. .controls {
  218. .icon-button {
  219. color: $darker-text-color;
  220. }
  221. }
  222. .name {
  223. a {
  224. color: $primary-text-color;
  225. }
  226. }
  227. .username {
  228. color: $darker-text-color;
  229. }
  230. .account__header__content {
  231. color: $primary-text-color;
  232. }
  233. }
  234. }