2 *** General styles (scope: all of lesson)
5 .mod
-lesson
.contents
{
9 .mod
-lesson
#layout-table {
13 .mod
-lesson
.edit_buttons form
,
14 .mod
-lesson
.edit_buttons input
{
18 .mod
-lesson
.clock
.content
{
22 .mod
-lesson
.addlinks
{
26 .mod
-lesson
.userinfotable
.cell
,
27 .mod
-lesson
.userinfotable
.userpicture
{
28 vertical
-align
: middle
;
31 .mod
-lesson
.invisiblefieldset
.fieldsetfix
{
35 .mod
-lesson
.invisiblefieldset
.fieldsetfix tr
{
40 *** Style for view.php
43 #mod-lesson-view .password-form {
48 #mod-lesson-view .password-form .submitbutton {
53 *** Style for essay.php
56 #mod-lesson-essay .graded {
60 #mod-lesson-essay .sent {
64 #mod-lesson-essay .ungraded {
68 #mod-lesson-essay .gradetable {
72 #mod-lesson-essay .buttons {
77 *** Style for responses
80 /* .response style is applied for both .correct and .incorrect */
81 .mod
-lesson
.response
{
85 /* for correct responses (can override .response) */
86 .mod
-lesson
.correct
{
90 /* for incorrect responses (can override .response) */
91 .mod
-lesson
.incorrect
{
95 /* for highlighting matches in responses for short answer regular expression (can override .incorrect) */
96 .mod
-lesson
.matches
{
104 /* NOTE: background color, height and width are set in the lesson settings */
105 .mod
-lesson
.slideshow
{
107 padding
-right
: 16px
; /* for the benefit of macIE5 only */
108 /* \ commented backslash hack - recover from macIE5 workarounds, it will ignore the following rule */
116 .mod
-lesson
.menu
.content
{
120 .mod
-lesson
.menu
.menuwrapper
{
127 .mod
-lesson
.menu ul
{
129 padding
: 5px
0px
0px
5px
;
133 .mod
-lesson
.menu li
{
137 .mod
-lesson
.leftmenu_selected_link
{
140 .mod
-lesson
.leftmenu_not_selected_link
{
154 .mod
-lesson
.lessonbutton a
{
159 .mod
-lesson
.lessonbutton a
:link
,
160 .mod
-lesson
.lessonbutton a
:visited
,
161 .mod
-lesson
.lessonbutton a
:hover
{
163 text
-decoration
: none
;
166 .mod
-lesson
.lessonbutton a
:link
,
167 .mod
-lesson
.lessonbutton a
:visited
{
168 border
-top
: 1px solid
#cecece;
169 border
-bottom
: 2px solid
#4a4a4a;
170 border
-left
: 1px solid
#cecece;
171 border
-right
: 2px solid
#4a4a4a;
174 .mod
-lesson
.lessonbutton a
:hover
{
175 border
-bottom
: 1px solid
#cecece;
176 border
-top
: 2px solid
#4a4a4a;
177 border
-right
: 1px solid
#cecece;
178 border
-left
: 2px solid
#4a4a4a;
181 /* Branch table buttons when displayed horizontally */
182 .mod
-lesson
.branchbuttoncontainer
.horizontal div
,
183 .mod
-lesson
.branchbuttoncontainer
.horizontal form
{
187 /* Branch table buttons when displayed vertically */
188 .mod
-lesson
.branchbuttoncontainer
.vertical
.lessonbutton
{
193 *** Lesson Progress Bar
194 *** Default styles for this are very basic right now.
195 *** User is supposed to configure this to their liking (like using pictures)
198 .mod
-lesson
.progress_bar
{
202 .mod
-lesson
.progress_bar_table
{
208 .mod
-lesson
.progress_bar_completed
{
209 /* Example Use of Image
210 background-image: url(<?php echo $CFG->wwwroot ?>/mod/lesson/completed.gif);
211 background-position: center;
212 background-repeat: repeat-x;
214 background
-color
: green
;
219 .mod
-lesson
.progress_bar_todo
{
220 /* Example Use of Image
221 background-image: url(<?php echo $CFG->wwwroot ?>/mod/lesson/todo.gif);
222 background-repeat: repeat-x;
223 background-position: center;
225 background
-color
: red
;
231 .mod
-lesson
.progress_bar_token
{
232 /* Example Use of Image
233 background-image: url(<?php echo $CFG->wwwroot ?>/mod/lesson/token.gif);
234 background-repeat: repeat-none;
236 background
-color
: #000000;