Merge branch 'MDL-71834-master-v02' of git://github.com/ferranrecio/moodle

This commit is contained in:
Andrew Nicols 2021-10-11 14:06:23 +08:00
commit 551371c710
33 changed files with 274 additions and 25 deletions

View file

@ -1,4 +1,7 @@
/* course.less */
$course-editinprogress-bg: $gray-100 !default;
/* COURSE CONTENT */
.section_add_menus {
@ -186,6 +189,25 @@ body:not(.editing) .sitetopic ul.section {
}
}
}
.editinprogress {
opacity: .7;
animation: editinprogress-pulse 2s infinite linear;
}
}
@keyframes editinprogress-pulse {
0% {
background-color: $course-editinprogress-bg;
filter: grayscale(60%);
}
50% {
background-color: darken($course-editinprogress-bg, 5%);
filter: grayscale(40%);
}
100% {
background-color: $course-editinprogress-bg;
filter: grayscale(60%);
}
}
.editing_show + .editing_assign,

View file

@ -13656,6 +13656,21 @@ body:not(.editing) .sitetopic ul.section {
*/
padding-left: 2rem; }
.editing .editinprogress {
opacity: .7;
animation: editinprogress-pulse 2s infinite linear; }
@keyframes editinprogress-pulse {
0% {
background-color: #f8f9fa;
filter: grayscale(60%); }
50% {
background-color: #e9ecef;
filter: grayscale(40%); }
100% {
background-color: #f8f9fa;
filter: grayscale(60%); } }
.editing_show + .editing_assign,
.editing_hide + .editing_assign {
margin-left: 20px; }

View file

@ -13656,6 +13656,21 @@ body:not(.editing) .sitetopic ul.section {
*/
padding-left: 2rem; }
.editing .editinprogress {
opacity: .7;
animation: editinprogress-pulse 2s infinite linear; }
@keyframes editinprogress-pulse {
0% {
background-color: #f8f9fa;
filter: grayscale(60%); }
50% {
background-color: #e9ecef;
filter: grayscale(40%); }
100% {
background-color: #f8f9fa;
filter: grayscale(60%); } }
.editing_show + .editing_assign,
.editing_hide + .editing_assign {
margin-left: 20px; }