]> git.mjollnir.org Git - moodle.git/commitdiff
Added new style for hidden topics as well as some docs about
authormoodler <moodler>
Sun, 4 May 2003 07:58:15 +0000 (07:58 +0000)
committermoodler <moodler>
Sun, 4 May 2003 07:58:15 +0000 (07:58 +0000)
all the changes in this version

17 files changed:
theme/UPGRADE.txt [new file with mode: 0644]
theme/brightretro/styles.php
theme/cordoroyblue/styles.php
theme/garden/styles.php
theme/oceanblue/styles.php
theme/standard/config.php
theme/standard/styles.php
theme/standardblue/config.php
theme/standardblue/styles.php
theme/standardgreen/config.php
theme/standardgreen/styles.php
theme/standardlogo/config.php
theme/standardlogo/styles.php
theme/standardred/config.php
theme/standardred/styles.php
theme/standardwhite/config.php
theme/standardwhite/styles.php

diff --git a/theme/UPGRADE.txt b/theme/UPGRADE.txt
new file mode 100644 (file)
index 0000000..ff639c0
--- /dev/null
@@ -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
+
+
+
index 57955a8d954273c04ce9e6f1877936d0588e0cce..e12c0a53a15284e94821f53ca7024870d797eab7 100644 (file)
@@ -161,6 +161,12 @@ form {
 .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
index 5dee6f64b83d6d216e0ba553495cdc43b7454d46..22d108434103d5577a6de0f36316138ebaf946e6 100644 (file)
@@ -205,6 +205,12 @@ form {
     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
index e74a25572df67cadab100817e8d3d663bb64d32a..0cdd4bbaa9d51f4e50f7ddb26d9ad11efe456b7a 100755 (executable)
@@ -175,6 +175,12 @@ form {
 .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
index 0563d7ad1c9df90abbbd66fa9a3e022dbfff3e8b..3d99be97105ef7987bb32d7f389931f70d157155 100644 (file)
@@ -285,6 +285,12 @@ form { margin-bottom: 0; }
 .topicsoutlinecontenthighlight {
 }
 
+.topicsoutlinesidehidden {
+    background-color: <?PHP echo $THEME->hidden?>;
+}
+
+.topicsoutlinecontenthidden {
+}
 
 .siteinfo {
     border-width: 1px;
index c11294718574f566caae586661090839dc4b8fe7..83572136bf8d19f474c5694d127f36e793a6704a 100644 (file)
@@ -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 
index 57955a8d954273c04ce9e6f1877936d0588e0cce..106d9dbbf3bc941653abebf553b86a505bf5f32a 100644 (file)
@@ -187,12 +187,12 @@ form {
 \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
@@ -232,3 +232,10 @@ a.dimmed:hover {
 .teacheronly {\r
     color: #990000;\r
 }\r
+
+.topicsoutlinesidehidden {\r
+    background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
index 7aaba0f4735bcd6f2e0191df789d31a99129941b..7e18f5e57d228bff7198959f8dcb831bf09c47f7 100644 (file)
@@ -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 
index 57955a8d954273c04ce9e6f1877936d0588e0cce..106d9dbbf3bc941653abebf553b86a505bf5f32a 100644 (file)
@@ -187,12 +187,12 @@ form {
 \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
@@ -232,3 +232,10 @@ a.dimmed:hover {
 .teacheronly {\r
     color: #990000;\r
 }\r
+
+.topicsoutlinesidehidden {\r
+    background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
index 37221ac1687c7b81e2d5988095f752eb9539d54a..d4a59c9484063d34b46f06aa464de5fbf8a75d40 100644 (file)
@@ -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 
index 57955a8d954273c04ce9e6f1877936d0588e0cce..106d9dbbf3bc941653abebf553b86a505bf5f32a 100644 (file)
@@ -187,12 +187,12 @@ form {
 \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
@@ -232,3 +232,10 @@ a.dimmed:hover {
 .teacheronly {\r
     color: #990000;\r
 }\r
+
+.topicsoutlinesidehidden {\r
+    background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
index 282f1e6f29b32c7e7435066f912b4661ccb16f87..7952c3de83d9c57d5e457b001228afd0a6102e99 100644 (file)
@@ -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 
index 57955a8d954273c04ce9e6f1877936d0588e0cce..106d9dbbf3bc941653abebf553b86a505bf5f32a 100644 (file)
@@ -187,12 +187,12 @@ form {
 \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
@@ -232,3 +232,10 @@ a.dimmed:hover {
 .teacheronly {\r
     color: #990000;\r
 }\r
+
+.topicsoutlinesidehidden {\r
+    background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
index 4b60f766ae941dc1f9b5da389677eb084bd67ee5..8232856afa39ce6c1e98af3b9752312f99ae7e0c 100644 (file)
@@ -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 
index 4410debd3482d65d9e1c7ccdedb1717800048e18..106d9dbbf3bc941653abebf553b86a505bf5f32a 100644 (file)
@@ -187,12 +187,12 @@ form {
 \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
@@ -202,9 +202,6 @@ a.dimmed:hover {
 .dimmed_text {
     color: #AAAAAA;
 }
-dimmed_text {
-    color: #AAAAAA;
-}
 \r
 .forumpostheader {\r
 }\r
@@ -235,3 +232,10 @@ dimmed_text {
 .teacheronly {\r
     color: #990000;\r
 }\r
+
+.topicsoutlinesidehidden {\r
+    background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r
index 9505c2c7e48ded9eab42ee0f0cd46e266c0016d2..087e7b098df2e58b3958c7a4c4617c120c793f60 100644 (file)
@@ -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 
index 57955a8d954273c04ce9e6f1877936d0588e0cce..106d9dbbf3bc941653abebf553b86a505bf5f32a 100644 (file)
@@ -187,12 +187,12 @@ form {
 \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
@@ -232,3 +232,10 @@ a.dimmed:hover {
 .teacheronly {\r
     color: #990000;\r
 }\r
+
+.topicsoutlinesidehidden {\r
+    background-color: <?PHP echo $THEME->hidden?>;\r
+}\r
+\r
+.topicsoutlinecontenthidden {\r
+}\r