Skip to content
Snippets Groups Projects
Commit cd23af0e authored by Lukas Haase's avatar Lukas Haase
Browse files

Highlight Questionwall button, add usernumber to questions

parent 3d5ef5d9
No related merge requests found
...@@ -15,8 +15,10 @@ ...@@ -15,8 +15,10 @@
</h2> </h2>
<span class="fill-remaining-space" <span class="fill-remaining-space"
*ngIf="router.url.includes('comments') && deviceType === 'desktop'"></span> *ngIf="router.url.includes('comments') && deviceType === 'desktop'"></span>
<button *ngIf="router.url.includes('comments') && deviceType === 'desktop'" mat-button routerLink="participant/room/{{shortId}}/comments/questionwall"> <button *ngIf="router.url.includes('comments') && deviceType === 'desktop'"
<span class="oldtypo-h3">Question Focus</span> mat-raised-button class="question-focus-btn" routerLink="participant/room/{{shortId}}/comments/questionwall">
<mat-icon svgIcon="beamer"></mat-icon>
<span class="question-focus-btn-txt">Question Focus</span>
</button> </button>
<span class="fill-remaining-space" <span class="fill-remaining-space"
*ngIf="router.url.includes('comments') && user.role === 3 && deviceType === 'desktop'"></span> *ngIf="router.url.includes('comments') && user.role === 3 && deviceType === 'desktop'"></span>
......
...@@ -51,3 +51,14 @@ svg { ...@@ -51,3 +51,14 @@ svg {
-webkit-filter: invert(100%); /* safari 6.0 - 9.0 */ -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */
filter: invert(100%); filter: invert(100%);
} }
.question-focus-btn{
background-color:var(--primary);
*{
color:var(--on-primary);
}
}
.question-focus-btn-txt{
padding-left:6px;
}
...@@ -27,8 +27,17 @@ ...@@ -27,8 +27,17 @@
<ars-row class="questionwall-present-box-outer"> <ars-row class="questionwall-present-box-outer">
<div class="questionwall-present-box-inner"> <div class="questionwall-present-box-inner">
<ng-container *ngIf="commentFocus"> <ng-container *ngIf="commentFocus">
<h2 class="questionwall-present-timestamp">{{commentFocus.timeAgo}}</h2> <ars-row class="questionwall-present-meta">
<p class="questionwall-present">{{commentFocus.comment.body}}</p> <ars-col>
<h2 class="questionwall-present-meta-user">#{{commentFocus.comment.userNumber}}</h2>
</ars-col>
<ars-col>
<h2 class="questionwall-present-meta-timestamp">{{commentFocus.timeAgo}}</h2>
</ars-col>
</ars-row>
<ars-row>
<p class="questionwall-present">{{commentFocus.comment.body}}</p>
</ars-row>
</ng-container> </ng-container>
<ng-container *ngIf="!commentFocus"> <ng-container *ngIf="!commentFocus">
<p class="questionwall-present-introduction-title">{{'question-wall.intro-title' | translate}}</p> <p class="questionwall-present-introduction-title">{{'question-wall.intro-title' | translate}}</p>
...@@ -48,6 +57,9 @@ ...@@ -48,6 +57,9 @@
<ars-row ars-flex-box <ars-row ars-flex-box
(click)="focusComment(comment)" (click)="focusComment(comment)"
style="box-sizing:border-box;padding:16px;cursor:pointer"> style="box-sizing:border-box;padding:16px;cursor:pointer">
<ars-col>
<p class="questionwall-comment-user">#{{comment.comment.userNumber}}</p>
</ars-col>
<ars-col> <ars-col>
<p class="questionwall-comment-timestamp">{{comment.timeAgo}}</p> <p class="questionwall-comment-timestamp">{{comment.timeAgo}}</p>
</ars-col> </ars-col>
......
...@@ -33,6 +33,11 @@ ...@@ -33,6 +33,11 @@
color:var(--ars-paragraph-color); color:var(--ars-paragraph-color);
font-size:14px; font-size:14px;
} }
&-user{
color:var(--ars-header-color);
font-size:14px;
padding-right:8px;
}
&-body{ &-body{
hyphens:auto; hyphens:auto;
word-break:break-word; word-break:break-word;
...@@ -78,10 +83,21 @@ ...@@ -78,10 +83,21 @@
flex-shrink:1; flex-shrink:1;
} }
} }
&-timestamp{ &-meta{
font-size:18px; padding-top:16px;
padding:32px 32px 0 32px; &-user{
color:var(--ars-paragraph-color); font-family:Roboto, 'sans-serif';
font-size:18px;
padding-left:32px;
padding-right:16px;
color:var(--ars-header-color);
}
&-timestamp{
font-family:Roboto, 'sans-serif';
font-size:18px;
font-weight:400;
color:var(--ars-paragraph-color);
}
} }
&-introduction{ &-introduction{
&-title{ &-title{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment