From: Rigel Kent Date: Mon, 13 Jan 2020 21:14:04 +0000 (+0100) Subject: Add link to video in update view and smooth progress bar repositioning X-Git-Tag: v2.1.0-rc.1~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2ba5ac33548b809285025be307960e49e7b3947c;p=oweals%2Fpeertube.git Add link to video in update view and smooth progress bar repositioning --- 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 {