MOBILE-2847 quiz: Review shortanswer question styles
parent
108fd65aa0
commit
2e14b9bc8a
|
@ -6,7 +6,7 @@ ion-app.app-root page-addon-mod-quiz-review {
|
||||||
.text-input[disabled] {
|
.text-input[disabled] {
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
|
|
||||||
.label, .radio, .checkbox, .select-disabled, .core-correct-icon {
|
.label, .radio, .checkbox, .select-disabled, .core-correct-icon, .text-input[disabled] {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<section ion-list *ngIf="question.text || question.text === ''">
|
<section ion-list *ngIf="question.text || question.text === ''">
|
||||||
<ion-item text-wrap class="addon-qtype-shortanswer-text">
|
<ion-item text-wrap class="addon-qtype-shortanswer-text">
|
||||||
<p><core-format-text [component]="component" [componentId]="componentId" [text]="question.text"></core-format-text></p>
|
<core-format-text [component]="component" [componentId]="componentId" [text]="question.text"></core-format-text>
|
||||||
</ion-item>
|
</ion-item>
|
||||||
<ion-item *ngIf="!question.input.isInline" text-wrap ngClass="core-{{question.input.correctIconColor}}-item">
|
<ion-item *ngIf="!question.input.isInline" text-wrap ngClass="core-{{question.input.correctIconColor}}-item">
|
||||||
<ion-label stacked>{{ 'addon.mod_quiz.answercolon' | translate }}</ion-label>
|
<ion-label stacked>{{ 'addon.mod_quiz.answercolon' | translate }}</ion-label>
|
||||||
|
|
|
@ -1,11 +1,18 @@
|
||||||
addon-qtype-shortanswer {
|
addon-qtype-shortanswer {
|
||||||
.addon-qtype-shortanswer-text input {
|
.addon-qtype-shortanswer-text {
|
||||||
|
ion-label.label {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
@include placeholder($text-input-placeholder-color);
|
||||||
|
@include appearance(none);
|
||||||
|
@include border-radius(4px);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid $gray-dark;
|
||||||
padding: 4px 6px;
|
padding: 6px 8px;
|
||||||
-webkit-border-radius: 4px;
|
@include margin-horizontal(2px);
|
||||||
-moz-border-radius: 4px;
|
|
||||||
border-radius: 4px;
|
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue