mirror of
https://github.com/zoriya/Kyoo.Angular.git
synced 2026-06-12 06:00:49 +00:00
add show title and overview
This commit is contained in:
@@ -1,2 +1,12 @@
|
||||
<div class="backdrop"> <img id="backdrop" [src]="this.show.backdrop" alt="backdrop" /></div>
|
||||
<div>
|
||||
<div class="containerBox">
|
||||
<div class="textBox">
|
||||
<h2 class="show-title">{{this.show.title}}</h2>
|
||||
<h6 class="show-overview">{{this.show.overview}}</h6>
|
||||
</div>
|
||||
<div class="backdrop">
|
||||
<img id="backdrop" [src]="this.show.backdrop" alt="backdrop" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -3,13 +3,6 @@
|
||||
@import "~bootstrap/scss/mixins/breakpoints";
|
||||
@import "variables";
|
||||
|
||||
//.recommendation{
|
||||
// margin: auto;
|
||||
// width: 90%;
|
||||
// border: 2px solid #e23c00;
|
||||
// padding-bottom: 30%;
|
||||
// text-align: center;
|
||||
//}
|
||||
.backdrop
|
||||
{
|
||||
margin-top: -68px;
|
||||
@@ -45,3 +38,20 @@
|
||||
|
||||
}
|
||||
}
|
||||
.textBox
|
||||
{
|
||||
position: absolute;
|
||||
top:45%;
|
||||
left:1.5%;
|
||||
right: 70%;
|
||||
text-align: justify;
|
||||
|
||||
}
|
||||
.containerBox {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.show-title
|
||||
{
|
||||
font-size: xxx-large;
|
||||
}
|
||||
|
||||
@@ -78,4 +78,7 @@ export class HomepageComponent implements AfterViewInit, OnDestroy
|
||||
this.scrollZone.style.marginTop = null;
|
||||
this.scrollZone.style.maxHeight = null;
|
||||
}
|
||||
scroll(): void {
|
||||
const opacity: number = 2 * this.scrollZone.scrollTop / this.backdrop.clientHeight;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user