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 {
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 */
108 display: inline-block;
111 .activity.editor_displayed {
116 div.activityinstance {
117 padding-right: initial;
120 margin-bottom: initial;
121 padding-top: initial;
122 padding-bottom: initial;
123 vertical-align: text-bottom;
129 .activity img.activityicon {
131 vertical-align: text-bottom;
133 .section .activity .activityinstance,
134 .section .activity .activityinstance div {
135 display: inline-block;
142 padding-right: 200px;
148 .editing_show + .editing_assign,
149 .editing_hide + .editing_assign {
150 // if roles icon missing, add space
153 .section .activity .commands {
157 .section .activity.modtype_label.label {
161 .section li.activity {
165 .section .activity .activityinstance .groupinglabel {
168 .section .activity .availabilityinfo,
169 .section .activity .contentafterlink {
173 .section .activity .contentafterlink p {
176 .editing .section .activity:hover,
177 .editing .section .activity.action-menu-shown {
178 background-color: $gray-lighter;
180 .course-content .current {
183 .course-content .section-summary {
184 border: 1px solid $table-border-color;
188 .course-content .section-summary .section-title {
189 margin: 2px 5px 10px 5px;
191 .course-content .section-summary .summarytext {
192 margin: 2px 5px 2px 5px;
194 .course-content .section-summary .section-summary-activities .activity-count {
196 font-size: $font-size-sm;
199 display: inline-block;
201 .course-content .section-summary .summary {
204 .course-content .single-section {
207 .course-content .single-section .section-navigation {
210 margin-bottom: -0.5em;
212 .course-content .single-section .section-navigation .title {
217 .course-content .single-section .section-navigation .mdl-left {
222 .course-content .single-section .section-navigation .mdl-left .larrow {
225 .course-content .single-section .section-navigation .mdl-right {
230 .course-content .single-section .section-navigation .mdl-right .rarrow {
233 .course-content .single-section .section-navigation .mdl-bottom {
236 .course-content ul li.section.main {
237 border-bottom: 2px solid $table-border-color;
240 .course-content ul li.section.hidden {
242 .content > div, /* All the divs but the activities which are in a UL. */
243 .activity .activityinstance {
247 .activity .activityinstance {
252 .course-content ul.topics li.section .content,
253 .course-content ul.weeks li.section .content {
263 .course-content ul.topics li.section {
264 padding-bottom: 20px;
267 .course-content ul.topics li.section .summary {
271 .course-content .hidden {
302 .path-course-view .completionprogress {
306 .path-course-view .completionprogress {
313 #page-site-index .subscribelink {
317 #frontpage-course-list h2,
318 #frontpage-category-names h2,
319 #frontpage-category-combo h2 {
322 .path-course-view a.reduce-sections {
325 .path-course-view .subscribelink {
328 .path-course-view .unread {
331 .path-course-view .block.drag .header {
334 .path-course-view .completionprogress {
337 .path-course-view .single-section .completionprogress {
340 .path-course-view .section .summary {
344 .path-site li.activity > div,
345 .path-course-view li.activity > div {
347 padding: 0 16px 0 0; /* to accommodate the floated completion icon with highlighting */
349 .path-course-view li.activity span.autocompletion img {
350 vertical-align: text-bottom;
352 .path-course-view li.activity form.togglecompletion img {
353 max-width: none; /* The width is 0 so ensure we don't end up with a relative max-width */
355 .path-course-view li.activity form.togglecompletion .ajaxworking {
361 background: url([[pix:i/ajaxloader]]) no-repeat;
364 li.section.hidden span.commands a.editing_hide,
365 li.section.hidden span.commands a.editing_show {
368 ul.weeks h3.sectionname {
371 .editing ul.weeks h3.sectionname {
375 .single-section h3.sectionname {
380 .section img.movetarget {
387 vertical-align: text-bottom;
390 span.editinstructions {
396 font-size: $font-size-sm;
398 background-color: $state-info-bg;
399 color: $state-info-text;
400 text-decoration: none;
402 @include box-shadow(2px 2px 5px 1px #ccc);
403 border: 1px solid $state-info-border;
406 /* Course drag and drop upload styles */
413 border: 1px solid $state-info-border;
415 background: $state-info-bg;
416 color: $state-info-text;
417 z-index: 1; // Required in order to have this above relatively positioned course content@mixin
418 @include box-shadow(2px 2px 5px 1px #ccc);
419 @include border-radius(8px);
423 border: 1px dashed #909090;
428 .dndupload-progress-outer {
431 .dndupload-progress-inner {
432 .progress { @extend .progress-bar; }
438 /* COURSES LISTINGS AND COURSE SUMMARY */
439 #page-course-pending .singlebutton,
440 #page-course-index .singlebutton,
441 #page-course-index-category .singlebutton,
442 #page-course-editsection .singlebutton {
445 #page-admin-course-manage #movecourses td img {
447 vertical-align: text-bottom;
455 #page-course-pending .pendingcourserequests {
458 #page-course-pending .pendingcourserequests .singlebutton {
461 #page-course-pending .pendingcourserequests .cell {
464 #page-course-pending .pendingcourserequests .cell.c6 {
470 border: 1px dotted #ddd;
471 @include border-radius(4px);
475 .coursebox > .info > .coursename a {
477 background-image:url([[pix:moodle|i/course]]);
478 background-repeat: no-repeat;
480 background-position: left 0.2em;
482 .coursebox > .info > .coursename,
483 .coursebox .content .teachers,
484 .coursebox .content .courseimage,
485 .coursebox .content .coursefile {
489 .coursebox .content .teachers,
490 .coursebox .content .courseimage,
491 .coursebox .content .coursefile {
494 .coursebox > .info > h3.coursename {
498 .coursebox > .info > .coursename {
502 .coursebox .content .teachers li {
503 list-style-type:none;
507 .coursebox .moreinfo {
511 .coursebox .moreinfo img {
514 .coursebox .content {
517 .coursebox .content .summary,
518 .coursebox .content .coursecat {
522 .coursebox .content .coursecat {
526 .coursebox.remotecoursebox .remotecourseinfo {
530 .coursebox .content .courseimage img {
534 .coursebox .content .coursecat,
535 .coursebox .content .summary,
536 .coursebox .content .courseimage,
537 .coursebox .content .coursefile,
538 .coursebox .content .teachers,
539 .coursebox.remotecoursebox .remotecourseinfo {
544 .coursebox.remotehost > .info > .categoryname a {
545 background-image:url([[pix:moodle|i/mnethost]]);
547 .coursebox.collapsed {
550 .coursebox.collapsed > .content {
553 .courses .coursebox.collapsed {
554 border: 1px solid $table-border-color;
558 .courses .coursebox.even {
559 background-color: $table-bg-accent;
561 .courses .coursebox:hover,
562 .course_category_tree .courses > .paging.paging-morelink:hover {
563 background-color: $table-bg-hover;
566 .course_category_tree .category .numberofcourse {
567 font-size: $font-size-sm;
570 .course_category_tree .controls {
573 .course_category_tree .controls div {
577 .jsenabled .course_category_tree .controls {
580 .course_category_tree .controls {
585 .course_category_tree .controls div {
590 .course_category_tree .category > .info > .categoryname{
591 background-image:url([[pix:moodle|t/collapsed_empty]]);
592 background-repeat: no-repeat;
595 background-position:center left;
598 .course_category_tree .category > .info > .categoryname {
599 background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);
602 .course_category_tree .category.with_children > .info > .categoryname {
603 background-image:url([[pix:moodle|t/expanded]]);
606 .course_category_tree .category.with_children.collapsed >.info > .categoryname {
607 background-image:url([[pix:moodle|t/collapsed]]);
610 .course_category_tree .category.with_children.collapsed > .info > .categoryname {
611 background-image:url([[pix:moodle|t/collapsed_rtl]]);
614 .course_category_tree .category.collapsed>.content {
618 .course_category_tree .category >.info {
626 .course_category_tree.frontpage-category-names .category >.info {
631 .course_category_tree .category > .content {
635 .course_category_tree .subcategories > .paging,
642 .courses > .paging.paging-morelink,
643 .course_category_tree .subcategories > .paging.paging-morelink {
647 .course_category_tree .paging.paging-morelink a {
648 font-size: $font-size-sm;
651 #page-course-index-category .generalbox.info {
653 border: 1px dotted #ddd;
654 @include border-radius(4px);
658 #page-course-index-category .categorypicker {
664 * Course management page
667 * Background (reg) #F5F5F5
668 * Background (light #fafafa
669 * Background (highlight) #ddffaa
672 #course-category-listings {
673 background-color: $body-bg;
676 /** Two column layout */
678 > #course-listing > div {
683 /** Three column layout */
684 &.columns-3 > #course-listing > div {
690 > ul.ml > li:first-child > div {
696 padding:0.4rem 0.6rem 0.3rem;
700 padding:0.6rem 1rem 0.5rem;
706 .moodle-actionmenu[data-enhance] {
723 padding:0.4rem 0.3rem 0.3rem;
726 > .moodle-actionmenu {
727 display:inline-block;
729 > .moodle-actionmenu .menu a {
732 .moodle-actionmenu:not([data-enhanced]) {
733 li {line-height:normal;}
736 display:inline-block;
744 > .menu .menu-action-text {
745 display:inline-block;
760 background-color: $table-bg-hover;
763 &[data-selected='1'] {
765 background-color: $table-bg-accent;
768 background-color: $table-bg-hover;
776 display:inline-block;
783 vertical-align: inherit;
795 vertical-align: inherit;
824 // The category or course is hidden.
825 &[data-visible="0"] {
842 background-color: $body-bg;
845 &[data-selected='1'] > div {
846 background-color: $table-bg-hover;
854 display:inline-block;
859 display:inline-block;
865 > .firstpage .listitem:first-child > div .item-actions .action-moveup,
866 > .lastpage .listitem:last-child > div .item-actions .action-movedown {
869 .bulk-action-checkbox {
874 .listitem.collapsed > ul.ml {
882 margin:-1px 0.5em 0 0;
886 &.highlight > div > .ba-checkbox {
887 background-color: $table-bg-hover;
889 &[data-selected='1'] > div > .ba-checkbox {
892 background-color: inherit;
894 &:first-child > div .item-actions .action-moveup,
895 &:last-child > div .item-actions .action-movedown {
903 display:inline-block;
905 .bulk-action-checkbox {
908 .category-listing > ul > .listitem:first-child {
911 .category-bulk-actions {
912 margin: 0 0.5em 0.5em;
918 border-bottom:1px solid $table-border-color;
921 display:inline-block;
937 .bulk-actions .detail-pair {
944 .listing-pagination {
947 background-color: $btn-info-bg;
949 margin:0.4rem 0.2rem 0.45rem;
952 background-color: $btn-primary-color;
956 .listing-pagination-totals {
960 margin:0.4rem 1rem 0.45rem;
963 .select-a-category .notifymessage,
964 .select-a-category .alert {
969 #course-category-listings #course-listing .listitem .drag-handle {
972 .jsenabled #course-category-listings #course-listing .listitem .drag-handle {
973 display:inline-block;
978 /** Management header styling **/
979 .coursecat-management-header {
980 vertical-align:middle;
982 display:inline-block;
986 display:inline-block;
992 display:inline-block;
998 padding: 0.4em 0.5em 0.45em 1em;
999 vertical-align: baseline;
1000 white-space: nowrap;
1002 .view-mode-selector {
1003 .moodle-actionmenu {
1005 display:inline-block;
1007 .moodle-actionmenu[data-enhanced].show .menu a {
1012 .course-being-dragged-proxy {
1015 vertical-align:middle;
1018 .course-being-dragged {
1024 * Large displays 1200 +
1025 * Default displays 980 1199
1027 * Small tablets and large phones 481 767
1030 @media (min-width: 1200px) and (max-width: 1600px) {
1031 #course-category-listings.columns-3 {
1032 background-color: $body-bg;
1039 #category-listing > div,
1040 #course-listing > div,
1041 #course-detail > div {
1042 background-color: $body-bg;
1052 @media (max-width: 1199px) {
1053 #course-category-listings.columns-2,
1054 #course-category-listings.columns-3 {
1055 background-color: $body-bg;
1063 #category-listing > div,
1064 #course-listing > div,
1065 #course-detail > div {
1066 background-color: $body-bg;