From: moodler Date: Tue, 21 Oct 2003 06:39:05 +0000 (+0000) Subject: Some additions to standard styles X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dfe052fcfdb97dc42762fb34df97dfaa09ef2c95;p=moodle.git Some additions to standard styles --- diff --git a/theme/UPGRADE.txt b/theme/UPGRADE.txt index 8e3eba4671..ed23d0bff0 100644 --- a/theme/UPGRADE.txt +++ b/theme/UPGRADE.txt @@ -106,17 +106,42 @@ Changes to 1.1 since 1.0.9 Changes to 1.1.1 since 1.1 -------------------------------- +/* Some better placement of styles on the category/course listings + to allow some fancy effects. */ + .categoryboxcontent {} -Some better placement of styles on the category/course listings to -allow some fancy effects. ================================ Changes to 1.2 since 1.1 -------------------------------- +/* Automatically generated links (eg links to glossary items) */ + a.autolink:link {} a.autolink:visited {} a.autolink:hover {} -Automatically generated links (eg links to glossary items) + +/* Styles for user info page */ + +.userinfobox {} +.userinfoboxside {} +.userinfoboxcontent {} +.userinfoboxsummary {} +.userinfoboxlinkcontent {} + + +/* Styles for tabs */ + +.generaltab {} +.generaltabselected {} + + +/* Styles for displaying course info */ + +.coursebox {} +.courseboxcontent {} +.courseboxinfo {} +.courseboxsummary {} + diff --git a/theme/standard/config.php b/theme/standard/config.php index c108fd8c6d..33fd176b8e 100644 --- a/theme/standard/config.php +++ b/theme/standard/config.php @@ -5,10 +5,10 @@ $THEME->cellheading = "#FFD991"; // Standard headings of big tables $THEME->cellheading2 = "#FFC85F"; // Highlight headings of tables $THEME->cellcontent = "#FFFFFF"; // For areas with text $THEME->cellcontent2 = "#FEE6B9"; // Alternate colour -$THEME->borders = "#555555"; // Table borders +$THEME->borders = "#FFC85F"; // 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->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/standard/styles.php b/theme/standard/styles.php index 661d7822d8..1efdda9831 100644 --- a/theme/standard/styles.php +++ b/theme/standard/styles.php @@ -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 { @@ -169,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; } @@ -191,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 { @@ -289,6 +344,7 @@ a.dimmed:hover { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .categoryboxcontent { @@ -302,6 +358,22 @@ 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; @@ -319,3 +391,37 @@ a.autolink:hover { 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; +} + diff --git a/theme/standardblue/config.php b/theme/standardblue/config.php index 1e302666a2..d8747d5207 100644 --- a/theme/standardblue/config.php +++ b/theme/standardblue/config.php @@ -5,7 +5,7 @@ $THEME->cellheading = "#9ADAF4"; // Standard headings of big tables $THEME->cellheading2 = "#73C1E1"; // Highlight headings of tables $THEME->cellcontent = "#FFFFFF"; // For areas with text $THEME->cellcontent2 = "#B3EAFF"; // Alternate colour -$THEME->borders = "#555555"; // Table borders +$THEME->borders = "#73C1E1"; // 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) diff --git a/theme/standardblue/styles.php b/theme/standardblue/styles.php index e27ddefd22..1efdda9831 100644 --- a/theme/standardblue/styles.php +++ b/theme/standardblue/styles.php @@ -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 { @@ -169,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; } @@ -191,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 { @@ -225,6 +280,7 @@ a.dimmed:hover { text-decoration: underline; color: red; } + .dimmed_text { color: #AAAAAA; } @@ -288,6 +344,7 @@ a.dimmed:hover { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .categoryboxcontent { @@ -301,6 +358,22 @@ 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; @@ -318,3 +391,37 @@ a.autolink:hover { 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; +} + diff --git a/theme/standardgreen/config.php b/theme/standardgreen/config.php index 2ce209e5c3..7353de4d16 100644 --- a/theme/standardgreen/config.php +++ b/theme/standardgreen/config.php @@ -5,7 +5,7 @@ $THEME->cellheading = "#8CDD94"; // Standard headings of big tables $THEME->cellheading2 = "#3DD35F"; // Highlight headings of tables $THEME->cellcontent = "#FFFFFF"; // For areas with text $THEME->cellcontent2 = "#AFE9BB"; // Alternate colour -$THEME->borders = "#555555"; // Table borders +$THEME->borders = "#3DD35F"; // 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) diff --git a/theme/standardgreen/styles.php b/theme/standardgreen/styles.php index e27ddefd22..1efdda9831 100644 --- a/theme/standardgreen/styles.php +++ b/theme/standardgreen/styles.php @@ -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 { @@ -169,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; } @@ -191,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 { @@ -225,6 +280,7 @@ a.dimmed:hover { text-decoration: underline; color: red; } + .dimmed_text { color: #AAAAAA; } @@ -288,6 +344,7 @@ a.dimmed:hover { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .categoryboxcontent { @@ -301,6 +358,22 @@ 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; @@ -318,3 +391,37 @@ a.autolink:hover { 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; +} + diff --git a/theme/standardlogo/config.php b/theme/standardlogo/config.php index 81be67de19..fde24a456f 100644 --- a/theme/standardlogo/config.php +++ b/theme/standardlogo/config.php @@ -5,7 +5,7 @@ $THEME->cellheading = "#FFD991"; // Standard headings of big tables $THEME->cellheading2 = "#FFB62D"; // Highlight headings of tables $THEME->cellcontent = "#FFFFFF"; // For areas with text $THEME->cellcontent2 = "#FFD991"; // Alternate colour -$THEME->borders = "#555555"; // Table borders +$THEME->borders = "#FFB62D"; // 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) diff --git a/theme/standardlogo/styles.php b/theme/standardlogo/styles.php index e27ddefd22..1efdda9831 100644 --- a/theme/standardlogo/styles.php +++ b/theme/standardlogo/styles.php @@ -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 { @@ -169,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; } @@ -191,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 { @@ -225,6 +280,7 @@ a.dimmed:hover { text-decoration: underline; color: red; } + .dimmed_text { color: #AAAAAA; } @@ -288,6 +344,7 @@ a.dimmed:hover { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .categoryboxcontent { @@ -301,6 +358,22 @@ 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; @@ -318,3 +391,37 @@ a.autolink:hover { 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; +} + diff --git a/theme/standardred/config.php b/theme/standardred/config.php index d458f57e14..a26c13c731 100644 --- a/theme/standardred/config.php +++ b/theme/standardred/config.php @@ -5,7 +5,7 @@ $THEME->cellheading = "#ECD2D2"; // Standard headings of big tables $THEME->cellheading2 = "#E9C5C6"; // Highlight headings of tables $THEME->cellcontent = "#FFFFFF"; // For areas with text $THEME->cellcontent2 = "#ECD9D9"; // Alternate colour -$THEME->borders = "#552021"; // Table borders +$THEME->borders = "#E9C5C6"; // 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) diff --git a/theme/standardred/styles.php b/theme/standardred/styles.php index e27ddefd22..1efdda9831 100644 --- a/theme/standardred/styles.php +++ b/theme/standardred/styles.php @@ -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 { @@ -169,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; } @@ -191,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 { @@ -225,6 +280,7 @@ a.dimmed:hover { text-decoration: underline; color: red; } + .dimmed_text { color: #AAAAAA; } @@ -288,6 +344,7 @@ a.dimmed:hover { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .categoryboxcontent { @@ -301,6 +358,22 @@ 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; @@ -318,3 +391,37 @@ a.autolink:hover { 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; +} + diff --git a/theme/standardwhite/config.php b/theme/standardwhite/config.php index b74a515cce..efb81c5cf4 100644 --- a/theme/standardwhite/config.php +++ b/theme/standardwhite/config.php @@ -5,7 +5,7 @@ $THEME->cellheading = "#E8E8E8"; // Standard headings of big tables $THEME->cellheading2 = "#AAAAAA"; // Highlight headings of tables $THEME->cellcontent = "#FFFFFF"; // For areas with text $THEME->cellcontent2 = "#EFEFEF"; // Alternate colour -$THEME->borders = "#555555"; // Table borders +$THEME->borders = "#999999"; // 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) diff --git a/theme/standardwhite/styles.php b/theme/standardwhite/styles.php index e27ddefd22..1efdda9831 100644 --- a/theme/standardwhite/styles.php +++ b/theme/standardwhite/styles.php @@ -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 { @@ -169,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; } @@ -191,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 { @@ -225,6 +280,7 @@ a.dimmed:hover { text-decoration: underline; color: red; } + .dimmed_text { color: #AAAAAA; } @@ -288,6 +344,7 @@ a.dimmed:hover { border-width: 1px; border-color: borders?>; border-style: solid; + -moz-border-radius: 3px; } .categoryboxcontent { @@ -301,6 +358,22 @@ 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; @@ -318,3 +391,37 @@ a.autolink:hover { 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; +} +