diff --git a/client/src/app/+stats/video/video-stats.component.scss b/client/src/app/+stats/video/video-stats.component.scss
index b20d7b07c..5ddd7a920 100644
--- a/client/src/app/+stats/video/video-stats.component.scss
+++ b/client/src/app/+stats/video/video-stats.component.scss
@@ -46,7 +46,8 @@
.label,
.more-info {
- font-size: 14px;
+ font-size: 1rem;
+ font-weight: $font-semibold;
}
.value {
diff --git a/client/src/app/+stats/video/video-stats.component.ts b/client/src/app/+stats/video/video-stats.component.ts
index 97892cc6e..17da3966e 100644
--- a/client/src/app/+stats/video/video-stats.component.ts
+++ b/client/src/app/+stats/video/video-stats.component.ts
@@ -27,6 +27,7 @@ import { NgFor, NgIf } from '@angular/common'
import { NumberFormatterPipe } from '@app/shared/shared-main/common/number-formatter.pipe'
import { VideoDetails } from '@app/shared/shared-main/video/video-details.model'
import { LiveVideoService } from '@app/shared/shared-video-live/live-video.service'
+import { GlobalIconComponent } from '@app/shared/shared-icons/global-icon.component'
type ActiveGraphId = VideoStatsTimeserieMetric | 'retention' | 'countries' | 'regions'
@@ -69,7 +70,8 @@ ChartJSDefaults.color = getComputedStyle(document.body).getPropertyValue('--fg')
NgbNavContent,
ChartModule,
ButtonComponent,
- NgbNavOutlet
+ NgbNavOutlet,
+ GlobalIconComponent
]
})
export class VideoStatsComponent implements OnInit {
@@ -583,7 +585,7 @@ export class VideoStatsComponent implements OnInit {
}
private buildChartColor () {
- return getComputedStyle(document.body).getPropertyValue('--primary-400')
+ return getComputedStyle(document.body).getPropertyValue('--border-primary')
}
private formatXTick (options: {
diff --git a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html
index dd0b10d66..3398c76ec 100644
--- a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html
+++ b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.html
@@ -1,8 +1,4 @@
-
- Created {pagination.totalItems, plural, =1 {1 playlist} other {{{ pagination.totalItems }} playlists}}
-
-
This channel does not have playlists.
diff --git a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss
index 0776bdde0..23f9ec2d3 100644
--- a/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss
+++ b/client/src/app/+video-channels/video-channel-playlists/video-channel-playlists.component.scss
@@ -19,11 +19,6 @@
}
@media screen and (max-width: $mobile-view) {
- .title-page {
- display: block;
- text-align: center;
- }
-
.playlists {
justify-content: left;
diff --git a/client/src/app/+video-channels/video-channels.component.scss b/client/src/app/+video-channels/video-channels.component.scss
index 8e1a26542..81d687d8e 100644
--- a/client/src/app/+video-channels/video-channels.component.scss
+++ b/client/src/app/+video-channels/video-channels.component.scss
@@ -4,8 +4,9 @@
@use '_miniature' as *;
@use '_button-mixins' as *;
+$owner-block-bg: pvar(--bg-secondary-350);
+
.root {
- --co-global-top-padding: 2rem;
--co-channel-img-margin: 30px;
--co-font-size: 16px;
--co-channel-handle-font-size: 16px;
@@ -28,7 +29,6 @@
grid-template-columns: 1fr auto;
grid-template-rows: auto auto;
- padding-top: var(--co-global-top-padding);
font-size: var(--co-font-size);
@include margin-bottom(3rem);
@@ -41,7 +41,6 @@
.channel-description {
grid-column: 1;
word-break: break-word;
- padding-bottom: var(--co-global-top-padding);
}
.show-more {
@@ -84,8 +83,6 @@
}
.owner-block {
- $owner-block-bg: pvar(--bg-secondary-350);
-
background-color: $owner-block-bg;
padding: 30px;
width: 300px;
@@ -146,7 +143,6 @@ my-copy-button {
@media screen and (max-width: 1100px) {
.root {
- --co-global-top-padding: 45px;
--co-channel-img-margin: 15px;
}
@@ -159,7 +155,7 @@ my-copy-button {
.channel-description:not(.expanded) {
max-height: 70px;
- @include fade-text(30px, pvar(--bg-secondary-350));
+ @include fade-text(30px, pvar(--bg));
}
.show-more {
@@ -182,16 +178,14 @@ my-copy-button {
.bottom-owner {
display: block;
- width: 100%;
border-bottom: 2px solid $separator-border-color;
- padding: var(--co-global-top-padding) 45px;
margin-bottom: 60px;
}
.owner-block {
display: grid;
width: 100%;
- padding: 0;
+ padding: 1rem;
.avatar-row {
grid-column: 1;
@@ -203,7 +197,7 @@ my-copy-button {
grid-column: 2;
max-height: 70px;
- @include fade-text(30px, pvar(--bg));
+ @include fade-text(30px, $owner-block-bg);
}
.view-account {
@@ -224,7 +218,6 @@ my-copy-button {
@media screen and (max-width: $mobile-view) {
.root {
- --co-global-top-padding: 1rem;
--co-font-size: 14px;
--co-channel-handle-font-size: 13px;
--co-owner-handle-font-size: 13px;
diff --git a/client/src/app/+video-studio/edit/video-studio-edit.component.html b/client/src/app/+video-studio/edit/video-studio-edit.component.html
index 7997dd5a8..aa6a4535a 100644
--- a/client/src/app/+video-studio/edit/video-studio-edit.component.html
+++ b/client/src/app/+video-studio/edit/video-studio-edit.component.html
@@ -1,5 +1,9 @@
-
Studio for {{ video.name }}
+
+
+
+ Studio for {{ video.name }}
+
diff --git a/client/src/app/+video-studio/edit/video-studio-edit.component.scss b/client/src/app/+video-studio/edit/video-studio-edit.component.scss
index b9fd1e070..70da409d7 100644
--- a/client/src/app/+video-studio/edit/video-studio-edit.component.scss
+++ b/client/src/app/+video-studio/edit/video-studio-edit.component.scss
@@ -52,16 +52,12 @@ my-timestamp-input {
}
}
-h1 {
- font-size: 20px;
-}
-
h2 {
font-weight: $font-bold;
font-size: 16px;
padding: 0 5px;
width: fit-content;
- margin: -8px 0 1rem;
+ margin-top: 0.5rem;
}
.section {
diff --git a/client/src/app/+video-studio/edit/video-studio-edit.component.ts b/client/src/app/+video-studio/edit/video-studio-edit.component.ts
index 587f69e3c..55c344940 100644
--- a/client/src/app/+video-studio/edit/video-studio-edit.component.ts
+++ b/client/src/app/+video-studio/edit/video-studio-edit.component.ts
@@ -15,6 +15,7 @@ import { ReactiveFileComponent } from '../../shared/shared-forms/reactive-file.c
import { TimestampInputComponent } from '../../shared/shared-forms/timestamp-input.component'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { VideoDetails } from '@app/shared/shared-main/video/video-details.model'
+import { GlobalIconComponent } from '@app/shared/shared-icons/global-icon.component'
@Component({
selector: 'my-video-studio-edit',
@@ -29,7 +30,8 @@ import { VideoDetails } from '@app/shared/shared-main/video/video-details.model'
ButtonComponent,
EmbedComponent,
NgIf,
- NgFor
+ NgFor,
+ GlobalIconComponent
]
})
export class VideoStudioEditComponent extends FormReactive implements OnInit {
diff --git a/client/src/app/+videos/+video-edit/shared/caption/video-caption-edit-modal-content.component.html b/client/src/app/+videos/+video-edit/shared/caption/video-caption-edit-modal-content.component.html
index ce9a973ea..f0577f452 100644
--- a/client/src/app/+videos/+video-edit/shared/caption/video-caption-edit-modal-content.component.html
+++ b/client/src/app/+videos/+video-edit/shared/caption/video-caption-edit-modal-content.component.html
@@ -52,7 +52,7 @@
@@ -67,7 +67,7 @@
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html
index e8707c6a5..4c48df265 100644
--- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html
+++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html
@@ -262,7 +262,7 @@
{{ i + 1 }}
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html
index 2851eb24a..95be942e2 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.html
@@ -29,6 +29,7 @@
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
index 017a63880..440e6be3e 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-send.scss
@@ -13,6 +13,8 @@ $width-size: 275px;
}
.first-step-block {
+ --input-bg: #{pvar(--bg-secondary-500)};
+
display: flex;
flex-direction: column;
align-items: center;
diff --git a/client/src/app/+videos/+video-edit/video-add.component.html b/client/src/app/+videos/+video-edit/video-add.component.html
index c387631f8..c0b5f2273 100644
--- a/client/src/app/+videos/+video-edit/video-add.component.html
+++ b/client/src/app/+videos/+video-edit/video-add.component.html
@@ -42,15 +42,18 @@
Instead, create a dedicated account to upload your videos.
+
+
- Import {{ videoName }}
- Upload {{ videoName }}
+ @if (secondStepType === 'import-url' || secondStepType === 'import-torrent') {
+ Import {{ videoName }}
+ } @else if (secondStepType === 'upload') {
+ Upload {{ videoName }}
+ }
-
-
-
+
}
diff --git a/client/src/app/+videos/+video-edit/video-add.component.scss b/client/src/app/+videos/+video-edit/video-add.component.scss
index 6b3d10a8d..d49e626b6 100644
--- a/client/src/app/+videos/+video-edit/video-add.component.scss
+++ b/client/src/app/+videos/+video-edit/video-add.component.scss
@@ -37,10 +37,6 @@ $nav-link-height: 40px;
}
}
-.margin-content {
- padding-top: 20px;
-}
-
:host ::ng-deep .video-add-nav {
@include peertube-nav-tabs($border-width, $border-type, $border-color, $nav-link-height);
diff --git a/client/src/app/+videos/+video-edit/video-update.component.html b/client/src/app/+videos/+video-edit/video-update.component.html
index 3f2b5d944..9c7cd3fe0 100644
--- a/client/src/app/+videos/+video-edit/video-update.component.html
+++ b/client/src/app/+videos/+video-edit/video-update.component.html
@@ -1,8 +1,5 @@
-
+
Update {{ videoDetails?.name }}
-
+
{totalNotDeletedComments, plural, =0 {Comments} =1 {1 Comment} other {{{totalNotDeletedComments}} Comments}}
-
-