Merge pull request #1658 from crazyserver/MOBILE-2787

MOBILE-2787 quiz: Improve columns on attempt review
main
Juan Leyva 2018-12-13 15:37:13 +01:00 committed by GitHub
commit 30978943bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 5 deletions

View File

@ -89,7 +89,8 @@
<!-- "Header" of the summary table. --> <!-- "Header" of the summary table. -->
<ion-item text-wrap> <ion-item text-wrap>
<ion-row align-items-center> <ion-row align-items-center>
<ion-col col-3 text-center><b>{{ 'addon.mod_quiz.question' | translate }}</b></ion-col> <ion-col col-3 text-center class="hidden-phone"><b>{{ 'addon.mod_quiz.question' | translate }}</b></ion-col>
<ion-col col-3 text-center class="hidden-tablet"><b>#</b></ion-col>
<ion-col col-9 text-center><b>{{ 'addon.mod_quiz.status' | translate }}</b></ion-col> <ion-col col-9 text-center><b>{{ 'addon.mod_quiz.status' | translate }}</b></ion-col>
</ion-row> </ion-row>
</ion-item> </ion-item>
@ -98,7 +99,7 @@
<a ion-item (click)="changePage(question.page, false, question.slot)" *ngIf="question.number" [attr.aria-label]="'core.question.questionno' | translate:{$a: question.number}" [attr.detail-push]="!quiz.isSequential && canReturn ? true : null"> <a ion-item (click)="changePage(question.page, false, question.slot)" *ngIf="question.number" [attr.aria-label]="'core.question.questionno' | translate:{$a: question.number}" [attr.detail-push]="!quiz.isSequential && canReturn ? true : null">
<ion-row align-items-center> <ion-row align-items-center>
<ion-col col-3 text-center>{{ question.number }}</ion-col> <ion-col col-3 text-center>{{ question.number }}</ion-col>
<ion-col col-9 text-center>{{ question.status }}</ion-col> <ion-col col-9 text-center text-wrap>{{ question.status }}</ion-col>
</ion-row> </ion-row>
</a> </a>
</ng-container> </ng-container>

View File

@ -437,9 +437,15 @@ ion-app.app-root {
color: $core-question-correct-color; color: $core-question-correct-color;
background-color: $core-question-correct-color-bg; background-color: $core-question-correct-color-bg;
.label, ion-label.label { .label, ion-label.label, .select-text, .select-icon .select-icon-inner {
color: $core-question-correct-color; color: $core-question-correct-color;
} }
.radio-icon {
border-color: $core-question-correct-color;
}
.radio-inner {
background-color: $core-question-correct-color;
}
} }
.core-question-answer-incorrect, .core-question-answer-incorrect,
@ -447,9 +453,15 @@ ion-app.app-root {
color: $core-question-incorrect-color; color: $core-question-incorrect-color;
background-color: $core-question-incorrect-color-bg; background-color: $core-question-incorrect-color-bg;
.label, ion-label.label { .label, ion-label.label, .select-text, .select-icon .select-icon-inner {
color: $core-question-incorrect-color; color: $core-question-incorrect-color;
} }
.radio-icon {
border-color: $core-question-incorrect-color;
}
.radio-inner {
background-color: $core-question-incorrect-color;
}
} }
.core-question-feedback-container { .core-question-feedback-container {

View File

@ -184,4 +184,8 @@ ion-app.app-root {
width: min-content; width: min-content;
display: inline; display: inline;
} }
.toolbar core-format-text {
font-size: inherit;
}
} }