The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

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