3 .section-modchooser-link img {
18 .block_tree .tree_item.branch {
22 .section_add_menus .horizontal div,
23 .section_add_menus .horizontal form {
27 .section_add_menus optgroup {
32 .section_add_menus .urlselect {
37 .section_add_menus .urlselect select {
41 .sitetopic ul.section {
45 body:not(.editing) .sitetopic ul.section {
47 .label .mod-indent-outer {
52 .course-content ul.section {
80 /* The command block for each activity */
113 color: lighten($link-color, 25%) !important; /* stylelint-disable-line declaration-no-important */
132 // This must be sized like an icon to fill the space.
136 margin: 0 ($spacer / 2);
137 display: inline-block;
140 .activity.editor_displayed {
146 div.activityinstance {
147 padding-right: initial;
150 margin-bottom: initial;
151 padding-top: initial;
152 padding-bottom: initial;
153 vertical-align: text-bottom;
159 .activity img.activityicon {
161 vertical-align: text-bottom;
164 .section .activity .activityinstance,
165 .section .activity .activityinstance div {
166 display: inline-block;
174 padding-right: 200px;
177 /* Move the move icon to the start of the line */
185 * Add appropriate padding such that nothing overlaps the
186 * absolute positioned move icon.
194 .editing_show + .editing_assign,
195 .editing_hide + .editing_assign {
196 // if roles icon missing, add space
200 .section .activity .commands {
202 display: inline-block;
205 .section .activity.modtype_label.label {
210 .section li.activity {
215 .section .activity .activityinstance .groupinglabel {
219 .section .activity .availabilityinfo,
220 .section .activity .contentafterlink {
225 .section .activity .contentafterlink p {
229 .editing .section .activity:hover,
230 .editing .section .activity.action-menu-shown {
231 background-color: $table-bg-accent;
234 .course-content .current {
238 .course-content .current::before {
240 border-left: $brand-primary 2px solid;
242 left: -$card-spacer-x;
247 .course-content .section-summary {
248 border: 1px solid $table-border-color;
253 .course-content .section-summary .section-title {
254 margin: 2px 5px 10px 5px;
257 .course-content .section-summary .summarytext {
258 margin: 2px 5px 2px 5px;
261 .course-content .section-summary .section-summary-activities .activity-count {
263 font-size: $font-size-sm;
266 display: inline-block;
269 .course-content .section-summary .summary {
273 .course-content .single-section {
277 .course-content .single-section .section-navigation {
280 margin-bottom: -0.5em;
283 .course-content .single-section .section-navigation .title {
289 .course-content .single-section .section-navigation .mdl-left {
295 .course-content .single-section .section-navigation .mdl-left .larrow {
299 .course-content .single-section .section-navigation .mdl-right {
305 .course-content .single-section .section-navigation .mdl-right .rarrow {
309 .course-content .single-section .section-navigation .mdl-bottom {
313 .course-content ul li.section.main {
314 border-bottom: $border-width solid $table-border-color;
322 .course-content ul li.section.hidden {
324 .content > div.summary,
325 .activity .activityinstance {
330 .course-content ul.topics,
331 .course-content ul.weeks {
336 padding-bottom: $spacer;
344 .content > .availabilityinfo {
359 .course-content .hidden {
394 > .icon:first-child {
395 /* Remove the spacer icon. */
402 .path-course-view.editing #region-main > .card-block {
403 padding-bottom: 13rem;
406 .jumpmenu .form-inline {
410 .path-course-view .completionprogress {
414 .path-course-view .completionprogress {
421 #page-site-index .subscribelink {
426 #frontpage-course-list h2,
427 #frontpage-category-names h2,
428 #frontpage-category-combo h2 {
432 .path-course-view a.reduce-sections {
436 .path-course-view .subscribelink {
440 .path-course-view .unread {
444 .path-course-view .block.drag .header {
448 .path-course-view .completionprogress {
452 .path-course-view .single-section .completionprogress {
456 .path-site li.activity > div,
457 .path-course-view li.activity > div {
459 padding: 0 16px 0 0; /* to accommodate the floated completion icon with highlighting */
462 .path-course-view li.activity span.autocompletion img {
463 vertical-align: text-bottom;
467 .path-course-view li.activity form.togglecompletion .btn {
470 .path-course-view li.activity form.togglecompletion img {
471 max-width: none; /* The width is 0 so ensure we don't end up with a relative max-width */
476 li.activity span.autocompletion img {
477 /* Use the same spacing as the filler. */
478 margin-right: $spacer / 2;
479 margin-left: $spacer / 2;
484 .path-course-view li.activity form.togglecompletion .ajaxworking {
490 background: url([[pix:i/ajaxloader]]) no-repeat;
493 li.section.hidden span.commands a.editing_hide,
494 li.section.hidden span.commands a.editing_show {
498 .single-section h3.sectionname {
505 vertical-align: text-bottom;
508 span.editinstructions {
517 font-size: $font-size-sm;
519 background-color: $state-info-bg;
520 color: $state-info-text;
521 text-decoration: none;
524 @include box-shadow(2px 2px 5px 1px #ccc);
525 border: 1px solid $state-info-border;
528 /* Course drag and drop upload styles */
535 border: 1px solid $state-info-border;
537 background: $state-info-bg;
538 color: $state-info-text;
539 z-index: 1; // Required in order to have this above relatively positioned course content@mixin
541 @include box-shadow(2px 2px 5px 1px #ccc);
542 @include border-radius(8px);
547 border: 1px dashed #909090;
557 /* COURSES LISTINGS AND COURSE SUMMARY */
558 #page-course-pending .singlebutton,
559 #page-course-index .singlebutton,
560 #page-course-index-category .singlebutton,
561 #page-course-editsection .singlebutton {
565 #page-admin-course-manage #movecourses td img {
567 vertical-align: text-bottom;
575 #page-course-pending .pendingcourserequests {
579 #page-course-pending .pendingcourserequests .singlebutton {
583 #page-course-pending .pendingcourserequests .cell {
587 #page-course-pending .pendingcourserequests .cell.c6 {
592 padding: $spacer / 2;
595 .coursebox > .info > .coursename a {
597 background-image: url([[pix:moodle|i/course]]);
598 background-repeat: no-repeat;
600 background-position: left 0.2em;
603 .coursebox > .info > .coursename,
604 .coursebox .content .teachers,
605 .coursebox .content .courseimage,
606 .coursebox .content .coursefile,
607 .coursebox .content .customfields-container {
612 .coursebox .content .teachers,
613 .coursebox .content .courseimage,
614 .coursebox .content .coursefile,
615 .coursebox .content .customfields-container {
619 .coursebox > .info > h3.coursename {
623 .coursebox > .info > .coursename {
628 .coursebox .content .teachers li {
629 list-style-type: none;
634 .coursebox .moreinfo,
635 .coursebox .enrolmenticons {
640 .coursebox .moreinfo img {
644 .coursebox .content {
648 .coursebox .content .summary,
649 .coursebox .content .coursecat {
654 .coursebox .content .coursecat {
659 .coursebox.remotecoursebox .remotecourseinfo {
664 .coursebox .content .courseimage img {
669 .coursebox .content .coursecat,
670 .coursebox .content .summary,
671 .coursebox .content .courseimage,
672 .coursebox .content .coursefile,
673 .coursebox .content .teachers,
674 .coursebox.remotecoursebox .remotecourseinfo,
675 .coursebox .content .customfields-container {
676 margin: 15px 5px 5px;
680 .coursebox.remotehost > .info > .categoryname a {
681 background-image: url([[pix:moodle|i/mnethost]]);
684 .coursebox.collapsed {
688 .coursebox.collapsed > .content {
692 .courses .coursebox {
694 padding-top: $spacer-y / 2;
695 padding-bottom: $spacer-y / 2;
699 background-color: $table-bg-accent;
703 .courses > .paging.paging-morelink {
708 .course_category_tree .category .numberofcourse {
709 font-size: $font-size-sm;
712 .course_category_tree .controls {
716 .course_category_tree .controls div {
721 .jsenabled .course_category_tree .controls {
725 .course_category_tree .controls {
731 .course_category_tree .controls div {
736 .course_category_tree .category > .info > .categoryname {
737 background-image: url([[pix:moodle|t/collapsed_empty]]);
738 background-repeat: no-repeat;
741 background-position: center left;
744 .course_category_tree .category > .info > .categoryname {
745 background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);
748 .course_category_tree .category.with_children > .info > .categoryname {
749 background-image: url([[pix:moodle|t/expanded]]);
753 .course_category_tree .category.with_children.collapsed > .info > .categoryname {
754 background-image: url([[pix:moodle|t/collapsed]]);
757 .course_category_tree .category.with_children.collapsed > .info > .categoryname {
758 background-image:url([[pix:moodle|t/collapsed_rtl]]);
761 .course_category_tree .category.collapsed > .content {
765 .course_category_tree .category > .info {
769 .course_category_tree .category > .content {
773 #page-course-index-category .generalbox.info {
775 border: 1px dotted #ddd;
777 @include border-radius(4px);
781 #page-course-index-category .categorypicker {
787 * Course management page
790 * Background (reg) #F5F5F5
791 * Background (light #fafafa
792 * Background (highlight) #ddffaa
795 #course-category-listings {
798 /** Two column layout */
800 > #course-listing > div {
805 /** Three column layout */
806 &.columns-3 > #course-listing > div {
813 > ul.ml > li:first-child > div {
820 padding: 0.4rem 0.6rem 0.3rem;
825 padding: 0.6rem 1rem 0.5rem;
835 > .moodle-actionmenu {
836 display: inline-block;
851 &[data-selected='1'] {
852 background-color: $table-bg-accent;
854 background-color: $table-bg-hover;
861 display: inline-block;
872 vertical-align: inherit;
906 // The category or course is hidden.
907 &[data-visible="0"] {
928 background-color: $body-bg;
932 &[data-selected='1'] > div {
933 background-color: $table-bg-hover;
941 display: inline-block;
947 display: inline-block;
951 > .firstpage .listitem:first-child > div .item-actions .action-moveup,
952 > .lastpage .listitem:last-child > div .item-actions .action-movedown {
956 .bulk-action-checkbox {
957 margin: -2px 6px 0 0;
962 .listitem.collapsed > ul.ml {
971 margin: -1px 0.5em 0 0;
976 &.highlight > div > .ba-checkbox {
977 background-color: $table-bg-hover;
980 &[data-selected='1'] > div > .ba-checkbox {
983 background-color: inherit;
986 &:first-child > div .item-actions .action-moveup,
987 &:last-child > div .item-actions .action-movedown {
996 display: inline-block;
999 .bulk-action-checkbox {
1003 .category-listing > ul > .listitem:first-child {
1007 .category-bulk-actions {
1008 margin: 0 0.5em 0.5em;
1016 display: inline-block;
1021 vertical-align: top;
1029 .pair-value select {
1034 .bulk-actions .detail-pair {
1041 .listing-pagination {
1045 @include button-variant($info, $info);
1047 margin: 0.4rem 0.2rem 0.45rem;
1051 @include button-variant($primary, $primary);
1056 .listing-pagination-totals {
1061 margin: 0.4rem 1rem 0.45rem;
1065 .select-a-category .notifymessage,
1066 .select-a-category .alert {
1071 #course-category-listings #course-listing .listitem .drag-handle {
1075 .jsenabled #course-category-listings #course-listing .listitem .drag-handle {
1076 display: inline-block;
1081 /** Management header styling **/
1082 .coursecat-management-header {
1083 vertical-align: middle;
1086 display: inline-block;
1091 display: inline-block;
1095 margin: 10px 0 10px 1em;
1096 display: inline-block;
1103 padding: 0.4em 0.5em 0.45em 1em;
1104 vertical-align: baseline;
1105 white-space: nowrap;
1108 .view-mode-selector {
1109 .moodle-actionmenu {
1110 white-space: nowrap;
1111 display: inline-block;
1114 .moodle-actionmenu[data-enhanced].show .menu a {
1120 .course-being-dragged-proxy {
1123 vertical-align: middle;
1127 .course-being-dragged {
1133 * Large displays 1200 +
1134 * Default displays 980 1199
1136 * Small tablets and large phones 481 767
1140 @media (min-width: 1200px) and (max-width: 1600px) {
1141 #course-category-listings.columns-3 {
1142 background-color: $body-bg;
1150 #category-listing > div,
1151 #course-listing > div,
1152 #course-detail > div {
1153 background-color: $body-bg;
1163 @media (max-width: 1199px) {
1164 #course-category-listings.columns-2,
1165 #course-category-listings.columns-3 {
1177 .page-settings-menu .menubar > a > .icon {
1183 .activity-navigation {
1185 align-items: center;
1187 #prev-activity-link,
1188 #next-activity-link {
1189 white-space: pre-wrap;