Chyron template design

This commit is contained in:
Emanuel Schütze 2019-02-22 14:20:49 +01:00
parent f039293c09
commit c3b3b35cf0
6 changed files with 26 additions and 10 deletions

View File

@ -1,6 +1,6 @@
<div id="container" [osResized]="resizeSubject" [ngStyle]="containerStyle" #container>
<div id="projector" [ngStyle]="projectorStyle">
<div id="header" [ngStyle]="headerFooterStyle" *ngIf="projector.show_header_footer">
<div id="header" [ngStyle]="headerFooterStyle" *ngIf="projector && projector.show_header_footer">
<!-- projector logo -->
<img *ngIf="enableLogo && projectorLogo" src="{{ projectorLogo }}" class="projector-logo-main" />
@ -19,7 +19,7 @@
<os-slide-container [slideData]="slide" [scroll]="scroll" [scale]="scale"></os-slide-container>
</div>
<div id="footer" [ngStyle]="headerFooterStyle" *ngIf="projector.show_header_footer">
<div id="footer" [ngStyle]="headerFooterStyle" *ngIf="projector && projector.show_header_footer">
<div class="footertext">
<span *ngIf="eventDate"> {{ eventDate }} </span>
<span *ngIf="eventDate && eventLocation"> | </span>

View File

@ -16,6 +16,7 @@
<div *ngIf="data.data.current" class="currentSpeaker">
<mat-icon>mic</mat-icon>
<span>{{ data.data.current.user }}</span>
<mat-icon *ngIf="data.data.current.marked">star</mat-icon>
</div>
<!-- Next speakers -->

View File

@ -1,5 +1,5 @@
<div id="chyron" *ngIf="data">
<div id="inner">
<span id="inner">
{{ data.data.current_speaker }}
</div>
</span>
</div>

View File

@ -1,14 +1,19 @@
#chyron {
position: absolute;
left: 0;
bottom: 1em;
bottom: 0;
z-index: 10;
width: 100%;
height: 100px;
font-size: 32px;
text-align: center;
line-height: 1.1;
display: table;
#inner {
background-color: green;
padding: 12px;
margin: 12px;
font-size: 32px;
display: table-cell;
vertical-align: middle;
padding-left: 20px;
padding-right: 20px;
}
}

View File

@ -65,8 +65,14 @@
background-color: mat-color($background, app-bar);
}
// drag & drop view
/* drag & drop views */
.node-content-wrapper {
background-color: mat-color($background, app-bar);
}
/* projector components */
#chyron {
background-color: mat-color($primary);
color: white; // TODO
}
}

View File

@ -2,6 +2,10 @@
* {
font-family: customProjectorFont;
}
.material-icons {
font-family: 'Material Icons';
}
h2 {
line-height: 40px;