Add link to video in update view and smooth progress bar repositioning
This commit is contained in:
parent
a004ff1726
commit
2ba5ac3354
|
@ -5,6 +5,15 @@
|
||||||
@include peertube-select-container(auto);
|
@include peertube-select-container(auto);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.title-page a {
|
||||||
|
color: var(--mainForegroundColor);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
opacity: .8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
my-peertube-checkbox {
|
my-peertube-checkbox {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<div class="margin-content">
|
<div class="margin-content">
|
||||||
<div i18n class="title-page title-page-single">
|
<div class="title-page title-page-single">
|
||||||
Update {{ video?.name }}
|
<span class="mr-1" i18n>Update</span>
|
||||||
|
<a [routerLink]="[ '/videos/watch', video.uuid ]">{{ video?.name }}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form novalidate [formGroup]="form">
|
<form novalidate [formGroup]="form">
|
||||||
|
|
|
@ -35,7 +35,6 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private notifier: Notifier,
|
private notifier: Notifier,
|
||||||
private serverService: ServerService,
|
|
||||||
private videoService: VideoService,
|
private videoService: VideoService,
|
||||||
private loadingBar: LoadingBarService,
|
private loadingBar: LoadingBarService,
|
||||||
private videoCaptionService: VideoCaptionService,
|
private videoCaptionService: VideoCaptionService,
|
||||||
|
|
|
@ -185,6 +185,7 @@ body {
|
||||||
|
|
||||||
.vjs-play-progress {
|
.vjs-play-progress {
|
||||||
background: var(--embedForegroundColor);
|
background: var(--embedForegroundColor);
|
||||||
|
transition: all .2s ease 0s;
|
||||||
|
|
||||||
// Not display the circle if the progress is not hovered
|
// Not display the circle if the progress is not hovered
|
||||||
&::before {
|
&::before {
|
||||||
|
|
Loading…
Reference in New Issue