From: moodler Date: Sun, 4 May 2003 07:58:15 +0000 (+0000) Subject: Added new style for hidden topics as well as some docs about X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=81ed36179255f27d195d7d53fce66c70dce58ee8;p=moodle.git Added new style for hidden topics as well as some docs about all the changes in this version --- diff --git a/theme/UPGRADE.txt b/theme/UPGRADE.txt new file mode 100644 index 0000000000..ff639c08e7 --- /dev/null +++ b/theme/UPGRADE.txt @@ -0,0 +1,57 @@ +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 + + + diff --git a/theme/brightretro/styles.php b/theme/brightretro/styles.php index 57955a8d95..e12c0a53a1 100644 --- a/theme/brightretro/styles.php +++ b/theme/brightretro/styles.php @@ -161,6 +161,12 @@ form { .topicsoutlinecontenthighlight { } +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} .siteinfo { border-width: 1px; diff --git a/theme/cordoroyblue/styles.php b/theme/cordoroyblue/styles.php index 5dee6f64b8..22d1084341 100644 --- a/theme/cordoroyblue/styles.php +++ b/theme/cordoroyblue/styles.php @@ -205,6 +205,12 @@ form { border-color: borders?>; border-style: solid; } +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} .forumpost { diff --git a/theme/garden/styles.php b/theme/garden/styles.php index e74a25572d..0cdd4bbaa9 100755 --- a/theme/garden/styles.php +++ b/theme/garden/styles.php @@ -175,6 +175,12 @@ form { .topicsoutlinecontenthighlight { } +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} .siteinfo { border-width: 1px; diff --git a/theme/oceanblue/styles.php b/theme/oceanblue/styles.php index 0563d7ad1c..3d99be9710 100644 --- a/theme/oceanblue/styles.php +++ b/theme/oceanblue/styles.php @@ -285,6 +285,12 @@ form { margin-bottom: 0; } .topicsoutlinecontenthighlight { } +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} .siteinfo { border-width: 1px; diff --git a/theme/standard/config.php b/theme/standard/config.php index c112947185..83572136bf 100644 --- a/theme/standard/config.php +++ b/theme/standard/config.php @@ -7,6 +7,7 @@ $THEME->cellcontent = "#FFFFFF"; // For areas with text $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 diff --git a/theme/standard/styles.php b/theme/standard/styles.php index 57955a8d95..106d9dbbf3 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -187,12 +187,12 @@ form { a.dimmed:link { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:visited { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:hover { @@ -232,3 +232,10 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} diff --git a/theme/standardblue/config.php b/theme/standardblue/config.php index 7aaba0f473..7e18f5e57d 100644 --- a/theme/standardblue/config.php +++ b/theme/standardblue/config.php @@ -7,6 +7,7 @@ $THEME->cellcontent = "#FFFFFF"; // For areas with text $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 diff --git a/theme/standardblue/styles.php b/theme/standardblue/styles.php index 57955a8d95..106d9dbbf3 100644 --- a/theme/standardblue/styles.php +++ b/theme/standardblue/styles.php @@ -187,12 +187,12 @@ form { a.dimmed:link { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:visited { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:hover { @@ -232,3 +232,10 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} diff --git a/theme/standardgreen/config.php b/theme/standardgreen/config.php index 37221ac168..d4a59c9484 100644 --- a/theme/standardgreen/config.php +++ b/theme/standardgreen/config.php @@ -7,6 +7,7 @@ $THEME->cellcontent = "#FFFFFF"; // For areas with text $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 diff --git a/theme/standardgreen/styles.php b/theme/standardgreen/styles.php index 57955a8d95..106d9dbbf3 100644 --- a/theme/standardgreen/styles.php +++ b/theme/standardgreen/styles.php @@ -187,12 +187,12 @@ form { a.dimmed:link { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:visited { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:hover { @@ -232,3 +232,10 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} diff --git a/theme/standardlogo/config.php b/theme/standardlogo/config.php index 282f1e6f29..7952c3de83 100644 --- a/theme/standardlogo/config.php +++ b/theme/standardlogo/config.php @@ -7,6 +7,7 @@ $THEME->cellcontent = "#FFFFFF"; // For areas with text $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 diff --git a/theme/standardlogo/styles.php b/theme/standardlogo/styles.php index 57955a8d95..106d9dbbf3 100644 --- a/theme/standardlogo/styles.php +++ b/theme/standardlogo/styles.php @@ -187,12 +187,12 @@ form { a.dimmed:link { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:visited { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:hover { @@ -232,3 +232,10 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} diff --git a/theme/standardred/config.php b/theme/standardred/config.php index 4b60f766ae..8232856afa 100644 --- a/theme/standardred/config.php +++ b/theme/standardred/config.php @@ -7,6 +7,7 @@ $THEME->cellcontent = "#FFFFFF"; // For areas with text $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 diff --git a/theme/standardred/styles.php b/theme/standardred/styles.php index 4410debd34..106d9dbbf3 100644 --- a/theme/standardred/styles.php +++ b/theme/standardred/styles.php @@ -187,12 +187,12 @@ form { a.dimmed:link { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:visited { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:hover { @@ -202,9 +202,6 @@ a.dimmed:hover { .dimmed_text { color: #AAAAAA; } -dimmed_text { - color: #AAAAAA; -} .forumpostheader { } @@ -235,3 +232,10 @@ dimmed_text { .teacheronly { color: #990000; } + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +} diff --git a/theme/standardwhite/config.php b/theme/standardwhite/config.php index 9505c2c7e4..087e7b098d 100644 --- a/theme/standardwhite/config.php +++ b/theme/standardwhite/config.php @@ -7,6 +7,7 @@ $THEME->cellcontent = "#FFFFFF"; // For areas with text $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 diff --git a/theme/standardwhite/styles.php b/theme/standardwhite/styles.php index 57955a8d95..106d9dbbf3 100644 --- a/theme/standardwhite/styles.php +++ b/theme/standardwhite/styles.php @@ -187,12 +187,12 @@ form { a.dimmed:link { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:visited { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:hover { @@ -232,3 +232,10 @@ a.dimmed:hover { .teacheronly { color: #990000; } + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontenthidden { +}