Merge branch 'MDL-83162-main' of https://github.com/sarjona/moodle

This commit is contained in:
Shamim Rezaie 2024-09-24 00:33:48 +10:00
commit e9f789f6b0
7 changed files with 64 additions and 13 deletions

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" preserveAspectRatio="xMinYMid meet"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#357a32" d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" preserveAspectRatio="xMinYMid meet"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#306e2d" d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z"/></svg>

Before

Width:  |  Height:  |  Size: 524 B

After

Width:  |  Height:  |  Size: 524 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" preserveAspectRatio="xMinYMid meet"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#ca3120" d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" preserveAspectRatio="xMinYMid meet"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#b62c1d" d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"/></svg>

Before

Width:  |  Height:  |  Size: 610 B

After

Width:  |  Height:  |  Size: 610 B

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" preserveAspectRatio="xMinYMid meet"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#f0ad4e" d="M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" preserveAspectRatio="xMinYMid meet"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="#90682f" d="M448 256c0-106-86-192-192-192l0 384c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"/></svg>

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 388 B

View File

@ -1276,15 +1276,15 @@ img.userpicture {
}
.qnbutton.correct .thispageholder {
border-color: $success;
border-color: shift-color($success, 10%);
}
.qnbutton.incorrect .thispageholder {
border-color: $danger;
border-color: shift-color($danger, 10%);
}
.qnbutton.partiallycorrect .thispageholder {
border-color: $warning;
border-color: shift-color($warning, 40%);
}
.qnbutton.correct,
@ -1325,6 +1325,7 @@ img.userpicture {
.qnbutton.correct .trafficlight {
background-image: url([[pix:core|i/grade_correct]]);
color: $success;
background-size: 14px;
}
.qnbutton.blocked .trafficlight {
@ -1335,11 +1336,13 @@ img.userpicture {
.qnbutton.incorrect .trafficlight {
background-image: url([[pix:core|i/grade_incorrect]]);
color: $danger;
background-size: 14px;
}
.qnbutton.partiallycorrect .trafficlight {
background-image: url([[pix:core|i/grade_partiallycorrect]]);
color: $warning;
background-size: 14px;
}
.qnbutton.complete .trafficlight,
@ -1359,6 +1362,20 @@ img.userpicture {
margin: 2px;
}
/* Override the color of the quiz attempt icons for accessibility. */
#attemptsform,
.formulation .answer {
.icon.text-success {
color: shift-color($success, 10%) !important; /* stylelint-disable-line declaration-no-important */
}
.icon.text-danger {
color: shift-color($danger, 10%) !important; /* stylelint-disable-line declaration-no-important */
}
.icon.text-warning {
color: shift-color($warning, 40%) !important; /* stylelint-disable-line declaration-no-important */
}
}
/* Countdown timer. */
#page-mod-quiz-attempt #region-main {
overflow-x: inherit;

View File

@ -34695,13 +34695,13 @@ img.userpicture {
border-radius: 0 0 3px 3px;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct .thispageholder {
border-color: #357a32;
border-color: #306e2d;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.incorrect .thispageholder {
border-color: #ca3120;
border-color: #b62c1d;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.partiallycorrect .thispageholder {
border-color: #f0ad4e;
border-color: #90682f;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct,
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct .trafficlight {
@ -34735,6 +34735,7 @@ img.userpicture {
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct .trafficlight {
background-image: url([[pix:core|i/grade_correct]]);
color: #357a32;
background-size: 14px;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.blocked .trafficlight {
background-image: url([[pix:core|t/locked]]);
@ -34743,10 +34744,12 @@ img.userpicture {
.path-mod-quiz #mod_quiz_navblock .qnbutton.incorrect .trafficlight {
background-image: url([[pix:core|i/grade_incorrect]]);
color: #ca3120;
background-size: 14px;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.partiallycorrect .trafficlight {
background-image: url([[pix:core|i/grade_partiallycorrect]]);
color: #f0ad4e;
background-size: 14px;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.complete .trafficlight,
.path-mod-quiz #mod_quiz_navblock .qnbutton.answersaved .trafficlight,
@ -34764,6 +34767,20 @@ img.userpicture {
margin: 2px;
}
/* Override the color of the quiz attempt icons for accessibility. */
#attemptsform .icon.text-success,
.formulation .answer .icon.text-success {
color: #306e2d !important; /* stylelint-disable-line declaration-no-important */
}
#attemptsform .icon.text-danger,
.formulation .answer .icon.text-danger {
color: #b62c1d !important; /* stylelint-disable-line declaration-no-important */
}
#attemptsform .icon.text-warning,
.formulation .answer .icon.text-warning {
color: #90682f !important; /* stylelint-disable-line declaration-no-important */
}
/* Countdown timer. */
#page-mod-quiz-attempt #region-main {
overflow-x: inherit;

View File

@ -34695,13 +34695,13 @@ img.userpicture {
border-radius: 0 0 3px 3px;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct .thispageholder {
border-color: #357a32;
border-color: #306e2d;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.incorrect .thispageholder {
border-color: #ca3120;
border-color: #b62c1d;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.partiallycorrect .thispageholder {
border-color: #f0ad4e;
border-color: #90682f;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct,
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct .trafficlight {
@ -34735,6 +34735,7 @@ img.userpicture {
.path-mod-quiz #mod_quiz_navblock .qnbutton.correct .trafficlight {
background-image: url([[pix:core|i/grade_correct]]);
color: #357a32;
background-size: 14px;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.blocked .trafficlight {
background-image: url([[pix:core|t/locked]]);
@ -34743,10 +34744,12 @@ img.userpicture {
.path-mod-quiz #mod_quiz_navblock .qnbutton.incorrect .trafficlight {
background-image: url([[pix:core|i/grade_incorrect]]);
color: #ca3120;
background-size: 14px;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.partiallycorrect .trafficlight {
background-image: url([[pix:core|i/grade_partiallycorrect]]);
color: #f0ad4e;
background-size: 14px;
}
.path-mod-quiz #mod_quiz_navblock .qnbutton.complete .trafficlight,
.path-mod-quiz #mod_quiz_navblock .qnbutton.answersaved .trafficlight,
@ -34764,6 +34767,20 @@ img.userpicture {
margin: 2px;
}
/* Override the color of the quiz attempt icons for accessibility. */
#attemptsform .icon.text-success,
.formulation .answer .icon.text-success {
color: #306e2d !important; /* stylelint-disable-line declaration-no-important */
}
#attemptsform .icon.text-danger,
.formulation .answer .icon.text-danger {
color: #b62c1d !important; /* stylelint-disable-line declaration-no-important */
}
#attemptsform .icon.text-warning,
.formulation .answer .icon.text-warning {
color: #90682f !important; /* stylelint-disable-line declaration-no-important */
}
/* Countdown timer. */
#page-mod-quiz-attempt #region-main {
overflow-x: inherit;