From 2ba5ac33548b809285025be307960e49e7b3947c Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 13 Jan 2020 22:14:04 +0100 Subject: Add link to video in update view and smooth progress bar repositioning --- .../src/app/videos/+video-edit/shared/video-edit.component.scss | 9 +++++++++ client/src/app/videos/+video-edit/video-update.component.html | 5 +++-- client/src/app/videos/+video-edit/video-update.component.ts | 1 - client/src/sass/player/peertube-skin.scss | 1 + 4 files changed, 13 insertions(+), 3 deletions(-) (limited to 'client/src') 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 @@ @include peertube-select-container(auto); } +.title-page a { + color: var(--mainForegroundColor); + + &:hover { + text-decoration: none; + opacity: .8; + } +} + my-peertube-checkbox { display: block; 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 @@
-
- Update {{ video?.name }} +
+ Update + {{ video?.name }}
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 { private route: ActivatedRoute, private router: Router, private notifier: Notifier, - private serverService: ServerService, private videoService: VideoService, private loadingBar: LoadingBarService, 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 { .vjs-play-progress { background: var(--embedForegroundColor); + transition: all .2s ease 0s; // Not display the circle if the progress is not hovered &::before { -- cgit v1.2.3