From 8fa41bc93da51a04a89c79e8325bd08e27d64af5 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 7 Sep 2004 07:01:00 +0000 Subject: [PATCH] Temporary theme to help with XHTML testing and validation --- theme/standardxhtml/config.php | 17 + theme/standardxhtml/favicon.ico | Bin 0 -> 894 bytes theme/standardxhtml/footer.html | 9 + theme/standardxhtml/gradient.jpg | Bin 0 -> 379 bytes theme/standardxhtml/header.html | 61 +++ theme/standardxhtml/styles.php | 741 +++++++++++++++++++++++++++++++ 6 files changed, 828 insertions(+) create mode 100644 theme/standardxhtml/config.php create mode 100644 theme/standardxhtml/favicon.ico create mode 100644 theme/standardxhtml/footer.html create mode 100755 theme/standardxhtml/gradient.jpg create mode 100644 theme/standardxhtml/header.html create mode 100644 theme/standardxhtml/styles.php diff --git a/theme/standardxhtml/config.php b/theme/standardxhtml/config.php new file mode 100644 index 0000000000..33fd176b8e --- /dev/null +++ b/theme/standardxhtml/config.php @@ -0,0 +1,17 @@ +body = "#FFEECE"; // Main page color +$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 = "#FFC85F"; // 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 + // files from the moodle/pix directory + // See "cordoroyblue" for an up-to-date example. +?> diff --git a/theme/standardxhtml/favicon.ico b/theme/standardxhtml/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..5a7a36a68e69533576ab37a35abce1d3fbb38800 GIT binary patch literal 894 zcmZQzU<5(|0R|u`!H~hsz#zuJz@P!dKp_SNAO?vKIbb{CFhl-MrSiEDm+MbD!c@3Z zC}SFg>oxZxXX##+)QNC^1s(V=xcI+f^+t$@>%RZetN(IUu7+^qPW)5e@SmX+Dhm`u zQxD_<)x)&|xj^+0?(#LOK`&M1(*F7t6u?R1A*VZ|B`Ee3zS2-iATRGZTiKWzY-_~Q6F~vzu5f$I`!MZ${D;5 z{gPb$m!}x&;MgO7B{uzMDBK2DA8_cq)T%$?r3)bH_2)fPT>GD`co~H2wfvssnm=5* zAng$I0~;s%7flX}&vbWpw=HdBT>M*p#ecPV&(!)hEB5Z;Sn!T_-YcWJ^$_)2Rxfw- zaq;u@3=448S5sCo^%ARDV?XD%^N#_{Tc)wNC$Th+T%}M#iT4K+@a8D<~+) z-oZvrPOfWeFHrWti~p@R|JUz-zwX#0h++tNXz#A1 +
+
+

+ +
+ + diff --git a/theme/standardxhtml/gradient.jpg b/theme/standardxhtml/gradient.jpg new file mode 100755 index 0000000000000000000000000000000000000000..a122ff238d4ea8cb57463e97905f758175be6ed3 GIT binary patch literal 379 zcmex=``2_j6xdp@o1cgOJMMZh|#U;coyG6VInuyV4pa*FVB^NNrR z{vTiv$ij>y!zj!wC?vuX zmdqH&VGITtL%N# z8--_1ueF`sJ?owNu0#1JXSHuQ{Y2@xU+B{J(R_vJi8C)1t+}`HZMb0Ub)kHh*Wm(; L2hJcn>;Fvv7iU9n literal 0 HcmV?d00001 diff --git a/theme/standardxhtml/header.html b/theme/standardxhtml/header.html new file mode 100644 index 0000000000..beea3be2d5 --- /dev/null +++ b/theme/standardxhtml/header.html @@ -0,0 +1,61 @@ + +> + + +<?php echo $title ?> + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + + + diff --git a/theme/standardxhtml/styles.php b/theme/standardxhtml/styles.php new file mode 100644 index 0000000000..c9de45d65e --- /dev/null +++ b/theme/standardxhtml/styles.php @@ -0,0 +1,741 @@ + + + +body, td, th, li { + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; +} + +th { + font-weight: bold; + background-color: cellheading?>; + background-image: url(/gradient.jpg); +} + +a:link { + text-decoration: none; + color: blue; +} + +a:visited { + text-decoration: none; + color: blue; +} + +a:hover { + text-decoration: underline; + color: red; +} + +form { + margin-bottom: 0; +} + + + + + +.highlight { + background-color: highlight?>; +} + +.headingblock { + background-image: url(/gradient.jpg); + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius: 3px; +} + +.navbar { + background-image: url(/gradient.jpg); +} + +.generaltable { +} + +.generaltableheader { + background-image: url(/gradient.jpg); +} + +.generaltablecell { +} + +.sideblock { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius-bottomleft: 20px; + -moz-border-radius-bottomright: 20px; +} + +.sideblockheading { + background-image: url(/gradient.jpg); +} + +.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 { + background-image: url(/gradient.jpg); + 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; +} + + +.weeklyoutline { +} + +.weeklyoutlineside { +} + +.weeklyoutlinesidehighlight { +} + +.weeklyoutlinesidehidden { + background-color: hidden?>; +} + +.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 { + font-size: medium; + font-weight: bold; + color: cellheading2?>; +} + +.topicsoutline { +} + +.topicsoutlineside { +} + +.topicsoutlinesidehighlight { +} + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.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 { +} + +.siteinfocontent { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius: 20px; + padding: 10px; +} + + +.generalbox { + 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 { + text-align: center; +} + + +.feedbacktext { + color: cellheading2?>; +} + +a.dimmed:link { + text-decoration: none; + color: hidden?>; +} + +a.dimmed:visited { + text-decoration: none; + color: hidden?>; +} + +a.dimmed:hover { + text-decoration: underline; + color: red; +} + +.dimmed_text { + color: #AAAAAA; +} + +.forumpostheader { +} + +.forumpostheadertopic { +} + +.forumpostheaderpicture { +} + +.forumpostheadername { + font-size: small; +} + +.forumpostheaderreplies { + font-size: small; +} + +.forumpostheaderdate { + font-size: small; +} + +.logininfo { + font-size: x-small; +} + +.homelink { + font-size: x-small; +} + +.teacheronly { + color: #990000; +} + +.header { +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} + +.categorybox { +} + +.categoryboxcontent { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius: 20px; +} + +.categoryname { + font-size: larger; + font-weight: bold; +} + +.categorynumber { + font-size: larger; + font-weight: bold; +} + +.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; +} + +.forumheaderlist { + border-width: 1px; + border-color: borders?>; + border-style: solid; +} + +.smallinfo { +} + +.smallinfohead { + color: #555555; +} + +.tabledivider { + border-width: 1px; + border-color: borders?>; + border-style: solid; + border-left: 0px; + border-right: 0px; + border-top: 0px; +} + +.headingblockcontent { +} + +TABLE.calendarmini { + width: 100%; + border-width: 1px; + border-color: borders?>; + border-style: solid; + font-size: .7em; + margin: 0px; + padding: 2px; + -moz-border-radius: 10px; +} + +TABLE.calendarmonth { + width: 100%; + border-width: 1px; + border-color: borders?>; + border-style: solid; + margin: 0px; + padding: 2px; + -moz-border-radius: 10px; +} + +TABLE.calendarmini TBODY TD { + text-align: center; + vertical-align: center; + border-width: 2px; + border-color: cellcontent2?>; + border-style: solid; + -moz-border-radius: 4px; +} + +TABLE.calendarmonth TBODY TD { + width: 14%; + border-width: 2px; + border-color: cellcontent2?>; + border-style: solid; + vertical-align: top; +} + +.cal_event_global { + background-color: #2EBA0E; + border: 2px #2EBA0E solid !important; +} + +.cal_event_course { + background-color: #ff9966; + border: 2px #ff9966 solid !important; +} + +.cal_event_group { + background-color: #FBBB23; + border: 2px #FBBB23 solid !important; +} + +.cal_event_user { + background-color: #A1BECB; + border: 2px #A1BECB solid !important; +} + +.cal_duration_global { + border-top: 2px #2EBA0E solid !important; + border-bottom: 2px #2EBA0E solid !important; +} + +.cal_duration_course { + border-top: 2px #ff9966 solid !important; + border-bottom: 2px #ff9966 solid !important; +} + +.cal_duration_user { + border-top: 2px #A1BECB solid !important; + border-bottom: 2px #A1BECB solid !important; +} + +.cal_duration_group { + border-top: 2px #FBBB23 solid !important; + border-bottom: 2px #FBBB23 solid !important; +} + +.cal_weekend { + color: red; +} + +.cal_today { + border: 2px black solid !important; +} + +TABLE.calendarmonth TBODY TD TABLE { + margin-top: 0px; + margin-left: 0px; + font-size: 0.75em; + line-height: 1.2em; +} + +TABLE.calendarmonth TBODY TD TABLE TD { + border: none; +} + +TABLE.calendarmonth TBODY TD DIV { + margin-top: 0px; + margin-left: 0px; + font-size: 0.75em; + line-height: 1.2em; +} + +TABLE.calendarmini THEAD TD { + font-size: .95em; + text-align: center; + vertical-align: center; +} + +TABLE.calendarmonth THEAD TD { + text-align: center; + vertical-align: center; + padding-bottom: 3px; + border-bottom: 2px borders?> solid; +} + +.sideblockmain .cal_event { + font-size: 0.8em; + font-weight: bold; +} + +.sideblockmain .cal_event_date { + font-size: 0.6em; +} + +.mycalendar { + -moz-border-radius-bottomleft: 20px; + -moz-border-radius-bottomright: 20px; +} + +.mycalendar .cal_event { + font-weight: bold; +} +.mycalendar .cal_event_date { + font-size: 0.8em; +} + +.mycalendar TABLE.cal_filters { + width: 100%; + border-width: 1px; + border-color: borders?>; + border-style: solid; + margin: 0px; + padding: 2px; + -moz-border-radius: 10px; +} + +.mycalendar .cal_filters THEAD TD { + border-bottom: 2px borders?> solid; + margin: 0px; + padding: 2px; +} + + +.mycalendar .cal_event_table { + width: 100%; + border-width: 1px; + border-color: borders?>; + border-style: solid; + margin: 0px; + padding: 2px; + -moz-border-radius: 10px; +} + +.mycalendar .cal_event_table THEAD { + background-color: cellcontent?>; + text-align: center; + font-weight: bold; +} + +.sideblockmain HR { + height: 1px; + border: none; + border-top: 1px #999 solid; + margin-top: 4px; + margin-bottom: 4px; +} + +.mycalendar HR { + height: 1px; + border: none; + border-top: 1px #999 solid; + margin-top: 4px; + margin-bottom: 4px; +} + +.calendarreferer { + font-weight: bold; +} + +TD.cal_event_description { + width: 80%; + border-left: 2px borders?> solid; + vertical-align: top; + padding: 5px; +} + +.cal_popup_fg { + background-color: cellcontent?>; +} + +.cal_popup_bg { + border-top: 2px cellcontent2 ?> solid; + border-left: 2px cellcontent2 ?> solid; + border-right: 2px cellheading2 ?> solid; + border-bottom: 2px cellheading2 ?> solid; + background-image: url(/gradient.jpg); + padding: 0px; + margin: 0px; +} + +.cal_popup_caption { + font-size: 75%; + font-weight: bold; + font-family: sans-serif; +} + +.cal_popup_close { + font-size: 75%; + font-weight: bold; + font-family: sans-serif; + margin-right: 5px; +} + +.sideblock .cal_controls { + text-align: center; + font-size: 9px; +} + +A IMG { + border: none; +} + +TABLE.formtable TD { + padding: 9px; +} + +.eventfull { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius-bottomleft: 15px; + -moz-border-radius-bottomright: 15px; +} + +.eventfullheader { +} + +.eventfullpicture { + padding:8px; +} + +.eventfullside { + -moz-border-radius-bottomleft: 15px; +} + +.eventfullmessage { + -moz-border-radius-bottomright: 15px; +} + +#block_course_summary, #block_course_summary .sideblockmain { + -moz-border-radius: 20px; +} + +#block_course_summary .sideblockmain { + padding: 10px; +} + +.sitetopic { + border-width: 1px; + border-color: borders?>; + border-style: solid; + -moz-border-radius: 15px; +} + +.sitetopiccontent { + -moz-border-radius: 15px; +} + -- 2.39.5