diff --git a/client/src/app/shared/components/contdown-time/countdown-time.component.scss b/client/src/app/shared/components/contdown-time/countdown-time.component.scss index 0d64a1944..ea60b59a1 100644 --- a/client/src/app/shared/components/contdown-time/countdown-time.component.scss +++ b/client/src/app/shared/components/contdown-time/countdown-time.component.scss @@ -1,8 +1,6 @@ #countdown { font-weight: bold; - padding: 10px; display: inline-block; - min-width: 75px; text-align: right; &.warning_time { diff --git a/client/src/app/slides/agenda/common/common-list-of-speakers-slide-data.ts b/client/src/app/slides/agenda/common/common-list-of-speakers-slide-data.ts index e711ba381..d1724a1b8 100644 --- a/client/src/app/slides/agenda/common/common-list-of-speakers-slide-data.ts +++ b/client/src/app/slides/agenda/common/common-list-of-speakers-slide-data.ts @@ -4,10 +4,10 @@ interface SlideSpeaker { } export interface CommonListOfSpeakersSlideData { - waiting: SlideSpeaker[]; - current: SlideSpeaker; - finished: SlideSpeaker[]; - title_information: object; - content_object_collection: string; - item_number: string; + waiting?: SlideSpeaker[]; + current?: SlideSpeaker; + finished?: SlideSpeaker[]; + title_information?: object; + content_object_collection?: string; + item_number?: string; } diff --git a/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.html b/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.html index 27415ae82..6cfdb4be1 100644 --- a/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.html +++ b/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.html @@ -1,11 +1,11 @@

List of speakers

-

{{ getTitle() }}

+

{{ getTitle() }}

-
+
{{ speaker.user }} star @@ -14,11 +14,12 @@
- mic {{ data.data.current.user }} + mic + {{ data.data.current.user }}
-
+
  1. {{ speaker.user }} diff --git a/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.scss b/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.scss index a8dfa7776..3fe46b824 100644 --- a/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.scss +++ b/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.scss @@ -1,14 +1,24 @@ .lastSpeakers { color: #9a9898; - margin-left: 30px; + margin-left: 33px; + margin-bottom: 10px; } .currentSpeaker { font-weight: bold; + + .mat-icon, + span { + vertical-align: middle; + } + span { + padding-left: 8px; + } } .nextSpeakers { margin-left: 13px !important; + margin-top: 10px !important; li { line-height: 150%; diff --git a/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.ts b/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.ts index 03567e39f..148ec480c 100644 --- a/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.ts +++ b/client/src/app/slides/agenda/common/common-list-of-speakers-slide.component.ts @@ -16,13 +16,17 @@ export class CommonListOfSpeakersSlideComponent extends BaseSlideComponent - TODO +

    List of speakers

    + + +
    +
    + {{ speaker.user }} + star +
    +
    + + +
    + mic + {{ data.data.current.user }} +
    + + +
    +
      +
    1. + {{ speaker.user }} + star +
    2. +
    +
diff --git a/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.scss b/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.scss index 91d478884..ef666f6e7 100644 --- a/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.scss +++ b/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.scss @@ -1,9 +1,17 @@ +@import '../common/common-list-of-speakers-slide.component.scss'; + #overlay { position: absolute; right: 0; bottom: 0; - background-color: green; - height: 30px; + background-color: #d3d3d3; + width: 40%; + height: 200px; margin: 10px; - z-index: 2; + z-index: 20; + border-radius: 7px; + border: 1px solid #999; + padding: 0px 7px 10px 19px; + box-shadow: 3px 3px 10px 1px rgba(0, 0, 0, 0.5); + overflow: hidden; } diff --git a/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.spec.ts b/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.spec.ts index 4461b8f5a..2d20bd5ee 100644 --- a/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.spec.ts +++ b/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.spec.ts @@ -2,6 +2,7 @@ import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { CurrentListOfSpeakersOverlaySlideComponent } from './current-list-of-speakers-overlay-slide.component'; import { E2EImportsModule } from '../../../../e2e-imports.module'; +import { CommonListOfSpeakersSlideModule } from '../common/common-list-of-speakers-slide.module'; describe('CurrentListOfSpeakersOverlaySlideComponent', () => { let component: CurrentListOfSpeakersOverlaySlideComponent; @@ -9,7 +10,7 @@ describe('CurrentListOfSpeakersOverlaySlideComponent', () => { beforeEach(async(() => { TestBed.configureTestingModule({ - imports: [E2EImportsModule], + imports: [E2EImportsModule, CommonListOfSpeakersSlideModule], declarations: [CurrentListOfSpeakersOverlaySlideComponent] }).compileComponents(); })); diff --git a/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.ts b/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.ts index 4f4fbd9f7..3c3b59a03 100644 --- a/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.ts +++ b/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.component.ts @@ -1,4 +1,4 @@ -import { Component, Input } from '@angular/core'; +import { Component } from '@angular/core'; import { BaseSlideComponent } from 'app/slides/base-slide-component'; import { CommonListOfSpeakersSlideData } from '../common/common-list-of-speakers-slide-data'; @@ -9,12 +9,6 @@ import { CommonListOfSpeakersSlideData } from '../common/common-list-of-speakers styleUrls: ['./current-list-of-speakers-overlay-slide.component.scss'] }) export class CurrentListOfSpeakersOverlaySlideComponent extends BaseSlideComponent { - // TODO: remove to access data in the template - @Input() - public set data(value: any) { - console.log(value.data); - } - public constructor() { super(); } diff --git a/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.module.ts b/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.module.ts index e93f2dd29..9ce1e63b8 100644 --- a/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.module.ts +++ b/client/src/app/slides/agenda/current-list-of-speakers-overlay/current-list-of-speakers-overlay-slide.module.ts @@ -1,7 +1,15 @@ import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; -import { makeSlideModule } from 'app/slides/base-slide-module'; import { CurrentListOfSpeakersOverlaySlideComponent } from './current-list-of-speakers-overlay-slide.component'; +import { CommonListOfSpeakersSlideModule } from '../common/common-list-of-speakers-slide.module'; +import { SharedModule } from 'app/shared/shared.module'; +import { SLIDE } from 'app/slides/slide-token'; -@NgModule(makeSlideModule(CurrentListOfSpeakersOverlaySlideComponent)) +@NgModule({ + imports: [CommonModule, SharedModule, CommonListOfSpeakersSlideModule], + declarations: [CurrentListOfSpeakersOverlaySlideComponent], + providers: [{ provide: SLIDE, useValue: CurrentListOfSpeakersOverlaySlideComponent }], + entryComponents: [CurrentListOfSpeakersOverlaySlideComponent] +}) export class CurrentListOfSpeakersOverlaySlideModule {} diff --git a/client/src/app/slides/core/clock/clock-slide.component.scss b/client/src/app/slides/core/clock/clock-slide.component.scss index 67fdfa6fc..d7dbaebd6 100644 --- a/client/src/app/slides/core/clock/clock-slide.component.scss +++ b/client/src/app/slides/core/clock/clock-slide.component.scss @@ -1,21 +1,19 @@ #clock { position: absolute; - right: 0; - top: 0; - color: white; + right: 38px; + top: 23px; height: 30px; - margin: 12px; - z-index: 2; - padding-right: 50px; - padding-top: 5px; + z-index: 10; + padding-left: 30px; + text-align: right; mat-icon { - padding-top: 5px; + vertical-align: middle; } span { padding-left: 5px; font-size: 24px; - float: right; + vertical-align: middle; } } diff --git a/client/src/app/slides/core/countdown/countdown-slide.component.scss b/client/src/app/slides/core/countdown/countdown-slide.component.scss index d857b87a6..6474adf4a 100644 --- a/client/src/app/slides/core/countdown/countdown-slide.component.scss +++ b/client/src/app/slides/core/countdown/countdown-slide.component.scss @@ -21,10 +21,10 @@ &.overlay { position: relative; float: right; - margin: 100px 10px 10px 10px; - padding: 10px 40px 7px 10px; - min-height: 72px; - min-width: 180px; + margin: 80px 0px 10px 10px; + padding: 35px 35px 0px 10px; + min-height: 60px; + min-width: 230px; font-size: 3.7em; font-weight: bold; text-align: right; @@ -37,6 +37,7 @@ font-weight: normal; font-size: 18px; padding-right: 6px; + padding-top: 20px; } } } diff --git a/client/src/app/slides/core/projector-message/projector-message-slide.component.scss b/client/src/app/slides/core/projector-message/projector-message-slide.component.scss index 82ebb2aec..ecfd91d33 100644 --- a/client/src/app/slides/core/projector-message/projector-message-slide.component.scss +++ b/client/src/app/slides/core/projector-message/projector-message-slide.component.scss @@ -3,7 +3,7 @@ left: 0; top: 0; background-color: rgba($color: #000000, $alpha: 0.5); - z-index: 10; + z-index: 100; width: 100%; height: 100%; display: grid; @@ -17,10 +17,11 @@ justify-self: center; border-radius: 0.2em; background: #ffffff; - font-size: 2.75em; - padding: 0.2em 0; + font-size: 2.3em; + padding: 0.5em 0.25em; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); min-height: 20px; + line-height: normal; ::ng-deep p { margin: 0 0 10px; diff --git a/client/src/app/slides/motions/motion/motion-slide.component.scss b/client/src/app/slides/motions/motion/motion-slide.component.scss index 00e4d5d21..d75186a98 100644 --- a/client/src/app/slides/motions/motion/motion-slide.component.scss +++ b/client/src/app/slides/motions/motion/motion-slide.component.scss @@ -7,7 +7,7 @@ #sidebox { width: 260px; right: 0; - margin-top: 50px; + margin-top: 95px; background: #d3d3d3; border-radius: 7px 0 0 7px; padding: 3px 7px 10px 10px;