ActivityPub-federated video streaming platform using P2P directly in your web browser
Remove secondary color theme
Chocobozzz1fef6bccd939
diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.html b/client/src/app/+admin/overview/users/user-list/user-list.component.htmlindex f6915ae9a0..4da46dc7bd 100644--- a/client/src/app/+admin/overview/users/user-list/user-list.component.html+++ b/client/src/app/+admin/overview/users/user-list/user-list.component.html@@ -139,7 +139,7 @@<td *ngIf="isSelected('quotaDaily')"><div class="progress" i18n-title title="Total daily video quota">- <div class="progress-bar secondary" role="progressbar" [style]="{ width: getUserVideoQuotaDailyPercentage(user) + '%' }"+ <div class="progress-bar" role="progressbar" [style]="{ width: getUserVideoQuotaDailyPercentage(user) + '%' }"[attr.aria-valuenow]="user.rawVideoQuotaUsedDaily" aria-valuemin="0" [attr.aria-valuemax]="user.rawVideoQuotaDaily"></div><span>{{ user.videoQuotaUsedDaily }}</span>diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.ts b/client/src/app/+admin/overview/users/user-list/user-list.component.tsindex f7dc22256f..c3a7646cc8 100644--- a/client/src/app/+admin/overview/users/user-list/user-list.component.ts+++ b/client/src/app/+admin/overview/users/user-list/user-list.component.ts@@ -190,6 +190,7 @@ export class UserListComponent extends RestTable implements OnInit {}getUserVideoQuotaDailyPercentage (user: UserForList) {+ console.log(user.rawVideoQuotaUsedDaily * 100 / user.rawVideoQuotaDaily)return user.rawVideoQuotaUsedDaily * 100 / user.rawVideoQuotaDaily}diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scssindex 80711ff321..fd9dd1a6a2 100644--- a/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss+++ b/client/src/app/+videos/+video-watch/shared/metadata/video-avatar-channel.component.scss@@ -1,14 +1,5 @@@use '_mixins' as *;-@mixin secondary {- height: 60%;- width: 60%;- position: absolute;- bottom: -5px;- right: -5px;- background-color: rgba(0, 0, 0, 0);-}-.wrapper {@include margin-right(5px);@@ -16,6 +7,11 @@margin-bottom: 5px;.second-avatar {- @include secondary();+ height: 60%;+ width: 60%;+ position: absolute;+ bottom: -5px;+ right: -5px;+ background-color: rgba(0, 0, 0, 0);}}diff --git a/client/src/app/shared/shared-main/users/user-quota.component.html b/client/src/app/shared/shared-main/users/user-quota.component.htmlindex dd1fc20d08..0e0d38c2ab 100644--- a/client/src/app/shared/shared-main/users/user-quota.component.html+++ b/client/src/app/shared/shared-main/users/user-quota.component.html@@ -12,7 +12,7 @@<div *ngIf="hasDailyQuota()" class="mt-3"><label class="user-quota-title" tabindex="0" i18n>Daily video quota</label><div class="progress" tabindex="0" [ngbTooltip]="titleVideoQuotaDaily()">- <div class="progress-bar secondary" role="progressbar" [style]="{ width: userVideoQuotaDailyPercentage + '%' }"+ <div class="progress-bar" role="progressbar" [style]="{ width: userVideoQuotaDailyPercentage + '%' }"[attr.aria-valuenow]="userVideoQuotaUsedDaily" aria-valuemin="0" [attr.aria-valuemax]="user.videoQuotaDaily"></div><span>{{ userVideoQuotaUsedDaily | bytes: 1 }}</span><span>{{ userVideoQuotaDaily }}</span>diff --git a/client/src/sass/application.scss b/client/src/sass/application.scssindex b5b05a3c4a..44c0d13ffa 100644--- a/client/src/sass/application.scss+++ b/client/src/sass/application.scss@@ -37,8 +37,6 @@ body {--mainBackgroundColor: #{$bg-color};--mainForegroundColor: #{$fg-color};- --secondaryColor: #{$secondary-color};---greyForegroundColor: #{$grey-foreground-color};--greyBackgroundColor: #{$grey-background-color};--greySecondaryBackgroundColor: #{$grey-background-hover-color};diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scssindex 2df2d0680a..b4a6b86799 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/';}}-.btn-outline-tertiary {- color: pvar(--secondaryColor);- border-color: pvar(--secondaryColor);-- &:focus-within,- &:focus,- &:hover {- color: pvar(--mainBackgroundColor);- background-color: pvar(--secondaryColor);- }-}-.btn-group.select-button {font-weight: $font-semibold;diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scssindex 26f5a149af..e181731307 100644--- a/client/src/sass/include/_mixins.scss+++ b/client/src/sass/include/_mixins.scss@@ -678,10 +678,6 @@white-space: nowrap;transition: width 0.6s ease;- &.secondary {- background-color: pvar(--secondaryColor);- }-&.red {background-color: lighten($color: #c54130, $amount: 10);}diff --git a/client/src/sass/include/_variables.scss b/client/src/sass/include/_variables.scssindex 884e7b5d0e..776e820be1 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%);$main-hover-color: lighten($main-color, 5%);$main-background-hover-color: #e9ecef;-$secondary-color: hsl(187, 77%, 34%);-$support-button: inherit;$support-button-heart: #e83e8c;@@ -118,8 +116,6 @@ $variables: (--mainBackgroundColor: var(--mainBackgroundColor),--mainForegroundColor: var(--mainForegroundColor),- --secondaryColor: var(--secondaryColor),---greyForegroundColor: var(--greyForegroundColor),--greyBackgroundColor: var(--greyBackgroundColor),--greySecondaryBackgroundColor: var(--greySecondaryBackgroundColor),