Merge pull request #2323 from crazyserver/MOBILE-3269

Mobile 3269
main
Juan Leyva 2020-03-19 14:38:05 +01:00 committed by GitHub
commit a6a5595c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 1 deletions

View File

@ -118,8 +118,8 @@
<p class="item-heading">{{ 'addon.mod_quiz.cannotsubmitquizdueto' | translate }}</p> <p class="item-heading">{{ 'addon.mod_quiz.cannotsubmitquizdueto' | translate }}</p>
<p *ngFor="let message of preventSubmitMessages">{{message}}</p> <p *ngFor="let message of preventSubmitMessages">{{message}}</p>
<a ion-button block icon-end [href]="moduleUrl" core-link> <a ion-button block icon-end [href]="moduleUrl" core-link>
<ion-icon name="open"></ion-icon>
{{ 'core.openinbrowser' | translate }} {{ 'core.openinbrowser' | translate }}
<ion-icon name="open"></ion-icon>
</a> </a>
</ion-item> </ion-item>
<!-- Button to submit the quiz. --> <!-- Button to submit the quiz. -->

View File

@ -20,6 +20,7 @@ ion-app.app-root core-block {
.item-divider { .item-divider {
@include padding-horizontal(null, 0px); @include padding-horizontal(null, 0px);
min-height: 60px;
} }
.item-divider .core-button-spinner { .item-divider .core-button-spinner {

View File

@ -177,6 +177,32 @@ ion-app.app-root core-rich-text-editor .core-rte-editor {
color: $color-base; color: $color-base;
} }
} }
.label {
display: inline-block;
padding: .25em .4em;
font-size: 75%;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
color: $white;
background-color: $gray-darker;
}
.label-important {
color: $white;
background-color: $red;
}
@each $color-name, $color-base, $color-contrast in get-colors($colors) {
.label-#{$color-name} {
color: $color-contrast;
background-color: $color-base;
}
}
} }
// Those styles are omitted on RTE. // Those styles are omitted on RTE.