aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-13 22:14:04 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-01-13 22:14:04 +0100
commit2ba5ac33548b809285025be307960e49e7b3947c (patch)
tree509688111512aa30b319fdfc5b5ba27f00c7f8bd /client/src
parenta004ff172638083d69ed1028d18c9b6222d24da6 (diff)
downloadPeerTube-2ba5ac33548b809285025be307960e49e7b3947c.tar.gz
PeerTube-2ba5ac33548b809285025be307960e49e7b3947c.tar.zst
PeerTube-2ba5ac33548b809285025be307960e49e7b3947c.zip
Add link to video in update view and smooth progress bar repositioning
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/videos/+video-edit/shared/video-edit.component.scss9
-rw-r--r--client/src/app/videos/+video-edit/video-update.component.html5
-rw-r--r--client/src/app/videos/+video-edit/video-update.component.ts1
-rw-r--r--client/src/sass/player/peertube-skin.scss1
4 files changed, 13 insertions, 3 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.scss b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
index 3d57e9152..144914731 100644
--- a/client/src/app/videos/+video-edit/shared/video-edit.component.scss
+++ b/client/src/app/videos/+video-edit/shared/video-edit.component.scss
@@ -5,6 +5,15 @@
5 @include peertube-select-container(auto); 5 @include peertube-select-container(auto);
6} 6}
7 7
8.title-page a {
9 color: var(--mainForegroundColor);
10
11 &:hover {
12 text-decoration: none;
13 opacity: .8;
14 }
15}
16
8my-peertube-checkbox { 17my-peertube-checkbox {
9 display: block; 18 display: block;
10 margin-bottom: 1rem; 19 margin-bottom: 1rem;
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 aa148311f..e68c14010 100644
--- a/client/src/app/videos/+video-edit/video-update.component.html
+++ b/client/src/app/videos/+video-edit/video-update.component.html
@@ -1,6 +1,7 @@
1<div class="margin-content"> 1<div class="margin-content">
2 <div i18n class="title-page title-page-single"> 2 <div class="title-page title-page-single">
3 Update {{ video?.name }} 3 <span class="mr-1" i18n>Update</span>
4 <a [routerLink]="[ '/videos/watch', video.uuid ]">{{ video?.name }}</a>
4 </div> 5 </div>
5 6
6 <form novalidate [formGroup]="form"> 7 <form novalidate [formGroup]="form">
diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts
index 6ec187f40..20a607134 100644
--- a/client/src/app/videos/+video-edit/video-update.component.ts
+++ b/client/src/app/videos/+video-edit/video-update.component.ts
@@ -35,7 +35,6 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
35 private route: ActivatedRoute, 35 private route: ActivatedRoute,
36 private router: Router, 36 private router: Router,
37 private notifier: Notifier, 37 private notifier: Notifier,
38 private serverService: ServerService,
39 private videoService: VideoService, 38 private videoService: VideoService,
40 private loadingBar: LoadingBarService, 39 private loadingBar: LoadingBarService,
41 private videoCaptionService: VideoCaptionService, 40 private videoCaptionService: VideoCaptionService,
diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss
index e80853861..41e2a535c 100644
--- a/client/src/sass/player/peertube-skin.scss
+++ b/client/src/sass/player/peertube-skin.scss
@@ -185,6 +185,7 @@ body {
185 185
186 .vjs-play-progress { 186 .vjs-play-progress {
187 background: var(--embedForegroundColor); 187 background: var(--embedForegroundColor);
188 transition: all .2s ease 0s;
188 189
189 // Not display the circle if the progress is not hovered 190 // Not display the circle if the progress is not hovered
190 &::before { 191 &::before {