themes MDL-21862 Implements base theme and standard theme.
[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;}
13
14.path-course-view .headingblock {margin-bottom: 9px;}
15.path-course-view .subscribelink {text-align:right;}
16.path-course-view .unread {margin-left: 3em;}
17.path-course-view .sideblock.drag .header {cursor: move;}
18.path-course-view .completionprogress {float:right;}
19.path-course-view .completionprogress img.iconhelp {vertical-align:top;}
20
21.path-course-view li.activity {margin-right:20px; position:relative;}
22.path-course-view li.activity span.autocompletion,
23.path-course-view li.activity form.togglecompletion {display:inline;position:absolute;right:-20px;top:0;z-index:10;padding:0.2em 0;}
24.path-course-view li.activity form.togglecompletion div {display:inline;}
25.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;}
26.dir-rtl.path-course-view li.activity {margin-right:0px;margin-left:20px;}
27.dir-rtl.path-course-view li.activity form.togglecompletion,
28.dir-rtl.path-course-view li.activity span.autocompletion {right:auto;left:-20px;}
29
30.section img.movetarget {height:16px;width:80px;}
31
32#page-course-enrol .generalbox,
33#page-course-enrol .coursebox {margin-top: 20px;}
34
35#page-course-user .content {margin-left: 30px;margin-right: 30px;}
36#page-course-user .section {margin-left: 30px;margin-right: 30px;margin-bottom: 20px;}
37#page-course-user .section h2 {margin-top: 0;}
38#page-course-user .info {margin:10px;}
39
40#page-course-pending .singlebutton,
41#page-course-category #renameform,
42#page-course-category #themeform,
43#page-course-category #coursesearch,
44#page-course-category .singlebutton,
45#page-course-editsection .singlebutton {text-align:center;}
46
47#coursesearch,
48#coursesearch2 {margin-top: 1em;text-align:center;}
49
50#page-course-info .generalbox.icons {text-align: center;}
51#page-course-info .generalbox.info {margin-left:auto;margin-right:auto;}
52
53#page-course-pending .pendingcourserequests {margin-bottom: 1em;}
54#page-course-pending .pendingcourserequests .singlebutton {display: inline;}
55#page-course-pending .pendingcourserequests .cell {padding: 0 5px;}
56#page-course-pending .pendingcourserequests .cell.c6 {white-space: nowrap;}
57
58#page-course-report-log-index .info,
59#page-course-report-log-indexlive .info {margin:10px;}
60#page-course-report-stats-index .graph {margin-bottom: 1em;}
61
62#page-course-report .logselectform,
63#page-course-report .participationselectform,
64#page-course-report-log-index .logselectform,
65#page-course-report-participation-index .participationselectform {margin:10px auto;}
66#page-course-report .participationselectform label,
67#page-course-report-participation-index .participationselectform label {margin-left:15px;margin-right:5px;}
68
69.coursebox {width: 100%;margin-bottom: 15px;}
70.coursebox .info {float: left;text-align:left;width: 48%;}
71.coursebox .summary {float: right;text-align:left;width: 48%;}
72.coursebox .summary .category {text-align:right;}
73.coursebox .teachers li {list-style-type:none;padding:0;margin:0;}
74
75.categorylist {width: 100%;}
76.categorylist .category.image {width: 20px;}
77.categorylist .category.number {text-align: right;}
78.categorylist .category.indentation {width: 1px;}
79
80.path-course-report-outline td.numviews {text-align:right;}
81.path-course-report-outline tr.section {text-align: center;}
82
83.course ul.section {margin:5px;padding:0;}
84
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#page-course-user .section {border-width:1px;border-style:solid;padding:10px;}
88.categoryboxcontent {border-width:1px;border-style:solid;}