MDL-40975 ActionMenu: Add support for fillers in primary menus
[moodle.git] / theme / base / style / course.css
CommitLineData
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,
3fcf3d2e
AN
18.course-content .section .activity img.activityicon {
19 vertical-align: middle;
20 margin-right: 3px;
21 margin-left: 3px;
22 width: 24px;
23 height: 24px;
24}
25.section .activity .activityinstance .instancename {
26 vertical-align: bottom;
27}
bb128107 28.sitetopic .section .activity .activityinstance,
d2ced94b 29.course-content .section .activity .activityinstance,
e40bd746 30.sitetopic .section .activity .activityinstance div,
d2ced94b 31.course-content .section .activity .activityinstance div { display: inline;}
a83d83e4 32.course-content .section .activity .activityinstance form { display: inline;}
e40bd746 33.sitetopic .section .activity .activityinstance,
3fcf3d2e 34.course-content .section .activity .activityinstance { padding-right: 1em; }
9ac099a1
AN
35.course-content .section .activity .filler {
36 width: 16px;
37 height: 16px;
38 margin: 4px;
39 display: inline-block;
40 vertical-align: text-bottom;
41}
42
bb128107
FM
43.dir-rtl .sitetopic .section .activity .activityinstance,
44.dir-rtl .course-content .section .activity .activityinstance { padding-right: 0; padding-left: 3em;}
e40bd746 45.sitetopic .section .activity .commands,
a4f01fe4
SH
46.course-content .section .activity .commands { white-space: nowrap; display: inline-block; padding: 0 3em 0 0;}
47.dir-rtl .sitetopic .section .activity .commands,
48.dir-rtl .course-content .section .activity .commands { padding: 0 0 0 3em;}
3fcf3d2e
AN
49
50.section .activity .moodle-actionmenu .menu > li > *,
51.section .activity .moodle-actionmenu .menubar > li > * {
52 display: inline-block;
53 min-height: 16px;
54}
55.section .activity .moodle-actionmenu[data-enhanced] .menu > li > * {
56 display: block;
57}
ee2d09e4 58.section .activity .moodle-actionmenu[data-enhanced] .menu {margin-left: -2.8em;}
3fcf3d2e 59.section img.iconsmall {
40526616 60 vertical-align: text-bottom;
3fcf3d2e
AN
61 width: 16px;
62 height: 16px;
63 margin: 4px;
64}
a83d83e4
AN
65.section .editing_title img.iconsmall {
66 width: 12px;
67 height: 12px;
40526616 68 margin: 4px 8px 4px 0;
a83d83e4
AN
69}
70
81dc0796
AN
71.section .activity.editor_displayed a.editing_title,
72.section .activity.editor_displayed .moodle-actionmenu {
73 display: none;
74}
75
3eb439e2 76.single-section h3.sectionname {text-align:center;clear:both;}
bb128107
FM
77.sitetopic .section li.activity,
78.course-content .section li.activity {padding: .2em;}
e40bd746 79.section .activity .activityinstance .groupinglabel { padding-left: .45em; }
10994f27
FM
80.sitetopic .section .activity .availabilityinfo,
81.sitetopic .section .activity .contentafterlink,
82.course-content .section .activity .availabilityinfo,
83.course-content .section .activity .contentafterlink { margin-top: 0.5em; margin-left: 30px;}
84.dir-rtl .sitetopic .section .activity .availabilityinfo,
85.dir-rtl .sitetopic .section .activity .contentafterlink,
86.dir-rtl .course-content .section .activity .availabilityinfo,
87.dir-rtl .course-content .section .activity .contentafterlink { margin-left: 0; margin-right: 30px;}
e40bd746 88.section .activity .contentafterlink p { margin:.5em 0; }
bb128107 89.sitetopic .section .activity:hover,
c419fb96 90.course-content .section .activity:hover { background-color: #EEE; }
a60cc6e1 91.course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; list-style: none; }
e40bd746 92.course-content .section-summary .section-title { margin: 2px 5px 10px 5px; }
1804b7c1 93.course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; }
77812175 94.course-content .section-summary .section-summary-activities .activity-count {margin-right: 10px;color: #AAA; font-size: 12px; margin-right: 15px;}
76055f5d 95.course-content .section-summary .summary { margin-top: 5px; }
c129f430
RT
96.course-content .single-section { margin-top: 1em; }
97.course-content .single-section .section-navigation { display: block; padding: 0.5em; margin-bottom: -0.5em; }
98.course-content .single-section .section-navigation .title { font-weight: bold; font-size: 108%; }
99.course-content .single-section .section-navigation .mdl-left { font-weight: normal; float: left; margin-right: 1em; }
5e51bd99 100.dir-rtl .course-content .single-section .section-navigation .mdl-left {float:right;}
c129f430
RT
101.course-content .single-section .section-navigation .mdl-left .larrow { margin-right: 0.1em; }
102.course-content .single-section .section-navigation .mdl-right { font-weight: normal; float: right; margin-left: 1em; }
5e51bd99 103.dir-rtl .course-content .single-section .section-navigation .mdl-right {float: left;}
c129f430
RT
104.course-content .single-section .section-navigation .mdl-right .rarrow { margin-left: 0.1em; }
105.course-content .single-section .section-navigation .mdl-bottom { margin-top: 0; }
90723839
SH
106
107#page-site-index .subscribelink {text-align:right;}
faf6010b 108#site-news-forum h2,
109#frontpage-course-list h2,
110#frontpage-category-names h2,
111#frontpage-category-combo h2 {margin-bottom: 9px;}
b9a048f8 112#page-site-index .clearfloat {float: none;clear: both; height:0px;}
90723839 113
3a35a9ff 114.path-course-view a.reduce-sections {padding-left: 0.2em;}
90723839
SH
115.path-course-view .subscribelink {text-align:right;}
116.path-course-view .unread {margin-left: 3em;}
6605ff8c 117.path-course-view .block.drag .header {cursor: move;}
e40bd746
FM
118.path-course-view .completionprogress { text-align: right; }
119.dir-rtl.path-course-view .completionprogress { text-align: left; }
120.path-course-view .single-section .completionprogress { margin-right: 5px; }
0465dd3e 121.path-course-view .section .summary {line-height:normal;}
90723839 122
10994f27
FM
123.path-site li.activity > div,
124.path-course-view li.activity > div {position:relative;}
90723839 125.path-course-view li.activity span.autocompletion,
10994f27 126.path-course-view li.activity form.togglecompletion {position: absolute; top: 0; right: .2em;}
bb128107 127.path-course-view li.activity span.autocompletion img,
10994f27 128.path-course-view li.activity form.togglecompletion input {position:absolute; top: .25em; right: 0px;}
bb128107 129.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 130.path-course-view li.activity form.togglecompletion div {display:inline;}
90723839 131.dir-rtl.path-course-view li.activity form.togglecompletion,
bb128107 132.dir-rtl.path-course-view li.activity span.autocompletion {left:1.7em;right:auto;padding:0px;}
d180d19a 133.dir-rtl.path-course-view .completionprogress {float: none;}
bb128107 134.dir-rtl.path-course-view li.activity form.togglecompletion .ajaxworking {right: -22px;}
90723839 135
0d47afe6
PN
136li.section.hidden span.commands a.editing_hide,
137li.section.hidden span.commands a.editing_show {cursor:default;}
138
90723839
SH
139.section img.movetarget {height:16px;width:80px;}
140
202f73f3
MG
141.course ul.section {margin:5px;padding:0;}
142
143.weeks-format, /* Window-width: 800 pixels.IE doesn't support, see inline IE conditional comment. */
144.topics-format {margin-top: 8px;min-width: 763px;}
90723839 145
90723839 146#page-course-pending .singlebutton,
69bbd2a7
MG
147#page-course-index .singlebutton,
148#page-course-index-category .singlebutton,
90723839
SH
149#page-course-editsection .singlebutton {text-align:center;}
150
202f73f3 151#coursesearch {margin-top: 1em;text-align:center;}
90723839
SH
152
153#page-course-pending .pendingcourserequests {margin-bottom: 1em;}
154#page-course-pending .pendingcourserequests .singlebutton {display: inline;}
155#page-course-pending .pendingcourserequests .cell {padding: 0 5px;}
156#page-course-pending .pendingcourserequests .cell.c6 {white-space: nowrap;}
157
202f73f3 158/* Courses and categories lists */
90723839 159
202f73f3
MG
160.coursebox {width: 100%;margin-bottom:15px;}
161.coursebox.collapsed {margin-bottom:0}
162.coursebox.collapsed > .content {display:none;}
983c46a8 163.coursebox > .info > .coursename a {display:block;background-image:url([[pix:moodle|i/course]]);background-repeat: no-repeat;padding-left:21px;background-position: left top;}
faf6010b 164.coursebox.remotehost .coursename a {background-image:url([[pix:moodle|i/mnethost]]);}
165.coursebox > .info > .coursename,
69bbd2a7 166.coursebox .content .teachers,
d1f8c1bd
MG
167.coursebox .content .courseimage,
168.coursebox .content .coursefile {float:left;width:40%;clear:left;}
69bbd2a7 169.coursebox .content .teachers li {list-style-type:none;padding:0;margin:0;}
202f73f3
MG
170.coursebox .enrolmenticons {padding:3px 0;float:right;}
171.coursebox .moreinfo {padding:3px 0;float:right;}
172.coursebox .enrolmenticons img,
173.coursebox .moreinfo img {margin:0 .2em;}
69bbd2a7
MG
174.coursebox .content {clear:both;overflow: hidden;}
175.coursebox .content .summary,
176.coursebox .content .coursecat {float:right;width: 55%;}
177.coursebox .content .coursecat {text-align:right;clear:right;}
202f73f3 178.coursebox.remotecoursebox .remotecourseinfo {float:left;width: 40%;}
d1f8c1bd 179.coursebox .content .courseimage img {max-width:100px;max-height:100px;}
202f73f3 180
983c46a8 181.coursebox >.info >.coursename {margin: 5px;padding:0;}
69bbd2a7
MG
182.coursebox .content .teachers,
183.coursebox .content .coursecat,
184.coursebox .content .summary,
185.coursebox .content .courseimage,
186.coursebox .content .coursefile,
187.coursebox.remotecoursebox .remotecourseinfo {margin:3px 5px;padding:0;}
188
faf6010b 189.dir-rtl .coursebox > .info > .coursename a {padding-left:0;padding-right:21px;background-position: top right;}
190.dir-rtl .coursebox > .info > .coursename,
d1f8c1bd
MG
191.dir-rtl .coursebox .teachers,
192.dir-rtl .coursebox .content .courseimage,
193.dir-rtl .coursebox .content .coursefile {float:right;clear:right;}
202f73f3
MG
194.dir-rtl .coursebox .enrolmenticons,
195.dir-rtl .coursebox .moreinfo {float:left;}
ddbf9b6b 196.dir-rtl .coursebox .summary,
202f73f3
MG
197.dir-rtl .coursebox .coursecat {float:left;}
198.dir-rtl .coursebox .coursecat {text-align:left;clear:left;}
199
200.course_category_tree .category .numberofcourse {font-size: 0.85em;}
faf6010b 201.dir-rtl .course_category_tree .category .numberofcourse {padding-right: 20px;}
202
203.course_category_tree .controls {visibility: hidden;}
204.course_category_tree .controls div {display:inline;cursor:pointer;}
205.jsenabled .course_category_tree .controls {visibility: visible;}
206
207.course_category_tree .category >.info > .categoryname {background-image:url([[pix:moodle|t/collapsed_empty]]);background-repeat: no-repeat;background-position:center left;margin:0.5em 5px;}
208.dir-rtl .course_category_tree .category >.info > .categoryname {background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);background-position:center right;margin:0.5em 5px;}
209.course_category_tree .category.with_children >.info > .categoryname {background-image:url([[pix:moodle|t/expanded]]);}
210.course_category_tree .category.with_children.collapsed >.info > .categoryname {background-image:url([[pix:moodle|t/collapsed]]);}
211.dir-rtl .course_category_tree .category.with_children.collapsed >.info .categoryname {background-image:url([[pix:moodle|t/collapsed_rtl]]);}
212.course_category_tree .category.collapsed >.content {display:none;}
213.course_category_tree .category > .info > .categoryname {padding:2px 18px;margin:3px;}
69bbd2a7 214.course_category_tree .category > .content {padding-left:16px;overflow: hidden;}
defbd5b0 215
202f73f3
MG
216.dir-rtl .course_category_tree .category > .content {padding-left:0;padding-right:16px;}
217
69bbd2a7
MG
218.course_category_tree .subcategories > .paging,
219.courses > .paging {margin:0;padding:5px;text-align:center;}
220
221.courses > .paging.paging-morelink,
222.course_category_tree .subcategories > .paging.paging-morelink {text-align:left;}
223
224.dir-rtl .courses > .paging.paging-morelink,
225.dir-rtl .course_category_tree .subcategories > .paging.paging-morelink {text-align:right;}
226
227#page-course-info .generalbox.info,
228#page-enrol-index .generalbox.info {border:none;}
229
202f73f3
MG
230.path-course .clearfloat {float:none; clear:both;height:0px;}
231
3072040c
AN
232.section .spinner {
233 height: 16px;
234 width: 16px;
235}
236.section .activity .spinner {
237 margin: 4px;
238}
239
202f73f3 240/* Quick edit of module name */
7a9a07d2 241
10994f27 242.sitetopic .section .activity form.activityinstance,
3fcf3d2e 243.course-content .section .activity form.activityinstance { display: inline; vertical-align: middle; }
7a9a07d2 244span.editinstructions {
10994f27
FM
245 position: absolute;
246 top: 0px;
247 left: 0px;
248 margin-top: -22px;
249 margin-left: 30px;
250 line-height: 16px;
251 font-size: .85em;
252 padding: .1em .4em;
253 background-color: #ffc;
254 color: #000;
7a9a07d2 255 text-decoration: none;
10994f27
FM
256 z-index:9999;
257 box-shadow:2px 2px 5px 1px #ccc;
258 border:1px solid #ddd;
7a9a07d2 259}
10994f27 260.dir-rtl span.editinstructions { left: auto; right: 32px;}
81dc0796
AN
261input.titleeditor { vertical-align: text-bottom; }
262.editing .course-content .section .activity.editor_displayed .activityinstance {
263 padding: initial;
264}
7b061512 265
32528f94 266/* Course drag and drop upload styles */
2de13ef2 267#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 268.dndupload-preview {color:#909090;border:1px dashed #909090;list-style:none; margin-top: .2em; padding: .3em; line-height: 16px;}
4460e380 269.dndupload-preview img.icon { vertical-align: text-bottom; padding: 0;}
ead25632
DS
270.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;}
271.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 272.dndupload-hidden {display:none;}
5dc361e1
SH
273
274/** Course category management **/
275#course-category-listings {background-color:#fff;border:1px solid #e1e1e8;margin-bottom:200px;}
276
277/** Two column layout */
278#course-category-listings.columns-2 > #category-listing > div {border-right:1px solid #e1e1e8;}
484c4c6c
SH
279#course-category-listings.columns-2 > #course-listing > div {border-left:1px solid #e1e1e8;margin-left:-1px;}
280#course-category-listings.columns-2.viewmode-courses.course-selected > #course-listing > div {border-right:1px solid #e1e1e8;margin-right:-1px;}
281#course-category-listings.columns-2 > #course-detail > div {border-left:1px solid #e1e1e8;}
5dc361e1
SH
282
283/** Three column layout */
484c4c6c
SH
284#course-category-listings.columns-3 #category-listing > div {border-right:1px solid #DDD;}
285#course-category-listings.columns-3 #course-listing > div {border-right:1px solid #e1e1e8;border-left:1px solid #e1e1e8;margin-right:-1px;margin-left:-1px;}
286#course-category-listings.columns-3 #course-detail > div {border-left:1px solid #DDD;}
5dc361e1
SH
287
288#course-category-listings > div {}
289#course-category-listings > div > div {min-height:300px;}
290#course-category-listings h3 {margin:0;padding:0.6em 1em 0.5em;text-align:left;background-color:#f7f7f9;border-bottom:1px solid #e1e1e8;}
291#course-category-listings h4 {margin:1em 0 0;padding:0.6em 1em 0.5em;text-align:left;}
38a15200 292#course-category-listings .moodle-actionmenu {white-space:nowrap;}
1b7e2010
SH
293#course-category-listings .listing-actions {text-align:center;padding:0.4em 0.3em 0.3em;}
294#course-category-listings .listing-actions > * {display:inline-block;line-height:2.2em;}
5dc361e1
SH
295#course-category-listings .listing-actions > .moodle-actionmenu {display:inline-block;}
296#course-category-listings .listing-actions > .moodle-actionmenu .menu a {padding-left:1em;}
297#course-category-listings .listing-actions .iconsmall {margin-left:0.5em;}
298#course-category-listings ul.ml {list-style: none;margin:1em 0;}
299#course-category-listings ul.ml ul.ml {margin:0;}
300#course-category-listings li {line-height:2.2em;}
301#course-category-listings li > div {border-bottom:1px solid #fff;border-top:1px solid #fff;}
302#course-category-listings li > div:hover {background-color:#fafafa;}
3b681e6c 303#course-category-listings li.highlight {background-color:transparent;}
484c4c6c 304#course-category-listings li.highlight > div,
3b681e6c 305#category-listing li.highlight.listitem > div > .ba-checkbox,
484c4c6c
SH
306#course-category-listings li.highlight > div:hover,
307#course-category-listings li[data-selected='1'].highlight > div {background-color:#ddffaa;}
5dc361e1
SH
308#course-category-listings li+li > div,
309#course-category-listings li:first-child > div {border-top-color:#f7f7f9;}
310#course-category-listings li .tree-icon {vertical-align:text-top;margin-right:0.5em;width:12px;height:12px;}
3b681e6c 311#course-category-listings li[data-selected='1'] > div {background-color:#FFFFD8;border-top-color: #e1e1e8;border-bottom-color:#f7f7f9;}
5dc361e1
SH
312#course-category-listings li[data-selected='1'] li:first-of-type > div,
313#course-category-listings li[data-selected='1'][data-expandable='0']+li > div {border-top-color:#e1e1e8;}
314#course-category-listings li[data-selected='1']:last-of-type > div {border-bottom-color:#e1e1e8;}
315#course-category-listings > div > div > ul.ml > li:first-child > div {border-top:0;}
316
317#course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) li {line-height:normal;}
318#course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) > .menubar a,
319#course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) > .menu .menu-action-text {display:inline-block;}
320#course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) > .menubar a {color:inherit;}
321#course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) > .menubar a > img {display:none;}
322
5dc361e1 323#course-category-listings .item-actions {margin-right:1em;display:inline-block;display:initial;}
38a15200
SH
324#course-category-listings .item-actions img {margin: 0 4px;vertical-align:inherit;}
325#course-category-listings .item-actions .menu img {max-width:none;width:12px;}
326#course-category-listings .item-actions .menu a {padding:4px 1em 4px 4px;}
5dc361e1 327
0c80d689
SH
328#course-category-listings li .tree-icon {margin-left:0;}
329#course-category-listings li li .tree-icon {margin-left:1em;}
330#course-category-listings li li li .tree-icon {margin-left:2em;}
331#course-category-listings li li li li .tree-icon {margin-left:3em;}
332#course-category-listings li li li li li .tree-icon {margin-left:4em;}
333#course-category-listings li li li li li li .tree-icon {margin-left:4.5em;}
334#course-category-listings li li li li li li li .tree-icon {margin-left:5em;}
335#course-category-listings li li li li li li li li .tree-icon {margin-left:5.5em;}
5dc361e1 336
484c4c6c 337#course-listing .listitem .drag-handle {margin-right:0.5em;}
5dc361e1 338#course-listing .listitem .categoryname {display:inline-block;margin-left:1em;color:#a1a1a8;}
7fd307b1 339#course-listing .listitem .coursename {display:inline-block;}
5dc361e1 340
38a15200 341#category-listing .course-count {color:#a1a1a8;margin-right:2em;min-width:3.5em;display:inline-block;}
5dc361e1
SH
342#category-listing .listitem.collapsed > ul.ml {display: none;}
343#category-listing .course-count .smallicon {width:0.8em;height:0.8em;vertical-align:middle;margin:0 0.3em;}
344
f8ddf782
SH
345#category-listing .listitem > div > .ba-checkbox {vertical-align:middle;width:2.2em;text-align:center;margin:-1px 0;padding-top:2px;margin-right:0.5em;}
346#category-listing .listitem[data-selected='1'] > div > .ba-checkbox {margin:0 0.5em 0 0;padding:0;}
347.category-bulk-actions {margin: 0 0.5em 0.5em;}
3b681e6c 348
c7a2291f 349#course-category-listings .listitem .idnumber {color:#a1a1a8;margin-right:2em;}
5dc361e1
SH
350#course-category-listings .listitem > div > .float-left {float:left;}
351#course-category-listings .listitem > div > .float-right {float:right;text-align:right;}
352#course-category-listings .listitem[data-visible="0"],
353#course-category-listings .listitem[data-visible="0"] a.categoryname,
354#course-category-listings .listitem[data-visible="0"] > div > a {color:#AAA;}
355#course-category-listings .listitem > div .item-actions .action-hide,
356#course-category-listings .listitem[data-visible="0"] > div .item-actions .action-show {display:inline;}
357#course-category-listings .listitem > div .item-actions .action-show,
358#course-category-listings .listitem[data-visible="0"] > div .item-actions .action-hide,
359#course-category-listings .listitem[data-visible="0"] > ul .item-actions.category-item-actions .action-hide,
f454e324 360#course-category-listings .listitem[data-visible="0"] > ul .item-actions.category-item-actions .action-show,
484c4c6c
SH
361
362#category-listing .listitem:first-child > div .item-actions .action-moveup,
363#category-listing .listitem:last-child > div .item-actions .action-movedown,
364#course-listing > .firstpage .listitem:first-child > div .item-actions .action-moveup,
365#course-listing > .lastpage .listitem:last-child > div .item-actions .action-movedown {display: none;}
5dc361e1 366
b488058f
SH
367#course-category-listings .listitem > div a.without-actions {color: #333;}
368
5dc361e1
SH
369#course-listing li > div {padding-left:1em;}
370
371#course-category-listings .detail-pair {border-bottom:1px solid #e1e1e8;margin:0 1em;}
372#course-category-listings .detail-pair > * {display:inline-block;line-height:2.2em;}
f8ddf782 373#course-category-listings .detail-pair .pair-key {font-weight:bold;text-align:right;}
5dc361e1
SH
374#course-category-listings .detail-pair .pair-key span {margin-right: 1em;display:block;}
375#course-category-listings .detail-pair:last-child {border-bottom-width:0;}
376
377#course-category-listings .bulk-actions .detail-pair > * {display:block;width:100%;text-align:left;}
378#course-category-listings .bulk-actions .detail-pair .pair-value {margin-left:2.2em;}
379
380#course-category-listings .select-a-category .notifymessage,
381#course-category-listings .select-a-category .alert {margin: 1em;}
382
383/** Management header styling **/
384.coursecat-management-header {vertical-align:middle;}
385.coursecat-management-header h2 {display:inline-block;text-align:left;}
386.coursecat-management-header > div {display:inline-block;float:right;margin-left:1em;}
484c4c6c
SH
387.coursecat-management-header .view-mode-selector img {margin-left:0.5em;vertical-align: baseline;}
388.coursecat-management-header select {max-width: 300px;white-space: nowrap;}
5dc361e1
SH
389
390.listing-pagination,
391.listing-pagination-totals {text-align:center;}
392.listing-pagination .yui3-button {background-color:#FFF;border:0;margin:0.4em 0.2em 0.45em;font-size:10.4px;}
393.listing-pagination .yui3-button.active-page {background-color:#E5EFFD;}
394.listing-pagination-totals.dimmed {color:#999;margin:0.4em 1em 0.45em;}
395
3b681e6c 396#category-listing .bulk-action-checkbox {vertical-align:middle;margin:0 0 0.5em 3px;}
5dc361e1
SH
397#course-listing .bulk-action-checkbox {margin-right:0.6em;vertical-align:middle;margin-bottom:0.5em;}
398
399/**
400 * Display sizes:
401 * Large displays 1200 +
402 * Default displays 980 1199
403 * Tablets 768 979
404 * Small tablets and large phones 481 767
405 * Phones 0 480
406 */
407
408@media (min-width: 1200px) and (max-width: 1600px) {
409 #course-category-listings.columns-3 {background-color:transparent;border:0;}
410 #course-category-listings.columns-3 #category-listing,
411 #course-category-listings.columns-3 #course-listing {width:50%;}
412 #course-category-listings.columns-3 #category-listing > div,
413 #course-category-listings.columns-3 #course-listing > div,
414 #course-category-listings.columns-3 #course-detail {border:1px solid #e1e1e8;background-color:#FFF;}
484c4c6c 415 #course-category-listings.columns-3 #course-detail > div {border:0;}
5dc361e1
SH
416 #course-category-listings.columns-3 #course-detail {width:100%;margin-top:1em;}
417}
418
419@media (max-width: 1199px) {
484c4c6c 420 #course-category-listings.columns-2,
5dc361e1 421 #course-category-listings.columns-3 {background-color:transparent;border:0;}
484c4c6c
SH
422 #course-category-listings.columns-2 #category-listing,
423 #course-category-listings.columns-2 #course-listing,
424 #course-category-listings.columns-2 #course-detail,
5dc361e1
SH
425 #course-category-listings.columns-3 #category-listing,
426 #course-category-listings.columns-3 #course-listing,
427 #course-category-listings.columns-3 #course-detail {width:100%;margin-bottom:1em;}
484c4c6c
SH
428 #course-category-listings.columns-2 #category-listing > div,
429 #course-category-listings.columns-2 #course-listing > div,
430 #course-category-listings.columns-2 #course-detail > div,
5dc361e1
SH
431 #course-category-listings.columns-3 #category-listing > div,
432 #course-category-listings.columns-3 #course-listing > div,
433 #course-category-listings.columns-3 #course-detail > div {border:1px solid #e1e1e8;background-color:#FFF;}
434}
435
436/** Custom YUI grid CSS **/
437.grid-col {
438 display: inline-block;
439 zoom: 1; *display: inline;
440 letter-spacing: normal;
441 word-spacing: normal;
442 vertical-align: top;
443 text-rendering: auto;
444}
445.grid-col-1{display:block;}
446.grid-col-1-2{width: 50%;}
447.grid-col-1-3{width: 33.33333%;}
448.grid-col-2-3{width: 66.66667%;}
449.grid-col-1-4{width: 25%;}
450.grid-col-3-4{width: 75%;}
451.grid-col-1-5{width: 20%;}
452.grid-col-2-5{width: 40%;}
453.grid-col-3-5{width: 60%;}
454.grid-col-4-5{width: 80%;}
455.grid-col-1-6{width: 16.66667%;}
456.grid-col-5-6{width: 83.33333%;}
457.grid-col-1-7{width: 14.28571%;}
458.grid-col-2-7{width: 28.57143%;}
459.grid-col-3-7{width: 42.85714%;}
460.grid-col-4-7{width: 57.14286%;}
461.grid-col-5-7{width: 71.42857%;}
462.grid-col-6-7{width: 85.71429%;}
463.grid-col-1-8{width: 12.5%;}
464.grid-col-3-8{width: 37.5%;}
465.grid-col-5-8{width: 62.5%;}
466.grid-col-7-8{width: 87.5%;}
467.grid-col-1-9{width: 11.11111%;}
468.grid-col-2-9{width: 22.22222%;}
469.grid-col-4-9{width: 44.44444%;}
470.grid-col-5-9{width: 55.55556%;}
471.grid-col-6-9{width: 66.66667%;}
472.grid-col-7-9{width: 77.77778%;}
473.grid-col-8-9{width: 88.88889%;}
474.grid-col-1-10{width: 10%;}
475.grid-col-3-10{width: 30%;}
476.grid-col-7-10{width: 70%;}
477.grid-col-9-10{width: 90%;}
478.grid-col-1-11{width: 9.09091%;}
479.grid-col-2-11{width: 18.18182%;}
480.grid-col-3-11{width: 27.27273%;}
481.grid-col-4-11{width: 36.36364%;}
482.grid-col-5-11{width: 45.45455%;}
483.grid-col-6-11{width: 54.54545%;}
484.grid-col-7-11{width: 63.63636%;}
485.grid-col-8-11{width: 72.72727%;}
486.grid-col-9-11{width: 81.81818%;}
487.grid-col-10-11{width: 90.90909%;}
488.grid-col-1-12{width: 8.33333%;}
489.grid-col-5-12{width: 41.66667%;}
490.grid-col-7-12{width: 58.33333%;}
491.grid-col-9-12{width: 75%;}
492.grid-col-11-12{width: 91.66667%;}
493.grid-row-r {
494 letter-spacing: -0.31em;
495 *letter-spacing: normal;
496 word-spacing: -0.43em;
497}
498
499.opera-only :-o-prefocus,
500.grid-row-r {word-spacing: -0.43em;}
501.grid-row-r img {max-width: 100%;}
502
503@media (min-width:980px) {
504 .grid-visible-phone { display: none; }
505 .grid-visible-tablet { display: none; }
506 .grid-visible-desktop { }
507 .grid-hidden-phone { }
508 .grid-hidden-tablet { }
509 .grid-hidden-desktop { display: none; }
510}
511
512@media (max-width:480px) {
513 .grid-row-r > [class ^= "grid-col"] {
514 width:100%;
515 }
516}
517
518@media (max-width:767px) {
519 .grid-row-r > [class ^= "grid-col"] {
520 width:100%;
521 }
522 .grid-visible-phone { }
523 .grid-hidden-phone { display: none; }
524 .grid-hidden-desktop { }
525 .grid-visible-desktop { display: none; }
526}
527
528@media (min-width:768px) and (max-width:979px) {
529 .grid-visible-tablet {}
530 .grid-hidden-tablet { display: none; }
531 .grid-hidden-desktop {}
532 .grid-visible-desktop { display: none; }
533}