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