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 {
681 * Course management page
684 * Background (reg) #F5F5F5
685 * Background (light #fafafa
686 * Background (highlight) #ddffaa
689 #course-category-listings {
690 background-color: $body-bg;
693 /** Two column layout */
695 > #course-listing > div {
700 /** Three column layout */
701 &.columns-3 > #course-listing > div {
707 > ul.ml > li:first-child > div {
713 padding:0.4rem 0.6rem 0.3rem;
717 padding:0.6rem 1rem 0.5rem;
723 .moodle-actionmenu[data-enhance] {
740 padding:0.4rem 0.3rem 0.3rem;
743 > .moodle-actionmenu {
744 display:inline-block;
746 > .moodle-actionmenu .menu a {
749 .moodle-actionmenu:not([data-enhanced]) {
750 li {line-height:normal;}
753 display:inline-block;
761 > .menu .menu-action-text {
762 display:inline-block;
777 background-color: $table-bg-hover;
783 vertical-align:inherit;
785 &[data-selected='1'] {
787 background-color: $table-bg-accent;
790 background-color: $table-bg-hover;
794 // Tree item indenting to represent depth.
795 .tree-icon {margin-left:0;}
796 li .tree-icon {margin-left:1em;}
797 li li .tree-icon {margin-left:2em;}
798 li li li .tree-icon {margin-left:3em;}
799 li li li li .tree-icon {margin-left:4em;}
800 li li li li li .tree-icon {margin-left:4.5em;}
801 li li li li li li .tree-icon {margin-left:5em;}
802 li li li li li li li .tree-icon {margin-left:5.5em;}
807 display:inline-block;
814 vertical-align: inherit;
826 vertical-align: inherit;
855 // The category or course is hidden.
856 &[data-visible="0"] {
873 background-color: $body-bg;
876 &[data-selected='1'] > div {
877 background-color: $table-bg-hover;
885 display:inline-block;
890 display:inline-block;
896 > .firstpage .listitem:first-child > div .item-actions .action-moveup,
897 > .lastpage .listitem:last-child > div .item-actions .action-movedown {
900 .bulk-action-checkbox {
905 .listitem.collapsed > ul.ml {
913 margin:-1px 0.5em 0 0;
917 &.highlight > div > .ba-checkbox {
918 background-color: $table-bg-hover;
920 &[data-selected='1'] > div > .ba-checkbox {
923 background-color: inherit;
925 &:first-child > div .item-actions .action-moveup,
926 &:last-child > div .item-actions .action-movedown {
934 display:inline-block;
936 .bulk-action-checkbox {
939 .category-listing > ul > .listitem:first-child {
942 .category-bulk-actions {
943 margin: 0 0.5em 0.5em;
949 border-bottom:1px solid $table-border-color;
952 display:inline-block;
968 .bulk-actions .detail-pair {
975 .listing-pagination {
978 background-color: $btn-info-bg;
980 margin:0.4rem 0.2rem 0.45rem;
983 background-color: $btn-primary-color;
987 .listing-pagination-totals {
991 margin:0.4rem 1rem 0.45rem;
994 .select-a-category .notifymessage,
995 .select-a-category .alert {
1000 #course-category-listings #course-listing .listitem .drag-handle {
1003 .jsenabled #course-category-listings #course-listing .listitem .drag-handle {
1004 display:inline-block;
1009 /** Management header styling **/
1010 .coursecat-management-header {
1011 vertical-align:middle;
1013 display:inline-block;
1017 display:inline-block;
1023 display:inline-block;
1029 padding: 0.4em 0.5em 0.45em 1em;
1030 vertical-align: baseline;
1031 white-space: nowrap;
1033 .view-mode-selector {
1034 .moodle-actionmenu {
1036 display:inline-block;
1038 .moodle-actionmenu[data-enhanced].show .menu a {
1043 .course-being-dragged-proxy {
1046 vertical-align:middle;
1049 .course-being-dragged {
1055 * Large displays 1200 +
1056 * Default displays 980 1199
1058 * Small tablets and large phones 481 767
1061 @media (min-width: 1200px) and (max-width: 1600px) {
1062 #course-category-listings.columns-3 {
1063 background-color: $body-bg;
1070 #category-listing > div,
1071 #course-listing > div,
1072 #course-detail > div {
1073 background-color: $body-bg;
1083 @media (max-width: 1199px) {
1084 #course-category-listings.columns-2,
1085 #course-category-listings.columns-3 {
1086 background-color: $body-bg;
1094 #category-listing > div,
1095 #course-listing > div,
1096 #course-detail > div {
1097 background-color: $body-bg;