Commit | Line | Data |
---|---|---|
90723839 SH |
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;} | |
8 | ||
9 | .course-content .section .activity img.activityicon {vertical-align:middle;height:16px;width:16px;} | |
6598f57e | 10 | .course-content .section .activity .commands img.iconsmall {vertical-align: baseline;} |
a60cc6e1 | 11 | .course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; list-style: none; } |
1804b7c1 DP |
12 | .course-content .section-summary .section-title { margin: 2px 5px 2px 5px; } |
13 | .course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; } | |
36be7e14 RT |
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; } | |
90723839 SH |
20 | |
21 | #page-site-index .subscribelink {text-align:right;} | |
22 | #page-site-index .headingblock {margin-bottom: 9px;} | |
b9a048f8 | 23 | #page-site-index .clearfloat {float: none;clear: both; height:0px;} |
90723839 | 24 | |
3a35a9ff | 25 | .path-course-view a.reduce-sections {padding-left: 0.2em;} |
90723839 SH |
26 | .path-course-view .headingblock {margin-bottom: 9px;} |
27 | .path-course-view .subscribelink {text-align:right;} | |
28 | .path-course-view .unread {margin-left: 3em;} | |
6605ff8c | 29 | .path-course-view .block.drag .header {cursor: move;} |
90723839 SH |
30 | .path-course-view .completionprogress {float:right;} |
31 | .path-course-view .completionprogress img.iconhelp {vertical-align:top;} | |
0465dd3e | 32 | .path-course-view .section .summary {line-height:normal;} |
90723839 SH |
33 | |
34 | .path-course-view li.activity {margin-right:20px; position:relative;} | |
35 | .path-course-view li.activity span.autocompletion, | |
bd3238e6 | 36 | .path-course-view li.activity form.togglecompletion {display:inline;position:absolute;right:-20px;top:0;padding:0.2em 0;} |
90723839 SH |
37 | .path-course-view li.activity form.togglecompletion div {display:inline;} |
38 | .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;} | |
39 | .dir-rtl.path-course-view li.activity {margin-right:0px;margin-left:20px;} | |
40 | .dir-rtl.path-course-view li.activity form.togglecompletion, | |
eb3217dc | 41 | .dir-rtl.path-course-view li.activity span.autocompletion {right:auto;left:-20px;} |
90723839 SH |
42 | |
43 | .section img.movetarget {height:16px;width:80px;} | |
44 | ||
45 | #page-course-enrol .generalbox, | |
46 | #page-course-enrol .coursebox {margin-top: 20px;} | |
47 | ||
90723839 SH |
48 | #page-course-pending .singlebutton, |
49 | #page-course-category #renameform, | |
50 | #page-course-category #themeform, | |
51 | #page-course-category #coursesearch, | |
52 | #page-course-category .singlebutton, | |
53 | #page-course-editsection .singlebutton {text-align:center;} | |
54 | ||
55 | #coursesearch, | |
56 | #coursesearch2 {margin-top: 1em;text-align:center;} | |
57 | ||
58 | #page-course-info .generalbox.icons {text-align: center;} | |
59 | #page-course-info .generalbox.info {margin-left:auto;margin-right:auto;} | |
60 | ||
61 | #page-course-pending .pendingcourserequests {margin-bottom: 1em;} | |
62 | #page-course-pending .pendingcourserequests .singlebutton {display: inline;} | |
63 | #page-course-pending .pendingcourserequests .cell {padding: 0 5px;} | |
64 | #page-course-pending .pendingcourserequests .cell.c6 {white-space: nowrap;} | |
65 | ||
90723839 SH |
66 | |
67 | .coursebox {width: 100%;margin-bottom: 15px;} | |
ab3169cf PM |
68 | .coursebox .info {float: left;text-align:left;width: 40%;} |
69 | .coursebox .summary {float: right;text-align:left;width: 55%;} | |
90723839 SH |
70 | .coursebox .summary .category {text-align:right;} |
71 | .coursebox .teachers li {list-style-type:none;padding:0;margin:0;} | |
72 | ||
73 | .categorylist {width: 100%;} | |
cb184beb RW |
74 | .categorylist .category .numberofcourse {font-style: italic; font-size: 0.85em; font-style: normal;} |
75 | .categorylist .category {padding-top: 5px; padding-bottom: 5px; } | |
2afcfc44 RW |
76 | .categorylist .category .info, |
77 | .categorylist .category .indentation, | |
78 | .categorylist .category .name, | |
79 | .categorylist .category .image, | |
80 | .categorylist .course .name, | |
81 | .categorylist .course .info {float:left;text-align: left;} | |
82 | .categorylist .course {padding-left:18px;} | |
83 | ||
ea831ceb RW |
84 | .categorylist .indentation {padding-left: 20px;} |
85 | #page-course-index .category .image {padding-right: 2px;} | |
90723839 | 86 | |
90723839 SH |
87 | .course ul.section {margin:5px;padding:0;} |
88 | ||
89 | .weeks-format, /* Window-width: 800 pixels.IE doesn't support, see inline IE conditional comment. */ | |
90 | .topics-format {margin-top: 8px;min-width: 763px;} | |
24e27ac0 SH |
91 | .categoryboxcontent {border-width:1px;border-style:solid;} |
92 | ||
93 | /* Course and category combo list on front page */ | |
94 | .course_category_tree .controls {visibility: hidden;} | |
95 | .course_category_tree .controls div {display:inline;cursor:pointer;} | |
3ebc548f | 96 | .course_category_tree .category.with_children>.category_label {background-image:url([[pix:moodle|t/expanded]]);background-repeat: no-repeat;} |
24e27ac0 | 97 | .course_category_tree .category_label {padding-left:13px;} |
3ebc548f SH |
98 | .course_category_tree .category .category {margin:5px;} |
99 | .course_category_tree .category .courses {padding-left:16px;} | |
24e27ac0 SH |
100 | .course_category_tree .category .courses .course_link {display:block;background-image:url([[pix:moodle|i/course]]);background-repeat: no-repeat;padding-left:18px;} |
101 | .course_category_tree .category .course {position:relative;} | |
102 | .course_category_tree .category .course_info {position:absolute;right:0;top:0;} | |
103 | .course_category_tree .category .course_info a, | |
104 | .course_category_tree .category .course_info div {float:left;width:16px;height:16px;} | |
105 | .jsenabled .course_category_tree .controls {visibility: visible;} | |
106 | .jsenabled .course_category_tree .category.with_children.collapsed .category_label {background-image:url([[pix:moodle|t/collapsed]]);} | |
107 | .jsenabled .course_category_tree .category.with_children.collapsed .subcategories, | |
43c90b9b RW |
108 | .jsenabled .course_category_tree .category.with_children.collapsed .courses {display:none;} |
109 | ||
cb184beb RW |
110 | .path-course .clearfloat {float:none; clear:both;height:0px;} |
111 | ||
defbd5b0 JS |
112 | |
113 | /*all courses view*/ | |
114 | #page-course-index .categorylist .course.clearfloat { height: auto; } | |
115 | ||
cf24e82e | 116 | /** |
cb184beb RW |
117 | * Overide for RTL layout |
118 | */ | |
43c90b9b RW |
119 | .dir-rtl .coursebox .info {float: right; text-align: right;} |
120 | .dir-rtl .coursebox .summary {text-align:right;} | |
121 | .dir-rtl .course_category_tree .category.with_children> .category_label {background-position: center right; padding-right: 18px;} | |
122 | .dir-rtl .course_category_tree .category_label, .dir-rtl .course_category_tree .category .course {padding-right:18px;} | |
21cbbf3f RW |
123 | .dir-rtl.jsenabled .course_category_tree .category.with_children.collapsed .category_label {background-image:url([[pix:moodle|t/collapsed_rtl]]);} |
124 | .dir-rtl .course_category_tree .category .courses .course_link {background-position:center right; padding-right:18px;} | |
cb184beb | 125 | .dir-rtl .clearfloat {float:none; clear:both;height:0px;} |
2afcfc44 RW |
126 | .dir-rtl .categorylist .category .info, |
127 | .dir-rtl .categorylist .category .indentation, | |
128 | .dir-rtl .categorylist .category .name, | |
129 | .dir-rtl .categorylist .category .image, | |
130 | .dir-rtl .categorylist .course .name, | |
131 | .dir-rtl .categorylist .course .indentation, | |
132 | .dir-rtl .categorylist .course .info {float:right;text-align: right;} | |
133 | .dir-rtl .categorylist .course {padding-right:18px;} | |
134 | ||
135 | #page-course-index.dir-rtl .category .image {padding-left: 5px; padding-right: 0px;} | |
136 | #page-course-index.dir-rtl .indentation {padding-left: 0px;padding-right: 30px;} | |
f73cea54 SH |
137 | |
138 | table.category_subcategories {margin-bottom:1em;} | |
0465dd3e | 139 | table.category_subcategories td {white-space: nowrap;} |
7a9a07d2 ARN |
140 | |
141 | span.editinstructions { | |
142 | position: relative; | |
143 | top: 5px; | |
144 | left: 19px; | |
145 | width: 329px; | |
146 | padding: 3px; | |
147 | background-color: #dddddd; | |
148 | color: #000000; | |
149 | text-decoration: none; | |
150 | z-index: 100; | |
151 | border: 1px solid black; | |
152 | } | |
153 | ||
154 | input.titleeditor { | |
155 | width: 330px; | |
156 | } | |
7b061512 | 157 | |
32528f94 DS |
158 | /* Course drag and drop upload styles */ |
159 | #dndupload-status {width:60%;margin:0 auto;padding:2px;border:1px solid #ddd;text-align:center;background:#ffc} | |
160 | .dndupload-preview {color:#909090;border:1px dashed #909090;} | |
abed5d65 | 161 | .dndupload-progress-outer {width:70px;border:solid black 1px;height:10px;display:inline-block;margin:0;padding:0;overflow:hidden;position:relative;} |
32528f94 DS |
162 | .dndupload-progress-inner {width:0%;height:100%;background-color:green;display:inline-block;margin:0;padding:0;float:left;} |
163 | .dndupload-hidden {display:none;} |