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.

216 lines
4.3 KiB

  1. // Set variables
  2. $ui-base-color: #d9e1e8;
  3. $ui-base-lighter-color: darken($ui-base-color, 57%);
  4. $ui-highlight-color: #2b90d9;
  5. $ui-primary-color: darken($ui-highlight-color, 28%);
  6. $ui-secondary-color: #282c37;
  7. $primary-text-color: black;
  8. $base-overlay-background: $ui-base-color;
  9. $login-button-color: white;
  10. $account-background-color: white;
  11. // Import defaults
  12. @import 'index';
  13. // Change the color of the log in button
  14. .button {
  15. &.button-alternative-2 {
  16. color: $login-button-color;
  17. }
  18. }
  19. // Change columns' default background colors
  20. .column {
  21. > .scrollable {
  22. background: lighten($ui-base-color, 13%);
  23. }
  24. }
  25. .status.collapsed .status__content:after {
  26. background: linear-gradient(rgba(lighten($ui-base-color, 13%), 0), rgba(lighten($ui-base-color, 13%), 1));
  27. }
  28. .drawer__inner {
  29. background: $ui-base-color;
  30. }
  31. .drawer > .contents {
  32. 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(lighten($ui-base-color, 13%))}"/></svg>') no-repeat bottom / 100% auto !important;
  33. .mastodon {
  34. filter: contrast(75%) brightness(75%) !important;
  35. }
  36. }
  37. // Change the default appearance of the content warning button
  38. .status__content {
  39. .status__content__spoiler-link {
  40. background: darken($ui-base-color, 30%);
  41. &:hover {
  42. background: darken($ui-base-color, 35%);
  43. text-decoration: none;
  44. }
  45. }
  46. }
  47. // Change the default appearance of the action buttons
  48. .icon-button {
  49. &:hover,
  50. &:active,
  51. &:focus {
  52. color: darken($ui-base-color, 40%);
  53. transition: color 200ms ease-out;
  54. }
  55. &.disabled {
  56. color: darken($ui-base-color, 30%);
  57. }
  58. }
  59. .status {
  60. &.status-direct {
  61. .icon-button.disabled {
  62. color: darken($ui-base-color, 30%);
  63. }
  64. }
  65. }
  66. // Change the colors used in the dropdown menu
  67. .dropdown-menu {
  68. background: $ui-base-color;
  69. }
  70. .dropdown-menu__arrow {
  71. &.left {
  72. border-left-color: $ui-base-color;
  73. }
  74. &.top {
  75. border-top-color: $ui-base-color;
  76. }
  77. &.bottom {
  78. border-bottom-color: $ui-base-color;
  79. }
  80. &.right {
  81. border-right-color: $ui-base-color;
  82. }
  83. }
  84. .dropdown-menu__item {
  85. a {
  86. background: $ui-base-color;
  87. color: $ui-secondary-color;
  88. }
  89. }
  90. // Change the default color of several parts of the compose form
  91. .composer {
  92. .composer--spoiler input, .composer--textarea textarea {
  93. color: darken($ui-base-color, 80%);
  94. &::placeholder {
  95. color: darken($ui-base-color, 70%);
  96. }
  97. }
  98. strong {
  99. color: lighten($ui-secondary-color, 65%);
  100. }
  101. .composer--options {
  102. background: darken($ui-base-color, 10%);
  103. box-shadow: unset;
  104. }
  105. .composer--options--dropdown--content--item {
  106. color: $ui-primary-color;
  107. strong {
  108. color: $ui-primary-color;
  109. }
  110. }
  111. }
  112. // Change the default color used for the text in an empty column or on the error column
  113. .empty-column-indicator,
  114. .error-column {
  115. color: darken($ui-base-color, 60%);
  116. }
  117. // Change the default colors used on some parts of the profile pages
  118. .activity-stream-tabs {
  119. background: $account-background-color;
  120. a {
  121. &.active {
  122. color: $ui-primary-color;
  123. }
  124. }
  125. }
  126. .activity-stream {
  127. .entry {
  128. background: $account-background-color;
  129. }
  130. .status.light {
  131. .status__content {
  132. color: $primary-text-color;
  133. }
  134. .display-name {
  135. strong {
  136. color: $primary-text-color;
  137. }
  138. }
  139. }
  140. }
  141. .accounts-grid {
  142. .account-grid-card {
  143. .controls {
  144. .icon-button {
  145. color: $ui-secondary-color;
  146. }
  147. }
  148. .name {
  149. a {
  150. color: $primary-text-color;
  151. }
  152. }
  153. .username {
  154. color: $ui-secondary-color;
  155. }
  156. .account__header__content {
  157. color: $primary-text-color;
  158. }
  159. }
  160. }