Skip to content

Commit a6a5595

Browse files
authored
Merge pull request #2323 from crazyserver/MOBILE-3269
Mobile 3269
2 parents 2e81f53 + fee8af8 commit a6a5595

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

src/addon/mod/quiz/pages/player/player.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ <h2>{{ 'addon.mod_quiz.summaryofattempt' | translate }}</h2>
118118
<p class="item-heading">{{ 'addon.mod_quiz.cannotsubmitquizdueto' | translate }}</p>
119119
<p *ngFor="let message of preventSubmitMessages">{{message}}</p>
120120
<a ion-button block icon-end [href]="moduleUrl" core-link>
121-
<ion-icon name="open"></ion-icon>
122121
{{ 'core.openinbrowser' | translate }}
122+
<ion-icon name="open"></ion-icon>
123123
</a>
124124
</ion-item>
125125
<!-- Button to submit the quiz. -->

src/core/block/components/block/block.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ ion-app.app-root core-block {
2020

2121
.item-divider {
2222
@include padding-horizontal(null, 0px);
23+
min-height: 60px;
2324
}
2425

2526
.item-divider .core-button-spinner {

src/theme/format-text.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,32 @@ ion-app.app-root core-rich-text-editor .core-rte-editor {
177177
color: $color-base;
178178
}
179179
}
180+
181+
.label {
182+
display: inline-block;
183+
padding: .25em .4em;
184+
font-size: 75%;
185+
font-weight: 700;
186+
line-height: 1;
187+
text-align: center;
188+
white-space: nowrap;
189+
vertical-align: baseline;
190+
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
191+
color: $white;
192+
background-color: $gray-darker;
193+
}
194+
195+
.label-important {
196+
color: $white;
197+
background-color: $red;
198+
}
199+
200+
@each $color-name, $color-base, $color-contrast in get-colors($colors) {
201+
.label-#{$color-name} {
202+
color: $color-contrast;
203+
background-color: $color-base;
204+
}
205+
}
180206
}
181207

182208
// Those styles are omitted on RTE.

0 commit comments

Comments
 (0)