From: moodler Date: Wed, 22 Oct 2003 07:48:23 +0000 (+0000) Subject: FIxed some missing styles and colours X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9d212d8602cd212d65bc3c7c829c0969b766870b;p=moodle.git FIxed some missing styles and colours --- diff --git a/theme/brightretro/config.php b/theme/brightretro/config.php index 6f61ee3222..7f46bac576 100644 --- a/theme/brightretro/config.php +++ b/theme/brightretro/config.php @@ -7,6 +7,8 @@ $THEME->cellcontent = "#FFEECE"; // For areas with text $THEME->cellcontent2 = "#FFEECE"; // Alternate colour $THEME->borders = "#FFFFFF"; // Table borders $THEME->highlight = "#AAFFAA"; // Highlighted text (eg after a search) +$THEME->hidden = "#AAAAAA"; // To color things that are hidden +$THEME->autolink = "#DDDDDD"; // 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/brightretro/styles.php b/theme/brightretro/styles.php index bd87d367eb..e67d344b9c 100644 --- a/theme/brightretro/styles.php +++ b/theme/brightretro/styles.php @@ -6,7 +6,6 @@ require_once("../../config.php"); $themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename); - /// From here on it's nearly a normal stylesheet. /// First are some CSS definitions for normal tags, /// then custom tags follow. @@ -32,6 +31,7 @@ body, td, th, li { th { font-weight: bold; background-color: cellheading?>; + background-image: url(/gradient.jpg); } a:link { @@ -66,6 +66,7 @@ form { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .navbar { @@ -86,6 +87,8 @@ form { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius-bottomleft: 20px; + -moz-border-radius-bottomright: 20px; } .sideblockheading { @@ -93,15 +96,21 @@ form { } .sideblockmain { + -moz-border-radius-bottomleft: 20px; + -moz-border-radius-bottomright: 20px; } .sideblocklinks { } .sideblocklatestnews { + -moz-border-radius-bottomleft: 20px; + -moz-border-radius-bottomright: 20px; } .sideblockrecentactivity { + -moz-border-radius-bottomleft: 20px; + -moz-border-radius-bottomright: 20px; } .outlineheadingblock { @@ -109,21 +118,26 @@ form { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .forumpost { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius-bottomleft: 20px; + -moz-border-radius-bottomright: 20px; } .forumpostpicture { } .forumpostside { + -moz-border-radius-bottomleft: 20px; } .forumpostmessage { + -moz-border-radius-bottomright: 20px; } @@ -141,12 +155,27 @@ form { } .weeklyoutlinecontent { + border-color: cellheading ?>; + border-style: solid; + border-width: 1px; + border-left: 0px; + border-right: 0px; } .weeklyoutlinecontenthighlight { + border-color: cellheading2 ?>; + border-style: solid; + border-width: 1px; + border-left: 0px; + border-right: 0px; } .weeklyoutlinecontenthidden { + border-color: hidden ?>; + border-style: solid; + border-width: 1px; + border-left: 0px; + border-right: 0px; } .weeklydatetext { @@ -155,7 +184,6 @@ form { color: cellheading2?>; } - .topicsoutline { } @@ -170,21 +198,38 @@ form { } .topicsoutlinecontent { + border-color: cellheading ?>; + border-style: solid; + border-width: 1px; + border-left: 0px; + border-right: 0px; } .topicsoutlinecontenthighlight { + border-color: cellheading2 ?>; + border-style: solid; + border-width: 1px; + border-left: 0px; + border-right: 0px; } .topicsoutlinecontenthidden { + border-color: hidden ?>; + border-style: solid; + border-width: 1px; + border-left: 0px; + border-right: 0px; } .siteinfo { - border-width: 1px; - border-color: borders?>; - border-style: solid; } .siteinfocontent { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius: 20px; + padding: 10px; } @@ -192,15 +237,24 @@ form { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius-topleft: 3px; + -moz-border-radius-topright: 3px; + -moz-border-radius-bottomleft: 15px; + -moz-border-radius-bottomright: 15px; } .generalboxcontent { + -moz-border-radius-topleft: 3px; + -moz-border-radius-topright: 3px; + -moz-border-radius-bottomleft: 15px; + -moz-border-radius-bottomright: 15px; } .noticebox { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .noticeboxcontent { @@ -214,18 +268,19 @@ form { a.dimmed:link { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:visited { text-decoration: none; - color: #AAAAAA; + color: hidden?>; } a.dimmed:hover { text-decoration: underline; color: red; } + .dimmed_text { color: #AAAAAA; } @@ -286,12 +341,13 @@ a.dimmed:hover { } .categorybox { - border-width: 1px; - border-color: borders?>; - border-style: solid; } .categoryboxcontent { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius: 20px; } .categoryname { @@ -302,3 +358,70 @@ a.dimmed:hover { .coursename { } +.coursebox { +} + +.courseboxcontent { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius: 20px; +} + +.courseboxinfo { +} + +.courseboxsummary { +} + +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; +} + +.userinfobox { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius-bottomleft: 20px; + -moz-border-radius-bottomright: 20px; + margin-bottom: 5px; +} + +.userinfoboxside { + -moz-border-radius-bottomleft: 20px; +} + +.userinfoboxcontent { + -moz-border-radius-bottomright: 20px; +} + +.userinfoboxsummary { +} + +.userinfoboxlinkcontent { + -moz-border-radius-bottomright: 20px; +} + +.generaltab { + -moz-border-radius-topleft: 15px; + -moz-border-radius-topright: 15px; +} + +.generaltabselected { + -moz-border-radius-topleft: 15px; + -moz-border-radius-topright: 15px; +} +