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] {
|
||||
opacity: 0.8;
|
||||
|
||||
.label, .radio, .checkbox, .select-disabled, .core-correct-icon {
|
||||
.label, .radio, .checkbox, .select-disabled, .core-correct-icon, .text-input[disabled] {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<section ion-list *ngIf="question.text || question.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 *ngIf="!question.input.isInline" text-wrap ngClass="core-{{question.input.correctIconColor}}-item">
|
||||
<ion-label stacked>{{ 'addon.mod_quiz.answercolon' | translate }}</ion-label>
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
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;
|
||||
border: 1px solid #ccc;
|
||||
padding: 4px 6px;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid $gray-dark;
|
||||
padding: 6px 8px;
|
||||
@include margin-horizontal(2px);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue