diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-10 14:06:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-10 14:06:52 +0200 |
commit | 1fef6bccd939842408fdd666cc72fed9f2ef6456 (patch) | |
tree | 00eba1190687a3beafc3c8592af31d6f8cab982b /client/src/sass | |
parent | 60d360137158e8be28eb34524122b01dd7da4369 (diff) | |
download | PeerTube-1fef6bccd939842408fdd666cc72fed9f2ef6456.tar.gz PeerTube-1fef6bccd939842408fdd666cc72fed9f2ef6456.tar.zst PeerTube-1fef6bccd939842408fdd666cc72fed9f2ef6456.zip |
Remove secondary color theme
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/application.scss | 2 | ||||
-rw-r--r-- | client/src/sass/bootstrap.scss | 12 | ||||
-rw-r--r-- | client/src/sass/include/_mixins.scss | 4 | ||||
-rw-r--r-- | client/src/sass/include/_variables.scss | 4 |
4 files changed, 0 insertions, 22 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index b5b05a3c4..44c0d13ff 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -37,8 +37,6 @@ body { | |||
37 | --mainBackgroundColor: #{$bg-color}; | 37 | --mainBackgroundColor: #{$bg-color}; |
38 | --mainForegroundColor: #{$fg-color}; | 38 | --mainForegroundColor: #{$fg-color}; |
39 | 39 | ||
40 | --secondaryColor: #{$secondary-color}; | ||
41 | |||
42 | --greyForegroundColor: #{$grey-foreground-color}; | 40 | --greyForegroundColor: #{$grey-foreground-color}; |
43 | --greyBackgroundColor: #{$grey-background-color}; | 41 | --greyBackgroundColor: #{$grey-background-color}; |
44 | --greySecondaryBackgroundColor: #{$grey-background-hover-color}; | 42 | --greySecondaryBackgroundColor: #{$grey-background-hover-color}; |
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 2df2d0680..b4a6b8679 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -264,18 +264,6 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
264 | } | 264 | } |
265 | } | 265 | } |
266 | 266 | ||
267 | .btn-outline-tertiary { | ||
268 | color: pvar(--secondaryColor); | ||
269 | border-color: pvar(--secondaryColor); | ||
270 | |||
271 | &:focus-within, | ||
272 | &:focus, | ||
273 | &:hover { | ||
274 | color: pvar(--mainBackgroundColor); | ||
275 | background-color: pvar(--secondaryColor); | ||
276 | } | ||
277 | } | ||
278 | |||
279 | .btn-group.select-button { | 267 | .btn-group.select-button { |
280 | font-weight: $font-semibold; | 268 | font-weight: $font-semibold; |
281 | 269 | ||
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 26f5a149a..e18173130 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss | |||
@@ -678,10 +678,6 @@ | |||
678 | white-space: nowrap; | 678 | white-space: nowrap; |
679 | transition: width 0.6s ease; | 679 | transition: width 0.6s ease; |
680 | 680 | ||
681 | &.secondary { | ||
682 | background-color: pvar(--secondaryColor); | ||
683 | } | ||
684 | |||
685 | &.red { | 681 | &.red { |
686 | background-color: lighten($color: #c54130, $amount: 10); | 682 | background-color: lighten($color: #c54130, $amount: 10); |
687 | } | 683 | } |
diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scss index 884e7b5d0..776e820be 100644 --- a/client/src/sass/include/_variables.scss +++ b/client/src/sass/include/_variables.scss | |||
@@ -23,8 +23,6 @@ $main-color-lightest: lighten($main-color, 40%); | |||
23 | $main-hover-color: lighten($main-color, 5%); | 23 | $main-hover-color: lighten($main-color, 5%); |
24 | $main-background-hover-color: #e9ecef; | 24 | $main-background-hover-color: #e9ecef; |
25 | 25 | ||
26 | $secondary-color: hsl(187, 77%, 34%); | ||
27 | |||
28 | $support-button: inherit; | 26 | $support-button: inherit; |
29 | $support-button-heart: #e83e8c; | 27 | $support-button-heart: #e83e8c; |
30 | 28 | ||
@@ -118,8 +116,6 @@ $variables: ( | |||
118 | --mainBackgroundColor: var(--mainBackgroundColor), | 116 | --mainBackgroundColor: var(--mainBackgroundColor), |
119 | --mainForegroundColor: var(--mainForegroundColor), | 117 | --mainForegroundColor: var(--mainForegroundColor), |
120 | 118 | ||
121 | --secondaryColor: var(--secondaryColor), | ||
122 | |||
123 | --greyForegroundColor: var(--greyForegroundColor), | 119 | --greyForegroundColor: var(--greyForegroundColor), |
124 | --greyBackgroundColor: var(--greyBackgroundColor), | 120 | --greyBackgroundColor: var(--greyBackgroundColor), |
125 | --greySecondaryBackgroundColor: var(--greySecondaryBackgroundColor), | 121 | --greySecondaryBackgroundColor: var(--greySecondaryBackgroundColor), |