]> git.mjollnir.org Git - moodle.git/commitdiff
Added styles and colour for autolink'ed text
authormoodler <moodler>
Thu, 16 Oct 2003 03:21:09 +0000 (03:21 +0000)
committermoodler <moodler>
Thu, 16 Oct 2003 03:21:09 +0000 (03:21 +0000)
theme/standard/config.php
theme/standard/styles.php

index 83572136bf8d19f474c5694d127f36e793a6704a..c108fd8c6d07b80cc6697d08d906e7622b9d4cef 100644 (file)
@@ -8,6 +8,7 @@ $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->autolink     = "#EEEEEE";  // To color auto-generated links (eg glossary)
 
 $THEME->custompix    = false;      // If true, then this theme must have a "pix" 
                                    // subdirectory that contains copies of all 
index b880160b54030a334d850dafdf1436fed36a0cea..661d7822d81b4105096bbf556d9fb658a1257687 100644 (file)
@@ -302,3 +302,20 @@ a.dimmed:hover {
 .coursename {
 }
 
+a.autolink:link {
+    text-decoration: none;
+    color: #000000;
+    background-color: <?PHP echo $THEME->autolink?>;
+}
+
+a.autolink:visited {
+    text-decoration: none;
+    color: #000000;
+    background-color: <?PHP echo $THEME->autolink?>;
+}
+
+a.autolink:hover {
+    text-decoration: underline;
+    color: red;
+}
+