From: moodler Date: Thu, 16 Oct 2003 03:38:26 +0000 (+0000) Subject: Autolinks added X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6f2771775916eee1dd9e231ca45e25f580453667;p=moodle.git Autolinks added --- diff --git a/theme/standardblue/config.php b/theme/standardblue/config.php index 7e18f5e57d..1e302666a2 100644 --- a/theme/standardblue/config.php +++ b/theme/standardblue/config.php @@ -8,6 +8,7 @@ $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->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/standardblue/styles.php b/theme/standardblue/styles.php index 6a5c508ea9..e27ddefd22 100644 --- a/theme/standardblue/styles.php +++ b/theme/standardblue/styles.php @@ -301,3 +301,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; +} + diff --git a/theme/standardgreen/config.php b/theme/standardgreen/config.php index d4a59c9484..2ce209e5c3 100644 --- a/theme/standardgreen/config.php +++ b/theme/standardgreen/config.php @@ -8,6 +8,7 @@ $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->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/standardgreen/styles.php b/theme/standardgreen/styles.php index 6a5c508ea9..e27ddefd22 100644 --- a/theme/standardgreen/styles.php +++ b/theme/standardgreen/styles.php @@ -301,3 +301,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; +} + diff --git a/theme/standardlogo/config.php b/theme/standardlogo/config.php index 7952c3de83..81be67de19 100644 --- a/theme/standardlogo/config.php +++ b/theme/standardlogo/config.php @@ -8,6 +8,7 @@ $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->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/standardlogo/styles.php b/theme/standardlogo/styles.php index 6a5c508ea9..e27ddefd22 100644 --- a/theme/standardlogo/styles.php +++ b/theme/standardlogo/styles.php @@ -301,3 +301,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; +} + diff --git a/theme/standardred/config.php b/theme/standardred/config.php index 8232856afa..d458f57e14 100644 --- a/theme/standardred/config.php +++ b/theme/standardred/config.php @@ -8,6 +8,7 @@ $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->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/standardred/styles.php b/theme/standardred/styles.php index 6a5c508ea9..e27ddefd22 100644 --- a/theme/standardred/styles.php +++ b/theme/standardred/styles.php @@ -301,3 +301,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; +} + diff --git a/theme/standardwhite/config.php b/theme/standardwhite/config.php index 087e7b098d..b74a515cce 100644 --- a/theme/standardwhite/config.php +++ b/theme/standardwhite/config.php @@ -8,6 +8,7 @@ $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->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/standardwhite/styles.php b/theme/standardwhite/styles.php index 6a5c508ea9..e27ddefd22 100644 --- a/theme/standardwhite/styles.php +++ b/theme/standardwhite/styles.php @@ -301,3 +301,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; +} +