Adding new theme to 2.0 core, Sky_high, MDL-23724
254
theme/sky_high/config.php
Normal file
@ -0,0 +1,254 @@
|
||||
<?php
|
||||
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* DO NOT MODIFY THIS THEME!
|
||||
* COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
|
||||
*
|
||||
* For full information about creating Moodle themes, see:
|
||||
* http://docs.moodle.org/en/Development:Themes_2.0
|
||||
*
|
||||
* @package moodlecore
|
||||
*/
|
||||
|
||||
$THEME->name = 'sky_high';
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Name of the theme. Most likely the name of
|
||||
// the directory in which this file resides.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
|
||||
$THEME->parents = array(
|
||||
'canvas',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
// Which existing theme(s) in the /theme/ directory
|
||||
// do you want this theme to extend. A theme can
|
||||
// extend any number of themes. Rather than
|
||||
// creating an entirely new theme and copying all
|
||||
// of the CSS, you can simply create a new theme,
|
||||
// extend the theme you like and just add the
|
||||
// changes you want to your theme.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
|
||||
$THEME->sheets = array(
|
||||
'core',
|
||||
'pagelayout',
|
||||
'menu'
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Name of the stylesheet(s) you've including in
|
||||
// this theme's /styles/ directory.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array(
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
$THEME->enable_dock = true;
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Do you want to use the new navigation dock?
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// $THEME->editor_sheets
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of stylesheets to include within the
|
||||
// body of the editor.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->layouts = array(
|
||||
'base' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
'standard' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
'course' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-post'
|
||||
),
|
||||
'coursecategory' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
'incourse' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
'frontpage' => array(
|
||||
'file' => 'frontpage.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
'admin' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'mydashboard' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
'options' => array('langmenu'=>true),
|
||||
),
|
||||
'mypublic' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
'login' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('langmenu'=>true),
|
||||
),
|
||||
'popup' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'frametop' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true),
|
||||
),
|
||||
'maintenance' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
// These are all of the possible layouts in Moodle. The
|
||||
// simplest way to do this is to keep the theme and file
|
||||
// variables the same for every layout. Including them
|
||||
// all in this way allows some flexibility down the road
|
||||
// if you want to add a different layout template to a
|
||||
// specific page.
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
||||
$THEME->csspostprocess = 'sky_high_process_css';
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Allows the user to provide the name of a function
|
||||
// that all CSS should be passed to before being
|
||||
// delivered.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->filter_mediaplugin_colors
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Used to control the colours used in the small
|
||||
// media player for the filters
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->javascripts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array containing the names of JavaScript files
|
||||
// located in /javascript/ to include in the theme.
|
||||
// (gets included in the head)
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->javascripts_footer
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// As above but will be included in the page footer.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->larrow
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the left arrow image used throughout
|
||||
// Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->rarrow
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the right arrow image used throughout Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->layouts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array setting the layouts for the theme
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->parents_exclude_javascripts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of JavaScript files NOT to inherit from
|
||||
// the themes parents
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->parents_exclude_sheets
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of stylesheets not to inherit from the
|
||||
// themes parents
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->plugins_exclude_sheets
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of plugin sheets to ignore and not
|
||||
// include.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->renderfactory
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Sets a custom render factory to use with the
|
||||
// theme, used when working with custom renderers.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->resource_mp3player_colors
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Controls the colours for the MP3 player
|
||||
////////////////////////////////////////////////////
|
41
theme/sky_high/lang/en/theme_sky_high.php
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Strings for component 'theme_standard', language 'en', branch 'MOODLE_20_STABLE'
|
||||
*
|
||||
* @package theme_standard
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'Sky High';
|
||||
$string['region-side-post'] = 'Right';
|
||||
$string['region-side-pre'] = 'Left';
|
||||
$string['choosereadme'] = '<div class="clearfix"><div class="theme_screenshot"><h2>Sky High</h2><img src="sky_high/pix/screenshot.png" />A Moodle 2.0 theme by Julian Ridden (<a href="http://www.moodleman.net/">www.moodleman.net</a>)<h3>Theme Discussion Forum:</h3><p><a href="http://moodle.org/mod/forum/view.php?id=46">http://moodle.org/mod/forum/view.php?id=46</a></p><h3>Theme Credits</h3><p><a href="http://docs.moodle.org/en/Theme_credits">http://docs.moodle.org/en/Theme_credits</a></p><h3>Theme Documentation:</h3><p><a href="http://docs.moodle.org/en/Themes">http://docs.moodle.org/en/Themes</a></p><h3>Report a bug:</h3><p><a href="http://tracker.moodle.org">http://tracker.moodle.org</a></p></div><div class="theme_description">More information on modifying themes can be found in the <a href="http://docs.moodle.org/en/Theme">MoodleDocs</a>.</p><h3>License</h3><p>This, and all other themes included in the Moodle core, are licensed under the <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>.</div></div>';
|
||||
|
||||
$string['configtitle'] = 'Sky High Settings';
|
||||
$string['customcss'] = 'Custom CSS';
|
||||
$string['customcssdesc'] = 'Any CSS you enter here will be added to every page allowing your to easily customise this theme.';
|
||||
$string['footnote'] = 'Footnote';
|
||||
$string['footnotedesc'] = 'The content from this textarea will be displayed in the footer of every page.';
|
||||
$string['tagline'] = 'Tagline';
|
||||
$string['taglinedesc'] = 'The content from this textarea will be displayed under the Site name on the Homepage';
|
||||
$string['logo'] = 'Logo';
|
||||
$string['logodesc'] = 'Enter the URL to an image to use as the logo for this site. Should be http://www.yoursite.com/path/to/logo.png. The logo should be 50px high.';
|
||||
$string['regionwidth'] = 'Column width';
|
||||
$string['regionwidthdesc'] = 'This sets the width of the two block regions that form the left and right columns.';
|
139
theme/sky_high/layout/frontpage.php
Normal file
@ -0,0 +1,139 @@
|
||||
<?php
|
||||
|
||||
$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT));
|
||||
$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT));
|
||||
|
||||
$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT));
|
||||
$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT));
|
||||
|
||||
$custommenu = $OUTPUT->custom_menu();
|
||||
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
|
||||
|
||||
$bodyclasses = array();
|
||||
if ($showsidepre && !$showsidepost) {
|
||||
$bodyclasses[] = 'side-pre-only';
|
||||
} else if ($showsidepost && !$showsidepre) {
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
} else if (!$showsidepost && !$showsidepre) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
if ($hassidepre || $hassidepost) {
|
||||
$bodyclasses[] = 'background';
|
||||
}
|
||||
|
||||
if (!empty($PAGE->theme->settings->logo)) {
|
||||
$logourl = $PAGE->theme->settings->logo;
|
||||
} else {
|
||||
$logourl = NULL;
|
||||
}
|
||||
|
||||
if (!empty($PAGE->theme->settings->footnote)) {
|
||||
$footnote = $PAGE->theme->settings->footnote;
|
||||
} else {
|
||||
$footnote = '<!-- There was no custom footnote set -->';
|
||||
}
|
||||
|
||||
echo $OUTPUT->doctype() ?>
|
||||
<html <?php echo $OUTPUT->htmlattributes() ?>>
|
||||
<head>
|
||||
<title><?php echo $PAGE->title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
|
||||
<meta name="description" content="<?php echo strip_tags(format_text($SITE->summary, FORMAT_HTML)) ?>" />
|
||||
<?php echo $OUTPUT->standard_head_html() ?>
|
||||
</head>
|
||||
<body id="<?php echo $PAGE->bodyid ?>" class="<?php echo $PAGE->bodyclasses.' '.join(' ', $bodyclasses) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
|
||||
<div id="page">
|
||||
<div id="wrapper" class="clearfix">
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<div id="page-header" class="clearfix">
|
||||
<div id="page-header-wrapper">
|
||||
<?php if($logourl == NULL) { ?>
|
||||
<h1 class="headermain">
|
||||
<?php echo $PAGE->heading ?>
|
||||
</h1>
|
||||
<?php } else { ?>
|
||||
<img class="logo" src="<?php echo $logourl;?>" alt="Custom logo here" />
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div class="headermenu">
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->lang_menu();
|
||||
echo $PAGE->headingmenu;
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<!-- START OF CONTENT -->
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<div id="page-content-wrapper">
|
||||
<div id="page-content">
|
||||
<div id="region-main-box">
|
||||
<div id="region-post-box">
|
||||
|
||||
<div id="region-main-wrap">
|
||||
<div id="region-main">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hassidepost) { ?>
|
||||
<div id="region-post" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<div id="page-footer">
|
||||
<div class="footnote"><?php echo $footnote; ?></div>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
|
||||
<!-- END OF FOOTER -->
|
||||
</div>
|
||||
</div>
|
||||
<p class="helplink">
|
||||
<?php echo page_doc_link(get_string('moodledocslink')) ?>
|
||||
</p><center>
|
||||
<?php
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
150
theme/sky_high/layout/general.php
Normal file
@ -0,0 +1,150 @@
|
||||
<?php
|
||||
|
||||
$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT));
|
||||
$hassidepost = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-post', $OUTPUT));
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT));
|
||||
$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT));
|
||||
|
||||
$custommenu = $OUTPUT->custom_menu();
|
||||
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
|
||||
|
||||
$bodyclasses = array();
|
||||
if ($showsidepre && !$showsidepost) {
|
||||
$bodyclasses[] = 'side-pre-only';
|
||||
} else if ($showsidepost && !$showsidepre) {
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
} else if (!$showsidepost && !$showsidepre) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
if ($hassidepre || $hassidepost) {
|
||||
$bodyclasses[] = 'background';
|
||||
}
|
||||
|
||||
if (!empty($PAGE->theme->settings->logo)) {
|
||||
$logourl = $PAGE->theme->settings->logo;
|
||||
} else {
|
||||
$logourl = NULL;
|
||||
}
|
||||
|
||||
if (!empty($PAGE->theme->settings->footnote)) {
|
||||
$footnote = $PAGE->theme->settings->footnote;
|
||||
} else {
|
||||
$footnote = '<!-- There was no custom footnote set -->';
|
||||
}
|
||||
|
||||
echo $OUTPUT->doctype() ?>
|
||||
<html <?php echo $OUTPUT->htmlattributes() ?>>
|
||||
<head>
|
||||
<title><?php echo $PAGE->title ?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
|
||||
<meta name="description" content="<?php echo strip_tags(format_text($SITE->summary, FORMAT_HTML)) ?>" />
|
||||
<?php echo $OUTPUT->standard_head_html() ?>
|
||||
</head>
|
||||
<body id="<?php echo $PAGE->bodyid ?>" class="<?php echo $PAGE->bodyclasses.' '.join(' ', $bodyclasses) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
|
||||
<div id="page">
|
||||
<div id="wrapper" class="clearfix">
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<div id="page-header" class="clearfix">
|
||||
<div id="page-header-wrapper">
|
||||
<?php if($logourl == NULL) { ?>
|
||||
<h1 class="headermain">
|
||||
<?php echo $PAGE->heading ?>
|
||||
</h1>
|
||||
<?php } else { ?>
|
||||
<img class="logo" src="<?php echo $logourl;?>" alt="Custom logo here" /><h1 class="headerwlogo">- <?php echo $PAGE->heading ?></h1>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div class="headermenu">
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<!-- START OF CONTENT -->
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
<div class="navbar clearfix">
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="page-content-wrapper">
|
||||
<div id="page-content">
|
||||
<div id="region-main-box">
|
||||
<div id="region-post-box">
|
||||
|
||||
<div id="region-main-wrap">
|
||||
<div id="region-main">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hassidepost) { ?>
|
||||
<div id="region-post" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<div id="page-footer">
|
||||
<div class="footnote"><?php echo $footnote; ?></div>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
|
||||
<!-- END OF FOOTER -->
|
||||
</div>
|
||||
</div>
|
||||
<p class="helplink">
|
||||
<?php echo page_doc_link(get_string('moodledocslink')) ?>
|
||||
</p><center>
|
||||
<?php
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
62
theme/sky_high/lib.php
Normal file
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
function sky_high_process_css($css, $theme) {
|
||||
|
||||
if (!empty($theme->settings->regionwidth)) {
|
||||
$regionwidth = $theme->settings->regionwidth;
|
||||
} else {
|
||||
$regionwidth = null;
|
||||
}
|
||||
$css = sky_high_set_regionwidth($css, $regionwidth);
|
||||
|
||||
if (!empty($theme->settings->customcss)) {
|
||||
$customcss = $theme->settings->customcss;
|
||||
} else {
|
||||
$customcss = null;
|
||||
}
|
||||
$css = sky_high_set_customcss($css, $customcss);
|
||||
|
||||
return $css;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the region width variable in CSS
|
||||
*
|
||||
* @param string $css
|
||||
* @param mixed $regionwidth
|
||||
* @return string
|
||||
*/
|
||||
function sky_high_set_regionwidth($css, $regionwidth) {
|
||||
$tag = '[[setting:regionwidth]]';
|
||||
$doubletag = '[[setting:regionwidthdouble]]';
|
||||
$leftmargintag = '[[setting:leftregionwidthmargin]]';
|
||||
$rightmargintag = '[[setting:rightregionwidthmargin]]';
|
||||
$replacement = $regionwidth;
|
||||
if (is_null($replacement)) {
|
||||
$replacement = 240;
|
||||
}
|
||||
$css = str_replace($tag, $replacement.'px', $css);
|
||||
$css = str_replace($doubletag, ($replacement*2).'px', $css);
|
||||
$css = str_replace($rightmargintag, ($replacement*3-5).'px', $css);
|
||||
$css = str_replace($leftmargintag, ($replacement+5).'px', $css);
|
||||
return $css;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the custom css variable in CSS
|
||||
*
|
||||
* @param string $css
|
||||
* @param mixed $customcss
|
||||
* @return string
|
||||
*/
|
||||
function sky_high_set_customcss($css, $customcss) {
|
||||
$tag = '[[setting:customcss]]';
|
||||
$replacement = $customcss;
|
||||
if (is_null($replacement)) {
|
||||
$replacement = '';
|
||||
}
|
||||
$css = str_replace($tag, $replacement, $css);
|
||||
return $css;
|
||||
}
|
||||
|
||||
?>
|
BIN
theme/sky_high/pix/body.jpg
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
theme/sky_high/pix/breadcrumb.png
Normal file
After Width: | Height: | Size: 239 B |
BIN
theme/sky_high/pix/dock.jpg
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
theme/sky_high/pix/favicon.ico
Normal file
After Width: | Height: | Size: 894 B |
BIN
theme/sky_high/pix/footer.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
theme/sky_high/pix/header.gif
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
theme/sky_high/pix/headingblock.jpg
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
theme/sky_high/pix/screenshot.png
Normal file
After Width: | Height: | Size: 156 KiB |
BIN
theme/sky_high/pix/sprite.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
theme/sky_high/pix/submenu.png
Normal file
After Width: | Height: | Size: 879 B |
BIN
theme/sky_high/pix/top_bg.gif
Normal file
After Width: | Height: | Size: 176 B |
BIN
theme/sky_high/pix_core/t/block_to_dock.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
theme/sky_high/pix_core/t/dock_to_block.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
theme/sky_high/pix_core/t/dockclose.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
theme/sky_high/pix_core/t/switch_minus.gif
Normal file
After Width: | Height: | Size: 56 B |
BIN
theme/sky_high/pix_core/t/switch_plus.gif
Normal file
After Width: | Height: | Size: 56 B |
42
theme/sky_high/settings.php
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Settings for the sky_high theme
|
||||
*/
|
||||
|
||||
// Create our admin page
|
||||
$temp = new admin_settingpage('theme_sky_high', get_string('configtitle','theme_sky_high'));
|
||||
|
||||
// Logo file setting
|
||||
$name = 'theme_sky_high/logo';
|
||||
$title = get_string('logo','theme_sky_high');
|
||||
$description = get_string('logodesc', 'theme_sky_high');
|
||||
$setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL);
|
||||
$temp->add($setting);
|
||||
|
||||
// Block region width
|
||||
$name = 'theme_sky_high/regionwidth';
|
||||
$title = get_string('regionwidth','theme_sky_high');
|
||||
$description = get_string('regionwidthdesc', 'theme_sky_high');
|
||||
$default = 240;
|
||||
$choices = array(200=>'200px', 240=>'240px', 290=>'290px', 350=>'350px', 420=>'420px');
|
||||
$setting = new admin_setting_configselect($name, $title, $description, $default, $choices);
|
||||
$temp->add($setting);
|
||||
|
||||
// Foot note setting
|
||||
$name = 'theme_sky_high/footnote';
|
||||
$title = get_string('footnote','theme_sky_high');
|
||||
$description = get_string('footnotedesc', 'theme_sky_high');
|
||||
$setting = new admin_setting_confightmleditor($name, $title, $description, '');
|
||||
$temp->add($setting);
|
||||
|
||||
// Custom CSS file
|
||||
$name = 'theme_sky_high/customcss';
|
||||
$title = get_string('customcss','theme_sky_high');
|
||||
$description = get_string('customcssdesc', 'theme_sky_high');
|
||||
$setting = new admin_setting_configtextarea($name, $title, $description, '');
|
||||
$temp->add($setting);
|
||||
|
||||
// Add our page to the structure of the admin tree
|
||||
$ADMIN->add('themes', $temp);
|
||||
?>
|
359
theme/sky_high/style/core.css
Normal file
@ -0,0 +1,359 @@
|
||||
/* @group Core */
|
||||
|
||||
.pagelayout-frontpage,
|
||||
.pagelayout-incourse,
|
||||
.pagelayout-general,
|
||||
.pagelayout-course,
|
||||
.pagelayout-coursecategory,
|
||||
.pagelayout-admin,
|
||||
.pagelayout-mydashboard,
|
||||
.pagelayout-mypublic,
|
||||
.pagelayout-login
|
||||
{
|
||||
background:url([[pix:theme|body]]) top left repeat-x #dcecf9;
|
||||
}
|
||||
|
||||
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea
|
||||
{
|
||||
font-family:Arial, Helvetica, sans-serif;
|
||||
color:#333;
|
||||
}
|
||||
|
||||
#wrapper
|
||||
{
|
||||
background:#fff;
|
||||
margin:20px 5% 0px 5%;
|
||||
padding:0px;
|
||||
border:1px solid #c1bc9d;
|
||||
}
|
||||
|
||||
#page-content-wrapper {
|
||||
padding: 0px;
|
||||
padding-top: 0px;
|
||||
background: #ebf6f9;
|
||||
border-top: 1px solid #ccc;
|
||||
}
|
||||
.pagelayout-frontpage #page-content #region-main-box #region-post-box {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
a:link, a:visited
|
||||
{
|
||||
color: #003466;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus
|
||||
{
|
||||
color: #4785ac;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#region-main-box {
|
||||
border: 0px none;
|
||||
}
|
||||
|
||||
|
||||
#newmessageoverlay {
|
||||
background: #f9f9d4;
|
||||
margin-left: 55px;
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
border-right: 2px solid #5ea4dc;
|
||||
border-bottom: 2px solid #5ea4dc;
|
||||
filter:alpha(opacity=90);
|
||||
-moz-opacity:0.9;
|
||||
-khtml-opacity: 0.9;
|
||||
opacity: 0.9;
|
||||
|
||||
}
|
||||
|
||||
#newmessageoverlay #newmessagelinks {
|
||||
border-top: 1px dashed #ccc;
|
||||
padding-top: 5px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
#newmessageoverlay a {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
/* @end */
|
||||
|
||||
/* @group Header */
|
||||
|
||||
#page-header
|
||||
{
|
||||
background:#97d3f4 url([[pix:theme|header]]) no-repeat top right;
|
||||
margin-bottom: 0px;
|
||||
height: 80px;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
|
||||
#page-header .sitelogo {
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 50px;
|
||||
float: left;
|
||||
padding-left: 10px;
|
||||
padding-top: 18px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.headermain {
|
||||
font-weight:normal;
|
||||
margin:.8em 0.5em 0.75em;
|
||||
}
|
||||
|
||||
h1.headermain
|
||||
{
|
||||
color: #006699;
|
||||
font-weight: normal;
|
||||
font-size: 1.85em !important;
|
||||
padding-left: 0px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
h1.headerwlogo {
|
||||
color: #006699;
|
||||
font-weight: normal;
|
||||
font-size: 1.45em !important;
|
||||
display: block;
|
||||
float: left;
|
||||
margin-top: 35px;
|
||||
|
||||
}
|
||||
|
||||
.tagline
|
||||
{
|
||||
color: #006699 !important;
|
||||
padding-top: 7px;
|
||||
font-size: .45em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.headermenu {
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
p.helplink {
|
||||
text-align: center;
|
||||
}
|
||||
/* @end */
|
||||
|
||||
/* @group Navbar */
|
||||
|
||||
.navbar {
|
||||
background: #fff;
|
||||
height: 20px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 4px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.breadcrumb {
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: .9em;
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
.breadcrumb a {
|
||||
color: #336699 !important;
|
||||
}
|
||||
|
||||
.breadcrumb ul {
|
||||
color: #666;
|
||||
}
|
||||
.arrow, .arrow_button input {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Blocks */
|
||||
|
||||
.block_action {
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
.block .content {
|
||||
background:#c7eafd;
|
||||
border:1px solid #867f6a;
|
||||
}
|
||||
|
||||
.block .minicalendar td,
|
||||
.block .minicalendar th {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.block
|
||||
{
|
||||
border: 0px none;
|
||||
}
|
||||
|
||||
.block .header
|
||||
{
|
||||
border: 1px solid #ccc;
|
||||
background: #fff;
|
||||
padding-left:5px;
|
||||
}
|
||||
|
||||
.block .title h2
|
||||
{
|
||||
text-transform: uppercase;
|
||||
padding-bottom: 0px;
|
||||
color: #336699;
|
||||
font-size: .95em;
|
||||
}
|
||||
|
||||
.block .content
|
||||
{
|
||||
background: #fff;
|
||||
border: 1px solid #ccc;
|
||||
padding: 10px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
.block_calendar_month table.minicalendar.calendartable td,.block_calendar_month table.minicalendar.calendartable th {
|
||||
border: none !important;
|
||||
}
|
||||
/* @end */
|
||||
|
||||
/* @group Course */
|
||||
|
||||
.headingblock {
|
||||
border: 0px none;
|
||||
border-bottom: 1px solid #98bcd6;
|
||||
padding-bottom: 0px;
|
||||
padding-top: 5px;
|
||||
color: #336699;
|
||||
font-size: 1.8em;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.completionprogress {
|
||||
color: #336699;
|
||||
text-transform: uppercase;
|
||||
font-size: .85em;
|
||||
}
|
||||
.course-content ul.topics li.section,
|
||||
.course-content ul.weeks li.section {
|
||||
border: 1px solid #ccc;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.path-course-view li.activity {
|
||||
border-bottom: 1px dashed #c3daf9;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Dock */
|
||||
|
||||
body.has_dock {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
|
||||
#dock {
|
||||
border-right: 0px none;
|
||||
background: url([[pix:theme|dock]]) repeat-y top right #fff;
|
||||
}
|
||||
#dock .controls {
|
||||
bottom:auto;
|
||||
background-color:#5ea4dc;
|
||||
}
|
||||
|
||||
|
||||
#dock .dockeditem {
|
||||
background: url([[pix:theme|dock]]) repeat-y top right #fff;
|
||||
padding:2px;
|
||||
padding-right:0px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle {
|
||||
border-width:0;
|
||||
}
|
||||
|
||||
#dock .dockedtitle h2 {
|
||||
margin:0;
|
||||
padding:10px 3px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle.activeitem {
|
||||
background-color:#407ea8;
|
||||
border-top: 1px solid #6f6856;
|
||||
}
|
||||
|
||||
#dockeditempanel {
|
||||
background-color:#5ea4dc;
|
||||
margin-left:0px;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_content {
|
||||
border-color:#6f6856;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd {
|
||||
background: #407ea8;
|
||||
border-width:0;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd h2 {
|
||||
font-size:1em;
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Footer */
|
||||
#page-footer{
|
||||
padding: 20px 0 30px;
|
||||
clear: both;
|
||||
background: url([[pix:theme|footer]]) no-repeat top right #dfdfdf;
|
||||
margin-top: 0px;
|
||||
border: 1px solid #98bcd6;
|
||||
border-top: 5px solid #98bcd6;
|
||||
height: 75px;
|
||||
}
|
||||
|
||||
.footnote {
|
||||
float: left;
|
||||
padding-top: 80px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
#page-footer .logininfo {
|
||||
padding-top: 80px;
|
||||
text-align: right;
|
||||
}
|
||||
/* @end */
|
||||
|
||||
/* @group Forums */
|
||||
|
||||
.forumpost {
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
.forumpost .left {
|
||||
background: #c7eafd;
|
||||
}
|
||||
|
||||
.forumpost .topic {
|
||||
border-bottom: 2px solid #94b9d3;
|
||||
background: #d6e2f2;
|
||||
}
|
||||
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Custom CSS */
|
||||
|
||||
[[setting:customcss]]
|
||||
|
||||
/* @end */
|
||||
|
37
theme/sky_high/style/menu.css
Normal file
@ -0,0 +1,37 @@
|
||||
|
||||
.yui3-skin-sam .yui3-menu-content,
|
||||
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content,
|
||||
.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label,.yui3-skin-sam .yui3-menu-horizontal .yui3-menuitem-content{
|
||||
border: 0px none;
|
||||
}
|
||||
|
||||
.yui3-menu ul{
|
||||
background:url([[pix:theme|sprite]]) repeat-x 0 0;
|
||||
}
|
||||
|
||||
.yui3-menu ul li ul{
|
||||
background:#fff;
|
||||
}
|
||||
|
||||
.yui3-menu ul li{
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.yui3-menu ul li ul li{
|
||||
border-right: none;
|
||||
border-bottom: 1px dashed #ccc;
|
||||
padding: 3px;
|
||||
}
|
||||
div.yui3-menu-content {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
ul.first-of-type li a {
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
ul.first-of-type li a:hover {
|
||||
color: #003466;
|
||||
|
||||
}
|
176
theme/sky_high/style/pagelayout.css
Normal file
@ -0,0 +1,176 @@
|
||||
/** Path: theme pagelayout **/
|
||||
|
||||
/*********************************************************************************************
|
||||
|
||||
left column: 230px
|
||||
right column: 330px
|
||||
padding left/right column: 10px
|
||||
padding center column: 30px
|
||||
|
||||
**********************************************************************************************/
|
||||
|
||||
body {
|
||||
margin:auto 0px;
|
||||
width:auto;
|
||||
}
|
||||
|
||||
#page {
|
||||
width:100%;
|
||||
max-width: 1600px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#page-content {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* @group Pre and Post */
|
||||
|
||||
#page-content #region-main-box {
|
||||
float: left;
|
||||
margin-left: -[[setting:regionwidth]];
|
||||
position: relative;
|
||||
width: 200%;
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box {
|
||||
float: left;
|
||||
margin-left: -[[setting:regionwidth]];
|
||||
width: 100%;
|
||||
border-right: 2px solid #98bcd6;
|
||||
background: url([[pix:theme|top_bg]]) repeat-x top #fff;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap {
|
||||
float: left;
|
||||
width: 50%;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-left: [[setting:regionwidthdouble]];
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-pre {
|
||||
float: right;
|
||||
position: relative;
|
||||
left: [[setting:leftregionwidthmargin]];
|
||||
width: [[setting:regionwidth]];
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post {
|
||||
float: right;
|
||||
position: relative;
|
||||
left: [[setting:rightregionwidthmargin]];
|
||||
width: [[setting:regionwidth]];
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 40px 20px 0px;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-pre .region-content,
|
||||
#page-content #region-main-box #region-post-box #region-post .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 10px;
|
||||
}
|
||||
|
||||
#page-footer {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Pre Side Only */
|
||||
|
||||
.side-pre-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: -[[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: [[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
left: [[setting:regionwidth]];
|
||||
width: [[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-post {
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group Post Side Only */
|
||||
|
||||
.side-post-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: -[[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: [[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-post {
|
||||
left: [[setting:regionwidthdouble]];
|
||||
width: [[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @group No Blocks */
|
||||
|
||||
.content-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-post {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* @end */
|