2005-10-24 23:06:43 +00:00
|
|
|
/***
|
2006-09-10 22:47:57 +00:00
|
|
|
*** General styles (scope: all of lesson)
|
2005-10-24 23:06:43 +00:00
|
|
|
***/
|
|
|
|
|
|
|
|
.mod-lesson .contents {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2006-09-10 22:47:57 +00:00
|
|
|
.mod-lesson .addlinks {
|
|
|
|
font-size: .8em;
|
|
|
|
}
|
|
|
|
|
2006-09-13 03:42:16 +00:00
|
|
|
.mod-lesson .userinfotable .cell,
|
|
|
|
.mod-lesson .userinfotable .userpicture {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2006-09-09 21:39:11 +00:00
|
|
|
/***
|
|
|
|
*** Style for view.php
|
|
|
|
***/
|
|
|
|
|
|
|
|
#mod-lesson-view .password-form {
|
|
|
|
text-align: center;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mod-lesson-view .password-form .submitbutton {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2006-09-08 23:17:18 +00:00
|
|
|
/***
|
|
|
|
*** Style for essay.php
|
|
|
|
***/
|
|
|
|
|
|
|
|
#mod-lesson-essay .graded {
|
|
|
|
color:#DF041E;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mod-lesson-essay .sent {
|
|
|
|
color:#006600;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mod-lesson-essay .ungraded {
|
|
|
|
color:#999999;
|
|
|
|
}
|
|
|
|
|
2006-09-09 01:58:48 +00:00
|
|
|
#mod-lesson-essay .gradetable {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mod-lesson-essay .buttons {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2006-02-23 00:41:28 +00:00
|
|
|
/***
|
|
|
|
*** Style for responses
|
|
|
|
***/
|
|
|
|
|
|
|
|
/* .response style is applied for both .correct and .incorrect */
|
|
|
|
.mod-lesson .response {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* for correct responses (can override .response) */
|
|
|
|
.mod-lesson .correct {
|
2006-02-24 20:17:41 +00:00
|
|
|
/*color: green;*/
|
2006-02-23 00:41:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* for incorrect responses (can override .response) */
|
|
|
|
.mod-lesson .incorrect {
|
2006-02-24 20:17:41 +00:00
|
|
|
/*color: red;*/
|
2006-02-23 00:41:28 +00:00
|
|
|
}
|
|
|
|
|
2006-02-24 21:31:23 +00:00
|
|
|
/* for highlighting matches in responses for short answer regular expression (can override .incorrect) */
|
|
|
|
.mod-lesson .matches {
|
|
|
|
/*color: red;*/
|
|
|
|
}
|
|
|
|
|
2005-10-24 23:06:43 +00:00
|
|
|
/***
|
|
|
|
*** Slide show Style
|
|
|
|
***/
|
|
|
|
|
|
|
|
/* NOTE: background color, height and width are set in the lesson settings */
|
|
|
|
.mod-lesson .slideshow {
|
|
|
|
overflow: auto;
|
|
|
|
padding-right: 16px; /* for the benefit of macIE5 only */
|
|
|
|
/* \ commented backslash hack - recover from macIE5 workarounds, it will ignore the following rule */
|
|
|
|
padding-right: 0;
|
|
|
|
padding: 15px;
|
|
|
|
}
|
|
|
|
|
2005-09-28 21:55:05 +00:00
|
|
|
/***
|
|
|
|
*** Left Menu Styles
|
|
|
|
***/
|
2004-09-15 20:32:24 +00:00
|
|
|
|
2005-10-05 22:45:38 +00:00
|
|
|
.mod-lesson .leftmenu_container {
|
2005-03-30 03:16:37 +00:00
|
|
|
width:170px;
|
|
|
|
height:400px;
|
2005-10-05 22:45:38 +00:00
|
|
|
overflow:auto;
|
2005-03-30 03:16:37 +00:00
|
|
|
vertical-align:top;
|
2005-10-05 22:45:38 +00:00
|
|
|
padding-bottom: 15px; /* for the sake of MacIE5 only */
|
|
|
|
}
|
|
|
|
.mod-lesson .leftmenu_title {
|
|
|
|
}
|
|
|
|
.mod-lesson .leftmenu_courselink {
|
|
|
|
font-size:.9em;
|
|
|
|
}
|
|
|
|
.mod-lesson .leftmenu_links {
|
|
|
|
font-size:.85em;
|
2006-04-08 15:53:28 +00:00
|
|
|
font-style: normal;
|
2005-10-05 22:45:38 +00:00
|
|
|
}
|
|
|
|
.mod-lesson .leftmenu_links ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-left: 10px;
|
2005-02-23 00:52:29 +00:00
|
|
|
}
|
|
|
|
|
2005-10-05 22:45:38 +00:00
|
|
|
.mod-lesson .leftmenu_selected_link {
|
2004-09-15 20:32:24 +00:00
|
|
|
}
|
|
|
|
|
2005-10-05 22:45:38 +00:00
|
|
|
.mod-lesson .leftmenu_not_selected_link {
|
2004-09-15 20:32:24 +00:00
|
|
|
}
|
|
|
|
|
2005-11-16 22:35:46 +00:00
|
|
|
.mod-lesson .skip {
|
|
|
|
position: absolute;
|
|
|
|
left: -1000em;
|
|
|
|
width: 20em;
|
|
|
|
}
|
|
|
|
|
2005-09-28 21:55:05 +00:00
|
|
|
|
|
|
|
/***
|
|
|
|
*** Lesson Buttons
|
|
|
|
***/
|
|
|
|
|
|
|
|
.mod-lesson .lessonbutton a {
|
|
|
|
padding-left:1em;
|
|
|
|
padding-right:1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-lesson .lessonbutton a:link,
|
|
|
|
.mod-lesson .lessonbutton a:visited,
|
|
|
|
.mod-lesson .lessonbutton a:hover {
|
|
|
|
color: #000;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-lesson .lessonbutton a:link,
|
|
|
|
.mod-lesson .lessonbutton a:visited {
|
|
|
|
border-top: 1px solid #cecece;
|
|
|
|
border-bottom: 2px solid #4a4a4a;
|
|
|
|
border-left: 1px solid #cecece;
|
|
|
|
border-right: 2px solid #4a4a4a;
|
2004-09-15 20:32:24 +00:00
|
|
|
}
|
2005-09-21 21:00:36 +00:00
|
|
|
|
2005-09-28 21:55:05 +00:00
|
|
|
.mod-lesson .lessonbutton a:hover {
|
|
|
|
border-bottom: 1px solid #cecece;
|
|
|
|
border-top: 2px solid #4a4a4a;
|
|
|
|
border-right: 1px solid #cecece;
|
|
|
|
border-left: 2px solid #4a4a4a;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/***
|
|
|
|
*** Use these to override lessonbutton class
|
|
|
|
*** Or just comment out all of lessonbutton class definitions and start from scratch below
|
|
|
|
***/
|
|
|
|
|
2006-09-23 18:45:59 +00:00
|
|
|
/* for previous branch buttons only */
|
2005-09-21 21:00:36 +00:00
|
|
|
.mod-lesson .previousbutton {
|
|
|
|
}
|
|
|
|
|
2006-09-23 18:45:59 +00:00
|
|
|
/* for next branch buttons only */
|
2005-09-21 21:00:36 +00:00
|
|
|
.mod-lesson .nextbutton {
|
2005-09-28 21:55:05 +00:00
|
|
|
}
|
|
|
|
|
2006-09-23 18:45:59 +00:00
|
|
|
/* All other branch buttons */
|
2005-09-28 21:55:05 +00:00
|
|
|
.mod-lesson .standardbutton {
|
|
|
|
}
|
|
|
|
|
2006-09-23 18:45:59 +00:00
|
|
|
/* Next classes are for branch table buttons when displayed horizontally */
|
|
|
|
.mod-lesson .prevhorizontal,
|
|
|
|
.mod-lesson .prevhorizontal .lessonbutton,
|
|
|
|
.mod-lesson .nexthorizontal,
|
|
|
|
.mod-lesson .nexthorizontal .lessonbutton,
|
|
|
|
.mod-lesson .standardhorizontal,
|
|
|
|
.mod-lesson .standardhorizontal .lessonbutton {
|
|
|
|
display: inline;
|
2006-03-19 01:53:50 +00:00
|
|
|
}
|
|
|
|
|
2006-09-23 18:45:59 +00:00
|
|
|
/* Next classes are for branch table buttons when displayed vertically */
|
|
|
|
.mod-lesson .prevvertical .lessonbutton,
|
|
|
|
.mod-lesson .nextvertical .lessonbutton,
|
|
|
|
.mod-lesson .standardvertical .lessonbutton {
|
|
|
|
padding: 5px;
|
2006-03-19 01:53:50 +00:00
|
|
|
}
|
|
|
|
|
2005-09-28 21:55:05 +00:00
|
|
|
/* branchbuttoncontainer wraps around branch table buttons */
|
|
|
|
.mod-lesson .branchbuttoncontainer {
|
|
|
|
text-align: center;
|
2006-09-23 18:45:59 +00:00
|
|
|
padding: 13px 3px 3px 3px;
|
2005-10-24 23:06:43 +00:00
|
|
|
}
|
|
|
|
|
2006-09-23 18:45:59 +00:00
|
|
|
.mod-lesson .branchbuttoncontainer form {
|
|
|
|
display: inline;
|
2005-10-24 23:06:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/***
|
|
|
|
*** Lesson Progress Bar
|
|
|
|
*** Default styles for this are very basic right now.
|
|
|
|
*** User is supposed to configure this to their liking (like using pictures)
|
|
|
|
***/
|
|
|
|
|
|
|
|
.mod-lesson .progress_bar {
|
|
|
|
padding: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-lesson .progress_bar_table {
|
|
|
|
width: 80%;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-lesson .progress_bar_completed {
|
|
|
|
/* Example Use of Image
|
|
|
|
background-image: url(<?php echo $CFG->wwwroot ?>/mod/lesson/completed.gif);
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
*/
|
|
|
|
background-color: green;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-lesson .progress_bar_todo {
|
|
|
|
/* Example Use of Image
|
|
|
|
background-image: url(<?php echo $CFG->wwwroot ?>/mod/lesson/todo.gif);
|
|
|
|
background-repeat: repeat-x;
|
|
|
|
background-position: center;
|
|
|
|
*/
|
|
|
|
background-color: red;
|
|
|
|
text-align: left;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mod-lesson .progress_bar_token {
|
|
|
|
/* Example Use of Image
|
|
|
|
background-image: url(<?php echo $CFG->wwwroot ?>/mod/lesson/token.gif);
|
|
|
|
background-repeat: repeat-none;
|
|
|
|
*/
|
|
|
|
background-color: #000000;
|
|
|
|
height: 20px;
|
|
|
|
width: 5px;
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
2006-04-08 15:53:28 +00:00
|
|
|
}
|