10 .section_add_menus .horizontal div,
11 .section_add_menus .horizontal form {
14 .section_add_menus optgroup {
19 .section_add_menus .urlselect {
24 .section_add_menus .urlselect select {
27 .section_add_menus .urlselect img.iconhelp {
30 vertical-align: text-bottom;
33 .sitetopic ul.section {
36 .course-content ul.section {
56 vertical-align: text-bottom;
60 /* Move the move icon to the start of the line */
68 * Add appropriate padding such that nothing overlaps the
69 * absolute positioned move icon.
74 /* The command block for each activity */
92 filter: alpha(opacity=50);
115 display: inline-block;
118 .activity.editor_displayed {
123 div.activityinstance {
124 padding-right: initial;
127 margin-bottom: initial;
128 padding-top: initial;
129 padding-bottom: initial;
130 vertical-align: text-bottom;
136 .activity img.activityicon {
138 vertical-align: text-bottom;
140 .section .activity .activityinstance,
141 .section .activity .activityinstance div {
142 display: inline-block;
149 padding-right: 200px;
155 .editing_show + .editing_assign,
156 .editing_hide + .editing_assign {
157 // if roles icon missing, add space
160 .section .activity .commands {
164 .section .activity.modtype_label.label {
168 .section li.activity {
172 .section .activity .activityinstance .groupinglabel {
175 .section .activity .availabilityinfo,
176 .section .activity .contentafterlink {
180 .section .activity .contentafterlink p {
183 .editing .section .activity:hover,
184 .editing .section .activity.action-menu-shown {
185 background-color: $gray-lighter;
187 .course-content .current {
190 .course-content .section-summary {
191 border: 1px solid $table-border-color;
195 .course-content .section-summary .section-title {
196 margin: 2px 5px 10px 5px;
198 .course-content .section-summary .summarytext {
199 margin: 2px 5px 2px 5px;
201 .course-content .section-summary .section-summary-activities .activity-count {
203 font-size: $font-size-sm;
206 display: inline-block;
208 .course-content .section-summary .summary {
211 .course-content .single-section {
214 .course-content .single-section .section-navigation {
217 margin-bottom: -0.5em;
219 .course-content .single-section .section-navigation .title {
224 .course-content .single-section .section-navigation .mdl-left {
229 .course-content .single-section .section-navigation .mdl-left .larrow {
232 .course-content .single-section .section-navigation .mdl-right {
237 .course-content .single-section .section-navigation .mdl-right .rarrow {
240 .course-content .single-section .section-navigation .mdl-bottom {
243 .course-content ul li.section.main {
244 border-bottom: 2px solid $table-border-color;
247 .course-content ul li.section.hidden {
249 .content > div, /* All the divs but the activities which are in a UL. */
250 .activity .activityinstance {
254 .activity .activityinstance {
259 .course-content ul.topics li.section .content,
260 .course-content ul.weeks li.section .content {
270 .course-content ul.topics li.section {
271 padding-bottom: 20px;
274 .course-content ul.topics li.section .summary {
278 .course-content .hidden {
309 .path-course-view .completionprogress {
313 .path-course-view .completionprogress {
320 #page-site-index .subscribelink {
324 #frontpage-course-list h2,
325 #frontpage-category-names h2,
326 #frontpage-category-combo h2 {
329 .path-course-view a.reduce-sections {
332 .path-course-view .subscribelink {
335 .path-course-view .unread {
338 .path-course-view .block.drag .header {
341 .path-course-view .completionprogress {
344 .path-course-view .single-section .completionprogress {
347 .path-course-view .section .summary {
351 .path-site li.activity > div,
352 .path-course-view li.activity > div {
354 padding: 0 16px 0 0; /* to accommodate the floated completion icon with highlighting */
356 .path-course-view li.activity span.autocompletion img {
357 vertical-align: text-bottom;
359 .path-course-view li.activity form.togglecompletion img {
360 max-width: none; /* The width is 0 so ensure we don't end up with a relative max-width */
362 .path-course-view li.activity form.togglecompletion .ajaxworking {
368 background: url([[pix:i/ajaxloader]]) no-repeat;
371 li.section.hidden span.commands a.editing_hide,
372 li.section.hidden span.commands a.editing_show {
375 ul.weeks h3.sectionname {
378 .editing ul.weeks h3.sectionname {
382 .single-section h3.sectionname {
387 .section img.movetarget {
394 vertical-align: text-bottom;
397 span.editinstructions {
403 font-size: $font-size-sm;
405 background-color: $state-info-bg;
406 color: $state-info-text;
407 text-decoration: none;
409 @include box-shadow(2px 2px 5px 1px #ccc);
410 border: 1px solid $state-info-border;
413 /* Course drag and drop upload styles */
420 border: 1px solid $state-info-border;
422 background: $state-info-bg;
423 color: $state-info-text;
424 z-index: 1; // Required in order to have this above relatively positioned course content@mixin
425 @include box-shadow(2px 2px 5px 1px #ccc);
426 @include border-radius(8px);
430 border: 1px dashed #909090;
435 .dndupload-preview img.icon {
436 vertical-align: text-bottom;
439 .dndupload-progress-outer {
442 .dndupload-progress-inner {
443 .progress { @extend .progress-bar; }
449 /* COURSES LISTINGS AND COURSE SUMMARY */
450 #page-course-pending .singlebutton,
451 #page-course-index .singlebutton,
452 #page-course-index-category .singlebutton,
453 #page-course-editsection .singlebutton {
456 #page-admin-course-manage #movecourses td img {
458 vertical-align: text-bottom;
460 #page-admin-course-manage #movecourses td img.icon {
469 #page-course-pending .pendingcourserequests {
472 #page-course-pending .pendingcourserequests .singlebutton {
475 #page-course-pending .pendingcourserequests .cell {
478 #page-course-pending .pendingcourserequests .cell.c6 {
484 border: 1px dotted #ddd;
485 @include border-radius(4px);
489 .coursebox > .info > .coursename a {
491 background-image:url([[pix:moodle|i/course]]);
492 background-repeat: no-repeat;
494 background-position: left 0.2em;
496 .coursebox > .info > .coursename,
497 .coursebox .content .teachers,
498 .coursebox .content .courseimage,
499 .coursebox .content .coursefile {
503 .coursebox .content .teachers,
504 .coursebox .content .courseimage,
505 .coursebox .content .coursefile {
508 .coursebox > .info > h3.coursename {
512 .coursebox > .info > .coursename {
516 .coursebox .content .teachers li {
517 list-style-type:none;
521 .coursebox .enrolmenticons {
525 .coursebox .moreinfo {
529 .coursebox .enrolmenticons img,
530 .coursebox .moreinfo img {
533 .coursebox .content {
536 .coursebox .content .summary,
537 .coursebox .content .coursecat {
541 .coursebox .content .coursecat {
545 .coursebox.remotecoursebox .remotecourseinfo {
549 .coursebox .content .courseimage img {
553 .coursebox .content .coursecat,
554 .coursebox .content .summary,
555 .coursebox .content .courseimage,
556 .coursebox .content .coursefile,
557 .coursebox .content .teachers,
558 .coursebox.remotecoursebox .remotecourseinfo {
563 .coursebox.remotehost > .info > .categoryname a {
564 background-image:url([[pix:moodle|i/mnethost]]);
566 .coursebox.collapsed {
569 .coursebox.collapsed > .content {
572 .courses .coursebox.collapsed {
573 border: 1px solid $table-border-color;
577 .courses .coursebox.even {
578 background-color: $table-bg-accent;
580 .courses .coursebox:hover,
581 .course_category_tree .courses > .paging.paging-morelink:hover {
582 background-color: $table-bg-hover;
585 .course_category_tree .category .numberofcourse {
586 font-size: $font-size-sm;
589 .course_category_tree .controls {
592 .course_category_tree .controls div {
596 .jsenabled .course_category_tree .controls {
599 .course_category_tree .controls {
604 .course_category_tree .controls div {
609 .course_category_tree .category > .info > .categoryname{
610 background-image:url([[pix:moodle|t/collapsed_empty]]);
611 background-repeat: no-repeat;
614 background-position:center left;
617 .dir-rtl .course_category_tree .category > .info > .categoryname {
618 background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);
620 .course_category_tree .category.with_children > .info > .categoryname {
621 background-image:url([[pix:moodle|t/expanded]]);
624 .course_category_tree .category.with_children.collapsed >.info > .categoryname {
625 background-image:url([[pix:moodle|t/collapsed]]);
628 .dir-rtl .course_category_tree .category.with_children.collapsed > .info > .categoryname {
629 background-image:url([[pix:moodle|t/collapsed_rtl]]);
631 .course_category_tree .category.collapsed>.content {
635 .course_category_tree .category >.info {
643 .course_category_tree.frontpage-category-names .category >.info {
648 .course_category_tree .category > .content {
652 .course_category_tree .subcategories > .paging,
659 .courses > .paging.paging-morelink,
660 .course_category_tree .subcategories > .paging.paging-morelink {
664 .course_category_tree .paging.paging-morelink a {
665 font-size: $font-size-sm;
668 #page-course-index-category .generalbox.info {
670 border: 1px dotted #ddd;
671 @include border-radius(4px);
675 #page-course-index-category .categorypicker {
692 margin: 8px 8px 0px 0;
693 padding: 4px 8px 0px 0;
694 vertical-align: text-bottom;
699 max-width: none !important; /** reset sets 100% !important which breaks on IE8 without this !important */
703 vertical-align: text-bottom;
706 .moodle-actionmenu[data-enhanced] {
717 * Course management page
720 * Background (reg) #F5F5F5
721 * Background (light #fafafa
722 * Background (highlight) #ddffaa
725 #course-category-listings {
726 background-color: $body-bg;
729 /** Two column layout */
731 > #course-listing > div {
736 /** Three column layout */
737 &.columns-3 > #course-listing > div {
743 > ul.ml > li:first-child > div {
749 padding:0.4rem 0.6rem 0.3rem;
753 padding:0.6rem 1rem 0.5rem;
759 .moodle-actionmenu[data-enhance] {
776 padding:0.4rem 0.3rem 0.3rem;
779 > .moodle-actionmenu {
780 display:inline-block;
782 > .moodle-actionmenu .menu a {
785 .moodle-actionmenu:not([data-enhanced]) {
786 li {line-height:normal;}
789 display:inline-block;
797 > .menu .menu-action-text {
798 display:inline-block;
813 background-color: $table-bg-hover;
819 vertical-align:inherit;
821 &[data-selected='1'] {
823 background-color: $table-bg-accent;
826 background-color: $table-bg-hover;
830 // Tree item indenting to represent depth.
831 .tree-icon {margin-left:0;}
832 li .tree-icon {margin-left:1em;}
833 li li .tree-icon {margin-left:2em;}
834 li li li .tree-icon {margin-left:3em;}
835 li li li li .tree-icon {margin-left:4em;}
836 li li li li li .tree-icon {margin-left:4.5em;}
837 li li li li li li .tree-icon {margin-left:5em;}
838 li li li li li li li .tree-icon {margin-left:5.5em;}
843 display:inline-block;
850 vertical-align: inherit;
862 vertical-align: inherit;
891 // The category or course is hidden.
892 &[data-visible="0"] {
909 background-color: $body-bg;
912 &[data-selected='1'] > div {
913 background-color: $table-bg-hover;
921 display:inline-block;
926 display:inline-block;
932 > .firstpage .listitem:first-child > div .item-actions .action-moveup,
933 > .lastpage .listitem:last-child > div .item-actions .action-movedown {
936 .bulk-action-checkbox {
941 .listitem.collapsed > ul.ml {
949 margin:-1px 0.5em 0 0;
953 &.highlight > div > .ba-checkbox {
954 background-color: $table-bg-hover;
956 &[data-selected='1'] > div > .ba-checkbox {
959 background-color: inherit;
961 &:first-child > div .item-actions .action-moveup,
962 &:last-child > div .item-actions .action-movedown {
970 display:inline-block;
974 vertical-align: inherit;
977 .bulk-action-checkbox {
980 .category-listing > ul > .listitem:first-child {
983 .category-bulk-actions {
984 margin: 0 0.5em 0.5em;
990 border-bottom:1px solid $table-border-color;
993 display:inline-block;
1004 .pair-value select {
1009 .bulk-actions .detail-pair {
1016 .listing-pagination {
1019 background-color: $btn-info-bg;
1021 margin:0.4rem 0.2rem 0.45rem;
1024 background-color: $btn-primary-color;
1028 .listing-pagination-totals {
1031 @extend .text-muted;
1032 margin:0.4rem 1rem 0.45rem;
1035 .select-a-category .notifymessage,
1036 .select-a-category .alert {
1041 #course-category-listings #course-listing .listitem .drag-handle {
1044 .jsenabled #course-category-listings #course-listing .listitem .drag-handle {
1045 display:inline-block;
1050 /** Management header styling **/
1051 .coursecat-management-header {
1052 vertical-align:middle;
1054 display:inline-block;
1058 display:inline-block;
1064 display:inline-block;
1070 padding: 0.4em 0.5em 0.45em 1em;
1071 vertical-align: baseline;
1072 white-space: nowrap;
1074 .view-mode-selector {
1075 .moodle-actionmenu {
1077 display:inline-block;
1079 .moodle-actionmenu[data-enhanced].show .menu a {
1084 .course-being-dragged-proxy {
1087 vertical-align:middle;
1090 .course-being-dragged {
1096 * Large displays 1200 +
1097 * Default displays 980 1199
1099 * Small tablets and large phones 481 767
1102 @media (min-width: 1200px) and (max-width: 1600px) {
1103 #course-category-listings.columns-3 {
1104 background-color: $body-bg;
1111 #category-listing > div,
1112 #course-listing > div,
1113 #course-detail > div {
1114 background-color: $body-bg;
1124 @media (max-width: 1199px) {
1125 #course-category-listings.columns-2,
1126 #course-category-listings.columns-3 {
1127 background-color: $body-bg;
1135 #category-listing > div,
1136 #course-listing > div,
1137 #course-detail > div {
1138 background-color: $body-bg;