From 4db1fd85e03fb5780b2efd7caf2011f4475d307a Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 20 May 2004 04:31:01 +0000 Subject: [PATCH] Metal theme from A. Chavan --- theme/metal/README.txt | 14 + theme/metal/background.png | Bin 0 -> 1630 bytes theme/metal/config.php | 17 + theme/metal/favicon.ico | Bin 0 -> 894 bytes theme/metal/footer.html | 9 + theme/metal/gradient.jpg | Bin 0 -> 488 bytes theme/metal/header.html | 59 +++ theme/metal/styles.php | 740 +++++++++++++++++++++++++++++++++++++ 8 files changed, 839 insertions(+) create mode 100644 theme/metal/README.txt create mode 100644 theme/metal/background.png create mode 100644 theme/metal/config.php create mode 100644 theme/metal/favicon.ico create mode 100644 theme/metal/footer.html create mode 100755 theme/metal/gradient.jpg create mode 100644 theme/metal/header.html create mode 100644 theme/metal/styles.php diff --git a/theme/metal/README.txt b/theme/metal/README.txt new file mode 100644 index 0000000000..875f67d5f0 --- /dev/null +++ b/theme/metal/README.txt @@ -0,0 +1,14 @@ +MOODLE THEME: METAL + +To install the theme, copy the "metal" directory to moodle's "theme" directory. + +This theme is designed by A. Chavan (chavan at users.sourceforge.net). + +It is based on moodle's "standardwhite" theme. +It uses the background image from, and is inspired by: +http://www.alexking.org/software/wordpress/styles/sample.php?wpstyle=metaldreams + +It has been tested with Mozilla. The header appears slightly different +on Safari (MacOSX) and MSIE6(WindowsXP). + +$Lastupdate: Wed May 19 13:05:59 2004 chavan$ diff --git a/theme/metal/background.png b/theme/metal/background.png new file mode 100644 index 0000000000000000000000000000000000000000..4074440749bc3bcf58a1a1b3e5c8f9fd6567f914 GIT binary patch literal 1630 zcmV-k2BGLgQIUYAvQeji5${-T0^0N(JCvesATB4)oFgcZAAxOwAgh9DR!qm} zKh&go*H1RIH@;6;zH0hX8I`D77eEZKyn!WuPz+d*NbI=|HD}NRV&)AFoT(TM!V&^8 zkYFA`&KX#92hk8))H@;G z1)@;HQ}}U!F$Y#mVnK>jSfdr@#3y)kJ!om4U=>F?z?-j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P_*0;2mu0!0q4956_;^xlCegNmNf%udsrx6&P&|T z6%o0Gq*ayp*X@(J%$gY8G^GFj7~HAve+}-E>LK-U++{<{)e5{Q&JXCT)HN-+T*@4-h~MRNkgM5Ie!}?_;6U z26SBgc{28XVU8&in9nD7V2-#$1@Nqoq2u8RM2rEm5m>TF@ytI!05Nc)9brLwZ-um8 zJ84IDkTR}C)XsYfF_s<){@w?%hq7Q>UrciUgYaM+DYGvm^+BjKVN7tWm}-X!5wX$| c0{{dV01+79+-(O)CIA2c07*qoM6N<$f|^aVF#rGn literal 0 HcmV?d00001 diff --git a/theme/metal/config.php b/theme/metal/config.php new file mode 100644 index 0000000000..efb81c5cf4 --- /dev/null +++ b/theme/metal/config.php @@ -0,0 +1,17 @@ +body = "#FFFFFF"; // Main page color +$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 = "#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) + +$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/metal/favicon.ico b/theme/metal/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/metal/gradient.jpg b/theme/metal/gradient.jpg new file mode 100755 index 0000000000000000000000000000000000000000..61d792c77036adebe070de83dc8749491882b6a1 GIT binary patch literal 488 zcmex=C5bm;@P_1sVSzVF+Vj z1OcEk;ed^unFCb>BqhMW$ij@Gj*%%yEO4P{k|2sGNbUby3_L)!OoGgU4E7A)(_?2k z$d;utl-``ecs(tE9mrM6=~fVPoxrVhf^}jF(}_*Y)?2C=Grllge8IZ-0=N4D=3WS6I~XWnGIRpwAOcY+VL7k1f;jK@nHfE?Y| zbq-;F8rJ?~jQ+&5{Rywwx`~Y89u2FPID}qO(0VCg5_QSlLEBT7VXaCD)0T-BxPaW4 YkC6g0VJ_^V6B&=DI21+-*#Ex?07(RDP5=M^ literal 0 HcmV?d00001 diff --git a/theme/metal/header.html b/theme/metal/header.html new file mode 100644 index 0000000000..c05a785c85 --- /dev/null +++ b/theme/metal/header.html @@ -0,0 +1,59 @@ +> + + +<?php echo $title ?> + + +wwwroot/theme/$CFG->theme" ?>/favicon.ico" /> +javascript"); ?> + + +body\">"; +?> + + + + + + + + +
+ + + + + + + + +
+ + + + + + + + + + + +
+
+ + + +
+ + + + diff --git a/theme/metal/styles.php b/theme/metal/styles.php new file mode 100644 index 0000000000..b8802cd42b --- /dev/null +++ b/theme/metal/styles.php @@ -0,0 +1,740 @@ + + + +body { + font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + background-color: rgb(210,210,210); + background-image: url(/background.png); + background-repeat: repeat; + background-attachment: scroll; +} + +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: #000066; +} + +a:visited { + text-decoration: none; + color: #000066; +} + +a:hover { + text-decoration: underline; + color: #cc0000; +} + +form { + margin-bottom: 0; +} + + + + + +.highlight { + background-color: highlight?>; +} + +.headingblock { + background-image: url(/gradient.jpg); + border-width: 2px; + border-color: borders?>; + border-style: groove; + // -moz-border-radius: 3px; +} + +.navbar { + background-color: #bbbbbb; + border-top : 2px groove rgb(250,250,250; + border-bottom: 2px groove rgb(250,250,250); +} + +.generaltable { +} + +.generaltableheader { + background-image: url(/gradient.jpg); +} + +.generaltablecell { +} + +.sideblock { + border-width: 2px; + border-color: borders?>; + border-style: groove; + // -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: 2px; + border-color: borders?>; + border-style: groove; + // -moz-border-radius: 3px; +} + +.forumpost { + border-width: 2px; + border-color: borders?>; + border-style: groove; + // -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 { + border: 1px groove rgb(250,250,250); + +} + +.topicsoutlinesidehighlight { +} + +.topicsoutlinesidehidden { + background-color: hidden?>; +} + +.topicsoutlinecontent { + border-color: cellheading ?>; + border-style: solid; + border-width: 1px; + border-left: 0px; + border-right: 0px; + border: 1px groove rgb(250,250,250); + +} + +.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: 2px; + border-color: borders?>; + border-style: groove; + // -moz-border-radius: 20px; + padding: 10px; +} + + +.generalbox { + border-width: 2px; + border-color: borders?>; + border-style: groove; + // -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: 2px; + border-color: borders?>; + border-style: groove; + // -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 { +// background-color: #999999; +// border: 2px groove rgb(250,250,250); +// padding: 0.5em; +// background-image: url(/gradient.jpg); + padding-bottom: 0.25em; +} + +.headermain { + font-size: large; + font-weight: bold; +} + +.headermenu { +} + +.headerhome { +} + +.headerhomemain { + font-size: x-large; + font-weight: bold; +} + +.headerhomemenu { +} + +.categorybox { +} + +.categoryboxcontent { + border-width: 2px; + border-color: borders?>; + border-style: groove; + // -moz-border-radius: 20px; +} + +.categoryname { + font-size: larger; + font-weight: bold; +} + +.categorynumber { + font-size: larger; + font-weight: bold; +} + +.coursename { +} + +.coursebox { +} + +.courseboxcontent { + border-width: 2px; + border-color: borders?>; + border-style: groove; + // -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: 2px; + border-color: borders?>; + border-style: groove; + // -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: 2px; + border-color: borders?>; + border-style: groove; +} + +.smallinfo { +} + +.smallinfohead { + color: #555555; +} + +.tabledivider { + border-width: 2px; + border-color: borders?>; + border-style: groove; + // border-left: 0px; + // border-right: 0px; + // border-top: 0px; +} + +.headingblockcontent { +} + + + + +TABLE.calendarmini { + width: 100%; + border-width: 2px; + border-color: borders?>; + border-style: groove; + font-size: .7em; + margin: 0px; + padding: 2px; + // -moz-border-radius: 10px; +} + +TABLE.calendarmonth { + width: 100%; + border-width: 2px; + border-color: borders?>; + border-style: groove; + margin: 0px; + padding: 2px; + // -moz-border-radius: 10px; +} + +TABLE.calendarmini TBODY TD { + text-align: center; + vertical-align: center; + width: 14%; + border-width: 2px; + border-color: cellcontent2?>; + border-style: groove; + // -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: #99cc99; + border: 2px #99cc99 solid !important; +} + +.cal_event_course { + background-color: #ff9966; + border: 2px #ff9966 solid !important; +} + +.cal_event_group { + background-color: orange; + border: 2px orange solid !important; +} + +.cal_event_user { + background-color: #ffcc99; + border: 2px #ffcc99 solid !important; +} + +.cal_duration_global { + border-top: 2px #99cc99 solid !important; + border-bottom: 2px #99cc99 solid !important; +} + +.cal_duration_course { + border-top: 2px #ff9966 solid !important; + border-bottom: 2px #ff9966 solid !important; +} + +.cal_duration_user { + border-top: 2px #ffcc99 solid !important; + border-bottom: 2px #ffcc99 solid !important; +} + +.cal_duration_group { + border-top: 2px orange solid !important; + border-bottom: 2px orange 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: 2px; + border-color: borders?>; + border-style: groove; + 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: 2px; + border-color: borders?>; + border-style: groove; + 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; +} + +.calendarexpired { + color: red; + font-weight: bold; +} + +.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?>; + font-size: 75%; + font-family: Courier; + padding: 0px; + margin: 0px; +} + +.cal_popup_bg { + border-top: 2px #ffcc66 solid; + border-left: 2px #ffcc66 solid; + border-right: 2px #663300 solid; +border-bottom: 2px #663300 solid; + background-image: url(/gradient.jpg); + padding: 0px; + margin: 0px; +} + +.cal_popup_caption { + font-size: 75%; + font-weight: bold; + font-family: sans-serif; + margin: 5px; +} + +.cal_popup_close { + font-size: 75%; + font-weight: bold; + font-family: Tahoma, Helvetica, sans-serif; + margin-right: 5px; +} + +.sideblock .cal_controls { + text-align: center; + font-size: 9px; +} + +A IMG { + border: none; +} + +TABLE.formtable TD { + padding: 9px; +} + .footer { + text-align: center; + margin-left: 25%; + margin-right: 25%; + } + .footer .logininfo { + padding: 0.50em; + border-top: 2px groove rgb(250,250,250); + } + -- 2.39.5