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.

234 lines
5.5 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. .compose-form .compose-form__modifiers .compose-form__upload__actions .icon-button {
  23. color: lighten($white, 7%);
  24. &:active,
  25. &:focus,
  26. &:hover {
  27. color: $white;
  28. }
  29. }
  30. .compose-form .compose-form__modifiers .compose-form__upload-description input {
  31. color: lighten($white, 7%);
  32. &::placeholder {
  33. color: lighten($white, 7%);
  34. }
  35. }
  36. .compose-form .compose-form__buttons-wrapper {
  37. background: darken($ui-base-color, 6%);
  38. }
  39. .focusable:focus {
  40. background: $ui-base-color;
  41. }
  42. .status.status-direct {
  43. background: lighten($ui-base-color, 4%);
  44. }
  45. .focusable:focus .status.status-direct {
  46. background: lighten($ui-base-color, 8%);
  47. }
  48. .detailed-status,
  49. .detailed-status__action-bar {
  50. background: darken($ui-base-color, 6%);
  51. }
  52. // Change the background color of status__content__spoiler-link
  53. .reply-indicator__content .status__content__spoiler-link,
  54. .status__content .status__content__spoiler-link {
  55. background: $ui-base-lighter-color;
  56. &:hover {
  57. background: lighten($ui-base-lighter-color, 6%);
  58. }
  59. }
  60. // Change the colors used in the dropdown menu
  61. .dropdown-menu {
  62. background: $ui-base-color;
  63. }
  64. .dropdown-menu__arrow {
  65. &.left {
  66. border-left-color: $ui-base-color;
  67. }
  68. &.top {
  69. border-top-color: $ui-base-color;
  70. }
  71. &.bottom {
  72. border-bottom-color: $ui-base-color;
  73. }
  74. &.right {
  75. border-right-color: $ui-base-color;
  76. }
  77. }
  78. .dropdown-menu__item {
  79. a {
  80. background: $ui-base-color;
  81. color: $darker-text-color;
  82. }
  83. }
  84. // Change the text colors on inverted background
  85. .privacy-dropdown__option.active .privacy-dropdown__option__content,
  86. .privacy-dropdown__option.active .privacy-dropdown__option__content strong,
  87. .privacy-dropdown__option:hover .privacy-dropdown__option__content,
  88. .privacy-dropdown__option:hover .privacy-dropdown__option__content strong,
  89. .dropdown-menu__item a:active,
  90. .dropdown-menu__item a:focus,
  91. .dropdown-menu__item a:hover,
  92. .actions-modal ul li:not(:empty) a.active,
  93. .actions-modal ul li:not(:empty) a.active button,
  94. .actions-modal ul li:not(:empty) a:active,
  95. .actions-modal ul li:not(:empty) a:active button,
  96. .actions-modal ul li:not(:empty) a:focus,
  97. .actions-modal ul li:not(:empty) a:focus button,
  98. .actions-modal ul li:not(:empty) a:hover,
  99. .actions-modal ul li:not(:empty) a:hover button,
  100. .admin-wrapper .sidebar ul ul a.selected,
  101. .simple_form .block-button,
  102. .simple_form .button,
  103. .simple_form button {
  104. color: $white;
  105. }
  106. // Change the background colors of modals
  107. .actions-modal,
  108. .boost-modal,
  109. .confirmation-modal,
  110. .mute-modal,
  111. .report-modal,
  112. .embed-modal,
  113. .error-modal,
  114. .onboarding-modal {
  115. background: $ui-base-color;
  116. }
  117. .boost-modal__action-bar,
  118. .confirmation-modal__action-bar,
  119. .mute-modal__action-bar,
  120. .onboarding-modal__paginator,
  121. .error-modal__footer {
  122. background: darken($ui-base-color, 6%);
  123. .onboarding-modal__nav,
  124. .error-modal__nav {
  125. &:hover,
  126. &:focus,
  127. &:active {
  128. background-color: darken($ui-base-color, 12%);
  129. }
  130. }
  131. }
  132. .display-case__case {
  133. background: $white;
  134. }
  135. .embed-modal .embed-modal__container .embed-modal__html {
  136. background: $white;
  137. &:focus {
  138. background: darken($ui-base-color, 6%);
  139. }
  140. }
  141. .react-toggle-track {
  142. background: $ui-secondary-color;
  143. }
  144. .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
  145. background: darken($ui-secondary-color, 10%);
  146. }
  147. .react-toggle.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
  148. background: lighten($ui-highlight-color, 10%);
  149. }
  150. // Change the default color used for the text in an empty column or on the error column
  151. .empty-column-indicator,
  152. .error-column {
  153. color: $primary-text-color;
  154. }
  155. // Change the default colors used on some parts of the profile pages
  156. .activity-stream-tabs {
  157. background: $account-background-color;
  158. }
  159. .activity-stream {
  160. .entry {
  161. background: $account-background-color;
  162. }
  163. .status.light {
  164. .status__content {
  165. color: $primary-text-color;
  166. }
  167. .display-name {
  168. strong {
  169. color: $primary-text-color;
  170. }
  171. }
  172. }
  173. }
  174. .accounts-grid {
  175. .account-grid-card {
  176. .controls {
  177. .icon-button {
  178. color: $darker-text-color;
  179. }
  180. }
  181. .name {
  182. a {
  183. color: $primary-text-color;
  184. }
  185. }
  186. .username {
  187. color: $darker-text-color;
  188. }
  189. .account__header__content {
  190. color: $primary-text-color;
  191. }
  192. }
  193. }