Merge branch 'MDL-79987-master' of https://github.com/sarjona/moodle

This commit is contained in:
Ilya Tregubov 2023-11-16 09:29:00 +08:00
commit 105ae8942a
No known key found for this signature in database
GPG key ID: 0F58186F748E55C1
11 changed files with 113 additions and 73 deletions

View file

@ -375,14 +375,6 @@ body:not(.editing) .sitetopic ul.section {
margin: 2px 5px 2px 5px;
}
.course-content .section-summary .section-summary-activities .activity-count {
color: $text-muted;
font-size: $font-size-sm;
margin: 3px;
white-space: nowrap;
display: inline-block;
}
.course-content .section-summary .summary {
margin-top: 5px;
}
@ -1350,6 +1342,13 @@ $activity-add-hover: theme-color-level('primary', -10) !default;
padding-left: 0;
border-bottom: $border-width solid $border-color;
.sectionname > a {
color: $gray-900;
&:hover {
text-decoration: none;
}
}
&:last-child:not(.section-summary) {
border-bottom: 0;
}
@ -1407,12 +1406,22 @@ $activity-add-hover: theme-color-level('primary', -10) !default;
}
}
.section-summary-activities .activity-count {
color: $text-muted;
font-size: $font-size-sm;
margin: 3px;
white-space: nowrap;
display: inline-block;
.section-summary-activities {
.icon {
width: inherit;
color: $primary;
}
}
.section-summary-activities + .section {
border-top: $border-width solid $border-color;
margin-top: map-get($spacers, 3) !important; // stylelint-disable-line declaration-no-important
padding-top: map-get($spacers, 3) !important; // stylelint-disable-line declaration-no-important
}
.section_goto .icon {
font-size: $font-size-lg;
color: $primary;
}
// Legacy dndupload classes. Can be removed in 4.4 as part of MDL-77124.

View file

@ -28256,14 +28256,6 @@ body:not(.editing) .sitetopic ul.section .label .mod-indent-outer {
margin: 2px 5px 2px 5px;
}
.course-content .section-summary .section-summary-activities .activity-count {
color: #6a737b;
font-size: 0.8203125rem;
margin: 3px;
white-space: nowrap;
display: inline-block;
}
.course-content .section-summary .summary {
margin-top: 5px;
}
@ -29128,6 +29120,12 @@ span.editinstructions .alert-link {
padding-left: 0;
border-bottom: 1px solid #dee2e6;
}
.course-section .sectionname > a {
color: #1d2125;
}
.course-section .sectionname > a:hover {
text-decoration: none;
}
.course-section:last-child:not(.section-summary) {
border-bottom: 0;
}
@ -29168,12 +29166,18 @@ span.editinstructions .alert-link {
margin-top: 0.5rem;
border-radius: 0.5rem;
}
.course-section .section-summary-activities .activity-count {
color: #6a737b;
font-size: 0.8203125rem;
margin: 3px;
white-space: nowrap;
display: inline-block;
.course-section .section-summary-activities .icon {
width: inherit;
color: #0f6cbf;
}
.course-section .section-summary-activities + .section {
border-top: 1px solid #dee2e6;
margin-top: 1rem !important;
padding-top: 1rem !important;
}
.course-section .section_goto .icon {
font-size: 1.171875rem;
color: #0f6cbf;
}
.course-section.dndupload-dropzone {
border: 2px dashed #0f6cbf;

View file

@ -28256,14 +28256,6 @@ body:not(.editing) .sitetopic ul.section .label .mod-indent-outer {
margin: 2px 5px 2px 5px;
}
.course-content .section-summary .section-summary-activities .activity-count {
color: #6a737b;
font-size: 0.8203125rem;
margin: 3px;
white-space: nowrap;
display: inline-block;
}
.course-content .section-summary .summary {
margin-top: 5px;
}
@ -29128,6 +29120,12 @@ span.editinstructions .alert-link {
padding-left: 0;
border-bottom: 1px solid #dee2e6;
}
.course-section .sectionname > a {
color: #1d2125;
}
.course-section .sectionname > a:hover {
text-decoration: none;
}
.course-section:last-child:not(.section-summary) {
border-bottom: 0;
}
@ -29168,12 +29166,18 @@ span.editinstructions .alert-link {
margin-top: 0.5rem;
border-radius: 0.25rem;
}
.course-section .section-summary-activities .activity-count {
color: #6a737b;
font-size: 0.8203125rem;
margin: 3px;
white-space: nowrap;
display: inline-block;
.course-section .section-summary-activities .icon {
width: inherit;
color: #0f6cbf;
}
.course-section .section-summary-activities + .section {
border-top: 1px solid #dee2e6;
margin-top: 1rem !important;
padding-top: 1rem !important;
}
.course-section .section_goto .icon {
font-size: 1.171875rem;
color: #0f6cbf;
}
.course-section.dndupload-dropzone {
border: 2px dashed #0f6cbf;