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