MDL-32770 course: fixed section title and footer
[moodle.git] / theme / base / style / course.css
1 /**
2  * CSS for displaying courses and everything in them
3  */
4 .section_add_menus {text-align:right;}
5 .section_add_menus .horizontal div,
6 .section_add_menus .horizontal form {display:inline;}
7 .section_add_menus optgroup {font-weight:normal;font-style: italic;}
9 .course-content .section .activity img.activityicon {vertical-align:middle;height:16px;width:16px;}
10 .course-content .section .activity .commands img.iconsmall {vertical-align: baseline;}
11 .course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; }
12 .course-content .section-summary .section-title  { margin: 2px 5px 2px 5px; }
13 .course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; }
14 .course-content .section-navigation { display: block; padding: 0.5em; margin-top: 1em; margin-bottom: -0.5em !important; }
15 .course-content .section-navigation .mdl-left { float: left; font-weight: normal; margin-right: 1em; }
16 .course-content .section-navigation .mdl-left .larrow { margin-right: 0.1em; }
17 .course-content .section-navigation .mdl-right { float: right; font-weight: normal; margin-left: 1em; }
18 .course-content .section-navigation .mdl-right .rarrow { margin-left: 0.1em; }
19 .course-content .section-navigation .mdl-bottom { font-weight: normal; margin-top: 0; }
21 #page-site-index .subscribelink {text-align:right;}
22 #page-site-index .headingblock {margin-bottom: 9px;}
23 #page-site-index .clearfloat {float: none;clear: both; height:0px;}
25 .path-course-view .headingblock {margin-bottom: 9px;}
26 .path-course-view .subscribelink {text-align:right;}
27 .path-course-view .unread {margin-left: 3em;}
28 .path-course-view .block.drag .header {cursor: move;}
29 .path-course-view .completionprogress {float:right;}
30 .path-course-view .completionprogress img.iconhelp {vertical-align:top;}
31 .path-course-view .section .summary {line-height:normal;}
33 .path-course-view li.activity {margin-right:20px; position:relative;}
34 .path-course-view li.activity span.autocompletion,
35 .path-course-view li.activity form.togglecompletion {display:inline;position:absolute;right:-20px;top:0;padding:0.2em 0;}
36 .path-course-view li.activity form.togglecompletion div {display:inline;}
37 .path-course-view li.activity form.togglecompletion .ajaxworking {position:absolute;top:0; left:20px;width: 20px; height: 20px;background: url([[pix:i/ajaxloader]]) no-repeat;}
38 .dir-rtl.path-course-view li.activity {margin-right:0px;margin-left:20px;}
39 .dir-rtl.path-course-view li.activity form.togglecompletion,
40 .dir-rtl.path-course-view li.activity span.autocompletion {right:auto;left:-20px;}
42 .section img.movetarget {height:16px;width:80px;}
44 #page-course-enrol .generalbox,
45 #page-course-enrol .coursebox {margin-top: 20px;}
47 #page-course-pending .singlebutton,
48 #page-course-category #renameform,
49 #page-course-category #themeform,
50 #page-course-category #coursesearch,
51 #page-course-category .singlebutton,
52 #page-course-editsection .singlebutton {text-align:center;}
54 #coursesearch,
55 #coursesearch2 {margin-top: 1em;text-align:center;}
57 #page-course-info .generalbox.icons {text-align: center;}
58 #page-course-info .generalbox.info {margin-left:auto;margin-right:auto;}
60 #page-course-pending .pendingcourserequests {margin-bottom: 1em;}
61 #page-course-pending .pendingcourserequests .singlebutton {display: inline;}
62 #page-course-pending .pendingcourserequests .cell {padding: 0 5px;}
63 #page-course-pending .pendingcourserequests .cell.c6 {white-space: nowrap;}
66 .coursebox {width: 100%;margin-bottom: 15px;}
67 .coursebox .info {float: left;text-align:left;width: 40%;}
68 .coursebox .summary {float: right;text-align:left;width: 55%;}
69 .coursebox .summary .category {text-align:right;}
70 .coursebox .teachers li {list-style-type:none;padding:0;margin:0;}
72 .categorylist {width: 100%;}
73 .categorylist .category .numberofcourse {font-style: italic; font-size: 0.85em; font-style: normal;}
74 .categorylist .category {padding-top: 5px; padding-bottom: 5px; }
75 .categorylist .category .info,
76 .categorylist .category .indentation,
77 .categorylist .category .name,
78 .categorylist .category .image,
79 .categorylist .course .name,
80 .categorylist .course .info {float:left;text-align: left;}
81 .categorylist .course {padding-left:18px;}
83 .categorylist .indentation {padding-left: 20px;}
84 #page-course-index .category .image {padding-right: 2px;}
86 .course ul.section {margin:5px;padding:0;}
88 .weeks-format, /* Window-width: 800 pixels.IE doesn't support, see inline IE conditional comment. */
89 .topics-format {margin-top: 8px;min-width: 763px;}
90 .categoryboxcontent {border-width:1px;border-style:solid;}
92 /* Course and category combo list on front page */
93 .course_category_tree .controls {visibility: hidden;}
94 .course_category_tree .controls div {display:inline;cursor:pointer;}
95 .course_category_tree .category.with_children>.category_label {background-image:url([[pix:moodle|t/expanded]]);background-repeat: no-repeat;}
96 .course_category_tree .category_label {padding-left:13px;}
97 .course_category_tree .category .category {margin:5px;}
98 .course_category_tree .category .courses {padding-left:16px;}
99 .course_category_tree .category .courses .course_link {display:block;background-image:url([[pix:moodle|i/course]]);background-repeat: no-repeat;padding-left:18px;}
100 .course_category_tree .category .course {position:relative;}
101 .course_category_tree .category .course_info {position:absolute;right:0;top:0;}
102 .course_category_tree .category .course_info a,
103 .course_category_tree .category .course_info div {float:left;width:16px;height:16px;}
104 .jsenabled .course_category_tree .controls {visibility: visible;}
105 .jsenabled .course_category_tree .category.with_children.collapsed .category_label {background-image:url([[pix:moodle|t/collapsed]]);}
106 .jsenabled .course_category_tree .category.with_children.collapsed .subcategories,
107 .jsenabled .course_category_tree .category.with_children.collapsed .courses {display:none;}
109 .path-course .clearfloat {float:none; clear:both;height:0px;}
112 /*all courses view*/
113 #page-course-index .categorylist .course.clearfloat { height: auto; }
115 /**
116 * Overide for RTL layout
117 */
118 .dir-rtl .coursebox .info {float: right; text-align: right;}
119 .dir-rtl .coursebox .summary {text-align:right;}
120 .dir-rtl .course_category_tree .category.with_children> .category_label {background-position: center right; padding-right: 18px;}
121 .dir-rtl .course_category_tree .category_label, .dir-rtl .course_category_tree .category .course {padding-right:18px;}
122 .dir-rtl.jsenabled .course_category_tree .category.with_children.collapsed .category_label {background-image:url([[pix:moodle|t/collapsed_rtl]]);}
123 .dir-rtl .course_category_tree .category .courses .course_link {background-position:center right; padding-right:18px;}
124 .dir-rtl .clearfloat {float:none; clear:both;height:0px;}
125 .dir-rtl .categorylist .category .info,
126 .dir-rtl .categorylist .category .indentation,
127 .dir-rtl .categorylist .category .name,
128 .dir-rtl .categorylist .category .image,
129 .dir-rtl .categorylist .course .name,
130 .dir-rtl .categorylist .course .indentation,
131 .dir-rtl .categorylist .course .info {float:right;text-align: right;}
132 .dir-rtl .categorylist .course {padding-right:18px;}
134 #page-course-index.dir-rtl .category .image {padding-left: 5px; padding-right: 0px;}
135 #page-course-index.dir-rtl .indentation {padding-left: 0px;padding-right: 30px;}
137 table.category_subcategories {margin-bottom:1em;}
138 table.category_subcategories td {white-space: nowrap;}