Skip to content

Commit

Permalink
Merge pull request #37 from binfalse/master
Browse files Browse the repository at this point in the history
more hove fixes for mobile devices
  • Loading branch information
binfalse authored Aug 29, 2017
2 parents 3890508 + 762a263 commit 71d982d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/app/quiz/quiz.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ <h3>{{question.titel}}</h3>
</div>
<div class="q-buttons w3-right">

<button class="w3-button w3-ripple active w3-large w3-border w3-border-black w3-pale-green" [class.w3-hover-green]="!touchDevice"
<button class="w3-button w3-ripple active w3-large w3-border w3-border-black w3-pale-green"
[class.w3-hover-green]="!touchDevice" [class.w3-hover-pale-green]="touchDevice"
(click)="choose(q,1)" *ngIf="answers[q]!=1">
<i class="fa fa-thumbs-o-up" aria-hidden="true"></i> Ja
</button>
Expand All @@ -52,7 +53,8 @@ <h3>{{question.titel}}</h3>
</button>


<button class="w3-button w3-ripple w3-large w3-border w3-border-black w3-pale-red" [class.w3-hover-red]="!touchDevice"
<button class="w3-button w3-ripple w3-large w3-border w3-border-black w3-pale-red"
[class.w3-hover-red]="!touchDevice" [class.w3-hover-pale-red]="touchDevice"
(click)="choose(q,2)" *ngIf="answers[q]!=2">
<i class="fa fa-thumbs-o-down" aria-hidden="true"></i> Nein
</button>
Expand All @@ -61,7 +63,8 @@ <h3>{{question.titel}}</h3>
<i class="fa fa-thumbs-o-down" aria-hidden="true"></i> Nein
</button>

<button class="w3-button w3-ripple w3-large w3-border w3-border-black w3-pale-blue" [class.w3-hover-blue]="!touchDevice"
<button class="w3-button w3-ripple w3-large w3-border w3-border-black w3-pale-blue"
[class.w3-hover-blue]="!touchDevice" [class.w3-hover-pale-blue]="touchDevice"
(click)="choose(q,0)" *ngIf="answers[q]!=0">
<i class="fa fa-hand-peace-o" aria-hidden="true"></i> Enthalten
</button>
Expand Down

0 comments on commit 71d982d

Please sign in to comment.