weekly version bump
[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;}
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;}
10
11#page-site-index .subscribelink {text-align:right;}
12#page-site-index .headingblock {margin-bottom: 9px;}
b9a048f8 13#page-site-index .clearfloat {float: none;clear: both; height:0px;}
90723839
SH
14
15.path-course-view .headingblock {margin-bottom: 9px;}
16.path-course-view .subscribelink {text-align:right;}
17.path-course-view .unread {margin-left: 3em;}
6605ff8c 18.path-course-view .block.drag .header {cursor: move;}
90723839
SH
19.path-course-view .completionprogress {float:right;}
20.path-course-view .completionprogress img.iconhelp {vertical-align:top;}
21
22.path-course-view li.activity {margin-right:20px; position:relative;}
23.path-course-view li.activity span.autocompletion,
24.path-course-view li.activity form.togglecompletion {display:inline;position:absolute;right:-20px;top:0;z-index:10;padding:0.2em 0;}
25.path-course-view li.activity form.togglecompletion div {display:inline;}
26.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;}
27.dir-rtl.path-course-view li.activity {margin-right:0px;margin-left:20px;}
28.dir-rtl.path-course-view li.activity form.togglecompletion,
29.dir-rtl.path-course-view li.activity span.autocompletion {right:auto;left:-20px;}
30
31.section img.movetarget {height:16px;width:80px;}
32
33#page-course-enrol .generalbox,
34#page-course-enrol .coursebox {margin-top: 20px;}
35
90723839 36#page-course-user .section {margin-left: 30px;margin-right: 30px;margin-bottom: 20px;}
dc7b017a 37#page-course-user .section .content {margin-left: 30px;margin-right: 30px;}
90723839
SH
38#page-course-user .section h2 {margin-top: 0;}
39#page-course-user .info {margin:10px;}
40
41#page-course-pending .singlebutton,
42#page-course-category #renameform,
43#page-course-category #themeform,
44#page-course-category #coursesearch,
45#page-course-category .singlebutton,
46#page-course-editsection .singlebutton {text-align:center;}
47
48#coursesearch,
49#coursesearch2 {margin-top: 1em;text-align:center;}
50
51#page-course-info .generalbox.icons {text-align: center;}
52#page-course-info .generalbox.info {margin-left:auto;margin-right:auto;}
53
54#page-course-pending .pendingcourserequests {margin-bottom: 1em;}
55#page-course-pending .pendingcourserequests .singlebutton {display: inline;}
56#page-course-pending .pendingcourserequests .cell {padding: 0 5px;}
57#page-course-pending .pendingcourserequests .cell.c6 {white-space: nowrap;}
58
59#page-course-report-log-index .info,
60#page-course-report-log-indexlive .info {margin:10px;}
61#page-course-report-stats-index .graph {margin-bottom: 1em;}
62
63#page-course-report .logselectform,
64#page-course-report .participationselectform,
65#page-course-report-log-index .logselectform,
66#page-course-report-participation-index .participationselectform {margin:10px auto;}
67#page-course-report .participationselectform label,
68#page-course-report-participation-index .participationselectform label {margin-left:15px;margin-right:5px;}
69
70.coursebox {width: 100%;margin-bottom: 15px;}
ab3169cf
PM
71.coursebox .info {float: left;text-align:left;width: 40%;}
72.coursebox .summary {float: right;text-align:left;width: 55%;}
90723839
SH
73.coursebox .summary .category {text-align:right;}
74.coursebox .teachers li {list-style-type:none;padding:0;margin:0;}
75
76.categorylist {width: 100%;}
cb184beb
RW
77.categorylist .category .numberofcourse {font-style: italic; font-size: 0.85em; font-style: normal;}
78.categorylist .category {padding-top: 5px; padding-bottom: 5px; }
2afcfc44
RW
79.categorylist .category .info,
80.categorylist .category .indentation,
81.categorylist .category .name,
82.categorylist .category .image,
83.categorylist .course .name,
84.categorylist .course .info {float:left;text-align: left;}
85.categorylist .course {padding-left:18px;}
86
ea831ceb
RW
87.categorylist .indentation {padding-left: 20px;}
88#page-course-index .category .image {padding-right: 2px;}
90723839
SH
89
90.path-course-report-outline td.numviews {text-align:right;}
91.path-course-report-outline tr.section {text-align: center;}
92
93.course ul.section {margin:5px;padding:0;}
94
95.weeks-format, /* Window-width: 800 pixels.IE doesn't support, see inline IE conditional comment. */
96.topics-format {margin-top: 8px;min-width: 763px;}
97#page-course-user .section {border-width:1px;border-style:solid;padding:10px;}
24e27ac0
SH
98.categoryboxcontent {border-width:1px;border-style:solid;}
99
100/* Course and category combo list on front page */
101.course_category_tree .controls {visibility: hidden;}
102.course_category_tree .controls div {display:inline;cursor:pointer;}
3ebc548f 103.course_category_tree .category.with_children>.category_label {background-image:url([[pix:moodle|t/expanded]]);background-repeat: no-repeat;}
24e27ac0 104.course_category_tree .category_label {padding-left:13px;}
3ebc548f
SH
105.course_category_tree .category .category {margin:5px;}
106.course_category_tree .category .courses {padding-left:16px;}
24e27ac0
SH
107.course_category_tree .category .courses .course_link {display:block;background-image:url([[pix:moodle|i/course]]);background-repeat: no-repeat;padding-left:18px;}
108.course_category_tree .category .course {position:relative;}
109.course_category_tree .category .course_info {position:absolute;right:0;top:0;}
110.course_category_tree .category .course_info a,
111.course_category_tree .category .course_info div {float:left;width:16px;height:16px;}
112.jsenabled .course_category_tree .controls {visibility: visible;}
113.jsenabled .course_category_tree .category.with_children.collapsed .category_label {background-image:url([[pix:moodle|t/collapsed]]);}
114.jsenabled .course_category_tree .category.with_children.collapsed .subcategories,
43c90b9b
RW
115.jsenabled .course_category_tree .category.with_children.collapsed .courses {display:none;}
116
cb184beb
RW
117.path-course .clearfloat {float:none; clear:both;height:0px;}
118
119/**
120* Overide for RTL layout
121*/
43c90b9b
RW
122.dir-rtl .coursebox .info {float: right; text-align: right;}
123.dir-rtl .coursebox .summary {text-align:right;}
124.dir-rtl .course_category_tree .category.with_children> .category_label {background-position: center right; padding-right: 18px;}
125.dir-rtl .course_category_tree .category_label, .dir-rtl .course_category_tree .category .course {padding-right:18px;}
21cbbf3f
RW
126.dir-rtl.jsenabled .course_category_tree .category.with_children.collapsed .category_label {background-image:url([[pix:moodle|t/collapsed_rtl]]);}
127.dir-rtl .course_category_tree .category .courses .course_link {background-position:center right; padding-right:18px;}
cb184beb 128.dir-rtl .clearfloat {float:none; clear:both;height:0px;}
2afcfc44
RW
129.dir-rtl .categorylist .category .info,
130.dir-rtl .categorylist .category .indentation,
131.dir-rtl .categorylist .category .name,
132.dir-rtl .categorylist .category .image,
133.dir-rtl .categorylist .course .name,
134.dir-rtl .categorylist .course .indentation,
135.dir-rtl .categorylist .course .info {float:right;text-align: right;}
136.dir-rtl .categorylist .course {padding-right:18px;}
137
138#page-course-index.dir-rtl .category .image {padding-left: 5px; padding-right: 0px;}
139#page-course-index.dir-rtl .indentation {padding-left: 0px;padding-right: 30px;}