fix css bugs & remove button next on question page
This commit is contained in:
parent
510408de5e
commit
dd9932d2db
2 changed files with 8 additions and 4 deletions
|
|
@ -2,15 +2,19 @@
|
||||||
|
|
||||||
|
|
||||||
@keyframes wrong-answer {
|
@keyframes wrong-answer {
|
||||||
from { background-color: $thg_yellow}
|
from { background-color: inherit}
|
||||||
to { background-color: $thg_red }
|
to { background-color: $thg_red }
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes valid-answer {
|
@keyframes valid-answer {
|
||||||
from { background-color: $thg_yellow }
|
from { background-color: inherit }
|
||||||
to { background-color: $thg_orange }
|
to { background-color: $thg_orange }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes results {
|
||||||
|
from { background-color: inherit }
|
||||||
|
to { background-color: $thg_yellow }
|
||||||
|
}
|
||||||
|
|
||||||
.queue-container {
|
.queue-container {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -43,7 +47,7 @@ h1,h3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.results {
|
.results {
|
||||||
//animation: ;
|
animation: results 3s 1;
|
||||||
background-color: $thg_yellow;
|
background-color: $thg_yellow;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<section *ngIf="question">
|
<section *ngIf="question">
|
||||||
<div class="question-container">
|
<div class="question-container">
|
||||||
<h1 class="question-number ">
|
<h1 class="question-number ">
|
||||||
Вопрос <button type="button" class="btn" (click)="continueGame()">next</button>
|
Вопрос
|
||||||
</h1>
|
</h1>
|
||||||
<h1 class="question-text ">
|
<h1 class="question-text ">
|
||||||
<!-- <audio *ngIf="audioSrc" [src]="audioSrc" autoplay></audio>-->
|
<!-- <audio *ngIf="audioSrc" [src]="audioSrc" autoplay></audio>-->
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue