From: moodler Date: Thu, 16 Oct 2003 03:21:09 +0000 (+0000) Subject: Added styles and colour for autolink'ed text X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=d8ff63f27660f3806eeee4b8ed374b1ea207ba8c;p=moodle.git Added styles and colour for autolink'ed text --- diff --git a/theme/standard/config.php b/theme/standard/config.php index 83572136bf..c108fd8c6d 100644 --- a/theme/standard/config.php +++ b/theme/standard/config.php @@ -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 diff --git a/theme/standard/styles.php b/theme/standard/styles.php index b880160b54..661d7822d8 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -302,3 +302,20 @@ a.dimmed:hover { .coursename { } +a.autolink:link { + text-decoration: none; + color: #000000; + background-color: autolink?>; +} + +a.autolink:visited { + text-decoration: none; + color: #000000; + background-color: autolink?>; +} + +a.autolink:hover { + text-decoration: underline; + color: red; +} +