3 .section-modchooser-link img {
15 .section_add_menus .horizontal div,
16 .section_add_menus .horizontal form {
19 .section_add_menus optgroup {
24 .section_add_menus .urlselect {
29 .section_add_menus .urlselect select {
32 .section_add_menus .urlselect img.iconhelp {
35 vertical-align: text-bottom;
38 .sitetopic ul.section {
41 .course-content ul.section {
61 vertical-align: text-bottom;
65 /* Move the move icon to the start of the line */
73 * Add appropriate padding such that nothing overlaps the
74 * absolute positioned move icon.
79 /* The command block for each activity */
97 filter: alpha(opacity=50);
120 display: inline-block;
123 .activity.editor_displayed {
128 div.activityinstance {
129 padding-right: initial;
132 margin-bottom: initial;
133 padding-top: initial;
134 padding-bottom: initial;
135 vertical-align: text-bottom;
141 .activity img.activityicon {
143 vertical-align: text-bottom;
145 .section .activity .activityinstance,
146 .section .activity .activityinstance div {
147 display: inline-block;
154 padding-right: 200px;
160 .editing_show + .editing_assign,
161 .editing_hide + .editing_assign {
162 // if roles icon missing, add space
165 .section .activity .commands {
169 .section .activity.modtype_label.label {
173 .section li.activity {
177 .section .activity .activityinstance .groupinglabel {
180 .section .activity .availabilityinfo,
181 .section .activity .contentafterlink {
185 .section .activity .contentafterlink p {
188 .editing .section .activity:hover,
189 .editing .section .activity.action-menu-shown {
190 background-color: $gray-lighter;
192 .course-content .current {
195 .course-content .section-summary {
196 border: 1px solid $table-border-color;
200 .course-content .section-summary .section-title {
201 margin: 2px 5px 10px 5px;
203 .course-content .section-summary .summarytext {
204 margin: 2px 5px 2px 5px;
206 .course-content .section-summary .section-summary-activities .activity-count {
208 font-size: $font-size-sm;
211 display: inline-block;
213 .course-content .section-summary .summary {
216 .course-content .single-section {
219 .course-content .single-section .section-navigation {
222 margin-bottom: -0.5em;
224 .course-content .single-section .section-navigation .title {
229 .course-content .single-section .section-navigation .mdl-left {
234 .course-content .single-section .section-navigation .mdl-left .larrow {
237 .course-content .single-section .section-navigation .mdl-right {
242 .course-content .single-section .section-navigation .mdl-right .rarrow {
245 .course-content .single-section .section-navigation .mdl-bottom {
248 .course-content ul li.section.main {
249 border-bottom: 2px solid $table-border-color;
252 .course-content ul li.section.hidden {
254 .content > div, /* All the divs but the activities which are in a UL. */
255 .activity .activityinstance {
259 .activity .activityinstance {
264 .course-content ul.topics li.section .content,
265 .course-content ul.weeks li.section .content {
275 .course-content ul.topics li.section {
276 padding-bottom: 20px;
279 .course-content ul.topics li.section .summary {
283 .course-content .hidden {
314 .path-course-view .completionprogress {
318 .path-course-view .completionprogress {
325 #page-site-index .subscribelink {
329 #frontpage-course-list h2,
330 #frontpage-category-names h2,
331 #frontpage-category-combo h2 {
334 .path-course-view a.reduce-sections {
337 .path-course-view .subscribelink {
340 .path-course-view .unread {
343 .path-course-view .block.drag .header {
346 .path-course-view .completionprogress {
349 .path-course-view .single-section .completionprogress {
352 .path-course-view .section .summary {
356 .path-site li.activity > div,
357 .path-course-view li.activity > div {
359 padding: 0 16px 0 0; /* to accommodate the floated completion icon with highlighting */
361 .path-course-view li.activity span.autocompletion img {
362 vertical-align: text-bottom;
364 .path-course-view li.activity form.togglecompletion img {
365 max-width: none; /* The width is 0 so ensure we don't end up with a relative max-width */
367 .path-course-view li.activity form.togglecompletion .ajaxworking {
373 background: url([[pix:i/ajaxloader]]) no-repeat;
376 li.section.hidden span.commands a.editing_hide,
377 li.section.hidden span.commands a.editing_show {
380 ul.weeks h3.sectionname {
383 .editing ul.weeks h3.sectionname {
387 .single-section h3.sectionname {
392 .section img.movetarget {
399 vertical-align: text-bottom;
402 span.editinstructions {
408 font-size: $font-size-sm;
410 background-color: $state-info-bg;
411 color: $state-info-text;
412 text-decoration: none;
414 @include box-shadow(2px 2px 5px 1px #ccc);
415 border: 1px solid $state-info-border;
418 /* Course drag and drop upload styles */
425 border: 1px solid $state-info-border;
427 background: $state-info-bg;
428 color: $state-info-text;
429 z-index: 1; // Required in order to have this above relatively positioned course content@mixin
430 @include box-shadow(2px 2px 5px 1px #ccc);
431 @include border-radius(8px);
435 border: 1px dashed #909090;
440 .dndupload-preview img.icon {
441 vertical-align: text-bottom;
444 .dndupload-progress-outer {
447 .dndupload-progress-inner {
448 .progress { @extend .progress-bar; }
454 /* COURSES LISTINGS AND COURSE SUMMARY */
455 #page-course-pending .singlebutton,
456 #page-course-index .singlebutton,
457 #page-course-index-category .singlebutton,
458 #page-course-editsection .singlebutton {
461 #page-admin-course-manage #movecourses td img {
463 vertical-align: text-bottom;
465 #page-admin-course-manage #movecourses td img.icon {
474 #page-course-pending .pendingcourserequests {
477 #page-course-pending .pendingcourserequests .singlebutton {
480 #page-course-pending .pendingcourserequests .cell {
483 #page-course-pending .pendingcourserequests .cell.c6 {
489 border: 1px dotted #ddd;
490 @include border-radius(4px);
494 .coursebox > .info > .coursename a {
496 background-image:url([[pix:moodle|i/course]]);
497 background-repeat: no-repeat;
499 background-position: left 0.2em;
501 .coursebox > .info > .coursename,
502 .coursebox .content .teachers,
503 .coursebox .content .courseimage,
504 .coursebox .content .coursefile {
508 .coursebox .content .teachers,
509 .coursebox .content .courseimage,
510 .coursebox .content .coursefile {
513 .coursebox > .info > h3.coursename {
517 .coursebox > .info > .coursename {
521 .coursebox .content .teachers li {
522 list-style-type:none;
526 .coursebox .enrolmenticons {
530 .coursebox .moreinfo {
534 .coursebox .enrolmenticons img,
535 .coursebox .moreinfo img {
538 .coursebox .content {
541 .coursebox .content .summary,
542 .coursebox .content .coursecat {
546 .coursebox .content .coursecat {
550 .coursebox.remotecoursebox .remotecourseinfo {
554 .coursebox .content .courseimage img {
558 .coursebox .content .coursecat,
559 .coursebox .content .summary,
560 .coursebox .content .courseimage,
561 .coursebox .content .coursefile,
562 .coursebox .content .teachers,
563 .coursebox.remotecoursebox .remotecourseinfo {
568 .coursebox.remotehost > .info > .categoryname a {
569 background-image:url([[pix:moodle|i/mnethost]]);
571 .coursebox.collapsed {
574 .coursebox.collapsed > .content {
577 .courses .coursebox.collapsed {
578 border: 1px solid $table-border-color;
582 .courses .coursebox.even {
583 background-color: $table-bg-accent;
585 .courses .coursebox:hover,
586 .course_category_tree .courses > .paging.paging-morelink:hover {
587 background-color: $table-bg-hover;
590 .course_category_tree .category .numberofcourse {
591 font-size: $font-size-sm;
594 .course_category_tree .controls {
597 .course_category_tree .controls div {
601 .jsenabled .course_category_tree .controls {
604 .course_category_tree .controls {
609 .course_category_tree .controls div {
614 .course_category_tree .category > .info > .categoryname{
615 background-image:url([[pix:moodle|t/collapsed_empty]]);
616 background-repeat: no-repeat;
619 background-position:center left;
622 .course_category_tree .category > .info > .categoryname {
623 background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);
626 .course_category_tree .category.with_children > .info > .categoryname {
627 background-image:url([[pix:moodle|t/expanded]]);
630 .course_category_tree .category.with_children.collapsed >.info > .categoryname {
631 background-image:url([[pix:moodle|t/collapsed]]);
634 .course_category_tree .category.with_children.collapsed > .info > .categoryname {
635 background-image:url([[pix:moodle|t/collapsed_rtl]]);
638 .course_category_tree .category.collapsed>.content {
642 .course_category_tree .category >.info {
650 .course_category_tree.frontpage-category-names .category >.info {
655 .course_category_tree .category > .content {
659 .course_category_tree .subcategories > .paging,
666 .courses > .paging.paging-morelink,
667 .course_category_tree .subcategories > .paging.paging-morelink {
671 .course_category_tree .paging.paging-morelink a {
672 font-size: $font-size-sm;
675 #page-course-index-category .generalbox.info {
677 border: 1px dotted #ddd;
678 @include border-radius(4px);
682 #page-course-index-category .categorypicker {
688 * Course management page
691 * Background (reg) #F5F5F5
692 * Background (light #fafafa
693 * Background (highlight) #ddffaa
696 #course-category-listings {
697 background-color: $body-bg;
700 /** Two column layout */
702 > #course-listing > div {
707 /** Three column layout */
708 &.columns-3 > #course-listing > div {
714 > ul.ml > li:first-child > div {
720 padding:0.4rem 0.6rem 0.3rem;
724 padding:0.6rem 1rem 0.5rem;
730 .moodle-actionmenu[data-enhance] {
747 padding:0.4rem 0.3rem 0.3rem;
750 > .moodle-actionmenu {
751 display:inline-block;
753 > .moodle-actionmenu .menu a {
756 .moodle-actionmenu:not([data-enhanced]) {
757 li {line-height:normal;}
760 display:inline-block;
768 > .menu .menu-action-text {
769 display:inline-block;
784 background-color: $table-bg-hover;
790 vertical-align:inherit;
792 &[data-selected='1'] {
794 background-color: $table-bg-accent;
797 background-color: $table-bg-hover;
801 // Tree item indenting to represent depth.
802 .tree-icon {margin-left:0;}
803 li .tree-icon {margin-left:1em;}
804 li li .tree-icon {margin-left:2em;}
805 li li li .tree-icon {margin-left:3em;}
806 li li li li .tree-icon {margin-left:4em;}
807 li li li li li .tree-icon {margin-left:4.5em;}
808 li li li li li li .tree-icon {margin-left:5em;}
809 li li li li li li li .tree-icon {margin-left:5.5em;}
814 display:inline-block;
821 vertical-align: inherit;
833 vertical-align: inherit;
862 // The category or course is hidden.
863 &[data-visible="0"] {
880 background-color: $body-bg;
883 &[data-selected='1'] > div {
884 background-color: $table-bg-hover;
892 display:inline-block;
897 display:inline-block;
903 > .firstpage .listitem:first-child > div .item-actions .action-moveup,
904 > .lastpage .listitem:last-child > div .item-actions .action-movedown {
907 .bulk-action-checkbox {
912 .listitem.collapsed > ul.ml {
920 margin:-1px 0.5em 0 0;
924 &.highlight > div > .ba-checkbox {
925 background-color: $table-bg-hover;
927 &[data-selected='1'] > div > .ba-checkbox {
930 background-color: inherit;
932 &:first-child > div .item-actions .action-moveup,
933 &:last-child > div .item-actions .action-movedown {
941 display:inline-block;
943 .bulk-action-checkbox {
946 .category-listing > ul > .listitem:first-child {
949 .category-bulk-actions {
950 margin: 0 0.5em 0.5em;
956 border-bottom:1px solid $table-border-color;
959 display:inline-block;
975 .bulk-actions .detail-pair {
982 .listing-pagination {
985 background-color: $btn-info-bg;
987 margin:0.4rem 0.2rem 0.45rem;
990 background-color: $btn-primary-color;
994 .listing-pagination-totals {
998 margin:0.4rem 1rem 0.45rem;
1001 .select-a-category .notifymessage,
1002 .select-a-category .alert {
1007 #course-category-listings #course-listing .listitem .drag-handle {
1010 .jsenabled #course-category-listings #course-listing .listitem .drag-handle {
1011 display:inline-block;
1016 /** Management header styling **/
1017 .coursecat-management-header {
1018 vertical-align:middle;
1020 display:inline-block;
1024 display:inline-block;
1030 display:inline-block;
1036 padding: 0.4em 0.5em 0.45em 1em;
1037 vertical-align: baseline;
1038 white-space: nowrap;
1040 .view-mode-selector {
1041 .moodle-actionmenu {
1043 display:inline-block;
1045 .moodle-actionmenu[data-enhanced].show .menu a {
1050 .course-being-dragged-proxy {
1053 vertical-align:middle;
1056 .course-being-dragged {
1062 * Large displays 1200 +
1063 * Default displays 980 1199
1065 * Small tablets and large phones 481 767
1068 @media (min-width: 1200px) and (max-width: 1600px) {
1069 #course-category-listings.columns-3 {
1070 background-color: $body-bg;
1077 #category-listing > div,
1078 #course-listing > div,
1079 #course-detail > div {
1080 background-color: $body-bg;
1090 @media (max-width: 1199px) {
1091 #course-category-listings.columns-2,
1092 #course-category-listings.columns-3 {
1093 background-color: $body-bg;
1101 #category-listing > div,
1102 #course-listing > div,
1103 #course-detail > div {
1104 background-color: $body-bg;