From: Sam Hemelryk Date: Thu, 24 Dec 2009 03:06:39 +0000 (+0000) Subject: theme-anomaly MDL-20175 Updated anomaly theme to work with Moodle 2.0 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cb0af31902b27bcb1feb4191988d633945a71566;p=moodle.git theme-anomaly MDL-20175 Updated anomaly theme to work with Moodle 2.0 It is still along way off finished however I will wait until the remaining theme changes are complete before fixing remaining issues. --- diff --git a/theme/anomaly/changelog.txt b/theme/anomaly/changelog.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/theme/anomaly/config.php b/theme/anomaly/config.php index d2a58404f8..b9fee81f00 100644 --- a/theme/anomaly/config.php +++ b/theme/anomaly/config.php @@ -5,31 +5,14 @@ /// how Moodle uses this theme. //////////////////////////////////////////////////////////////////////////////// +$THEME->name = 'anomaly'; -$THEME->sheets = array('styles', 'styles_select'); - +$THEME->sheets = array('styles', 'styles_layout', 'styles_select'); /// This variable is an array containing the names of all the /// stylesheet files you want included in this theme, and in what order //////////////////////////////////////////////////////////////////////////////// - -$THEME->standardsheets = true; - -/// This variable can be set to an array containing -/// filenames from the *STANDARD* theme. If the -/// array exists, it will be used to choose the -/// files to include in the standard style sheet. -/// When false, then no files are used. -/// When true or NON-EXISTENT, then ALL standard files are used. -/// This parameter can be used, for example, to prevent -/// having to override too many classes. -/// Note that the trailing .css should not be included -/// eg $THEME->standardsheets = array('styles_layout','styles_fonts','styles_color'); -//////////////////////////////////////////////////////////////////////////////// - - -$THEME->parent = ''; - +$THEME->parents = array('standard'); /// This variable can be set to the name of a parent theme /// which you want to have included before the current theme. /// This can make it easy to make modifications to another @@ -38,76 +21,12 @@ $THEME->parent = ''; /// is not used. //////////////////////////////////////////////////////////////////////////////// - -$THEME->parentsheets = false; - -/// This variable can be set to an array containing -/// filenames from a chosen *PARENT* theme. If the -/// array exists, it will be used to choose the -/// files to include in the standard style sheet. -/// When false, then no files are used. -/// When true or NON-EXISTENT, then ALL standard files are used. -/// This parameter can be used, for example, to prevent -/// having to override too many classes. -/// Note that the trailing .css should not be included -/// eg $THEME->parentsheets = array('styles_layout','styles_fonts','styles_color'); -//////////////////////////////////////////////////////////////////////////////// - -$THEME->pluginsheets = array('mod', 'block', 'format', 'gradereport'); - -/// All the plugins of the given types will be searched for a file called -/// styles.php and, if found, these will be included with the CSS for this theme. - - -$THEME->metainclude = false; - -/// When this is enabled (or not set!) then Moodle will try -/// to include a file meta.php from this theme into the -/// part of the page. - - -$THEME->standardmetainclude = true; - - -/// When this is enabled (or not set!) then Moodle will try -/// to include a file meta.php from the standard theme into the -/// part of the page. - - -$THEME->parentmetainclude = false; - -/// When this is enabled (or not set!) then Moodle will try -/// to include a file meta.php from the parent theme into the -/// part of the page. - - -$THEME->block_l_max_width = 200; -$THEME->block_r_max_width = 200; -/// Deprecated, but needed until this themes is updated to use layout.php - - -$THEME->navmenuwidth = 50; - -/// You can use this to control the cutoff point for strings -/// in the navmenus (list of activities in popup menu etc) -/// Default is 50 characters wide. - - -$THEME->makenavmenulist = false; - -/// By setting this to true, then you will have access to a -/// new variable in your header.html and footer.html called -/// $navmenulist ... this contains a simple XHTML menu of -/// all activities in the current course, mostly useful for -/// creating popup navigation menus and so on. - - +$THEME->parents_exclude_sheets = array('standard'=>array('styles_moz')); $THEME->resource_mp3player_colors = 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. 'font=Arial&fontColour=3333FF&buffer=10&waitForPlay=no&autoPlay=yes'; - /// With this you can control the colours of the "big" MP3 player /// that is used for MP3 resources. @@ -116,31 +35,81 @@ $THEME->filter_mediaplugin_colors = 'bgColour=000000&btnColour=ffffff&btnBorderColour=cccccc&iconColour=000000&'. 'iconOverColour=00cc00&trackColour=cccccc&handleColour=ffffff&loaderColour=ffffff&'. 'waitForPlay=yes'; - /// ...And this controls the small embedded player - -$THEME->custompix = false; - -/// If true, then this theme must have a "pix" -/// subdirectory that contains copies of all -/// files from the moodle/pix directory, plus a -/// "pix/mod" directory containing all the icons -/// for all the activity modules. - - -///$THEME->rarrow = '►' //OR '→'; -///$THEME->larrow = '◄' //OR '←'; -///$CFG->block_search_button = link_arrow_right(get_string('search'), $url='', $accesshide=true); -/// -/// Accessibility: Right and left arrow-like characters are -/// used in the breadcrumb trail, course navigation menu -/// (previous/next activity), calendar, and search forum block. -/// -/// If the theme does not set characters, appropriate defaults -/// are set by (lib/weblib.php:check_theme_arrows). The suggestions -/// above are 'silent' in a screen-reader like JAWS. Please DO NOT -/// use < > » - these are confusing for blind users. -//////////////////////////////////////////////////////////////////////////////// - - +$THEME->editor_sheets = array('styles_tinymce'); + +$THEME->layouts = array( + // Most pages - if we encounter an unknown or a missing page type, this one is used. + 'normal' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array('side-pre', 'side-post'), + 'defaultregion' => 'side-post' + ), + // Course page + 'course' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array('side-pre', 'side-post'), + 'defaultregion' => 'side-post' + ), + // The site home page. + 'home' => array( + 'theme' => 'anomaly', + 'file' => 'home.php', + 'regions' => array('side-pre', 'side-post'), + 'defaultregion' => 'side-post' + ), + // Server administration scripts. + 'admin' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array('side-pre'), + 'defaultregion' => 'side-pre' + ), + // My moodle page + 'my' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array('side-pre', 'side-post'), + 'defaultregion' => 'side-post' + ), + + // Settings form pages, like course of module settings. + 'form' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array(), + ), + // Pages that appear in pop-up windows - no navigation, no blocks, no header. + 'popup' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true), + ), + // No blocks and minimal footer - used for legacy frame layouts only! + 'frametop' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter', 'noblocks'=>true), + ), + // Embeded pages, like iframe embeded in moodleform + 'embedded' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true), + ), + // Used during upgrade and install, and for the 'This site is undergoing maintenance' message. + // This must not have any blocks, and it is good idea if it does not have links to + // other places - for example there should not be a home link in the footer... + 'maintenance' => array( + 'theme' => 'anomaly', + 'file' => 'general.php', + 'regions' => array(), + 'options' => array('nofooter'=>true, 'nonavbar'=>true, 'noblocks'=>true), + ), +); \ No newline at end of file diff --git a/theme/anomaly/footer.html b/theme/anomaly/footer.html deleted file mode 100644 index 2f9d6f9277..0000000000 --- a/theme/anomaly/footer.html +++ /dev/null @@ -1,100 +0,0 @@ -container_end(); // content container - - echo $OUTPUT->container_start('footer'); - -?> - - -container_end(); ?> - - - - - - - - - -This page is: ' . $this->page->debug_summary() . ''; - } - if (debugging()) { ?> -
- - - - - - diff --git a/theme/anomaly/header.html b/theme/anomaly/header.html deleted file mode 100644 index 6754ecdcc3..0000000000 --- a/theme/anomaly/header.html +++ /dev/null @@ -1,77 +0,0 @@ - -> - - - - <?php echo $title ?> - - javascript"); ?> - - -> - -
- - -
-
-
-
- - - -
-
-
-
- - - container_start('clearfix header-home'); ?> - -
-
-
-
-


- summary //Retrieves Site Description from Front Page -> Front Page Settings ?> -

-
-
-
-
-
- - container_end(); ?> - - container_start('clearfix header'); ?> -
-
-
-
-

-
-
-
-
-
- container_end(); ?> - - - - - - - container_start('content'); ?> diff --git a/theme/anomaly/lang/en_utf8/theme_anomaly.php b/theme/anomaly/lang/en_utf8/theme_anomaly.php new file mode 100644 index 0000000000..0d62e96936 --- /dev/null +++ b/theme/anomaly/lang/en_utf8/theme_anomaly.php @@ -0,0 +1,31 @@ + +

Anomaly Theme Pack

+

by Patrick Malley

Version: 20090119

+
+
  +
+

Changing Your Color Preference

+

To assist you in making color changes, I have separated all color attributes into separate CSS documents named styles_[color].css where [color] is actually the name of the different color variants.

+

The default color for this theme is green. To select a different color variant:

+
    +
  1. Remane styles_select.css to styles_green.css.
  2. +
  3. Rename the styles_[color].css variant that you would like to use to styles_select.css.
  4. +
  5. That\'s it. Where you expecting something trickier?
  6. +
+

Editing your Site Tagline

+

This theme uses PHP code in header.html that automatically pulls the site description that you have entered in Admin > Front page > Front page settings and places it directly below your site name at the top of the front page.

+

Here\'s the code in header.html that is responsible for this (highlighted in red; found on line 58):

+ + <h1 class="headermain"><?php echo \$heading ?><br /><span><?php echo \$COURSE->summary //Retrieves Site Description from Front Page -> Front Page Settings ?></span></h1> + +

If you don\'t want to show a tagline, simply delete the code highlighted in red above from header.html and save.

+

If you want to show a tagline, BUT would prefer your tagline to be something other than your site description, you can manually enter your Tagline into header.html in the same sort of way.

+

For example, if I wanted to display my tagline - Standards Based Moodle Designs - I would edit the above code as follows:

+ +<h1 class="headermain"><?php echo \$heading ?><br /><span>Standards Based Moodle Designs</span></h1> + +

Licensing

+

This theme is licensed under Moodle\'s GNU General Public License. Feel free to use it, share it and edit it as you see fit. All that I ask is that you give me credit for the work, and do not ever take credit for making it yourself.

+

Please enjoy the theme.

'; \ No newline at end of file diff --git a/theme/anomaly/layout/general.php b/theme/anomaly/layout/general.php new file mode 100644 index 0000000000..c16a7f0c16 --- /dev/null +++ b/theme/anomaly/layout/general.php @@ -0,0 +1,153 @@ +blocks->region_has_content('side-pre', $OUTPUT)) { + $regionsinfo .= '-pre'; +} +if ($PAGE->blocks->region_has_content('side-post', $OUTPUT)) { + $regionsinfo .= '-post'; +} + +echo $OUTPUT->doctype() ?> +htmlattributes() ?>> + + <?php echo $PAGE->title ?> + + standard_head_html() ?> + + +standard_top_of_body_html(); ?> +
+ +
+
+
+
+ +
+
+
+
+ +
+ + layout_options['nonavbar']) and $PAGE->has_navbar()) { // This is the navigation bar with breadcrumbs ?> + + + +
+ + + layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT)) { ?> + + + + layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)) { ?> + + + +
+ blocks_for_region('side-pre') ?> + + + + blocks_for_region('side-post') ?> +
+
+ + + layout_options['nofooter'])) { ?> + + +
+
+
+
+
+
+
+
+ + +standard_end_of_body_html() ?> + + \ No newline at end of file diff --git a/theme/anomaly/layout/home.php b/theme/anomaly/layout/home.php new file mode 100644 index 0000000000..8dcb5fc2ca --- /dev/null +++ b/theme/anomaly/layout/home.php @@ -0,0 +1,152 @@ +blocks->region_has_content('side-pre', $OUTPUT)) { + $regionsinfo .= '-pre'; +} +if ($PAGE->blocks->region_has_content('side-post', $OUTPUT)) { + $regionsinfo .= '-post'; +} + +echo $OUTPUT->doctype() ?> +htmlattributes() ?>> + + <?php echo $PAGE->title ?> + + standard_head_html() ?> + + +standard_top_of_body_html(); ?> +
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+
+

heading;?>
summary;?>

+
headingmenu ?>
+
+
+
+
+
+
+ layout_options['nonavbar']) and $PAGE->has_navbar()) { // This is the navigation bar with breadcrumbs ?> + + + +
+ + + blocks->region_has_content('side-pre', $OUTPUT)) { ?> + + + + blocks->region_has_content('side-post', $OUTPUT)) { ?> + + + +
+ blocks_for_region('side-pre') ?> + + + + blocks_for_region('side-post') ?> +
+
+ + + layout_options['nofooter'])) { ?> + + +
+
+
+
+
+
+
+
+ + +standard_end_of_body_html() ?> + + \ No newline at end of file diff --git a/theme/anomaly/meta.php b/theme/anomaly/meta.php deleted file mode 100644 index 51d294f4aa..0000000000 --- a/theme/anomaly/meta.php +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/theme/anomaly/favicon.ico b/theme/anomaly/pix/favicon.ico similarity index 100% rename from theme/anomaly/favicon.ico rename to theme/anomaly/pix/favicon.ico diff --git a/theme/anomaly/images/footer_b.jpg b/theme/anomaly/pix/footer_b.jpg similarity index 100% rename from theme/anomaly/images/footer_b.jpg rename to theme/anomaly/pix/footer_b.jpg diff --git a/theme/anomaly/images/footer_l.jpg b/theme/anomaly/pix/footer_l.jpg similarity index 100% rename from theme/anomaly/images/footer_l.jpg rename to theme/anomaly/pix/footer_l.jpg diff --git a/theme/anomaly/images/footer_r.jpg b/theme/anomaly/pix/footer_r.jpg similarity index 100% rename from theme/anomaly/images/footer_r.jpg rename to theme/anomaly/pix/footer_r.jpg diff --git a/theme/anomaly/images/header_l.jpg b/theme/anomaly/pix/header_l.jpg similarity index 100% rename from theme/anomaly/images/header_l.jpg rename to theme/anomaly/pix/header_l.jpg diff --git a/theme/anomaly/images/header_r.jpg b/theme/anomaly/pix/header_r.jpg similarity index 100% rename from theme/anomaly/images/header_r.jpg rename to theme/anomaly/pix/header_r.jpg diff --git a/theme/anomaly/images/header_t.jpg b/theme/anomaly/pix/header_t.jpg similarity index 100% rename from theme/anomaly/images/header_t.jpg rename to theme/anomaly/pix/header_t.jpg diff --git a/theme/anomaly/images/logo.jpg b/theme/anomaly/pix/logo.jpg similarity index 100% rename from theme/anomaly/images/logo.jpg rename to theme/anomaly/pix/logo.jpg diff --git a/theme/anomaly/screenshot.jpg b/theme/anomaly/pix/screenshot.jpg similarity index 100% rename from theme/anomaly/screenshot.jpg rename to theme/anomaly/pix/screenshot.jpg diff --git a/theme/anomaly/images/sideblock-y_b.jpg b/theme/anomaly/pix/sideblock-y_b.jpg similarity index 100% rename from theme/anomaly/images/sideblock-y_b.jpg rename to theme/anomaly/pix/sideblock-y_b.jpg diff --git a/theme/anomaly/images/sideblock-y_t.jpg b/theme/anomaly/pix/sideblock-y_t.jpg similarity index 100% rename from theme/anomaly/images/sideblock-y_t.jpg rename to theme/anomaly/pix/sideblock-y_t.jpg diff --git a/theme/anomaly/images/sideblock_b.jpg b/theme/anomaly/pix/sideblock_b.jpg similarity index 100% rename from theme/anomaly/images/sideblock_b.jpg rename to theme/anomaly/pix/sideblock_b.jpg diff --git a/theme/anomaly/images/sideblock_t.jpg b/theme/anomaly/pix/sideblock_t.jpg similarity index 100% rename from theme/anomaly/images/sideblock_t.jpg rename to theme/anomaly/pix/sideblock_t.jpg diff --git a/theme/anomaly/images/source_anomaly.png b/theme/anomaly/pix/source_anomaly.png similarity index 100% rename from theme/anomaly/images/source_anomaly.png rename to theme/anomaly/pix/source_anomaly.png diff --git a/theme/anomaly/images/wrapper_b.jpg b/theme/anomaly/pix/wrapper_b.jpg similarity index 100% rename from theme/anomaly/images/wrapper_b.jpg rename to theme/anomaly/pix/wrapper_b.jpg diff --git a/theme/anomaly/images/wrapper_bl.jpg b/theme/anomaly/pix/wrapper_bl.jpg similarity index 100% rename from theme/anomaly/images/wrapper_bl.jpg rename to theme/anomaly/pix/wrapper_bl.jpg diff --git a/theme/anomaly/images/wrapper_br.jpg b/theme/anomaly/pix/wrapper_br.jpg similarity index 100% rename from theme/anomaly/images/wrapper_br.jpg rename to theme/anomaly/pix/wrapper_br.jpg diff --git a/theme/anomaly/images/wrapper_l.jpg b/theme/anomaly/pix/wrapper_l.jpg similarity index 100% rename from theme/anomaly/images/wrapper_l.jpg rename to theme/anomaly/pix/wrapper_l.jpg diff --git a/theme/anomaly/images/wrapper_r.jpg b/theme/anomaly/pix/wrapper_r.jpg similarity index 100% rename from theme/anomaly/images/wrapper_r.jpg rename to theme/anomaly/pix/wrapper_r.jpg diff --git a/theme/anomaly/images/wrapper_t.jpg b/theme/anomaly/pix/wrapper_t.jpg similarity index 100% rename from theme/anomaly/images/wrapper_t.jpg rename to theme/anomaly/pix/wrapper_t.jpg diff --git a/theme/anomaly/images/wrapper_tl.jpg b/theme/anomaly/pix/wrapper_tl.jpg similarity index 100% rename from theme/anomaly/images/wrapper_tl.jpg rename to theme/anomaly/pix/wrapper_tl.jpg diff --git a/theme/anomaly/images/wrapper_tr.jpg b/theme/anomaly/pix/wrapper_tr.jpg similarity index 100% rename from theme/anomaly/images/wrapper_tr.jpg rename to theme/anomaly/pix/wrapper_tr.jpg diff --git a/theme/anomaly/styles.css b/theme/anomaly/style/styles.css similarity index 91% rename from theme/anomaly/styles.css rename to theme/anomaly/style/styles.css index ad9c71077d..aa08c55e73 100644 --- a/theme/anomaly/styles.css +++ b/theme/anomaly/style/styles.css @@ -1,9 +1,7 @@ - /* Core */ - -body { - padding:0; - margin:0; +html, body { + text-align: left; + background:#C8C9C7; } body, p, th, td, li { @@ -19,6 +17,7 @@ p { #page { margin:25px 4%; + background: #fff; } #layout-table { @@ -79,7 +78,6 @@ h1.headermain span p { #content { margin:0 11px; - background: #fff; padding:10px 0 25px; } @@ -103,7 +101,7 @@ h2.headingblock { .sideblock .header { padding:7px 8px 0; border:none; - background:url(images/sideblock_t.jpg) no-repeat 0 0; + background:url([[pix:theme|sideblock_t]]) no-repeat 0 0; } .sideblock .title h2 { @@ -118,12 +116,12 @@ h2.headingblock { } .sideblock { - background:url(images/sideblock_b.jpg) no-repeat 0 100%; + background:url([[pix:theme|sideblock_b]]) no-repeat 0 100%; padding-bottom:11px; } .block_login .header { - background:url(images/sideblock-y_t.jpg) no-repeat 0 0; + background:url([[pix:theme|sideblock-y_t]]) no-repeat 0 0; } .block_login .content { @@ -132,7 +130,7 @@ h2.headingblock { } .block_login { - background:url(images/sideblock-y_b.jpg) no-repeat 0 100%; + background:url([[pix:theme|sideblock-y_b]]) no-repeat 0 100%; } #right-column .hidden .header, @@ -254,7 +252,6 @@ h2.headingblock { } /* Tables */ - #participants th, #user-grade th, .logtable th, @@ -264,7 +261,6 @@ h2.headingblock { .forumheaderlist th { background:#f2f2f2; border-bottom:1px solid #bbb; - } /* Login */ @@ -291,8 +287,8 @@ h2.headingblock { /* Footer */ #footer { - margin:0 !important; color:#ccc; + margin:0 !important; } #footer-logo { float:left; @@ -326,3 +322,7 @@ h2.headingblock { .admin #page { min-width: 700px; } + +#region-side-pre, #region-side-post { + width:200px; +} \ No newline at end of file diff --git a/theme/anomaly/styles_ie6.css b/theme/anomaly/style/styles_ie6.css old mode 100755 new mode 100644 similarity index 100% rename from theme/anomaly/styles_ie6.css rename to theme/anomaly/style/styles_ie6.css diff --git a/theme/anomaly/styles_ie7.css b/theme/anomaly/style/styles_ie7.css old mode 100755 new mode 100644 similarity index 100% rename from theme/anomaly/styles_ie7.css rename to theme/anomaly/style/styles_ie7.css diff --git a/theme/anomaly/style/styles_layout.css b/theme/anomaly/style/styles_layout.css new file mode 100644 index 0000000000..8efc183bd1 --- /dev/null +++ b/theme/anomaly/style/styles_layout.css @@ -0,0 +1,11 @@ +td, +th { + padding:0px; +} +table.minicalendar { + border-width:0px; +} +table.minicalendar th { + padding:0px; + border-width:0px; +} \ No newline at end of file diff --git a/theme/anomaly/style/styles_select.css b/theme/anomaly/style/styles_select.css new file mode 100644 index 0000000000..a588342ed1 --- /dev/null +++ b/theme/anomaly/style/styles_select.css @@ -0,0 +1,111 @@ +a:link, +a:visited, +.tabtree ul li ul li a span { + color:#4C6B30; +} + +a:hover { + color:#702B33; +} + +.headermenu a:link, +.headermenu a:visited { + color:#697F55; +} + +h2.headingblock, +.forumpost .content { + border-color:#697f55; +} + +.navbar, +.course-view .weeks .current, +.course-view .topics .current, +.course-view .current td.side { + background:#697f55; +} + +.navbar a:link, +.navbar a:visited { + color:#fff; +} + +.navbar a:hover { + color:#000; +} + +.navbar .breadcrumb .sep { + color:#333; +} + +#header-m { + background:#222; + padding:0 10px; +} + +#header-m.home { + border-bottom:5px solid #697F55; +} + +#wrapper-t { + background:url([[pix:theme|wrapper_t]]) repeat-x 0 0; +} + +#wrapper-l { + background:url([[pix:theme|wrapper_l]]) repeat-y 0 0; +} + +#wrapper-r { + background:url([[pix:theme|wrapper_r]]) repeat-y 100% 0; +} + +#wrapper-b { + background:url([[pix:theme|wrapper_b]]) repeat-x 100% 100%; +} + +#wrapper-tl { + background:url([[pix:theme|wrapper_tl]]) no-repeat 0 0; +} + +#wrapper-tr { + background:url([[pix:theme|wrapper_tr]]) no-repeat 100% 0; +} + +#wrapper-bl { + background:url([[pix:theme|wrapper_bl]]) no-repeat 0 100%; +} + +#wrapper-br { + background:url([[pix:theme|wrapper_br]]) no-repeat 100% 100%; +} + +#header-t { + background:url([[pix:theme|header_t]]) repeat-x 0 0; +} + +#header-r { + background:url([[pix:theme|header_r]]) no-repeat 100% 0; +} + +#header-l { + background:url([[pix:theme|header_l]]) no-repeat 0 0; + padding:11px 0 0; +} + +#footer-b { + background:url([[pix:theme|footer_b]]) repeat-x 0 100%; +} + +#footer-l { + background:url([[pix:theme|footer_l]]) no-repeat 0 100%; +} + +#footer-r { + background:url([[pix:theme|footer_r]]) no-repeat 100% 100%; + padding-bottom: 11px; +} + +#footer-m { + background:#000; + padding-top:11px; +} diff --git a/theme/anomaly/styles.php b/theme/anomaly/styles.php deleted file mode 100644 index 94a76f946d..0000000000 --- a/theme/anomaly/styles.php +++ /dev/null @@ -1,28 +0,0 @@ -. - -/** - * Serve the CSS for this theme. Every theme must contain a copy of this file - * DO NOT MODIFY THIS FILE IT IS IMPORTANT TO THE WORKING OF THE MOODLE THEMES SYSTEM. - * If you are are trying to change something, you should probably be looking at config.php. - * - * @package moodlecore - * @copyright 2009 Tim Hunt - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - */ - -die('Not converted yet...'); diff --git a/theme/anomaly/styles_select.css b/theme/anomaly/styles_select.css deleted file mode 100644 index 43e5ca777d..0000000000 --- a/theme/anomaly/styles_select.css +++ /dev/null @@ -1,115 +0,0 @@ -body { - background:#C8C9C7; -} - -a:link, -a:visited, -.tabtree ul li ul li a span { - color:#4C6B30; -} - -a:hover { - color:#702B33; -} - -.headermenu a:link, -.headermenu a:visited { - color:#697F55; -} - -h2.headingblock, -.forumpost .content { - border-color:#697f55; -} - -.navbar, -#course-view .weeks .current td.side, -#course-view .topics .current td.side { - background:#697f55; -} - -.navbar a:link, -.navbar a:visited { - color:#fff; -} - -.navbar a:hover { - color:#000; -} - -.navbar .breadcrumb .sep { - color:#333; -} - -#wrapper-t { - background:url(images/wrapper_t.jpg) repeat-x 0 0; -} - -#wrapper-l { - background:url(images/wrapper_l.jpg) repeat-y 0 0; -} - -#wrapper-r { - background:url(images/wrapper_r.jpg) repeat-y 100% 0; -} - -#wrapper-b { - background:url(images/wrapper_b.jpg) repeat-x 100% 100%; -} - -#wrapper-tl { - background:url(images/wrapper_tl.jpg) no-repeat 0 0; -} - -#wrapper-tr { - background:url(images/wrapper_tr.jpg) no-repeat 100% 0; -} - -#wrapper-bl { - background:url(images/wrapper_bl.jpg) no-repeat 0 100%; -} - -#wrapper-br { - background:url(images/wrapper_br.jpg) no-repeat 100% 100%; -} - -#header-t { - background:url(images/header_t.jpg) repeat-x 0 0; -} - -#header-r { - background:url(images/header_r.jpg) no-repeat 100% 0; -} - -#header-l { - background:url(images/header_l.jpg) no-repeat 0 0; - padding:11px 0 0; -} - -#header-m { - background:#222; - padding:0 10px; -} - -#header-m.home { - border-bottom:5px solid #697F55; -} - - -#footer-b { - background:url(images/footer_b.jpg) repeat-x 0 100%; -} - -#footer-l { - background:url(images/footer_l.jpg) no-repeat 0 100%; -} - -#footer-r { - background:url(images/footer_r.jpg) no-repeat 100% 100%; - padding-bottom: 11px; -} - -#footer-m { - background:#000; - padding-top:11px; -}