diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-15 14:12:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-15 14:12:37 +0100 |
commit | b788e69131dccc1be147244e5b4d9e64deb2dc76 (patch) | |
tree | 3f09cb25b38f159b2ef24a574261c81140845acd /client/src/app/shared | |
parent | 74220dba9db6a1dc5c0b504b0230de26ef9c9dd5 (diff) | |
download | PeerTube-b788e69131dccc1be147244e5b4d9e64deb2dc76.tar.gz PeerTube-b788e69131dccc1be147244e5b4d9e64deb2dc76.tar.zst PeerTube-b788e69131dccc1be147244e5b4d9e64deb2dc76.zip |
Some fixes for themes
Diffstat (limited to 'client/src/app/shared')
9 files changed, 12 insertions, 13 deletions
diff --git a/client/src/app/shared/shared-abuse-list/abuse-details.component.html b/client/src/app/shared/shared-abuse-list/abuse-details.component.html index a1a4586f0..986de15ed 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-details.component.html +++ b/client/src/app/shared/shared-abuse-list/abuse-details.component.html | |||
@@ -12,12 +12,12 @@ | |||
12 | > | 12 | > |
13 | <my-actor-avatar size="18" [account]="abuse.reporterAccount"></my-actor-avatar> | 13 | <my-actor-avatar size="18" [account]="abuse.reporterAccount"></my-actor-avatar> |
14 | <div> | 14 | <div> |
15 | <span class="text-muted">{{ abuse.reporterAccount.nameWithHost }}</span> | 15 | <span class="muted">{{ abuse.reporterAccount.nameWithHost }}</span> |
16 | </div> | 16 | </div> |
17 | </a> | 17 | </a> |
18 | 18 | ||
19 | <a [routerLink]="[ '.' ]" [queryParams]="{ 'search': 'reporter:"' + abuse.reporterAccount.displayName + '"' }" | 19 | <a [routerLink]="[ '.' ]" [queryParams]="{ 'search': 'reporter:"' + abuse.reporterAccount.displayName + '"' }" |
20 | class="ml-auto text-muted abuse-details-links" i18n | 20 | class="ml-auto muted abuse-details-links" i18n |
21 | > | 21 | > |
22 | {abuse.countReportsForReporter, plural, =1 {1 report} other {{{ abuse.countReportsForReporter }} reports}}<span class="ml-1 glyphicon glyphicon-flag"></span> | 22 | {abuse.countReportsForReporter, plural, =1 {1 report} other {{{ abuse.countReportsForReporter }} reports}}<span class="ml-1 glyphicon glyphicon-flag"></span> |
23 | </a> | 23 | </a> |
@@ -32,12 +32,12 @@ | |||
32 | > | 32 | > |
33 | <my-actor-avatar size="18" [account]="abuse.flaggedAccount"></my-actor-avatar> | 33 | <my-actor-avatar size="18" [account]="abuse.flaggedAccount"></my-actor-avatar> |
34 | <div> | 34 | <div> |
35 | <span class="text-muted">{{ abuse.flaggedAccount ? abuse.flaggedAccount.nameWithHost : '' }}</span> | 35 | <span class="muted">{{ abuse.flaggedAccount ? abuse.flaggedAccount.nameWithHost : '' }}</span> |
36 | </div> | 36 | </div> |
37 | </a> | 37 | </a> |
38 | 38 | ||
39 | <a *ngIf="isAdminView" [routerLink]="[ '.' ]" [queryParams]="{ 'search': 'reportee:"' +abuse.flaggedAccount.displayName + '"' }" | 39 | <a *ngIf="isAdminView" [routerLink]="[ '.' ]" [queryParams]="{ 'search': 'reportee:"' +abuse.flaggedAccount.displayName + '"' }" |
40 | class="ml-auto text-muted abuse-details-links" i18n | 40 | class="ml-auto muted abuse-details-links" i18n |
41 | > | 41 | > |
42 | {abuse.countReportsForReportee, plural, =1 {1 report} other {{{ abuse.countReportsForReportee }} reports}}<span class="ml-1 glyphicon glyphicon-flag"></span> | 42 | {abuse.countReportsForReportee, plural, =1 {1 report} other {{{ abuse.countReportsForReportee }} reports}}<span class="ml-1 glyphicon glyphicon-flag"></span> |
43 | </a> | 43 | </a> |
@@ -53,7 +53,7 @@ | |||
53 | <div class="mt-3 d-flex"> | 53 | <div class="mt-3 d-flex"> |
54 | <span class="moderation-expanded-label"> | 54 | <span class="moderation-expanded-label"> |
55 | <ng-container i18n>Report</ng-container> | 55 | <ng-container i18n>Report</ng-container> |
56 | <a [routerLink]="[ '.' ]" [queryParams]="{ 'search': '#' + abuse.id }" class="ml-1 text-muted">#{{ abuse.id }}</a> | 56 | <a [routerLink]="[ '.' ]" [queryParams]="{ 'search': '#' + abuse.id }" class="ml-1 muted">#{{ abuse.id }}</a> |
57 | </span> | 57 | </span> |
58 | <span class="moderation-expanded-text" [innerHTML]="abuse.reasonHtml"></span> | 58 | <span class="moderation-expanded-text" [innerHTML]="abuse.reasonHtml"></span> |
59 | </div> | 59 | </div> |
diff --git a/client/src/app/shared/shared-forms/peertube-checkbox.component.html b/client/src/app/shared/shared-forms/peertube-checkbox.component.html index 9d0402224..c679e1403 100644 --- a/client/src/app/shared/shared-forms/peertube-checkbox.component.html +++ b/client/src/app/shared/shared-forms/peertube-checkbox.component.html | |||
@@ -34,7 +34,7 @@ | |||
34 | </div> | 34 | </div> |
35 | 35 | ||
36 | <div class="ml-4 d-flex flex-column"> | 36 | <div class="ml-4 d-flex flex-column"> |
37 | <small class="wrapper mt-2 text-muted"> | 37 | <small class="wrapper mt-2 muted"> |
38 | <ng-content select="description"></ng-content> | 38 | <ng-content select="description"></ng-content> |
39 | </small> | 39 | </small> |
40 | 40 | ||
diff --git a/client/src/app/shared/shared-forms/select/select-options.component.html b/client/src/app/shared/shared-forms/select/select-options.component.html index 83c7de9f5..0ccc23717 100644 --- a/client/src/app/shared/shared-forms/select/select-options.component.html +++ b/client/src/app/shared/shared-forms/select/select-options.component.html | |||
@@ -16,7 +16,7 @@ | |||
16 | {{ item.label }} | 16 | {{ item.label }} |
17 | <ng-container *ngIf="item.description"> | 17 | <ng-container *ngIf="item.description"> |
18 | <br> | 18 | <br> |
19 | <span [title]="item.description" class="text-muted">{{ item.description }}</span> | 19 | <span [title]="item.description" class="muted">{{ item.description }}</span> |
20 | </ng-container> | 20 | </ng-container> |
21 | </ng-template> | 21 | </ng-template> |
22 | </ng-select> | 22 | </ng-select> |
diff --git a/client/src/app/shared/shared-forms/select/select-shared.component.scss b/client/src/app/shared/shared-forms/select/select-shared.component.scss index f7b001fe8..4de43077c 100644 --- a/client/src/app/shared/shared-forms/select/select-shared.component.scss +++ b/client/src/app/shared/shared-forms/select/select-shared.component.scss | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | $form-base-input-width: auto; | 4 | $form-base-input-width: auto; |
5 | 5 | ||
6 | .text-muted { | 6 | .muted { |
7 | font-size: 90%; | 7 | font-size: 90%; |
8 | } | 8 | } |
9 | 9 | ||
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html index c465b6903..10dae68f0 100644 --- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.html +++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.html | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | <div class="d-flex flex-column"> | 21 | <div class="d-flex flex-column"> |
22 | <span i18n>{{ action.label }}</span> | 22 | <span i18n>{{ action.label }}</span> |
23 | <small class="text-muted" *ngIf="action.description">{{ action.description }}</small> | 23 | <small class="muted" *ngIf="action.description">{{ action.description }}</small> |
24 | </div> | 24 | </div> |
25 | </ng-template> | 25 | </ng-template> |
26 | 26 | ||
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss b/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss index b456eeb95..fe65d6e7e 100644 --- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss +++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.scss | |||
@@ -60,7 +60,6 @@ | |||
60 | .dropdown-item { | 60 | .dropdown-item { |
61 | display: flex; | 61 | display: flex; |
62 | cursor: pointer; | 62 | cursor: pointer; |
63 | color: #000 !important; | ||
64 | 63 | ||
65 | &.with-icon { | 64 | &.with-icon { |
66 | @include dropdown-with-icon-item; | 65 | @include dropdown-with-icon-item; |
diff --git a/client/src/app/shared/shared-moderation/account-blocklist.component.html b/client/src/app/shared/shared-moderation/account-blocklist.component.html index 0143194e9..a4f81d824 100644 --- a/client/src/app/shared/shared-moderation/account-blocklist.component.html +++ b/client/src/app/shared/shared-moderation/account-blocklist.component.html | |||
@@ -36,7 +36,7 @@ | |||
36 | <my-actor-avatar [account]="accountBlock.blockedAccount" size="32"></my-actor-avatar> | 36 | <my-actor-avatar [account]="accountBlock.blockedAccount" size="32"></my-actor-avatar> |
37 | <div> | 37 | <div> |
38 | {{ accountBlock.blockedAccount.displayName }} | 38 | {{ accountBlock.blockedAccount.displayName }} |
39 | <span class="text-muted">{{ accountBlock.blockedAccount.nameWithHost }}</span> | 39 | <span class="muted">{{ accountBlock.blockedAccount.nameWithHost }}</span> |
40 | </div> | 40 | </div> |
41 | </div> | 41 | </div> |
42 | </a> | 42 | </a> |
diff --git a/client/src/app/shared/shared-tables/video-cell.component.html b/client/src/app/shared/shared-tables/video-cell.component.html index fb7d852ab..ea432b70e 100644 --- a/client/src/app/shared/shared-tables/video-cell.component.html +++ b/client/src/app/shared/shared-tables/video-cell.component.html | |||
@@ -13,7 +13,7 @@ | |||
13 | {{ video.name }} | 13 | {{ video.name }} |
14 | </div> | 14 | </div> |
15 | 15 | ||
16 | <div class="text-muted">by {{ video.channel?.displayName }} on {{ video.channel?.host }} </div> | 16 | <div class="muted">by {{ video.channel?.displayName }} on {{ video.channel?.host }} </div> |
17 | </div> | 17 | </div> |
18 | </div> | 18 | </div> |
19 | </a> | 19 | </a> |
diff --git a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html index 9d6ef0360..7f5692dd4 100644 --- a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html +++ b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <ng-template #updateSettings let-fragment> | 1 | <ng-template #updateSettings let-fragment> |
2 | <div class="label-description text-muted" i18n> | 2 | <div class="label-description muted" i18n> |
3 | Update | 3 | Update |
4 | <a routerLink="/my-account/settings" [fragment]="fragment"> | 4 | <a routerLink="/my-account/settings" [fragment]="fragment"> |
5 | <span (click)="onAccountSettingsClick($event)">your settings</span> | 5 | <span (click)="onAccountSettingsClick($event)">your settings</span> |