Merge branch 'w20_MDL-25197_m23_innodb' of git://github.com/skodak/moodle
[moodle.git] / theme / base / style / course.css
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;}
9 .course-content .section .activity img.activityicon {vertical-align:middle;height:16px;width:16px;}
10 .course-content .section .activity .commands img.iconsmall {vertical-align: baseline;}
11 .course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; list-style: none; }
12 .course-content .section-summary .section-title  { margin: 2px 5px 2px 5px; }
13 .course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; }
14 .course-content .section-navigation { display: block; padding: 10px; }
15 .course-content .section-navigation .right { float: right; }
17 #page-site-index .subscribelink {text-align:right;}
18 #page-site-index .headingblock {margin-bottom: 9px;}
19 #page-site-index .clearfloat {float: none;clear: both; height:0px;}
21 .path-course-view a.reduce-sections {padding-left: 0.2em;}
22 .path-course-view .headingblock {margin-bottom: 9px;}
23 .path-course-view .subscribelink {text-align:right;}
24 .path-course-view .unread {margin-left: 3em;}
25 .path-course-view .block.drag .header {cursor: move;}
26 .path-course-view .completionprogress {float:right;}
27 .path-course-view .completionprogress img.iconhelp {vertical-align:top;}
28 .path-course-view .section .summary {line-height:normal;}
30 .path-course-view li.activity {margin-right:20px; position:relative;}
31 .path-course-view li.activity span.autocompletion,
32 .path-course-view li.activity form.togglecompletion {display:inline;position:absolute;right:-20px;top:0;padding:0.2em 0;}
33 .path-course-view li.activity form.togglecompletion div {display:inline;}
34 .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;}
35 .dir-rtl.path-course-view li.activity {margin-right:0px;margin-left:20px;}
36 .dir-rtl.path-course-view li.activity form.togglecompletion,
37 .dir-rtl.path-course-view li.activity span.autocompletion {right:auto;left:-20px;}
39 .section img.movetarget {height:16px;width:80px;}
41 #page-course-enrol .generalbox,
42 #page-course-enrol .coursebox {margin-top: 20px;}
44 #page-course-pending .singlebutton,
45 #page-course-category #renameform,
46 #page-course-category #themeform,
47 #page-course-category #coursesearch,
48 #page-course-category .singlebutton,
49 #page-course-editsection .singlebutton {text-align:center;}
51 #coursesearch,
52 #coursesearch2 {margin-top: 1em;text-align:center;}
54 #page-course-info .generalbox.icons {text-align: center;}
55 #page-course-info .generalbox.info {margin-left:auto;margin-right:auto;}
57 #page-course-pending .pendingcourserequests {margin-bottom: 1em;}
58 #page-course-pending .pendingcourserequests .singlebutton {display: inline;}
59 #page-course-pending .pendingcourserequests .cell {padding: 0 5px;}
60 #page-course-pending .pendingcourserequests .cell.c6 {white-space: nowrap;}
63 .coursebox {width: 100%;margin-bottom: 15px;}
64 .coursebox .info {float: left;text-align:left;width: 40%;}
65 .coursebox .summary {float: right;text-align:left;width: 55%;}
66 .coursebox .summary .category {text-align:right;}
67 .coursebox .teachers li {list-style-type:none;padding:0;margin:0;}
69 .categorylist {width: 100%;}
70 .categorylist .category .numberofcourse {font-style: italic; font-size: 0.85em; font-style: normal;}
71 .categorylist .category {padding-top: 5px; padding-bottom: 5px; }
72 .categorylist .category .info,
73 .categorylist .category .indentation,
74 .categorylist .category .name,
75 .categorylist .category .image,
76 .categorylist .course .name,
77 .categorylist .course .info {float:left;text-align: left;}
78 .categorylist .course {padding-left:18px;}
80 .categorylist .indentation {padding-left: 20px;}
81 #page-course-index .category .image {padding-right: 2px;}
83 .course ul.section {margin:5px;padding:0;}
85 .weeks-format, /* Window-width: 800 pixels.IE doesn't support, see inline IE conditional comment. */
86 .topics-format {margin-top: 8px;min-width: 763px;}
87 .categoryboxcontent {border-width:1px;border-style:solid;}
89 /* Course and category combo list on front page */
90 .course_category_tree .controls {visibility: hidden;}
91 .course_category_tree .controls div {display:inline;cursor:pointer;}
92 .course_category_tree .category.with_children>.category_label {background-image:url([[pix:moodle|t/expanded]]);background-repeat: no-repeat;}
93 .course_category_tree .category_label {padding-left:13px;}
94 .course_category_tree .category .category {margin:5px;}
95 .course_category_tree .category .courses {padding-left:16px;}
96 .course_category_tree .category .courses .course_link {display:block;background-image:url([[pix:moodle|i/course]]);background-repeat: no-repeat;padding-left:18px;}
97 .course_category_tree .category .course {position:relative;}
98 .course_category_tree .category .course_info {position:absolute;right:0;top:0;}
99 .course_category_tree .category .course_info a,
100 .course_category_tree .category .course_info div {float:left;width:16px;height:16px;}
101 .jsenabled .course_category_tree .controls {visibility: visible;}
102 .jsenabled .course_category_tree .category.with_children.collapsed .category_label {background-image:url([[pix:moodle|t/collapsed]]);}
103 .jsenabled .course_category_tree .category.with_children.collapsed .subcategories,
104 .jsenabled .course_category_tree .category.with_children.collapsed .courses {display:none;}
106 .path-course .clearfloat {float:none; clear:both;height:0px;}
109 /*all courses view*/
110 #page-course-index .categorylist .course.clearfloat { height: auto; }
112 /**
113 * Overide for RTL layout
114 */
115 .dir-rtl .coursebox .info {float: right; text-align: right;}
116 .dir-rtl .coursebox .summary {text-align:right;}
117 .dir-rtl .course_category_tree .category.with_children> .category_label {background-position: center right; padding-right: 18px;}
118 .dir-rtl .course_category_tree .category_label, .dir-rtl .course_category_tree .category .course {padding-right:18px;}
119 .dir-rtl.jsenabled .course_category_tree .category.with_children.collapsed .category_label {background-image:url([[pix:moodle|t/collapsed_rtl]]);}
120 .dir-rtl .course_category_tree .category .courses .course_link {background-position:center right; padding-right:18px;}
121 .dir-rtl .clearfloat {float:none; clear:both;height:0px;}
122 .dir-rtl .categorylist .category .info,
123 .dir-rtl .categorylist .category .indentation,
124 .dir-rtl .categorylist .category .name,
125 .dir-rtl .categorylist .category .image,
126 .dir-rtl .categorylist .course .name,
127 .dir-rtl .categorylist .course .indentation,
128 .dir-rtl .categorylist .course .info {float:right;text-align: right;}
129 .dir-rtl .categorylist .course {padding-right:18px;}
131 #page-course-index.dir-rtl .category .image {padding-left: 5px; padding-right: 0px;}
132 #page-course-index.dir-rtl .indentation {padding-left: 0px;padding-right: 30px;}
134 table.category_subcategories {margin-bottom:1em;}
135 table.category_subcategories td {white-space: nowrap;}