-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add title info to chyron and add second layout option (#3691)
- Loading branch information
Showing
17 changed files
with
164 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 24 additions & 8 deletions
32
...nents/current-speaker-chyron-slide/components/current-speaker-chyron-slide.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,29 @@ | ||
<div | ||
id="chyron" | ||
*ngIf="data" | ||
[id]="data.options['chyron_type'] === 'new' ? 'chyron_new' : 'chyron'" | ||
[ngStyle]="{ | ||
'background-color': projector?.chyron_background_color || data.data.background_color, | ||
color: projector?.chyron_font_color || data.data.font_color | ||
'--chyron-background-color': projector?.chyron_background_color || data.data.background_color, | ||
'--chyron-font-color': projector?.chyron_font_color || data.data.font_color, | ||
'--chyron-background-color-2': projector?.chyron_background_color_2 || data.data.background_color_2, | ||
'--chyron-font-color-2': projector?.chyron_font_color_2 || data.data.font_color_2 | ||
}" | ||
> | ||
<span id="inner"> | ||
<div id="inner-name">{{ data.data.current_speaker_name }}</div> | ||
<div id="inner-level">{{ data.data.current_speaker_level }}</div> | ||
</span> | ||
<div id="chyron_agenda_item" *ngIf="data && data.options['agenda_item'] && data.data.title_information"> | ||
<span class="inner"> | ||
{{ data.data.title_information?.agenda_item_number }} | ||
{{ !!data.data.title_information?.agenda_item_number ? '·' : '' }} | ||
{{ data.data.title_information?.number }} | ||
{{ !!data.data.title_information?.number ? '·' : '' }} | ||
{{ data.data.title_information?.title }} | ||
</span> | ||
</div> | ||
|
||
<div id="chyron_speaker" *ngIf="data && data.options['chyron_type'] !== 'none' && data.data.current_speaker_name"> | ||
<span *ngIf="data.options['chyron_type'] === 'old'" class="inner"> | ||
<div class="name">{{ data.data.current_speaker_name }}</div> | ||
<div class="level">{{ data.data.current_speaker_level }}</div> | ||
</span> | ||
<span *ngIf="data.options['chyron_type'] === 'new'" class="inner"> | ||
<os-comma-separated-listing [list]="getSpeaker()"></os-comma-separated-listing> | ||
</span> | ||
</div> | ||
</div> |
47 changes: 37 additions & 10 deletions
47
...nents/current-speaker-chyron-slide/components/current-speaker-chyron-slide.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,60 @@ | ||
@import 'src/assets/styles/fonts.scss'; | ||
|
||
#chyron { | ||
#chyron, | ||
#chyron_new { | ||
position: absolute; | ||
left: 50px; | ||
bottom: 20px; | ||
right: 0; | ||
right: 50px; | ||
z-index: 10; | ||
height: 80px; | ||
font-size: 32px; | ||
} | ||
|
||
#chyron_agenda_item, | ||
#chyron_speaker { | ||
text-align: left; | ||
line-height: 1; | ||
line-height: 1.25; | ||
opacity: 1; | ||
|
||
#inner { | ||
.inner { | ||
background-color: var(--chyron-background-color); | ||
color: var(--chyron-font-color); | ||
display: inline-block; | ||
|
||
vertical-align: middle; | ||
padding-left: 18px; | ||
padding-right: 20px; | ||
padding-right: 18px; | ||
padding-top: 10px; | ||
padding-bottom: 10px; | ||
height: 60px; | ||
height: 40px; | ||
display: table-cell; | ||
} | ||
} | ||
|
||
#inner-name { | ||
#chyron_agenda_item { | ||
font-size: 24px; | ||
.inner { | ||
background-color: var(--chyron-background-color-2); | ||
color: var(--chyron-font-color-2); | ||
} | ||
margin-bottom: -1px; | ||
} | ||
|
||
#chyron_speaker { | ||
font-size: 32px; | ||
.inner { | ||
.name { | ||
font-family: customChyronNameFont, $font-chyronname; | ||
} | ||
|
||
#inner-level { | ||
.level { | ||
margin-top: 5px; | ||
font-size: 70%; | ||
} | ||
} | ||
} | ||
|
||
#chyron_new { | ||
#chyron_speaker { | ||
min-height: 80px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...les/slides/components/current-speaker-chyron-slide/current-speaker-chyron-slide.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
|
||
import { CommaSeparatedListingModule } from '../../../../../../../../../ui/modules/comma-separated-listing/comma-separated-listing.module'; | ||
import { SlideToken } from '../../definitions'; | ||
import { CurrentSpeakerChyronSlideComponent } from './components/current-speaker-chyron-slide.component'; | ||
@NgModule({ | ||
imports: [CommonModule], | ||
declarations: [CurrentSpeakerChyronSlideComponent], | ||
providers: [{ provide: SlideToken.token, useValue: CurrentSpeakerChyronSlideComponent }] | ||
providers: [{ provide: SlideToken.token, useValue: CurrentSpeakerChyronSlideComponent }], | ||
imports: [CommonModule, CommaSeparatedListingModule] | ||
}) | ||
export class CurrentSpeakerChyronSlideModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.