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