Commit | Line | Data |
---|---|---|
90723839 SH |
1 | /** |
2 | * CSS for displaying courses and everything in them | |
3 | */ | |
4 | .section_add_menus {text-align:right;} | |
10994f27 | 5 | .dir-rtl .section_add_menus {text-align:left;} |
90723839 SH |
6 | .section_add_menus .horizontal div, |
7 | .section_add_menus .horizontal form {display:inline;} | |
8 | .section_add_menus optgroup {font-weight:normal;font-style: italic;} | |
bb128107 FM |
9 | .section_add_menus .urlselect { margin-left: .4em;} |
10 | .dir-rtl .section_add_menus .urlselect { margin-right: .4em; margin-left: 0;} | |
11 | .section_add_menus .urlselect select { margin-left: .2em;} | |
12 | .dir-rtl .section_add_menus .urlselect select { margin-right: .2em; margin-left: 0;} | |
4460e380 | 13 | .section_add_menus .urlselect img.iconhelp { padding: 0; margin: 0; vertical-align: text-bottom;} |
90723839 | 14 | |
d5dfb8d6 FM |
15 | .site-topic ul.section, |
16 | .course-content ul.section { margin: 1em;} | |
bb128107 | 17 | .sitetopic .section .activity img.activityicon, |
10994f27 | 18 | .course-content .section .activity img.activityicon {vertical-align:text-bottom;margin-right: 6px;} |
bb128107 | 19 | .dir-rtl .sitetopic .section .activity img.activityicon, |
10994f27 | 20 | .dir-rtl .course-content .section .activity img.activityicon {margin-left: 6px; margin-right: 0;} |
bb128107 | 21 | .sitetopic .section .activity .activityinstance, |
d2ced94b | 22 | .course-content .section .activity .activityinstance, |
e40bd746 | 23 | .sitetopic .section .activity .activityinstance div, |
d2ced94b | 24 | .course-content .section .activity .activityinstance div { display: inline;} |
e40bd746 FM |
25 | .sitetopic .section .activity .activityinstance, |
26 | .course-content .section .activity .activityinstance { padding-right: 3em; } | |
bb128107 FM |
27 | .dir-rtl .sitetopic .section .activity .activityinstance, |
28 | .dir-rtl .course-content .section .activity .activityinstance { padding-right: 0; padding-left: 3em;} | |
e40bd746 | 29 | .sitetopic .section .activity .commands, |
f803ce26 SH |
30 | .course-content .section .activity .commands { white-space: nowrap; display: inline-block; } |
31 | .section .activity .moodle-actionmenu .menubar > li > * {display:inline-block;min-height:16px;padding: 0.2em;} | |
25c605a5 | 32 | .section .activity .moodle-actionmenu .menubar > li > img {margin: 0.2em;vertical-align: text-bottom;padding:0 3px 0 0;} |
f803ce26 | 33 | .section .activity .moodle-actionmenu .iconsmall {vertical-align: baseline;width:16px;height:16px;} |
3eb439e2 | 34 | .single-section h3.sectionname {text-align:center;clear:both;} |
bb128107 FM |
35 | .sitetopic .section li.activity, |
36 | .course-content .section li.activity {padding: .2em;} | |
e40bd746 | 37 | .section .activity .activityinstance .groupinglabel { padding-left: .45em; } |
10994f27 FM |
38 | .sitetopic .section .activity .availabilityinfo, |
39 | .sitetopic .section .activity .contentafterlink, | |
40 | .course-content .section .activity .availabilityinfo, | |
41 | .course-content .section .activity .contentafterlink { margin-top: 0.5em; margin-left: 30px;} | |
42 | .dir-rtl .sitetopic .section .activity .availabilityinfo, | |
43 | .dir-rtl .sitetopic .section .activity .contentafterlink, | |
44 | .dir-rtl .course-content .section .activity .availabilityinfo, | |
45 | .dir-rtl .course-content .section .activity .contentafterlink { margin-left: 0; margin-right: 30px;} | |
e40bd746 | 46 | .section .activity .contentafterlink p { margin:.5em 0; } |
bb128107 | 47 | .sitetopic .section .activity:hover, |
c419fb96 | 48 | .course-content .section .activity:hover { background-color: #EEE; } |
a60cc6e1 | 49 | .course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; list-style: none; } |
e40bd746 | 50 | .course-content .section-summary .section-title { margin: 2px 5px 10px 5px; } |
1804b7c1 | 51 | .course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; } |
77812175 | 52 | .course-content .section-summary .section-summary-activities .activity-count {margin-right: 10px;color: #AAA; font-size: 12px; margin-right: 15px;} |
76055f5d | 53 | .course-content .section-summary .summary { margin-top: 5px; } |
c129f430 RT |
54 | .course-content .single-section { margin-top: 1em; } |
55 | .course-content .single-section .section-navigation { display: block; padding: 0.5em; margin-bottom: -0.5em; } | |
56 | .course-content .single-section .section-navigation .title { font-weight: bold; font-size: 108%; } | |
57 | .course-content .single-section .section-navigation .mdl-left { font-weight: normal; float: left; margin-right: 1em; } | |
5e51bd99 | 58 | .dir-rtl .course-content .single-section .section-navigation .mdl-left {float:right;} |
c129f430 RT |
59 | .course-content .single-section .section-navigation .mdl-left .larrow { margin-right: 0.1em; } |
60 | .course-content .single-section .section-navigation .mdl-right { font-weight: normal; float: right; margin-left: 1em; } | |
5e51bd99 | 61 | .dir-rtl .course-content .single-section .section-navigation .mdl-right {float: left;} |
c129f430 RT |
62 | .course-content .single-section .section-navigation .mdl-right .rarrow { margin-left: 0.1em; } |
63 | .course-content .single-section .section-navigation .mdl-bottom { margin-top: 0; } | |
90723839 SH |
64 | |
65 | #page-site-index .subscribelink {text-align:right;} | |
1d49a5cd | 66 | #page-site-index .headingblock {margin-bottom: 9px;} |
b9a048f8 | 67 | #page-site-index .clearfloat {float: none;clear: both; height:0px;} |
90723839 | 68 | |
3a35a9ff | 69 | .path-course-view a.reduce-sections {padding-left: 0.2em;} |
1d49a5cd | 70 | .path-course-view .headingblock {margin-bottom: 9px;} |
90723839 SH |
71 | .path-course-view .subscribelink {text-align:right;} |
72 | .path-course-view .unread {margin-left: 3em;} | |
6605ff8c | 73 | .path-course-view .block.drag .header {cursor: move;} |
e40bd746 FM |
74 | .path-course-view .completionprogress { text-align: right; } |
75 | .dir-rtl.path-course-view .completionprogress { text-align: left; } | |
76 | .path-course-view .single-section .completionprogress { margin-right: 5px; } | |
0465dd3e | 77 | .path-course-view .section .summary {line-height:normal;} |
90723839 | 78 | |
10994f27 FM |
79 | .path-site li.activity > div, |
80 | .path-course-view li.activity > div {position:relative;} | |
90723839 | 81 | .path-course-view li.activity span.autocompletion, |
10994f27 | 82 | .path-course-view li.activity form.togglecompletion {position: absolute; top: 0; right: .2em;} |
bb128107 | 83 | .path-course-view li.activity span.autocompletion img, |
10994f27 | 84 | .path-course-view li.activity form.togglecompletion input {position:absolute; top: .25em; right: 0px;} |
bb128107 | 85 | .path-course-view li.activity form.togglecompletion .ajaxworking {position:absolute; right: 22px; top: 5px; width: 16px; height: 16px; background: url([[pix:i/ajaxloader]]) no-repeat;} |
90723839 | 86 | .path-course-view li.activity form.togglecompletion div {display:inline;} |
90723839 | 87 | .dir-rtl.path-course-view li.activity form.togglecompletion, |
bb128107 | 88 | .dir-rtl.path-course-view li.activity span.autocompletion {left:1.7em;right:auto;padding:0px;} |
d180d19a | 89 | .dir-rtl.path-course-view .completionprogress {float: none;} |
bb128107 | 90 | .dir-rtl.path-course-view li.activity form.togglecompletion .ajaxworking {right: -22px;} |
90723839 | 91 | |
0d47afe6 PN |
92 | li.section.hidden span.commands a.editing_hide, |
93 | li.section.hidden span.commands a.editing_show {cursor:default;} | |
94 | ||
90723839 SH |
95 | .section img.movetarget {height:16px;width:80px;} |
96 | ||
202f73f3 MG |
97 | .course ul.section {margin:5px;padding:0;} |
98 | ||
99 | .weeks-format, /* Window-width: 800 pixels.IE doesn't support, see inline IE conditional comment. */ | |
100 | .topics-format {margin-top: 8px;min-width: 763px;} | |
90723839 | 101 | |
90723839 | 102 | #page-course-pending .singlebutton, |
69bbd2a7 MG |
103 | #page-course-index .singlebutton, |
104 | #page-course-index-category .singlebutton, | |
90723839 SH |
105 | #page-course-editsection .singlebutton {text-align:center;} |
106 | ||
202f73f3 | 107 | #coursesearch {margin-top: 1em;text-align:center;} |
90723839 SH |
108 | |
109 | #page-course-pending .pendingcourserequests {margin-bottom: 1em;} | |
110 | #page-course-pending .pendingcourserequests .singlebutton {display: inline;} | |
111 | #page-course-pending .pendingcourserequests .cell {padding: 0 5px;} | |
112 | #page-course-pending .pendingcourserequests .cell.c6 {white-space: nowrap;} | |
113 | ||
202f73f3 | 114 | /* Courses and categories lists */ |
90723839 | 115 | |
202f73f3 MG |
116 | .coursebox {width: 100%;margin-bottom:15px;} |
117 | .coursebox.collapsed {margin-bottom:0} | |
118 | .coursebox.collapsed > .content {display:none;} | |
69bbd2a7 | 119 | .coursebox > .info > .name a {display:block;background-image:url([[pix:moodle|i/course]]);background-repeat: no-repeat;padding-left:21px;background-position: left top;} |
202f73f3 | 120 | .coursebox.remotehost .name a {background-image:url([[pix:moodle|i/mnethost]]);} |
69bbd2a7 MG |
121 | .coursebox > .info > .name, |
122 | .coursebox .content .teachers, | |
d1f8c1bd MG |
123 | .coursebox .content .courseimage, |
124 | .coursebox .content .coursefile {float:left;width:40%;clear:left;} | |
69bbd2a7 | 125 | .coursebox .content .teachers li {list-style-type:none;padding:0;margin:0;} |
202f73f3 MG |
126 | .coursebox .enrolmenticons {padding:3px 0;float:right;} |
127 | .coursebox .moreinfo {padding:3px 0;float:right;} | |
128 | .coursebox .enrolmenticons img, | |
129 | .coursebox .moreinfo img {margin:0 .2em;} | |
69bbd2a7 MG |
130 | .coursebox .content {clear:both;overflow: hidden;} |
131 | .coursebox .content .summary, | |
132 | .coursebox .content .coursecat {float:right;width: 55%;} | |
133 | .coursebox .content .coursecat {text-align:right;clear:right;} | |
202f73f3 | 134 | .coursebox.remotecoursebox .remotecourseinfo {float:left;width: 40%;} |
d1f8c1bd | 135 | .coursebox .content .courseimage img {max-width:100px;max-height:100px;} |
202f73f3 | 136 | |
69bbd2a7 MG |
137 | .coursebox >.info >.name {margin: 5px;padding:0;} |
138 | .coursebox .content .teachers, | |
139 | .coursebox .content .coursecat, | |
140 | .coursebox .content .summary, | |
141 | .coursebox .content .courseimage, | |
142 | .coursebox .content .coursefile, | |
143 | .coursebox.remotecoursebox .remotecourseinfo {margin:3px 5px;padding:0;} | |
144 | ||
145 | .dir-rtl .coursebox > .info > .name a {padding-left:0;padding-right:21px;background-position: top right;} | |
146 | .dir-rtl .coursebox > .info > .name, | |
d1f8c1bd MG |
147 | .dir-rtl .coursebox .teachers, |
148 | .dir-rtl .coursebox .content .courseimage, | |
149 | .dir-rtl .coursebox .content .coursefile {float:right;clear:right;} | |
202f73f3 MG |
150 | .dir-rtl .coursebox .enrolmenticons, |
151 | .dir-rtl .coursebox .moreinfo {float:left;} | |
ddbf9b6b | 152 | .dir-rtl .coursebox .summary, |
202f73f3 MG |
153 | .dir-rtl .coursebox .coursecat {float:left;} |
154 | .dir-rtl .coursebox .coursecat {text-align:left;clear:left;} | |
155 | ||
156 | .course_category_tree .category .numberofcourse {font-size: 0.85em;} | |
24e27ac0 | 157 | |
202f73f3 MG |
158 | .course_category_tree .category>.info .name {background-image:url([[pix:moodle|t/collapsed_empty]]);background-repeat: no-repeat;background-position:center left;} |
159 | .dir-rtl .course_category_tree .category>.info .name {background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);background-position:center right;} | |
3df632fb | 160 | .course_category_tree .category.with_children>.info .name {background-image:url([[pix:moodle|t/expanded]]);cursor: pointer;} |
202f73f3 MG |
161 | .course_category_tree .category.with_children.collapsed>.info .name {background-image:url([[pix:moodle|t/collapsed]]);} |
162 | .dir-rtl .course_category_tree .category.with_children.collapsed>.info .name {background-image:url([[pix:moodle|t/collapsed_rtl]]);} | |
163 | .course_category_tree .category.collapsed>.content {display:none;} | |
cb184beb | 164 | |
69bbd2a7 MG |
165 | .course_category_tree .category > .info .name {padding:2px 18px;margin:3px;} |
166 | .course_category_tree .category > .content {padding-left:16px;overflow: hidden;} | |
defbd5b0 | 167 | |
202f73f3 MG |
168 | .dir-rtl .course_category_tree .category > .content {padding-left:0;padding-right:16px;} |
169 | ||
69bbd2a7 MG |
170 | .course_category_tree .subcategories > .paging, |
171 | .courses > .paging {margin:0;padding:5px;text-align:center;} | |
172 | ||
173 | .courses > .paging.paging-morelink, | |
174 | .course_category_tree .subcategories > .paging.paging-morelink {text-align:left;} | |
175 | ||
176 | .dir-rtl .courses > .paging.paging-morelink, | |
177 | .dir-rtl .course_category_tree .subcategories > .paging.paging-morelink {text-align:right;} | |
178 | ||
179 | #page-course-info .generalbox.info, | |
180 | #page-enrol-index .generalbox.info {border:none;} | |
181 | ||
202f73f3 MG |
182 | .path-course .clearfloat {float:none; clear:both;height:0px;} |
183 | ||
184 | /* Quick edit of module name */ | |
7a9a07d2 | 185 | |
10994f27 FM |
186 | .sitetopic .section .activity form.activityinstance, |
187 | .course-content .section .activity form.activityinstance { display: inline; vertical-align: bottom; } | |
7a9a07d2 | 188 | span.editinstructions { |
10994f27 FM |
189 | position: absolute; |
190 | top: 0px; | |
191 | left: 0px; | |
192 | margin-top: -22px; | |
193 | margin-left: 30px; | |
194 | line-height: 16px; | |
195 | font-size: .85em; | |
196 | padding: .1em .4em; | |
197 | background-color: #ffc; | |
198 | color: #000; | |
7a9a07d2 | 199 | text-decoration: none; |
10994f27 FM |
200 | z-index:9999; |
201 | box-shadow:2px 2px 5px 1px #ccc; | |
202 | border:1px solid #ddd; | |
7a9a07d2 | 203 | } |
10994f27 FM |
204 | .dir-rtl span.editinstructions { left: auto; right: 32px;} |
205 | input.titleeditor { width: 330px; vertical-align: text-bottom; } | |
7b061512 | 206 | |
32528f94 | 207 | /* Course drag and drop upload styles */ |
2de13ef2 | 208 | #dndupload-status {width:40%;margin:0 30%;padding:6px;border:1px solid #ddd;text-align:center;background:#ffc;position:absolute;z-index:9999;box-shadow:2px 2px 5px 1px #ccc;border-radius:0px 0px 8px 8px;z-index: 0;} |
8a3b8918 | 209 | .dndupload-preview {color:#909090;border:1px dashed #909090;list-style:none; margin-top: .2em; padding: .3em; line-height: 16px;} |
4460e380 | 210 | .dndupload-preview img.icon { vertical-align: text-bottom; padding: 0;} |
ead25632 DS |
211 | .dndupload-progress-outer {width:70px;border:1px solid black;border-radius:4px;height:10px;display:inline-block;margin:0;padding:0;overflow:hidden;position:relative;} |
212 | .dndupload-progress-inner {width:0%;height:100%;background-color:green;display:inline-block;margin:0;padding:0;float:left;box-shadow: 0 0 4px #229b15;border-radius:2px;background-repeat:repeat-x;background-position:top;background-image:url([[pix:theme_base|progress]])} | |
32528f94 | 213 | .dndupload-hidden {display:none;} |
336c5757 ME |
214 | |
215 | /* activity label */ | |
216 | .modtype_label .no-overflow > p:last-child { | |
217 | margin-bottom: 0; | |
218 | } |