--- /dev/null
+THEME UPGRADES
+--------------
+
+This file lists the major changes to the theme files between Moodle versions.
+
+================================
+Changes to 1.0.9 since 1.0.8.1
+--------------------------------
+
+ALL pix files can now be changed from within a theme,
+see cordoroyblue for an example: config.php and the
+pix subdirectory.
+
+config.php contains two new entries:
+
+ $THEME->custompix
+ $THEME->hidden
+
+
+Styles for the hide/show features (activities):
+
+a.dimmed:link
+a.dimmed:visited
+a.dimmed:hover
+.dimmed_text
+
+
+Styles used when listing discussions in a forum:
+
+.forumpostheaderpicture
+.forumpostheadername
+.forumpostheaderreplies
+.forumpostheaderdate
+
+
+Style for the "you are logged in as" string top and bottom:
+
+.logininfo
+
+
+Style for the link to "home":
+
+.homelink
+
+
+Style for teacher only stuff (used to be hard-coded red):
+
+.teacheronly
+
+
+Styles to show hidden topics on the course page
+
+.topicsoutlinesidehidden
+.topicsoutlinecontenthidden
+
+
+
.topicsoutlinecontenthighlight {\r
}\r
\r
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
\r
.siteinfo {\r
border-width: 1px;\r
border-color: <?PHP echo $THEME->borders?>;\r
border-style: solid;\r
}\r
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
\r
\r
.forumpost {\r
.topicsoutlinecontenthighlight {\r
}\r
\r
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
\r
.siteinfo {\r
border-width: 1px;\r
.topicsoutlinecontenthighlight {
}
+.topicsoutlinesidehidden {
+ background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.topicsoutlinecontenthidden {
+}
.siteinfo {
border-width: 1px;
$THEME->cellcontent2 = "#FEE6B9"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
+$THEME->hidden = "#AAAAAA"; // To color things that are hidden
$THEME->custompix = false; // If true, then this theme must have a "pix"
// subdirectory that contains copies of all
\r
a.dimmed:link {\r
text-decoration: none; \r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:visited {\r
text-decoration: none;\r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:hover {\r
.teacheronly {\r
color: #990000;\r
}\r
+
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
$THEME->cellcontent2 = "#B3EAFF"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
+$THEME->hidden = "#AAAAAA"; // To color things that are hidden
$THEME->custompix = false; // If true, then this theme must have a "pix"
// subdirectory that contains copies of all
\r
a.dimmed:link {\r
text-decoration: none; \r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:visited {\r
text-decoration: none;\r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:hover {\r
.teacheronly {\r
color: #990000;\r
}\r
+
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
$THEME->cellcontent2 = "#AFE9BB"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
+$THEME->hidden = "#AAAAAA"; // To color things that are hidden
$THEME->custompix = false; // If true, then this theme must have a "pix"
// subdirectory that contains copies of all
\r
a.dimmed:link {\r
text-decoration: none; \r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:visited {\r
text-decoration: none;\r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:hover {\r
.teacheronly {\r
color: #990000;\r
}\r
+
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
$THEME->cellcontent2 = "#FFD991"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
+$THEME->hidden = "#AAAAAA"; // To color things that are hidden
$THEME->custompix = false; // If true, then this theme must have a "pix"
// subdirectory that contains copies of all
\r
a.dimmed:link {\r
text-decoration: none; \r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:visited {\r
text-decoration: none;\r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:hover {\r
.teacheronly {\r
color: #990000;\r
}\r
+
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
$THEME->cellcontent2 = "#ECD9D9"; // Alternate colour
$THEME->borders = "#552021"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
+$THEME->hidden = "#AAAAAA"; // To color things that are hidden
$THEME->custompix = false; // If true, then this theme must have a "pix"
// subdirectory that contains copies of all
\r
a.dimmed:link {\r
text-decoration: none; \r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:visited {\r
text-decoration: none;\r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:hover {\r
.dimmed_text {
color: #AAAAAA;
}
-dimmed_text {
- color: #AAAAAA;
-}
\r
.forumpostheader {\r
}\r
.teacheronly {\r
color: #990000;\r
}\r
+
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
$THEME->cellcontent2 = "#EFEFEF"; // Alternate colour
$THEME->borders = "#555555"; // Table borders
$THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search)
+$THEME->hidden = "#AAAAAA"; // To color things that are hidden
$THEME->custompix = false; // If true, then this theme must have a "pix"
// subdirectory that contains copies of all
\r
a.dimmed:link {\r
text-decoration: none; \r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:visited {\r
text-decoration: none;\r
- color: #AAAAAA;\r
+ color: <?PHP echo $THEME->hidden?>;\r
}\r
\r
a.dimmed:hover {\r
.teacheronly {\r
color: #990000;\r
}\r
+
+.topicsoutlinesidehidden {\r
+ background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r