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.
 
 
 
 

158 rivejä
3.9 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 the dropdown menu
  23. .dropdown-menu {
  24. background: $ui-base-color;
  25. }
  26. .dropdown-menu__arrow {
  27. &.left {
  28. border-left-color: $ui-base-color;
  29. }
  30. &.top {
  31. border-top-color: $ui-base-color;
  32. }
  33. &.bottom {
  34. border-bottom-color: $ui-base-color;
  35. }
  36. &.right {
  37. border-right-color: $ui-base-color;
  38. }
  39. }
  40. .dropdown-menu__item {
  41. a {
  42. background: $ui-base-color;
  43. color: $ui-secondary-color;
  44. }
  45. }
  46. // Change the text colors on inverted background
  47. .privacy-dropdown__option.active .privacy-dropdown__option__content,
  48. .privacy-dropdown__option.active .privacy-dropdown__option__content strong,
  49. .privacy-dropdown__option:hover .privacy-dropdown__option__content,
  50. .privacy-dropdown__option:hover .privacy-dropdown__option__content strong,
  51. .dropdown-menu__item a:active,
  52. .dropdown-menu__item a:focus,
  53. .dropdown-menu__item a:hover,
  54. .actions-modal ul li:not(:empty) a.active,
  55. .actions-modal ul li:not(:empty) a.active button,
  56. .actions-modal ul li:not(:empty) a:active,
  57. .actions-modal ul li:not(:empty) a:active button,
  58. .actions-modal ul li:not(:empty) a:focus,
  59. .actions-modal ul li:not(:empty) a:focus button,
  60. .actions-modal ul li:not(:empty) a:hover,
  61. .actions-modal ul li:not(:empty) a:hover button,
  62. .admin-wrapper .sidebar ul ul a.selected,
  63. .simple_form .block-button,
  64. .simple_form .button,
  65. .simple_form button {
  66. color: $white;
  67. }
  68. // Change the background colors of modals
  69. .actions-modal,
  70. .boost-modal,
  71. .confirmation-modal,
  72. .mute-modal,
  73. .report-modal {
  74. background: $ui-secondary-color;
  75. }
  76. .boost-modal__action-bar,
  77. .confirmation-modal__action-bar,
  78. .mute-modal__action-bar {
  79. background: darken($ui-secondary-color, 6%);
  80. }
  81. .react-toggle-track {
  82. background: $ui-base-color;
  83. }
  84. // Change the default color used for the text in an empty column or on the error column
  85. .empty-column-indicator,
  86. .error-column {
  87. color: $primary-text-color;
  88. }
  89. // Change the default colors used on some parts of the profile pages
  90. .activity-stream-tabs {
  91. background: $account-background-color;
  92. a {
  93. &.active {
  94. color: $ui-primary-color;
  95. }
  96. }
  97. }
  98. .activity-stream {
  99. .entry {
  100. background: $account-background-color;
  101. }
  102. .status.light {
  103. .status__content {
  104. color: $primary-text-color;
  105. }
  106. .display-name {
  107. strong {
  108. color: $primary-text-color;
  109. }
  110. }
  111. }
  112. }
  113. .accounts-grid {
  114. .account-grid-card {
  115. .controls {
  116. .icon-button {
  117. color: $ui-secondary-color;
  118. }
  119. }
  120. .name {
  121. a {
  122. color: $primary-text-color;
  123. }
  124. }
  125. .username {
  126. color: $ui-secondary-color;
  127. }
  128. .account__header__content {
  129. color: $primary-text-color;
  130. }
  131. }
  132. }