mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch: * New format_text argument, overflowdiv. * New page layout Report. * Review of all format_text calls. * Added support for the report layout to all themes. * Changed forum post display from tables to divs.
This commit is contained in:
parent
2412f8b882
commit
367a75fae4
125 changed files with 3366 additions and 2062 deletions
|
@ -121,6 +121,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre'
|
||||
),
|
||||
);
|
||||
|
||||
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
||||
|
|
80
theme/anomaly/layout/report.php
Normal file
80
theme/anomaly/layout/report.php
Normal file
|
@ -0,0 +1,80 @@
|
|||
<?php
|
||||
|
||||
$hasheading = ($PAGE->heading);
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$hasfooter = (empty($PAGE->layout_options['nofooter']));
|
||||
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
|
||||
$showsidepre = $hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT);
|
||||
|
||||
|
||||
$bodyclasses = array();
|
||||
if (!$showsidepre) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
|
||||
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')?>" />
|
||||
<?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">
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="page-header">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu
|
||||
?></div><?php } ?>
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="navbar clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"><?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<div id="page-content" class="clearfix">
|
||||
<div id="report-main-content">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="report-region-wrap">
|
||||
<div id="report-region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="clearfix">
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
<div class="rounded-corner bottom-left"></div>
|
||||
<div class="rounded-corner bottom-right"></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
|
@ -167,6 +167,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>false, 'nocustommenu'=>true),
|
||||
),
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
|
119
theme/arialist/layout/report.php
Normal file
119
theme/arialist/layout/report.php
Normal file
|
@ -0,0 +1,119 @@
|
|||
<?php
|
||||
|
||||
$hasheading = ($PAGE->heading);
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$hasfooter = (empty($PAGE->layout_options['nofooter']));
|
||||
$hassidepost = $PAGE->blocks->region_has_content('side-post', $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 ($showsidepost) {
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
} else if (!$showsidepost) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
if ($hascustommenu) {
|
||||
$bodyclasses[] = 'has-custom-menu';
|
||||
}
|
||||
|
||||
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')?>" />
|
||||
<?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() ?>
|
||||
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="wrapper" class="clearfix">
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<div id="page-header" class="inside">
|
||||
<div id="page-header-wrapper" class="wrapper clearfix">
|
||||
<?php if ($hasheading) { ?>
|
||||
<div id="header-left">
|
||||
<h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
|
||||
</div>
|
||||
<div class="headermenu"><?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="navbar">
|
||||
<div class="wrapper clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<!-- START OF CONTENT -->
|
||||
|
||||
<div id="page-content-wrapper" class="wrapper clearfix">
|
||||
<div id="page-content" class="clearfix">
|
||||
<div id="report-main-content">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hassidepost) { ?>
|
||||
<div id="report-region-wrap">
|
||||
<div id="report-region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="wrapper">
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
|
@ -168,7 +168,7 @@ h2.headingblock {
|
|||
.forumpost .topic {
|
||||
background: #eee;
|
||||
border-width: 0;
|
||||
padding: 0 10px 0;
|
||||
padding: 4px 10px 4px;
|
||||
}
|
||||
|
||||
.forumpost .subject {
|
||||
|
@ -180,10 +180,14 @@ h2.headingblock {
|
|||
font-style: italic;
|
||||
}
|
||||
|
||||
.forumpost .content {
|
||||
.forumpost .no-overflow {
|
||||
border-width: 0 1px 10px;
|
||||
border-style: solid;
|
||||
border-color: #aaa #eee #eee;
|
||||
margin: 0 1px 1px 1px;
|
||||
}
|
||||
|
||||
.forumpost .content .posting {
|
||||
padding: 5px 10px 10px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,103 +1,129 @@
|
|||
/*********************************************************************************************
|
||||
|
||||
left column: 250px
|
||||
right column: 250px
|
||||
padding left/right column: 10px
|
||||
padding center column: 30px
|
||||
left column: 250px
|
||||
right column: 250px
|
||||
padding left/right column: 10px
|
||||
padding center column: 30px
|
||||
|
||||
**********************************************************************************************/
|
||||
|
||||
body {
|
||||
margin: auto 0px;
|
||||
width: auto;
|
||||
margin: auto 0px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#page {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#page-header {
|
||||
float: left;
|
||||
width: 100%;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content {
|
||||
clear: both;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box {
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
position: relative;
|
||||
width: 200%;
|
||||
right: 100%;
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
position: relative;
|
||||
width: 200%;
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box {
|
||||
float: left;
|
||||
width: 100%;
|
||||
#page-content #region-post-box {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap {
|
||||
float: left;
|
||||
width: 50%;
|
||||
#page-content #region-main-wrap {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
left: 100%;
|
||||
#page-content #region-main {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post {
|
||||
float: right;
|
||||
position: relative;
|
||||
#page-content #region-post {
|
||||
float: right;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 30px 20px 0;
|
||||
#page-content #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 30px 20px 0;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 0 20px 10px;
|
||||
#page-content #region-post .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 0 20px 10px;
|
||||
}
|
||||
|
||||
#page-footer {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 200px;
|
||||
.has_dock.side-post-only .page-middle #region-main {
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
/** No blocks whatsoever **/
|
||||
|
||||
.content-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: 0px;
|
||||
.content-only #page-content #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 {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
width: 0px;
|
||||
.content-only #page-content #region-pre {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-post {
|
||||
width: 0px;
|
||||
}
|
||||
.content-only #page-content #region-post {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
/** Report layout **/
|
||||
.pagelayout-report #page {width:auto;position:relative;overflow:visible;}
|
||||
.pagelayout-report #page-header {float:none;}
|
||||
.pagelayout-report #page-content {float:none;overflow:visible;width:auto;}
|
||||
.pagelayout-report #report-main-content {float:left;width:100%;}
|
||||
.pagelayout-report #report-main-content .region-content {margin-left:210px;margin-top:20px;}
|
||||
.pagelayout-report #report-main-content .region-content table {background-color:#FFF;}
|
||||
.pagelayout-report #report-region-wrap {width:0;float:right;position:relative;left:-100%;}
|
||||
.pagelayout-report #report-region-pre {width:200px;margin-top:20px;}
|
||||
.pagelayout-report #page-footer {float:none;}
|
||||
.pagelayout-report #page-content .region-content {overflow:visible;}
|
||||
.pagelayout-report.content-only #report-main-content .region-content {margin-left:0;}
|
||||
|
||||
/** Correct for right to left languages **/
|
||||
.dir-rtl.pagelayout-report #report-main-content .region-content {margin-left:0;margin-right:200px;}
|
||||
.dir-rtl.pagelayout-report #report-region-wrap {left:0;}
|
||||
|
||||
/** Stabalise IE6 behaviour on the report layout **/
|
||||
.ie6.pagelayout-report #report-main-content,
|
||||
.ie7.pagelayout-report #report-main-content {float:none;width:auto;}
|
||||
.ie6.pagelayout-report #report-region-wrap,
|
||||
.ie7.pagelayout-report #report-region-wrap {float:none;width:200px;left:auto;position:absolute;top:0;}
|
||||
.ie6.pagelayout-report #report-region-pre,
|
||||
.ie6.pagelayout-report #report-region-pre .block
|
||||
.ie7.pagelayout-report #report-region-pre,
|
||||
.ie7.pagelayout-report #report-region-pre .block {width:100%;}
|
|
@ -152,6 +152,12 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
|
||||
),
|
||||
// The pagelayout used for reports
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
);
|
||||
|
||||
// We don't want the base theme to be shown on the theme selection screen, by setting
|
||||
|
|
89
theme/base/layout/report.php
Normal file
89
theme/base/layout/report.php
Normal file
|
@ -0,0 +1,89 @@
|
|||
<?php
|
||||
|
||||
$hasheading = ($PAGE->heading);
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$hasfooter = (empty($PAGE->layout_options['nofooter']));
|
||||
$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT));
|
||||
$haslogininfo = (empty($PAGE->layout_options['nologininfo']));
|
||||
|
||||
$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT));
|
||||
|
||||
$custommenu = $OUTPUT->custom_menu();
|
||||
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
|
||||
|
||||
$bodyclasses = array();
|
||||
if (!$showsidepre) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
if ($hascustommenu) {
|
||||
$bodyclasses[] = 'has_custom_menu';
|
||||
}
|
||||
|
||||
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')?>" />
|
||||
<?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">
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="page-header">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php
|
||||
if ($haslogininfo) {
|
||||
echo $OUTPUT->login_info();
|
||||
}
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu
|
||||
?></div><?php } ?>
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="navbar clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<div id="page-content" class="clearfix">
|
||||
<div id="report-main-content">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="report-region-wrap">
|
||||
<div id="report-region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="clearfix">
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
|
@ -98,6 +98,11 @@ form.popupform,
|
|||
form.popupform div {display: inline;}
|
||||
.arrow_button input {overflow:hidden;}
|
||||
|
||||
.no-overflow {overflow:auto;}
|
||||
.pagelayout-report .no-overflow {overflow:visible;}
|
||||
.no-overflow > .generaltable {margin-bottom:0;}
|
||||
.ie6 .no-overflow {width:100%;}
|
||||
|
||||
/** IE6 float + background bug solution **/
|
||||
.ie6 li.section {line-height:1.2em;width:100%;}
|
||||
|
||||
|
@ -649,10 +654,12 @@ body.tag .managelink {padding: 5px;}
|
|||
|
||||
.restore-course-search .rcs-results {width:70%;min-width:400px;border:1px solid #ddd;margin:5px 0;}
|
||||
.restore-course-search .rcs-results table {width:100%;margin:0;border-width:0;}
|
||||
.restore-course-search .rcs-results table .no-overflow {max-width:600px;}
|
||||
.restore-course-search .rcs-results .paging {text-align:left;margin:0;background-color:#eee;padding:3px;}
|
||||
|
||||
.restore-course-category .rcs-results {width:70%;min-width:400px;border:1px solid #ddd;margin:5px 0;}
|
||||
.restore-course-category .rcs-results table {width:100%;margin:0;border-width:0;}
|
||||
.restore-course-category .rcs-results table .no-overflow {max-width:600px;}
|
||||
.restore-course-category .rcs-results .paging {text-align:left;margin:0;background-color:#eee;padding:3px;}
|
||||
|
||||
.corelightbox {background-color:#CCC;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;}
|
||||
|
|
|
@ -32,37 +32,62 @@ body {margin:auto 0px;width:auto;}
|
|||
#page-header {float:left;width:100%;}
|
||||
#page-content {clear:both;float:left;overflow:hidden;position:relative;width:100%;min-width:900px;}
|
||||
#page-content #region-main-box {float:left;left:200px;position:relative;width:200%;}
|
||||
#page-content #region-main-box #region-post-box {float:left;left:50%;margin-left:-400px;position:relative;width:100%;}
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap {float:right;position:relative;right:100%;width:50%;}
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {margin-right:0px;margin-left:400px;overflow:hidden;}
|
||||
#page-content #region-main-box #region-post-box #region-pre {float:left;left:200px;overflow:hidden;position:relative;width:200px;margin-left:-50%;}
|
||||
#page-content #region-main-box #region-post-box #region-post {float:left;left:0px;overflow:hidden;position:relative;width:200px;}
|
||||
#page-content #region-main-box .region-content {overflow:hidden;padding:10px;}
|
||||
#page-content #region-post-box {float:left;left:50%;margin-left:-400px;position:relative;width:100%;}
|
||||
#page-content #region-main-wrap {float:right;position:relative;right:100%;width:50%;}
|
||||
#page-content #region-main {margin-right:0px;margin-left:400px;overflow:hidden;}
|
||||
#page-content #region-pre {float:left;left:200px;overflow:hidden;position:relative;width:200px;margin-left:-50%;}
|
||||
#page-content #region-post {float:left;left:0px;overflow:hidden;position:relative;width:200px;}
|
||||
#page-content .region-content {overflow:hidden;padding:10px;}
|
||||
#page-footer {clear:both;float:left;width:100%;}
|
||||
|
||||
/** Only side pre **/
|
||||
.side-pre-only #page-content #region-main-box #region-post-box {margin-left:-200px;}
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {margin-left:200px;}
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-pre {left:0px;}
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-post {width:0px;}
|
||||
.side-pre-only #page-content #region-post-box {margin-left:-200px;}
|
||||
.side-pre-only #page-content #region-main {margin-left:200px;}
|
||||
.side-pre-only #page-content #region-pre {left:0px;}
|
||||
.side-pre-only #page-content #region-post {width:0px;}
|
||||
|
||||
/** Only side post **/
|
||||
.side-post-only #page-content #region-main-box {left:0px;}
|
||||
.side-post-only #page-content #region-main-box #region-post-box {margin-left:-200px;}
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {margin-left:200px;}
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-pre {width:0px;}
|
||||
.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {margin-left:200px;}
|
||||
.side-post-only #page-content #region-post-box {margin-left:-200px;}
|
||||
.side-post-only #page-content #region-main {margin-left:200px;}
|
||||
.side-post-only #page-content #region-pre {width:0px;}
|
||||
.has_dock.side-post-only .page-middle #region-main {margin-left:200px;}
|
||||
|
||||
/** No blocks whatsoever **/
|
||||
.content-only #page-content {min-width:0;}
|
||||
.content-only #page-content #region-main-box {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 {left:0;width:0px;}
|
||||
.content-only #page-content #region-main-box #region-post-box #region-post {width:0;}
|
||||
.content-only #page-content #region-post-box {margin-left:0px;}
|
||||
.content-only #page-content #region-main {margin-left:0px;}
|
||||
.content-only #page-content #region-pre {left:0;width:0px;}
|
||||
.content-only #page-content #region-post {width:0;}
|
||||
|
||||
/** Stabalise some IE6 behaviour **/
|
||||
.ie6 #region-pre .region-content,
|
||||
.ie6 #region-post .region-content {padding:0 !important;width:100%;float:none;}
|
||||
.ie6 #region-pre .region-content .block,
|
||||
.ie6 #region-post .region-content .block {width:auto;padding:0;margin:10px;}
|
||||
.ie6 #region-post .region-content .block {width:auto;padding:0;margin:10px;}
|
||||
|
||||
/** Report layout **/
|
||||
.pagelayout-report #page {width:auto;position:relative;}
|
||||
.pagelayout-report #page-header {float:none;}
|
||||
.pagelayout-report #page-content {float:none;overflow:visible;width:auto;}
|
||||
.pagelayout-report #report-main-content {float:left;width:100%;}
|
||||
.pagelayout-report #report-main-content .region-content {margin-left:200px;}
|
||||
.pagelayout-report #report-main-content .region-content table {background-color:#FFF;}
|
||||
.pagelayout-report #report-region-wrap {width:0;float:right;position:relative;left:-100%;}
|
||||
.pagelayout-report #report-region-pre {width:200px;}
|
||||
.pagelayout-report #page-footer {float:none;}
|
||||
.pagelayout-report #page-content .region-content {overflow:visible;}
|
||||
|
||||
/** Correct for content only **/
|
||||
.pagelayout-report.content-only #report-main-content .region-content {margin-left:0;}
|
||||
|
||||
/** Correct for right to left languages **/
|
||||
.dir-rtl.pagelayout-report #report-main-content .region-content {margin-left:0;margin-right:200px;}
|
||||
.dir-rtl.pagelayout-report #report-region-wrap {left:0;}
|
||||
|
||||
/** Stabalise IE6 behaviour on the report layout **/
|
||||
.ie6.pagelayout-report #report-main-content {float:none;width:auto;}
|
||||
.ie6.pagelayout-report #report-region-wrap {float:none;width:200px;left:auto;position:absolute;top:0;}
|
||||
.ie6.pagelayout-report #report-region-pre,
|
||||
.ie6.pagelayout-report #report-region-pre .block {width:100%;}
|
||||
|
|
|
@ -166,6 +166,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>false, 'nocustommenu'=>true),
|
||||
),
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
|
118
theme/binarius/layout/report.php
Normal file
118
theme/binarius/layout/report.php
Normal file
|
@ -0,0 +1,118 @@
|
|||
<?php
|
||||
|
||||
$hasheading = ($PAGE->heading);
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$hasfooter = (empty($PAGE->layout_options['nofooter']));
|
||||
$hassidepost = $PAGE->blocks->region_has_content('side-post', $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 ($showsidepost) {
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
} else if (!$showsidepost) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
|
||||
if ($hascustommenu) {
|
||||
$bodyclasses[] = 'has-custom-menu';
|
||||
}
|
||||
|
||||
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')?>" />
|
||||
<?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">
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="wrapper" class="clearfix">
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<div id="page-header" class="inside">
|
||||
<div id="page-header-wrapper" class="wrapper clearfix">
|
||||
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="navbar">
|
||||
<div class="wrapper clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<!-- START OF CONTENT -->
|
||||
|
||||
<div id="page-content-wrapper" class="wrapper clearfix">
|
||||
<div id="page-content" class="clearfix">
|
||||
<div id="report-main-content">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hassidepost) { ?>
|
||||
<div id="report-region-wrap">
|
||||
<div id="report-region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div class="myclear"></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="wrapper">
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
|
@ -1,115 +1,144 @@
|
|||
/*********************************************************************************************
|
||||
|
||||
left column: 250px
|
||||
right column: 250px
|
||||
padding left/right column: 10px
|
||||
padding center column: 30px
|
||||
left column: 250px
|
||||
right column: 250px
|
||||
padding left/right column: 10px
|
||||
padding center column: 30px
|
||||
|
||||
**********************************************************************************************/
|
||||
|
||||
body {
|
||||
margin: auto 0px;
|
||||
width: auto;
|
||||
margin: auto 0px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#page {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#page-header {
|
||||
float: left;
|
||||
width: 100%;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content {
|
||||
clear: both;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box {
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
position: relative;
|
||||
width: 200%;
|
||||
right: 100%;
|
||||
float: left;
|
||||
margin-left: 0;
|
||||
position: relative;
|
||||
width: 200%;
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box {
|
||||
float: left;
|
||||
margin-left: -250px;
|
||||
width: 100%;
|
||||
float: left;
|
||||
margin-left: -250px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap {
|
||||
float: left;
|
||||
width: 50%;
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-left: 250px;
|
||||
left: 100%;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-left: 250px;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-pre {
|
||||
float: right;
|
||||
position: relative;
|
||||
left: 250px;
|
||||
width: 250px;
|
||||
float: right;
|
||||
position: relative;
|
||||
left: 250px;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post {
|
||||
float: right;
|
||||
position: relative;
|
||||
left: 250px;
|
||||
width: 250px;
|
||||
float: right;
|
||||
position: relative;
|
||||
left: 250px;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 10px 20px 20px 10px;
|
||||
overflow: hidden;
|
||||
padding: 10px 20px 20px 10px;
|
||||
}
|
||||
|
||||
#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: 10px 0 20px 10px;
|
||||
overflow: hidden;
|
||||
padding: 10px 0 20px 10px;
|
||||
}
|
||||
|
||||
#page-footer {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 200px;
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
/** No blocks whatsoever **/
|
||||
|
||||
.content-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
width: 0px;
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-post {
|
||||
width: 0px;
|
||||
}
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
|
||||
/** Report layout **/
|
||||
.pagelayout-report {border-top:1px solid #555555;}
|
||||
.pagelayout-report #page {width:auto;position:relative;overflow:visible;}
|
||||
.pagelayout-report #page-header {float:none;}
|
||||
.pagelayout-report #page-content {float:none;overflow:visible;width:auto;}
|
||||
.pagelayout-report #report-main-content {float:left;width:100%;}
|
||||
.pagelayout-report #report-main-content .region-content {margin-left:210px;margin-top:20px;}
|
||||
.pagelayout-report #report-main-content .region-content table {background-color:#FFF;}
|
||||
.pagelayout-report #report-region-wrap {width:0;float:right;position:relative;left:-100%;}
|
||||
.pagelayout-report #report-region-pre {width:200px;margin-top:20px;}
|
||||
.pagelayout-report #page-footer {float:none;}
|
||||
.pagelayout-report #page-content .region-content {overflow:visible;}
|
||||
.pagelayout-report.content-only #report-main-content .region-content {margin-left:0;}
|
||||
|
||||
/** Correct for right to left languages **/
|
||||
.dir-rtl.pagelayout-report #report-main-content .region-content {margin-left:0;margin-right:200px;}
|
||||
.dir-rtl.pagelayout-report #report-region-wrap {left:0;}
|
||||
|
||||
/** Stabalise IE6 behaviour on the report layout **/
|
||||
.ie6.pagelayout-report #report-main-content,
|
||||
.ie7.pagelayout-report #report-main-content {float:none;width:auto;}
|
||||
.ie6.pagelayout-report #report-region-wrap,
|
||||
.ie7.pagelayout-report #report-region-wrap {float:none;width:200px;left:auto;position:absolute;top:0;}
|
||||
.ie6.pagelayout-report #report-region-pre,
|
||||
.ie6.pagelayout-report #report-region-pre .block
|
||||
.ie7.pagelayout-report #report-region-pre,
|
||||
.ie7.pagelayout-report #report-region-pre .block {width:100%;}
|
|
@ -645,15 +645,14 @@ h2.headingblock {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
.forumpost .content {
|
||||
border-width: 1px ;
|
||||
border-color: #a0c278;
|
||||
border-style: solid;
|
||||
padding: 5px 10px;
|
||||
.forumpost .no-overflow,
|
||||
.forumpost .options {
|
||||
border: 1px solid #a0c278;
|
||||
}
|
||||
|
||||
.forumpost .commands {
|
||||
padding: 10px 0;
|
||||
.forumpost .options,
|
||||
.forumpost .content .posting {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.forumaddnew,
|
||||
|
|
|
@ -38,8 +38,8 @@ $THEME->name = 'brick';
|
|||
|
||||
|
||||
$THEME->parents = array(
|
||||
'canvas',
|
||||
'base',
|
||||
'canvas',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
@ -54,11 +54,10 @@ $THEME->parents = array(
|
|||
|
||||
|
||||
$THEME->sheets = array(
|
||||
'pagelayout',
|
||||
'core',
|
||||
'colors',
|
||||
'css3',
|
||||
|
||||
'pagelayout',
|
||||
'core',
|
||||
'colors',
|
||||
'css3',
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -67,12 +66,12 @@ $THEME->sheets = array(
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array(
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
@ -158,11 +157,16 @@ $THEME->layouts = array(
|
|||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'report' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
|
@ -175,7 +179,7 @@ $THEME->layouts = array(
|
|||
// specific page.
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
||||
//$THEME->csspostprocess = 'arialist_process_css';
|
||||
//$THEME->csspostprocess = 'arialist_process_css';
|
||||
////////////////////////////////////////////////////
|
||||
// Allows the user to provide the name of a function
|
||||
// that all CSS should be passed to before being
|
||||
|
@ -189,7 +193,7 @@ $THEME->layouts = array(
|
|||
// media player for the filters
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->javascripts
|
||||
// $THEME->javascripts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array containing the names of JavaScript files
|
||||
|
@ -203,20 +207,20 @@ $THEME->layouts = array(
|
|||
// As above but will be included in the page footer.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
//$THEME->larrow = '⟨';
|
||||
//$THEME->larrow = '⟨';
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the left arrow image used throughout
|
||||
// Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
//$THEME->rarrow = '⟩';
|
||||
//$THEME->rarrow = '⟩';
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the right arrow image used throughout Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->layouts
|
||||
// $THEME->layouts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array setting the layouts for the theme
|
||||
|
@ -229,7 +233,7 @@ $THEME->layouts = array(
|
|||
// the themes parents
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->parents_exclude_sheets
|
||||
// $THEME->parents_exclude_sheets
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of stylesheets not to inherit from the
|
||||
|
@ -253,7 +257,7 @@ $THEME->layouts = array(
|
|||
// $THEME->resource_mp3player_colors
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Controls the colours for the MP3 player
|
||||
// Controls the colours for the MP3 player
|
||||
////////////////////////////////////////////////////
|
||||
$THEME->csspostprocess = 'brick_process_css';
|
||||
//$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
||||
|
|
|
@ -4,274 +4,274 @@
|
|||
---------------------------*/
|
||||
|
||||
html, body {
|
||||
background: #eee;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
#mypagewrapper {
|
||||
width: 100%;
|
||||
border-top: 1px solid #fff;
|
||||
width: 100%;
|
||||
border-top: 1px solid #fff;
|
||||
}
|
||||
|
||||
#page {
|
||||
margin-top: 15px;
|
||||
width: 90%;
|
||||
min-width: 960px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
clear: both;
|
||||
border: 1px solid #dadada;
|
||||
background: #fff;
|
||||
margin-top: 15px;
|
||||
width: 90%;
|
||||
min-width: 960px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
clear: both;
|
||||
border: 1px solid #dadada;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
padding: 20px;
|
||||
padding-left: 20px;
|
||||
padding-right: 17px;
|
||||
padding: 20px;
|
||||
padding-left: 20px;
|
||||
padding-right: 17px;
|
||||
}
|
||||
|
||||
#wrapper.notathome {
|
||||
padding-top: 15px;
|
||||
padding-top: 15px;
|
||||
}
|
||||
.content-only #wrapper {
|
||||
padding-right: 0px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
/* Header
|
||||
----------------------------*/
|
||||
|
||||
#headerwrap {
|
||||
width: 100%;
|
||||
top: 0px;
|
||||
height: 140px;
|
||||
width: 100%;
|
||||
top: 0px;
|
||||
height: 140px;
|
||||
}
|
||||
|
||||
#header {
|
||||
width: 90%;
|
||||
min-width: 960px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 90%;
|
||||
min-width: 960px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#logo {
|
||||
background-position: 0% 40%;
|
||||
width: 300px;
|
||||
height: 70px;
|
||||
float: left;
|
||||
background-position: 0% 40%;
|
||||
width: 300px;
|
||||
height: 70px;
|
||||
float: left;
|
||||
}
|
||||
#nologo {
|
||||
width: 590px;
|
||||
height: 70px;
|
||||
float: left;
|
||||
margin-left: 6px;
|
||||
overflow: hidden;
|
||||
width: 590px;
|
||||
height: 70px;
|
||||
float: left;
|
||||
margin-left: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
#nologo a, #nologo {
|
||||
font-family: Georgia, Palatino, serif;
|
||||
line-height: 70px;
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -1px;
|
||||
font-family: Georgia, Palatino, serif;
|
||||
line-height: 70px;
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
#loggedinas {
|
||||
min-width: 300px;
|
||||
height: 65px;
|
||||
float: right;
|
||||
text-align: right;
|
||||
line-height: 65px;
|
||||
font-size: 10px;
|
||||
min-width: 300px;
|
||||
height: 65px;
|
||||
float: right;
|
||||
text-align: right;
|
||||
line-height: 65px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
#loginas a {
|
||||
color: #fff;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#headerbottom {
|
||||
clear: both;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#headingtitle {
|
||||
float: right;
|
||||
width: 280px;
|
||||
padding-right: 5px;
|
||||
text-align: right;
|
||||
height: 70px;
|
||||
overflow: hidden;
|
||||
background: url([[pix:theme|youare]]) no-repeat;
|
||||
background-position: 95% 110%;
|
||||
position: relative;
|
||||
bottom: -2px;
|
||||
float: right;
|
||||
width: 280px;
|
||||
padding-right: 5px;
|
||||
text-align: right;
|
||||
height: 70px;
|
||||
overflow: hidden;
|
||||
background: url([[pix:theme|youare]]) no-repeat;
|
||||
background-position: 95% 110%;
|
||||
position: relative;
|
||||
bottom: -2px;
|
||||
}
|
||||
|
||||
#headingtitle h1 {
|
||||
line-height: 67px;
|
||||
font-weight: 200;
|
||||
font-size: 13px;
|
||||
text-transform: uppercase;
|
||||
color: #fff;
|
||||
line-height: 67px;
|
||||
font-weight: 200;
|
||||
font-size: 13px;
|
||||
text-transform: uppercase;
|
||||
color: #fff;
|
||||
}
|
||||
/* end Header
|
||||
----------------------------*/
|
||||
|
||||
#region-post2 .region-content div.navbutton {
|
||||
display: inline-block !important;
|
||||
width: 100%;
|
||||
float: none;
|
||||
margin-bottom: 5px;
|
||||
margin-top: 5px;
|
||||
clear: both;
|
||||
display: inline-block !important;
|
||||
width: 100%;
|
||||
float: none;
|
||||
margin-bottom: 5px;
|
||||
margin-top: 5px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
|
||||
font-family: Georgia, Palatino, serif;
|
||||
line-height: 1.5;
|
||||
color: #333;
|
||||
font-family: Georgia, Palatino, serif;
|
||||
line-height: 1.5;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-family: Georgia, Times, "Times New Roman", serif !important;
|
||||
font-family: Georgia, Times, "Times New Roman", serif !important;
|
||||
}
|
||||
|
||||
h2,h3,h4,h5,h6 {
|
||||
color: #999;
|
||||
font-weight: normal;
|
||||
color: #999;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: 1px solid #eee;
|
||||
padding-left: 15px;
|
||||
color: #666;
|
||||
border-left: 1px solid #eee;
|
||||
padding-left: 15px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.mform fieldset {
|
||||
border-color: #eee;
|
||||
border-color: #eee;
|
||||
}
|
||||
|
||||
.mform fieldset legend {
|
||||
color: #555;
|
||||
font-weight: normal;
|
||||
font-size: 1.2em;
|
||||
border: 1px solid #eee;
|
||||
padding: 2px 5px;
|
||||
background: #fff;
|
||||
color: #555;
|
||||
font-weight: normal;
|
||||
font-size: 1.2em;
|
||||
border: 1px solid #eee;
|
||||
padding: 2px 5px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
|
||||
div.navbar {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-top: 1px solid #eee;
|
||||
background: #fafafa url([[pix:theme|block]]) no-repeat;
|
||||
background-position: 100% 0%;
|
||||
font-size: 0.85em;
|
||||
font-style: italic;
|
||||
font-weight: 200;
|
||||
padding:0 10px;
|
||||
margin-bottom: 7px;
|
||||
border-bottom: 1px solid #eee;
|
||||
border-top: 1px solid #eee;
|
||||
background: #fafafa url([[pix:theme|block]]) no-repeat;
|
||||
background-position: 100% 0%;
|
||||
font-size: 0.85em;
|
||||
font-style: italic;
|
||||
font-weight: 200;
|
||||
padding:0 10px;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
div.breadcrumb li {
|
||||
line-height: 30px;
|
||||
font-family: Georgia, serif;
|
||||
line-height: 30px;
|
||||
font-family: Georgia, serif;
|
||||
}
|
||||
|
||||
.breadcrumb li img {
|
||||
vertical-align: middle;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/** breadcrumb image replacement **/
|
||||
|
||||
div.navbar span.arrow.sep {
|
||||
font-size: 1px;
|
||||
color: #fafafa;
|
||||
background: url([[pix:theme|crumber]]) no-repeat;
|
||||
background-position: 50% 25%;
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 30px;
|
||||
font-size: 1px;
|
||||
color: #fafafa;
|
||||
background: url([[pix:theme|crumber]]) no-repeat;
|
||||
background-position: 50% 25%;
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.navbutton {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding: 5px 0 15px;
|
||||
text-align: center;
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding: 5px 0 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Blocks
|
||||
----------------------------*/
|
||||
|
||||
.block {
|
||||
border: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
div.block {
|
||||
padding: 2px;
|
||||
border: 1px solid #dadada;
|
||||
margin-left: -10px;
|
||||
padding: 2px;
|
||||
border: 1px solid #dadada;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
#region-main div.block {
|
||||
margin-left: 0px;
|
||||
background-image: none;
|
||||
margin-left: 0px;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.block div.header {
|
||||
min-height: 33px;
|
||||
padding-top: 3px;
|
||||
padding-left: 3px;
|
||||
min-height: 33px;
|
||||
padding-top: 3px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
div.block.hidden div.header {
|
||||
border-bottom: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.block .header h2 {
|
||||
font-size: 13px;
|
||||
font-weight: 200;
|
||||
text-transform: uppercase;
|
||||
font-size: 13px;
|
||||
font-weight: 200;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.block div.content {
|
||||
background: #fff;
|
||||
border: 1px solid #dadada;
|
||||
border-top: none;
|
||||
padding: 4px;
|
||||
background: #fff;
|
||||
border: 1px solid #dadada;
|
||||
border-top: none;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.block div.content h1, .block div.content h2.main, .block div.content h3.main {
|
||||
font-size: 13px;
|
||||
background-image: none;
|
||||
font-size: 13px;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.block_calendar_month table.minicalendar.calendartable td,.block_calendar_month table.minicalendar.calendartable th {
|
||||
border: none !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.block_calendar_month table.minicalendar {
|
||||
margin-bottom: 0px !important;
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
|
||||
.block_calendar_month table.minicalendar.calendartable th abbr {
|
||||
border: none !important;
|
||||
text-decoration: none;
|
||||
border: none !important;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
/** main headings **/
|
||||
|
||||
.generalbox h2,h3.sectionname, h2.headingblock,h2.main,h3.main, h2.main a, h3.main a, div.loginpanel h2, div.signuppanel h2 {
|
||||
font-weight: 600;
|
||||
letter-spacing: -1px;
|
||||
line-height: 1.3em;
|
||||
font-size: 28px;
|
||||
border-bottom: 0px solid #eee;
|
||||
padding-bottom: 2px;
|
||||
background: url([[pix:theme|mainbar]]) repeat-x;
|
||||
background-position: 0% 100%;
|
||||
font-weight: 600;
|
||||
letter-spacing: -1px;
|
||||
line-height: 1.3em;
|
||||
font-size: 28px;
|
||||
border-bottom: 0px solid #eee;
|
||||
padding-bottom: 2px;
|
||||
background: url([[pix:theme|mainbar]]) repeat-x;
|
||||
background-position: 0% 100%;
|
||||
}
|
||||
|
||||
.generalbox h2, #page-course-info h2.main, h3.sectionname, h2.main a, h3.main a, div.loginpanel h2, div.signuppanel h2, div.hd h3.main {
|
||||
font-size: 22px;
|
||||
background: none;
|
||||
font-size: 22px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
|
||||
|
@ -280,259 +280,264 @@ div.block.hidden div.header {
|
|||
----------------------------*/
|
||||
|
||||
.coursebox {
|
||||
border-color: #eee;
|
||||
border-color: #eee;
|
||||
}
|
||||
|
||||
.coursebox .info {
|
||||
width: 35%;
|
||||
width: 35%;
|
||||
}
|
||||
|
||||
.coursebox .info .name {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.coursebox .info .teachers {
|
||||
font-size: 0.9em;
|
||||
color: #888;
|
||||
font-size: 0.9em;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.coursebox .summary {
|
||||
width: 63%;
|
||||
width: 63%;
|
||||
}
|
||||
|
||||
.course-content .section.main {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.course-content .section.main .content {
|
||||
padding: 5px 5px 10px;
|
||||
padding: 5px 5px 10px;
|
||||
}
|
||||
|
||||
.course-content .weeks .section.main .content {
|
||||
margin-left: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.course-content .weeks .section.main .left {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.course-content .section.main.current {
|
||||
background: #fffcdc;
|
||||
background: #fffcdc;
|
||||
}
|
||||
|
||||
.course-content .weeks .section.main h3.weekdates {
|
||||
color: #999;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.course-content .current .left,
|
||||
.course-content .current h3.weekdates {
|
||||
color: #92310c !important;
|
||||
color: #92310c !important;
|
||||
}
|
||||
|
||||
span.completionprogress {
|
||||
font-size: 11px;
|
||||
color: #666666;
|
||||
font-size: 11px;
|
||||
color: #666666;
|
||||
}
|
||||
|
||||
/* Forum
|
||||
--------------------------*/
|
||||
|
||||
.forumpost .topic {
|
||||
background: #eee url([[pix:theme|block]]) no-repeat;
|
||||
background-position: 100% 0%;
|
||||
border-width: 0;
|
||||
border: 1px solid #dadada;
|
||||
padding: 0 10px 0;
|
||||
background: #eee url([[pix:theme|block]]) no-repeat;
|
||||
background-position: 100% 0%;
|
||||
border-width: 0;
|
||||
border: 1px solid #dadada;
|
||||
padding: 0 10px 0;
|
||||
}
|
||||
|
||||
.forumpost .subject {
|
||||
font-size: 1.45em;
|
||||
font-family: Georgia, serif;
|
||||
font-size: 1.45em;
|
||||
font-family: Georgia, serif;
|
||||
}
|
||||
|
||||
.forumpost .author {
|
||||
font-size: 0.9em;
|
||||
font-style: italic;
|
||||
font-size: 0.9em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
td.picture.left img {
|
||||
background: #fafafa;
|
||||
padding: 4px;
|
||||
padding-bottom: 9px;
|
||||
border: 1px solid #dadada;
|
||||
background: #fafafa;
|
||||
padding: 4px;
|
||||
padding-bottom: 9px;
|
||||
border: 1px solid #dadada;
|
||||
}
|
||||
|
||||
.forumpost .content {
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
border-color: #aaa #dadada #dadada;
|
||||
padding: 5px 10px 10px;
|
||||
.forumpost .options,
|
||||
.forumpost .no-overflow {
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
border-color: #aaa #dadada #dadada;
|
||||
}
|
||||
|
||||
.forumpost .options,
|
||||
.forumpost .content .posting {
|
||||
padding: 5px 10px 10px;
|
||||
}
|
||||
|
||||
/* Footer
|
||||
----------------------------*/
|
||||
|
||||
#page-footer .helplink {
|
||||
margin: 1em 0;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
/* Dock */
|
||||
|
||||
body.has_dock {
|
||||
margin: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.has_dock #page, .has_dock #header {
|
||||
margin-left: 5%;
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
#dock {
|
||||
left: 5%;
|
||||
top: 107px;
|
||||
margin-left: -29px;
|
||||
border-width: 0;
|
||||
background-color: transparent;
|
||||
position: absolute;
|
||||
left: 5%;
|
||||
top: 107px;
|
||||
margin-left: -29px;
|
||||
border-width: 0;
|
||||
background-color: transparent;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#dock .controls {
|
||||
bottom: auto;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
bottom: auto;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
#dock .dockeditem_container {
|
||||
position: relative;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#dock .dockeditem.firstdockitem {
|
||||
margin-top: 50px;
|
||||
border-top: 1px solid #dadada;
|
||||
-webkit-border-top-left-radius: 3px;
|
||||
-moz-border-radius-topleft: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
margin-top: 50px;
|
||||
border-top: 1px solid #dadada;
|
||||
-webkit-border-top-left-radius: 3px;
|
||||
-moz-border-radius-topleft: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
|
||||
#dock .dockeditem {
|
||||
background-color: #fff;
|
||||
padding: 2px;
|
||||
padding-right: 0px;
|
||||
border-left: 1px solid #dadada;
|
||||
border-right: 0px solid #fafafa;
|
||||
border-top: 1px solid #fafafa;
|
||||
background-color: #fff;
|
||||
padding: 2px;
|
||||
padding-right: 0px;
|
||||
border-left: 1px solid #dadada;
|
||||
border-right: 0px solid #fafafa;
|
||||
border-top: 1px solid #fafafa;
|
||||
}
|
||||
|
||||
#dock .dockedtitle {
|
||||
border-width: 0;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
#dock .dockedtitle h2 {
|
||||
margin: 0;
|
||||
padding: 10px 3px;
|
||||
margin: 0;
|
||||
padding: 10px 3px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle.activeitem {
|
||||
color: #fff !important;
|
||||
width: 35px;
|
||||
-webkit-border-top-left-radius: 3px;
|
||||
-moz-border-radius-topleft: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
color: #fff !important;
|
||||
width: 35px;
|
||||
-webkit-border-top-left-radius: 3px;
|
||||
-moz-border-radius-topleft: 3px;
|
||||
border-top-left-radius: 3px;
|
||||
-webkit-border-bottom-left-radius: 3px;
|
||||
-moz-border-radius-bottomleft: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle.activeitem h2 {
|
||||
color: #fff !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#dockeditempanel {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_content {
|
||||
background-color: #fff;
|
||||
margin: 0 3px;
|
||||
position: relative;
|
||||
min-height: 100px;
|
||||
-webkit-border-radius: 3px;
|
||||
-webkit-border-top-left-radius: 0;
|
||||
-moz-border-radius: 3px;
|
||||
-moz-border-radius-topleft: 0;
|
||||
border-radius: 3px;
|
||||
border-top-left-radius: 0;
|
||||
background-color: #fff;
|
||||
margin: 0 3px;
|
||||
position: relative;
|
||||
min-height: 100px;
|
||||
-webkit-border-radius: 3px;
|
||||
-webkit-border-top-left-radius: 0;
|
||||
-moz-border-radius: 3px;
|
||||
-moz-border-radius-topleft: 0;
|
||||
border-radius: 3px;
|
||||
border-top-left-radius: 0;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd {
|
||||
border-width: 0;
|
||||
padding: 2px;
|
||||
border-width: 0;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd h2 {
|
||||
font-size: 0.9em;
|
||||
color: #fff;
|
||||
font-size: 0.9em;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/** yui menu styles **/
|
||||
|
||||
#menustuff {
|
||||
width: 600px;
|
||||
float: left;
|
||||
clear: left;
|
||||
height: 65px;
|
||||
width: 600px;
|
||||
float: left;
|
||||
clear: left;
|
||||
height: 65px;
|
||||
}
|
||||
|
||||
#custommenu {
|
||||
border: none !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
div.yui3-menu-content {
|
||||
border: none !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.yui3-menu-content li a {
|
||||
font-size: 14px;
|
||||
font-family: Georgia, serif !important;
|
||||
font-weight: 200;
|
||||
text-transform: lowercase;
|
||||
line-height: 70px;
|
||||
cursor: pointer;
|
||||
border-right: none !important;
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
font-size: 14px;
|
||||
font-family: Georgia, serif !important;
|
||||
font-weight: 200;
|
||||
text-transform: lowercase;
|
||||
line-height: 70px;
|
||||
cursor: pointer;
|
||||
border-right: none !important;
|
||||
border-top: none !important;
|
||||
border-bottom: none !important;
|
||||
}
|
||||
|
||||
.yui3-menu-content li a:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div.custom_menu_submenu li a {
|
||||
line-height: 30px;
|
||||
text-shadow: none !important;
|
||||
line-height: 30px;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
|
||||
div.yui3-menu.custom_menu_submenu {
|
||||
background: url([[pix:theme|youare]]) no-repeat;
|
||||
background-position: 30px 10px;
|
||||
top: 120px !important;
|
||||
border: none;
|
||||
min-width: 100px;
|
||||
z-index: 99998;
|
||||
background: url([[pix:theme|youare]]) no-repeat;
|
||||
background-position: 30px 10px;
|
||||
top: 120px !important;
|
||||
border: none;
|
||||
min-width: 100px;
|
||||
z-index: 99998;
|
||||
}
|
||||
|
||||
div.yui3-menu.custom_menu_submenu div.yui3-menu-content {
|
||||
margin-top: 22px;
|
||||
border: 1px solid #dadada !important;
|
||||
border-top: none !important;
|
||||
margin-top: 22px;
|
||||
border: 1px solid #dadada !important;
|
||||
border-top: none !important;
|
||||
}
|
||||
|
||||
/** below style to move sub subs to the left to keep from going off the page **/
|
||||
|
||||
div.yui3-menu.custom_menu_submenu div.yui3-menu-content div.yui3-menu.custom_menu_submenu div.yui3-menu-content {
|
||||
background-image: none !important;
|
||||
min-width: 200px;
|
||||
position: relative;
|
||||
margin-top: -50px;
|
||||
border-top: 1px solid #dadada !important;
|
||||
background-image: none !important;
|
||||
min-width: 200px;
|
||||
position: relative;
|
||||
margin-top: -50px;
|
||||
border-top: 1px solid #dadada !important;
|
||||
}
|
|
@ -38,33 +38,33 @@ body {
|
|||
right: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box {
|
||||
#page-content #region-post-box {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap {
|
||||
#page-content #region-main-wrap {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
#page-content #region-main {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post {
|
||||
#page-content #region-post {
|
||||
float: right;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content {
|
||||
#page-content #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 0px 30px 20px 0;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post .region-content {
|
||||
#page-content #region-post .region-content {
|
||||
overflow: hidden;
|
||||
padding: 0px 0 20px 10px;
|
||||
}
|
||||
|
@ -86,31 +86,34 @@ body {
|
|||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box {
|
||||
.content-only #page-content #region-post-box {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
.content-only #page-content #region-main {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
.content-only #page-content #region-pre {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-post {
|
||||
.content-only #page-content #region-post {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box {
|
||||
#page-content #region-post-box {
|
||||
margin-left: -250px;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
#page-content #region-main {
|
||||
margin-left: 250px;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post {
|
||||
#page-content #region-post {
|
||||
left: 250px;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
.pagelayout-report #page-content #region-main {overflow:auto;}
|
||||
.pagelayout-report #page-content #region-main .region-content {overflow:visible;}
|
|
@ -41,7 +41,7 @@ $THEME->name = 'canvas';
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents = array(
|
||||
'base',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
@ -55,16 +55,16 @@ $THEME->parents = array(
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->sheets = array(
|
||||
'pagelayout',
|
||||
'text',
|
||||
'core',
|
||||
'course',
|
||||
'mods',
|
||||
'blocks',
|
||||
'tabs',
|
||||
'admin',
|
||||
'tables',
|
||||
'popups',
|
||||
'pagelayout',
|
||||
'text',
|
||||
'core',
|
||||
'course',
|
||||
'mods',
|
||||
'blocks',
|
||||
'tabs',
|
||||
'admin',
|
||||
'tables',
|
||||
'popups',
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -73,10 +73,10 @@ $THEME->sheets = array(
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array(
|
||||
'base'=>array(
|
||||
'navigation',
|
||||
'browser',
|
||||
),
|
||||
'base'=>array(
|
||||
'navigation',
|
||||
'browser',
|
||||
),
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -168,6 +168,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
)
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
|
|
|
@ -26,29 +26,29 @@ echo $OUTPUT->doctype() ?>
|
|||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="wrapper" class="clearfix">
|
||||
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" class="clearfix">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu">
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu;
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="wrapper" class="clearfix">
|
||||
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" class="clearfix">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu">
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu;
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="navbar clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
|
@ -62,57 +62,57 @@ echo $OUTPUT->doctype() ?>
|
|||
|
||||
<!-- START OF CONTENT -->
|
||||
|
||||
<div id="page-content-wrapper" class="clearfix">
|
||||
<div id="page-content">
|
||||
<div id="region-main-box">
|
||||
<div id="region-post-box">
|
||||
<div id="page-content-wrapper" class="clearfix">
|
||||
<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>
|
||||
<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">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="region-pre">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hassidepost) { ?>
|
||||
<div id="region-post">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($hassidepost) { ?>
|
||||
<div id="region-post">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="clearfix">
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
</div> <!-- END #wrapper -->
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="clearfix">
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
</div> <!-- END #wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
</div> <!-- END #page -->
|
||||
|
|
109
theme/canvas/layout/report.php
Normal file
109
theme/canvas/layout/report.php
Normal file
|
@ -0,0 +1,109 @@
|
|||
<?php
|
||||
|
||||
$hasheading = ($PAGE->heading);
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$hasfooter = (empty($PAGE->layout_options['nofooter']));
|
||||
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
|
||||
$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT);
|
||||
|
||||
$bodyclasses = array();
|
||||
if ($hassidepre && !$hassidepost) {
|
||||
$bodyclasses[] = 'side-pre-only';
|
||||
} else if ($hassidepost && !$hassidepre) {
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
} else if (!$hassidepost && !$hassidepre) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
|
||||
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')?>" />
|
||||
<?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">
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="wrapper" class="clearfix">
|
||||
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" class="clearfix">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu">
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu;
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="navbar clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<!-- START OF CONTENT -->
|
||||
|
||||
|
||||
<div id="page-content-wrapper" class="clearfix">
|
||||
<div id="page-content">
|
||||
<div id="report-main-content">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="report-region-wrap">
|
||||
<div id="report-region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="clearfix">
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
</div> <!-- END #wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
</div> <!-- END #page -->
|
||||
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
|
@ -1,21 +1,19 @@
|
|||
#page-content #region-main-box {
|
||||
left: 210px;
|
||||
/
|
||||
|
||||
* Width of left sideblock */
|
||||
left: 210px;
|
||||
/* Width of left sideblock */
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box {
|
||||
margin-left: -420px;
|
||||
|
||||
#page-content #region-post-box {
|
||||
margin-left: -420px;
|
||||
|
||||
|
||||
/* Twice width of left sideblock */
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 420px;
|
||||
|
||||
#page-content #region-main {
|
||||
margin-left: 420px;
|
||||
|
||||
|
||||
/* Twice width of left sideblock */
|
||||
padding: 0 15px;
|
||||
|
@ -24,9 +22,9 @@
|
|||
/* Padding around middle column */
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-pre {
|
||||
left: 210px;
|
||||
|
||||
#page-content #region-pre {
|
||||
left: 210px;
|
||||
|
||||
|
||||
/* Width of left sideblock */
|
||||
width: 210px;
|
||||
|
@ -35,37 +33,35 @@
|
|||
/* Width of left sideblock */
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post {
|
||||
width: 210px;
|
||||
/
|
||||
|
||||
* Width of right sideblock */
|
||||
#page-content #region-post {
|
||||
width: 210px;
|
||||
/* Width of right sideblock */
|
||||
}
|
||||
|
||||
#page-content #region-main-box .region-content {
|
||||
padding: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/** Only side pre **/
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: -210px;
|
||||
margin-left: -210px;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 210px;
|
||||
margin-left: 210px;
|
||||
}
|
||||
|
||||
/** Only side post **/
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: -210px;
|
||||
margin-left: -210px;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 210px;
|
||||
margin-left: 210px;
|
||||
}
|
||||
|
||||
.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 210px;
|
||||
margin-left: 210px;
|
||||
}
|
|
@ -156,6 +156,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre'
|
||||
),
|
||||
);
|
||||
|
||||
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
||||
|
|
127
theme/formal_white/layout/report.php
Normal file
127
theme/formal_white/layout/report.php
Normal file
|
@ -0,0 +1,127 @@
|
|||
<?php
|
||||
|
||||
$hasheading = ($PAGE->heading);
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$hasfooter = (empty($PAGE->layout_options['nofooter']));
|
||||
$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 ($hascustommenu) {
|
||||
$bodyclasses[] = 'has_custom_menu';
|
||||
}
|
||||
|
||||
if (!empty($PAGE->theme->settings->logo)) {
|
||||
$logourl = $PAGE->theme->settings->logo;
|
||||
} else {
|
||||
$logourl = $OUTPUT->pix_url('logo', 'theme');
|
||||
}
|
||||
|
||||
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')?>" />
|
||||
<?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="page2">
|
||||
<div id="headerleft" class="headerleft"><div> </div></div>
|
||||
<div id="bodyleft" class="bodyleft">
|
||||
<div id="bodyright" class="bodyright">
|
||||
<div id="header-i3" class="i3">
|
||||
<?php if ($hasheading || $hasnavbar) { // This is what gets printed on the home page only
|
||||
?>
|
||||
<div id="header-home" class="clearfix">
|
||||
<div id="headerenvelop">
|
||||
|
||||
<!-- //echo '<h1 class="logo headermain">'.$PAGE->heading.'</h1>'; -->
|
||||
<?php echo '<div id="logo"><img class="sitelogo" src="'.$logourl.'" alt="Custom logo here" /></div>';
|
||||
echo '<div class="headermenu">';
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->theme->settings->alwayslangmenu)) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu;
|
||||
echo '</div>'; // closes: <div class="headermenu">
|
||||
|
||||
echo '</div>'; // closes: <div id="headerenvelop">
|
||||
echo '</div>'; // closes: <div id="header-home" class="clearfix">
|
||||
|
||||
if ($hascustommenu) {
|
||||
echo '<div id="custommenu">'.$custommenu.'</div>';
|
||||
}
|
||||
|
||||
//Accessibility: breadcrumb trail/navbar now a DIV, not a table.
|
||||
if ($hasnavbar) {
|
||||
echo '<div class="navbar clearfix">';
|
||||
echo ' <div class="breadcrumb">'.$OUTPUT->navbar().'</div>';
|
||||
echo ' <div class="navbutton">'.$PAGE->button.'</div>';
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
} ?>
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<div id="page-content" class="clearfix shrinker">
|
||||
<div id="report-main-content">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="report-region-wrap">
|
||||
<div id="report-region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div> <!-- closes: <div id="header-i3" class="i3"> -->
|
||||
</div> <!-- closes: <div id="bodyright" class="bodyright"> -->
|
||||
</div> <!-- closes: <div id="bodyleft" class="bodyleft"> -->
|
||||
<div id="contentfooter" class="contentfooter"><div> </div></div>
|
||||
</div> <!-- closes: <div id="page2"> -->
|
||||
</div> <!-- closes:<div id="page"> -->
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="clearfix">
|
||||
<?php echo $footnote; ?>
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
|
@ -64,12 +64,14 @@ function formalwhite_set_backgroundcolor($css, $backgroundcolor) {
|
|||
function formalwhite_set_regionwidth($css, $regionwidth) {
|
||||
$tag = '[[setting:regionwidth]]';
|
||||
$doubletag = '[[setting:regionwidthdouble]]';
|
||||
$tagplus10 = '[[setting:regionwidthplus10]]';
|
||||
$replacement = $regionwidth;
|
||||
if (is_null($replacement)) {
|
||||
$replacement = 200;
|
||||
}
|
||||
$css = str_replace($tag, $replacement.'px', $css);
|
||||
$css = str_replace($doubletag, ($replacement*2).'px', $css);
|
||||
$css = str_replace($tag, ($replacement+10).'px', $css);
|
||||
return $css;
|
||||
}
|
||||
|
||||
|
|
|
@ -162,13 +162,16 @@ img.iconhelp {vertical-align:middle;}
|
|||
|
||||
/** Forum **/
|
||||
.forumheaderlist,
|
||||
.forumpost {margin-top:15px;border:1px solid #DDD;border-collapse:separate;}
|
||||
.forumpost td {border-width:0px;}
|
||||
.forumpost .topic {background-color:#C8C9C7;}
|
||||
.forumpost {margin-top:15px;border:1px solid #DDD;background-color:#EEE;}
|
||||
.forumpost .header {background-color:#C8C9C7;}
|
||||
.forumpost .topic {padding:7px;}
|
||||
.forumpost .topic .subject {font-weight:bold;}
|
||||
.forumpost .topic .author {font-size:0.8em;}
|
||||
.forumpost .left {background-color:#EEE;padding:4px;text-align:center;vertical-align:top;width:35px;}
|
||||
.forumpost .content .commands {font-size:0.9em;clear:both;padding-top:0.5em;text-align:right;}
|
||||
.forumpost .left {background-color:#EEE;}
|
||||
.forumpost .content {background-color:#FFF;border-top:1px solid #333;}
|
||||
.forumpost .content .posting {padding:4px;}
|
||||
.forumpost .options {background-color:#FFF;}
|
||||
.forumpost .options .commands {font-size:0.9em;clear:both;padding:0.5em 5px 5px;text-align:right;}
|
||||
.forumpost .content .link {font-size:0.9em;}
|
||||
.forumpost .content .footer {font-size:0.9em;padding-top:0.5em;text-align:right;}
|
||||
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
.block .content {background-color:[[setting:backgroundcolor]];}
|
||||
#page-content #region-main-box {left:[[setting:regionwidth]];}
|
||||
#page-content #region-main-box #region-post-box {margin-left:-[[setting:regionwidthdouble]];}
|
||||
#page-content #region-main-box #region-post-box #region-pre {width:[[setting:regionwidth]];left:[[setting:regionwidth]];}
|
||||
#page-content #region-main-box #region-post-box #region-post {width:[[setting:regionwidth]];}
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {margin-left:[[setting:regionwidthdouble]];}
|
||||
.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]];}
|
||||
/* #page {width:[[setting:regionwidth]]%;margin:15px (100-[[setting:regionwidth])/2% 0;} */
|
||||
/* #page {min-width: 934px;} */
|
||||
#page-content #region-main-box {left:[[setting:regionwidthplus10]];}
|
||||
#page-content #region-post-box {margin-left:-[[setting:regionwidthdouble]];}
|
||||
#page-content #region-pre {width:[[setting:regionwidth]];left:[[setting:regionwidth]];}
|
||||
#page-content #region-post {width:[[setting:regionwidth]];}
|
||||
#page-content #region-main {margin-left:[[setting:regionwidthdouble]];}
|
||||
.side-pre-only #page-content #region-post-box {margin-left:-[[setting:regionwidth]];}
|
||||
.side-pre-only #page-content #region-main {margin-left:[[setting:regionwidth]];}
|
||||
|
||||
/** Custom CSS **/
|
||||
[[setting:customcss]]
|
|
@ -7,10 +7,11 @@
|
|||
.path-mod-forum .forumheaderlist th {background: url([[pix:theme|gradient-sb]]) repeat-x 0 0}
|
||||
.path-mod-forum .forumheaderlist .r1 td { background:#f5f5f5; }
|
||||
|
||||
.forumpost .topic { background:#eee;border-color:#aaa;border-width:0 0 2px 0;padding-left:7px; }
|
||||
.forumpost .topic { background:#eee;border-bottom:2px solid #AAA;padding-left:7px; }
|
||||
.forumpost .topic .subject { font-size:1.25em; }
|
||||
.forumpost .topic .author { font-style:italic;color:#444;font-size:0.95em; }
|
||||
.forumpost .content { border-bottom:5px solid #aaa;padding:5px 7px 10px 7px; }
|
||||
.forumpost .content .posting { padding:5px 7px 10px 7px; }
|
||||
.forumpost .options { border-bottom:5px solid #aaa;}
|
||||
|
||||
/* Assignments
|
||||
--------------------------*/
|
||||
|
|
|
@ -38,8 +38,8 @@ $THEME->name = 'fusion';
|
|||
|
||||
|
||||
$THEME->parents = array(
|
||||
'canvas',
|
||||
'base',
|
||||
'canvas',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
@ -54,10 +54,10 @@ $THEME->parents = array(
|
|||
|
||||
|
||||
$THEME->sheets = array(
|
||||
'core',
|
||||
'pagelayout',
|
||||
'menus',
|
||||
'settings',
|
||||
'core',
|
||||
'pagelayout',
|
||||
'menus',
|
||||
'settings',
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -66,12 +66,12 @@ $THEME->sheets = array(
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array(
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
@ -156,7 +156,7 @@ $THEME->layouts = array(
|
|||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
|
@ -167,7 +167,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
|
||||
'report' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-post'),
|
||||
'defaultregion' => 'side-post',
|
||||
),
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
@ -208,14 +212,14 @@ $THEME->layouts = array(
|
|||
// As above but will be included in the page footer.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->larrow = '⟨';
|
||||
$THEME->larrow = '⟨';
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the left arrow image used throughout
|
||||
// Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->rarrow = '⟩';
|
||||
$THEME->rarrow = '⟩';
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the right arrow image used throughout Moodle
|
||||
|
|
|
@ -38,14 +38,14 @@ body {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box {
|
||||
#page-content #region-post-box {
|
||||
float: left;
|
||||
right: 72%;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
#page-content #region-main {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
@ -54,7 +54,7 @@ body {
|
|||
width: 72%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post {
|
||||
#page-content #region-post {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
@ -62,12 +62,12 @@ body {
|
|||
width: 28%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content {
|
||||
#page-content #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 50px 15px 20px 0;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post .region-content {
|
||||
#page-content #region-post .region-content {
|
||||
overflow: hidden;
|
||||
padding: 0 0 0 10px;
|
||||
}
|
||||
|
@ -84,19 +84,22 @@ body {
|
|||
right: 0%;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box {
|
||||
.content-only #page-content #region-post-box {
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
.content-only #page-content #region-main {
|
||||
left: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
.content-only #page-content #region-pre {
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-post {
|
||||
.content-only #page-content #region-post {
|
||||
width: 0%;
|
||||
}
|
||||
}
|
||||
|
||||
.pagelayout-report #page-content #region-main {overflow:auto;}
|
||||
.pagelayout-report #page-content #region-main .region-content {overflow:visible;}
|
|
@ -38,8 +38,8 @@ $THEME->name = 'leatherbound';
|
|||
|
||||
|
||||
$THEME->parents = array(
|
||||
'canvas',
|
||||
'base',
|
||||
'canvas',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
@ -54,7 +54,7 @@ $THEME->parents = array(
|
|||
|
||||
|
||||
$THEME->sheets = array(
|
||||
'core',
|
||||
'core',
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -144,7 +144,7 @@ $THEME->layouts = array(
|
|||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
|
@ -155,7 +155,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -29,26 +29,26 @@ echo $OUTPUT->doctype() ?>
|
|||
<div id="page">
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" class="wrapper clearfix">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div id="page-header-wrapper" class="wrapper clearfix">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="navbar">
|
||||
<div class="wrapper clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
<div class="wrapper clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
|
91
theme/leatherbound/layout/report.php
Normal file
91
theme/leatherbound/layout/report.php
Normal file
|
@ -0,0 +1,91 @@
|
|||
<?php
|
||||
|
||||
$hasheading = ($PAGE->heading);
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$hasfooter = (empty($PAGE->layout_options['nofooter']));
|
||||
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
|
||||
$hassidepost = $PAGE->blocks->region_has_content('side-post', $OUTPUT);
|
||||
|
||||
$bodyclasses = array();
|
||||
if ($hassidepre && !$hassidepost) {
|
||||
$bodyclasses[] = 'side-pre-only';
|
||||
} else if ($hassidepost && !$hassidepre) {
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
} else if (!$hassidepost && !$hassidepre) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
|
||||
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')?>" />
|
||||
<?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">
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" class="wrapper clearfix">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain inside"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php
|
||||
echo $OUTPUT->login_info();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hasnavbar) { ?>
|
||||
<div class="navbar">
|
||||
<div class="wrapper clearfix">
|
||||
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<div id="page-content-wrapper" class="wrapper clearfix">
|
||||
<div id="page-content">
|
||||
<div id="report-main-content">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="report-region-wrap">
|
||||
<div id="report-region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer" class="wrapper">
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
|
@ -14,273 +14,274 @@
|
|||
------------------------*/
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #281f18;
|
||||
background: #fff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #281f18;
|
||||
}
|
||||
|
||||
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
margin: 0 25px;
|
||||
margin: 0 25px;
|
||||
}
|
||||
|
||||
a:link,a:visited {
|
||||
color: #DA5013;
|
||||
color: #DA5013;
|
||||
}
|
||||
|
||||
a:hover,a:active {
|
||||
color: #251c17;
|
||||
color: #251c17;
|
||||
}
|
||||
|
||||
a img {
|
||||
border: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
a:active {
|
||||
outline: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Header
|
||||
-----------------------*/
|
||||
|
||||
#page-header {
|
||||
float: none;
|
||||
padding: 10px 0 0;
|
||||
background: url([[pix:theme|header]]);
|
||||
border-bottom: 5px solid #DA5013;
|
||||
color: #fff;
|
||||
float: none;
|
||||
padding: 10px 0 0;
|
||||
background: url([[pix:theme|header]]);
|
||||
border-bottom: 5px solid #DA5013;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#page-header h1 {
|
||||
font-size: 2.25em;
|
||||
margin: 30px 0 20px;
|
||||
font-size: 2.25em;
|
||||
margin: 30px 0 20px;
|
||||
}
|
||||
|
||||
#page-header h1.inside {
|
||||
font-size: 1.8em;
|
||||
margin: 20px 0 10px;
|
||||
font-size: 1.8em;
|
||||
margin: 20px 0 10px;
|
||||
}
|
||||
|
||||
.headermenu {
|
||||
margin: 0;
|
||||
font-size: 0.9em;
|
||||
margin: 0;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* Navbar
|
||||
-----------------------*/
|
||||
|
||||
.navbar {
|
||||
border-width: 0 0 1px 0;
|
||||
border-color: #ddddd7;
|
||||
background: #f7f6f1;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
border-width: 0 0 1px 0;
|
||||
border-color: #ddddd7;
|
||||
background: #f7f6f1;
|
||||
margin: 0;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.navbar .navbutton {
|
||||
margin-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.breadcrumb .sep {
|
||||
font-size: 0.8em;
|
||||
color: #999;
|
||||
font-size: 0.8em;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/* Content
|
||||
-----------------------*/
|
||||
|
||||
#page-content-wrapper {
|
||||
float: none;
|
||||
margin-top: 5px;
|
||||
float: none;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
/* Blocks
|
||||
-----------------------*/
|
||||
|
||||
.block {
|
||||
margin-bottom: 20px;
|
||||
border: none;
|
||||
margin-bottom: 20px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.block .header {
|
||||
border-top: 2px solid #da5013;
|
||||
background: #f7f6f1;
|
||||
padding: 4px 5px 5px;
|
||||
border-top: 2px solid #da5013;
|
||||
background: #f7f6f1;
|
||||
padding: 4px 5px 5px;
|
||||
}
|
||||
|
||||
.block .title h2 {
|
||||
color: #35251B;
|
||||
font-weight: normal;
|
||||
font-size: 1.2em;
|
||||
margin: 0;
|
||||
color: #35251B;
|
||||
font-weight: normal;
|
||||
font-size: 1.2em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Forum
|
||||
------------------------*/
|
||||
|
||||
.forumpost .topic {
|
||||
background: #dbd6c7;
|
||||
border-bottom-color: #da5013;
|
||||
background: #dbd6c7;
|
||||
border-bottom:1px solid #da5013;
|
||||
padding:5px 4px 4px;
|
||||
}
|
||||
|
||||
.forumpost .topic .subject {
|
||||
font-weight: bold;
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.forumpost .topic .author {
|
||||
font-size: 0.9em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.forumpost .content {
|
||||
background: #f7f5f1;
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
border-color: #d9d8d4;
|
||||
background: #f7f5f1;
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
border-color: #d9d8d4;
|
||||
}
|
||||
|
||||
/* Course
|
||||
---------------------------*/
|
||||
|
||||
h2.headingblock {
|
||||
border-width: 0 0 1px 0;
|
||||
padding: 5px 5px 2px;
|
||||
font-weight: normal;
|
||||
font-size: 1.2em;
|
||||
background: #f7f5f1;
|
||||
color: #251c17;
|
||||
border-width: 0 0 1px 0;
|
||||
padding: 5px 5px 2px;
|
||||
font-weight: normal;
|
||||
font-size: 1.2em;
|
||||
background: #f7f5f1;
|
||||
color: #251c17;
|
||||
}
|
||||
|
||||
.course-content .main {
|
||||
background: #f7f5f1;
|
||||
border: 1px solid #ddd
|
||||
background: #f7f5f1;
|
||||
border: 1px solid #ddd
|
||||
}
|
||||
|
||||
.course-content .current {
|
||||
background: #da5013;
|
||||
color: #fff;
|
||||
background: #da5013;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.course-content .main .content {
|
||||
background: #fff;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* Dock
|
||||
---------------------------*/
|
||||
|
||||
#dock {
|
||||
background-color: #f7f5f1;
|
||||
border-right-color: #433b30;
|
||||
background-color: #f7f5f1;
|
||||
border-right-color: #433b30;
|
||||
}
|
||||
|
||||
#dock .dockeditem_container {
|
||||
margin-top: 10px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#dock .dockeditem {
|
||||
background-color: #fff;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#dock .firstdockitem {
|
||||
margin-top: 1em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#dock .dockeditem .dockedtitle {
|
||||
border-color: #dddddd;
|
||||
border-top-color: #fff;
|
||||
border-color: #dddddd;
|
||||
border-top-color: #fff;
|
||||
}
|
||||
|
||||
#dock .dockeditem .dockedtitle.activeitem {
|
||||
background: #f7f5f1;
|
||||
border-top-color:#f7f5f1 ;
|
||||
background: #f7f5f1;
|
||||
border-top-color:#f7f5f1 ;
|
||||
}
|
||||
|
||||
#dock .firstdockitem .dockedtitle {
|
||||
border-top-color: #ddd;
|
||||
border-top-color: #ddd;
|
||||
}
|
||||
|
||||
|
||||
#dock .dockeditem .dockedtitle h2 {
|
||||
margin: 12px 0 12px 7px;
|
||||
margin: 12px 0 12px 7px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_content {
|
||||
border-color: #433b30;
|
||||
border-color: #433b30;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd {
|
||||
border-bottom: none;
|
||||
padding: 3px 5px;
|
||||
background: #f7f6f1;
|
||||
text-align: left;
|
||||
border-bottom: none;
|
||||
padding: 3px 5px;
|
||||
background: #f7f6f1;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd h2 {
|
||||
color: #333;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
font-size: 1.25em;
|
||||
padding: 0 2px;
|
||||
color: #333;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
font-size: 1.25em;
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd .commands {
|
||||
float: right;
|
||||
float: right;
|
||||
}
|
||||
/* block expansion code */
|
||||
|
||||
.block_js_expansion .block_tree {
|
||||
overflow-x: scroll;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.block_js_expansion.mouseover .content {
|
||||
width: 200%;
|
||||
z-index: 1000;
|
||||
position: relative;
|
||||
width: 200%;
|
||||
z-index: 1000;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.block_js_expansion.mouseover .content .block_tree {
|
||||
width: 100%;
|
||||
background-color: #FAFAFA;
|
||||
padding-bottom: 0px;
|
||||
width: 100%;
|
||||
background-color: #FAFAFA;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
/** IE stylings */
|
||||
|
||||
.ie6 .block .block_tree {
|
||||
width: 160px;
|
||||
overflow-x: scroll;
|
||||
width: 160px;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.ie6 .block_tree .tree_item {
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ie6 #dock {
|
||||
position: absolute;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.ie6 #dock hr {
|
||||
display: none;
|
||||
margin: 0px;
|
||||
height: 0px;
|
||||
padding: 0px;
|
||||
display: none;
|
||||
margin: 0px;
|
||||
height: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.ie6 #dock li p {
|
||||
background-color: inherit;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.ie6 #dock .bd.oversized_content .content, .ie7 #dock .bd.oversized_content .content {
|
||||
padding-bottom: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.ie6 .block_js_expansion.mouseover .content, .ie7 .block_js_expansion.mouseover .content {
|
||||
padding-bottom: 2px;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.ie6 #dock .bd.oversized_content {
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
|
@ -120,7 +120,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
|
||||
'report' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -1,70 +1,70 @@
|
|||
/** colors file for magazine theme, contains colors, logo and background image **/
|
||||
|
||||
html,body {
|
||||
background: #fff url([[setting:background]]);
|
||||
background: #fff url([[setting:background]]);
|
||||
}
|
||||
|
||||
html a,body a, html a:visited,body a:visited {
|
||||
color: [[setting:linkcolor]];
|
||||
color: [[setting:linkcolor]];
|
||||
}
|
||||
|
||||
html a:hover,body a:hover {
|
||||
color: [[setting:linkhover]];
|
||||
color: [[setting:linkhover]];
|
||||
}
|
||||
|
||||
/** header and dock, default #002f2f and #092323 **/
|
||||
|
||||
#header-wrap, #dock {
|
||||
background: [[setting:maincolor]];
|
||||
border-bottom: 1px solid [[setting:maincoloraccent]];
|
||||
background: [[setting:maincolor]];
|
||||
border-bottom: 1px solid [[setting:maincoloraccent]];
|
||||
}
|
||||
|
||||
/** logo is below **/
|
||||
|
||||
div.thetitle {
|
||||
background: url([[setting:logo]]) no-repeat 0% 50%;
|
||||
background: url([[setting:logo]]) no-repeat 0% 50%;
|
||||
}
|
||||
|
||||
/** block header font color and others default is #002f2f **/
|
||||
|
||||
td.category.number, .yui-module.yui-overlay.yui-panel div.hd, #navigation li a:link,#navigation li a:visited, div.tabtree li a span {
|
||||
color: [[setting:maincolor]];
|
||||
color: [[setting:maincolor]];
|
||||
}
|
||||
|
||||
.title h2, div.dockeditempanel_hd h2, div.dockeditempanel_hd {
|
||||
color: [[setting:blockcolor]];
|
||||
color: [[setting:blockcolor]];
|
||||
}
|
||||
|
||||
.yui3-menu-content li a {
|
||||
color: [[setting:maincolor]] !important;
|
||||
color: [[setting:maincolor]] !important;
|
||||
}
|
||||
|
||||
div.dockedtitle {
|
||||
border-bottom: 1px solid [[setting:maincoloraccent]] !important;
|
||||
border-top: 1px solid #333333 !important;
|
||||
border-bottom: 1px solid [[setting:maincoloraccent]] !important;
|
||||
border-top: 1px solid #333333 !important;
|
||||
}
|
||||
|
||||
/** main headings and forum post subject default color #4e0000 **/
|
||||
|
||||
#nologo, #nologo a, .generalbox h2,h3.sectionname, div.tabtree li.selected a span, .forumpost .subject, .blog_entry div.subject a, h2.headingblock,h2.main,h3.main, h2.main a, h3.main a, div.loginpanel h2, div.signuppanel h2 {
|
||||
color: [[setting:headingcolor]];
|
||||
color: [[setting:headingcolor]];
|
||||
}
|
||||
|
||||
/** forum post subject background default is #e6e2af **/
|
||||
|
||||
.forumpost td.topic {
|
||||
background: [[setting:forumback]] url([[pix:theme|alert-overlay]]) repeat-x;
|
||||
.forumpost .topic {
|
||||
background: [[setting:forumback]] url([[pix:theme|alert-overlay]]) repeat-x;
|
||||
}
|
||||
|
||||
/** table header background color, default is #002f2f **/
|
||||
|
||||
td.maincalendar table.calendartable th, table.rolecap .header,.generaltable .header,.forumheaderlist .header,.files .header,.editcourse .header,.logtable .header,#attempts .header,table#categoryquestions th {
|
||||
background: [[setting:maincolor]] !important;
|
||||
background: [[setting:maincolor]] !important;
|
||||
}
|
||||
|
||||
|
||||
/** dock item hover, default is #4e0000 **/
|
||||
|
||||
div.dockeditem_container div.dockeditem:hover {
|
||||
background: [[setting:headingcolor]] url([[pix:theme|mbar]]) repeat-y;
|
||||
background: [[setting:headingcolor]] url([[pix:theme|mbar]]) repeat-y;
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -62,27 +62,27 @@
|
|||
right: 0%;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box {
|
||||
.side-pre-only #page-content #region-post-box {
|
||||
right: 77%;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
.side-pre-only #page-content #region-main {
|
||||
left: 100%;
|
||||
width: 77%;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content {
|
||||
.side-pre-only #page-content #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 10px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
.side-pre-only #page-content #region-pre {
|
||||
left: 1%;
|
||||
width: 21%;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-post {
|
||||
.side-pre-only #page-content #region-post {
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
|
@ -92,21 +92,21 @@
|
|||
right: 23%;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box {
|
||||
.side-post-only #page-content #region-post-box {
|
||||
right: 76%;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
.side-post-only #page-content #region-main {
|
||||
left: 100%;
|
||||
width: 77%;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content {
|
||||
.side-post-only #page-content #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 10px;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-post {
|
||||
.side-post-only #page-content #region-post {
|
||||
left: 100%;
|
||||
width: 21%;
|
||||
}
|
||||
|
@ -121,15 +121,15 @@
|
|||
right: 0%;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box {
|
||||
.content-only #page-content #region-post-box {
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
.content-only #page-content #region-main {
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
.content-only #page-content #region-pre {
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
|
@ -145,4 +145,7 @@
|
|||
|
||||
#region-post {
|
||||
padding-top: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.pagelayout-report #page-content #region-main {overflow:auto;}
|
||||
.pagelayout-report #page-content #region-main .region-content {overflow:visible;}
|
|
@ -38,8 +38,8 @@ $THEME->name = 'nonzero';
|
|||
|
||||
|
||||
$THEME->parents = array(
|
||||
'canvas',
|
||||
'base',
|
||||
'canvas',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
@ -54,8 +54,8 @@ $THEME->parents = array(
|
|||
|
||||
|
||||
$THEME->sheets = array(
|
||||
'core',
|
||||
'pagelayout',
|
||||
'core',
|
||||
'pagelayout',
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -64,12 +64,12 @@ $THEME->sheets = array(
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array(
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
@ -155,7 +155,7 @@ $THEME->layouts = array(
|
|||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
|
@ -166,7 +166,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
|
||||
'report' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -1,139 +1,136 @@
|
|||
/** Path: theme pagelayout **/
|
||||
|
||||
|
||||
|
||||
body {margin:auto 0px;width:auto;}
|
||||
#page {width:100%;overflow:hidden;}
|
||||
#page-content {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box {
|
||||
float: left;
|
||||
margin-left: -[[setting:regionpostwidth]];;
|
||||
position: relative;
|
||||
width: 200%;
|
||||
right: 100%;
|
||||
float: left;
|
||||
margin-left: -[[setting:regionpostwidth]];;
|
||||
position: relative;
|
||||
width: 200%;
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box {
|
||||
float: left;
|
||||
margin-left: -[[setting:regionprewidth]];;
|
||||
width: 100%;
|
||||
#page-content #region-post-box {
|
||||
float: left;
|
||||
margin-left: -[[setting:regionprewidth]];;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap {
|
||||
float: left;
|
||||
width: 50%;
|
||||
#page-content #region-main-wrap {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-left: [[setting:regionsumwidth]];
|
||||
left: 100%;
|
||||
#page-content #region-main {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
margin-left: [[setting:regionsumwidth]];
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-pre {
|
||||
float: right;
|
||||
position: relative;
|
||||
width: [[setting:regionprewidth]];
|
||||
left: [[setting:regionprewidth]];
|
||||
#page-content #region-pre {
|
||||
float: right;
|
||||
position: relative;
|
||||
width: [[setting:regionprewidth]];
|
||||
left: [[setting:regionprewidth]];
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-post {
|
||||
float: right;
|
||||
position: relative;
|
||||
left: [[setting:regiondoublepresumwidth]];
|
||||
width: [[setting:regionpostwidth]];
|
||||
#page-content #region-post {
|
||||
float: right;
|
||||
position: relative;
|
||||
left: [[setting:regiondoublepresumwidth]];
|
||||
width: [[setting:regionpostwidth]];
|
||||
}
|
||||
|
||||
#page-content #region-main-box #region-post-box #region-main-wrap #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 20px 20px 0;
|
||||
#page-content #region-main .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 20px 20px 0;
|
||||
}
|
||||
|
||||
#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-content #region-pre .region-content,
|
||||
#page-content #region-post .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 10px;
|
||||
}
|
||||
|
||||
#page-footer {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/** Only side pre **/
|
||||
|
||||
.side-pre-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: -[[setting:regionprewidth]];
|
||||
.side-pre-only #page-content #region-post-box {
|
||||
margin-left: -[[setting:regionprewidth]];
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: [[setting:regionprewidth]];
|
||||
.side-pre-only #page-content #region-main {
|
||||
margin-left: [[setting:regionprewidth]];
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
left: [[setting:regionprewidth]];
|
||||
width: [[setting:regionprewidth]];
|
||||
.side-pre-only #page-content #region-pre {
|
||||
left: [[setting:regionprewidth]];
|
||||
width: [[setting:regionprewidth]];
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-post {
|
||||
width: 0%;
|
||||
.side-pre-only #page-content #region-post {
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
/** Only side post **/
|
||||
|
||||
.side-post-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
|
||||
margin-left: 0px;
|
||||
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: -[[setting:regionpostwidth]];
|
||||
.side-post-only #page-content #region-post-box {
|
||||
margin-left: -[[setting:regionpostwidth]];
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: [[setting:regionpostwidth]];
|
||||
|
||||
.side-post-only #page-content #region-main {
|
||||
margin-left: [[setting:regionpostwidth]];
|
||||
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-post {
|
||||
left: [[setting:regionpostwidth]];
|
||||
width: [[setting:regionpostwidth]];
|
||||
.side-post-only #page-content #region-post {
|
||||
left: [[setting:regionpostwidth]];
|
||||
width: [[setting:regionpostwidth]];
|
||||
}
|
||||
|
||||
.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: [[setting:regionprewidth]];
|
||||
margin-left: [[setting:regionprewidth]];
|
||||
}
|
||||
|
||||
/** No blocks whatsoever **/
|
||||
|
||||
.content-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: 0px;
|
||||
.content-only #page-content #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 {
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
width: 0px;
|
||||
.content-only #page-content #region-pre {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-post {
|
||||
width: 0px;
|
||||
}
|
||||
.content-only #page-content #region-post {
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.pagelayout-report #page-content #region-main {overflow:auto;}
|
||||
.pagelayout-report #page-content #region-main .region-content {overflow:visible;}
|
|
@ -38,8 +38,8 @@ $THEME->name = 'overlay';
|
|||
|
||||
|
||||
$THEME->parents = array(
|
||||
'canvas',
|
||||
'base',
|
||||
'canvas',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
@ -54,9 +54,9 @@ $THEME->parents = array(
|
|||
|
||||
|
||||
$THEME->sheets = array(
|
||||
'core',
|
||||
'settings',
|
||||
'pagelayout',
|
||||
'core',
|
||||
'settings',
|
||||
'pagelayout',
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -65,12 +65,12 @@ $THEME->sheets = array(
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array(
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
@ -156,12 +156,16 @@ $THEME->layouts = array(
|
|||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
|
||||
'report' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
@ -174,7 +178,7 @@ $THEME->layouts = array(
|
|||
///////////////////////////////////////////////////////////////
|
||||
|
||||
$THEME->csspostprocess = 'overlay_process_css';
|
||||
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Allows the user to provide the name of a function
|
||||
// that all CSS should be passed to before being
|
||||
|
@ -188,7 +192,7 @@ $THEME->csspostprocess = 'overlay_process_css';
|
|||
// media player for the filters
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->javascripts
|
||||
// $THEME->javascripts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array containing the names of JavaScript files
|
||||
|
@ -196,26 +200,26 @@ $THEME->csspostprocess = 'overlay_process_css';
|
|||
// (gets included in the head)
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->javascripts_footer
|
||||
// $THEME->javascripts_footer
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// As above but will be included in the page footer.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->larrow
|
||||
// $THEME->larrow
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the left arrow image used throughout
|
||||
// Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->rarrow
|
||||
// $THEME->rarrow
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the right arrow image used throughout Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->layouts
|
||||
// $THEME->layouts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array setting the layouts for the theme
|
||||
|
@ -228,7 +232,7 @@ $THEME->csspostprocess = 'overlay_process_css';
|
|||
// the themes parents
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->parents_exclude_sheets
|
||||
// $THEME->parents_exclude_sheets
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of stylesheets not to inherit from the
|
||||
|
@ -252,5 +256,5 @@ $THEME->csspostprocess = 'overlay_process_css';
|
|||
// $THEME->resource_mp3player_colors
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Controls the colours for the MP3 player
|
||||
// Controls the colours for the MP3 player
|
||||
////////////////////////////////////////////////////
|
||||
|
|
|
@ -6,207 +6,215 @@
|
|||
.pagelayout-admin,
|
||||
.pagelayout-mydashboard,
|
||||
.pagelayout-mypublic,
|
||||
.pagelayout-login {
|
||||
background: url([[pix:theme|body]]);
|
||||
.pagelayout-login,
|
||||
.pagelayout-report {
|
||||
background: url([[pix:theme|body]]);
|
||||
border-top:1px solid #c1bc9d;
|
||||
}
|
||||
|
||||
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
|
||||
font-family: Georgia, "Times New Roman", Times, serif;
|
||||
color: #2a2513;
|
||||
font-family: Georgia, "Times New Roman", Times, serif;
|
||||
color: #2a2513;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
background: #fff;
|
||||
margin: 2% 5%;
|
||||
padding: 5px;
|
||||
border: 1px solid #c1bc9d;
|
||||
background: #fff;
|
||||
margin: 2% 5%;
|
||||
padding: 5px;
|
||||
border: 1px solid #c1bc9d;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #336699;
|
||||
color: #336699;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.pagelayout-frontpage #page-content #region-main-box #region-post-box {
|
||||
padding-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
/* Header
|
||||
------------------------*/
|
||||
|
||||
#page-header {
|
||||
background: #ddd6cc url([[pix:theme|header_grass]]) repeat-x 0 100%;
|
||||
margin-bottom: 5px;
|
||||
background: #ddd6cc url([[pix:theme|header_grass]]) repeat-x 0 100%;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.headermain {
|
||||
font-weight: normal;
|
||||
margin: 1em 0.5em 0.75em;
|
||||
font-weight: normal;
|
||||
margin: 1em 0.5em 0.75em;
|
||||
}
|
||||
|
||||
/* Navbar
|
||||
-------------------------*/
|
||||
|
||||
.navbar {
|
||||
background: #aeb9c6 url([[pix:theme|breadcrumb]]) repeat-x 0 100%;
|
||||
padding: 5px;
|
||||
background: #aeb9c6 url([[pix:theme|breadcrumb]]) repeat-x 0 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Blocks
|
||||
-------------------------*/
|
||||
|
||||
.block {
|
||||
border-color: #eee;
|
||||
border-color: #eee;
|
||||
}
|
||||
|
||||
.block .header {
|
||||
background: #9eb1bf;
|
||||
padding-left: 5px;
|
||||
background: #9eb1bf;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.block .title {
|
||||
background: #867f6a;
|
||||
padding-left: 5px;
|
||||
background: #867f6a;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.block .title h2 {
|
||||
background: #6e6855;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
background: #6e6855;
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.block_action {
|
||||
padding: 5px 0 0;
|
||||
padding: 5px 0 0;
|
||||
}
|
||||
|
||||
.block .content {
|
||||
background: #d8d2c6;
|
||||
border: 1px solid #867f6a;
|
||||
background: #d8d2c6;
|
||||
border: 1px solid #867f6a;
|
||||
}
|
||||
|
||||
.block .minicalendar td,
|
||||
.block .minicalendar th {
|
||||
border-color: #d8d2c6;
|
||||
border-color: #d8d2c6;
|
||||
}
|
||||
|
||||
/* Course
|
||||
----------------------------*/
|
||||
|
||||
.headingblock {
|
||||
background: url([[pix:theme|headingblock]]) repeat-x 0 0;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
border: none;
|
||||
padding: 2px 5px;
|
||||
background: url([[pix:theme|headingblock]]) repeat-x 0 0;
|
||||
color: #fff;
|
||||
font-weight: normal;
|
||||
border: none;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.course-content .main {
|
||||
border: 1px solid #eee;
|
||||
background: #eee;
|
||||
border: 1px solid #eee;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.course-content .current {
|
||||
background: #9ca7b4;
|
||||
color: #fff;
|
||||
background: #9ca7b4;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.course-content .main .content {
|
||||
background: #fff;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* Forums
|
||||
-----------------------------*/
|
||||
|
||||
.forumpost .topic {
|
||||
background: #cad5e1;
|
||||
border-width: 1px;
|
||||
border-color: #eee #eee #aaa;
|
||||
border-style: solid;
|
||||
background: #cad5e1;
|
||||
border-width: 1px;
|
||||
border-color: #eee #eee #aaa;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.forumpost .topic div,
|
||||
.forumpost .content div {
|
||||
margin:4px;
|
||||
}
|
||||
|
||||
|
||||
.forumpost .starter .subject {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.forumpost .content {
|
||||
border-color: #eee;
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
background: #f6f6f6;
|
||||
border-color: #eee;
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
/* Dock
|
||||
-----------------------------*/
|
||||
|
||||
body.has_dock {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#dock {
|
||||
left: 5%;
|
||||
margin-left: -29px;
|
||||
border-width: 0;
|
||||
background-color: transparent;
|
||||
left: 5%;
|
||||
margin-left: -29px;
|
||||
border-width: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#dock .controls {
|
||||
bottom: auto;
|
||||
background-color: #DDD6CC;
|
||||
bottom: auto;
|
||||
background-color: #DDD6CC;
|
||||
}
|
||||
|
||||
#dock .dockeditem_container {
|
||||
position: relative;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#dock .dockeditem.firstdockitem {
|
||||
margin-top: 50px;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#dock .dockeditem {
|
||||
background-color: #fff;
|
||||
padding: 2px;
|
||||
padding-right: 0px;
|
||||
background-color: #fff;
|
||||
padding: 2px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle {
|
||||
border-width: 0;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
#dock .dockedtitle h2 {
|
||||
margin: 0;
|
||||
padding: 10px 3px;
|
||||
margin: 0;
|
||||
padding: 10px 3px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle.activeitem {
|
||||
background-color: #817b65;
|
||||
width: 35px;
|
||||
background-color: #817b65;
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
#dockeditempanel {
|
||||
background-color: #817b65;
|
||||
margin-left: 5px;
|
||||
background-color: #817b65;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_content {
|
||||
background-color: #eee9e0;
|
||||
margin: 0 3px;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
min-height: 100px;
|
||||
border-color: #6f6856;
|
||||
background-color: #eee9e0;
|
||||
margin: 0 3px;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
min-height: 100px;
|
||||
border-color: #6f6856;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd {
|
||||
background-image: url([[pix:theme|headingblock]]);
|
||||
border-width: 0;
|
||||
background-image: url([[pix:theme|headingblock]]);
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd h2 {
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
font-size: 1em;
|
||||
color: #fff;
|
||||
}
|
|
@ -36,8 +36,8 @@ $THEME->name = 'sky_high';
|
|||
|
||||
|
||||
$THEME->parents = array(
|
||||
'canvas',
|
||||
'base',
|
||||
'canvas',
|
||||
'base',
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
@ -52,9 +52,9 @@ $THEME->parents = array(
|
|||
|
||||
|
||||
$THEME->sheets = array(
|
||||
'core',
|
||||
'pagelayout',
|
||||
'menu'
|
||||
'core',
|
||||
'pagelayout',
|
||||
'menu'
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
|
@ -63,12 +63,12 @@ $THEME->sheets = array(
|
|||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array(
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'base'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
'canvas'=>array(
|
||||
'pagelayout',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
@ -154,7 +154,7 @@ $THEME->layouts = array(
|
|||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
|
@ -165,7 +165,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
|
||||
'report' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
)
|
||||
);
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
|
136
theme/sky_high/layout/report.php
Normal file
136
theme/sky_high/layout/report.php
Normal file
|
@ -0,0 +1,136 @@
|
|||
<?php
|
||||
|
||||
$hassidepre = (empty($PAGE->layout_options['noblocks']) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT));
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT));
|
||||
|
||||
$custommenu = $OUTPUT->custom_menu();
|
||||
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
|
||||
|
||||
$bodyclasses = array();
|
||||
if (!$showsidepre) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
if ($hassidepre) {
|
||||
$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 } ?>
|
||||
|
||||
</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>
|
|
@ -8,165 +8,154 @@
|
|||
.pagelayout-admin,
|
||||
.pagelayout-mydashboard,
|
||||
.pagelayout-mypublic,
|
||||
.pagelayout-login
|
||||
{
|
||||
background:url([[pix:theme|body]]) top left repeat-x #dcecf9;
|
||||
.pagelayout-login,
|
||||
.pagelayout-report {
|
||||
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;
|
||||
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;
|
||||
#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;
|
||||
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:link, a:visited {
|
||||
color: #003466;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover, a:active, a:focus
|
||||
{
|
||||
color: #4785ac;
|
||||
text-decoration: none;
|
||||
a:hover, a:active, a:focus {
|
||||
color: #4785ac;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#region-main-box {
|
||||
border: 0px none;
|
||||
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;
|
||||
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;
|
||||
border-top: 1px dashed #ccc;
|
||||
padding-top: 5px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
#newmessageoverlay a {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
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 {
|
||||
#page-header {
|
||||
background:#97d3f4 url([[pix:theme|header]]) no-repeat top right;
|
||||
margin-bottom: 0px;
|
||||
height: 80px;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 50px;
|
||||
float: left;
|
||||
padding-left: 10px;
|
||||
padding-top: 18px;
|
||||
padding-right: 0px;
|
||||
height: 50px;
|
||||
float: left;
|
||||
padding-left: 10px;
|
||||
padding-top: 18px;
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.headermain {
|
||||
font-weight:normal;
|
||||
margin:.8em 0.5em 0.75em;
|
||||
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.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;
|
||||
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;
|
||||
.tagline {
|
||||
color: #006699 !important;
|
||||
padding-top: 7px;
|
||||
font-size: .45em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.headermenu {
|
||||
font-size: .9em;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
p.helplink {
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
}
|
||||
/* @end */
|
||||
|
||||
/* @group Navbar */
|
||||
|
||||
.navbar {
|
||||
background: #fff;
|
||||
height: 20px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 4px;
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
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;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
font-size: .9em;
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
.breadcrumb a {
|
||||
color: #336699 !important;
|
||||
color: #336699 !important;
|
||||
}
|
||||
|
||||
.breadcrumb ul {
|
||||
color: #666;
|
||||
color: #666;
|
||||
}
|
||||
.arrow, .arrow_button input {
|
||||
color: #aaa;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
@ -174,79 +163,75 @@ p.helplink {
|
|||
/* @group Blocks */
|
||||
|
||||
.block_action {
|
||||
padding:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
.block .content {
|
||||
background:#c7eafd;
|
||||
border:1px solid #867f6a;
|
||||
background:#c7eafd;
|
||||
border:1px solid #867f6a;
|
||||
}
|
||||
|
||||
.block .minicalendar td,
|
||||
.block .minicalendar th {
|
||||
border: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.block
|
||||
{
|
||||
border: 0px none;
|
||||
.block {
|
||||
border: 0px none;
|
||||
}
|
||||
|
||||
.block .header
|
||||
{
|
||||
border: 1px solid #ccc;
|
||||
background: #fff;
|
||||
padding-left:5px;
|
||||
.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 .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 .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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
border: 1px solid #ccc;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.path-course-view li.activity {
|
||||
border-bottom: 1px dashed #c3daf9;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 5px;
|
||||
border-bottom: 1px dashed #c3daf9;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
/* @end */
|
||||
|
@ -254,98 +239,107 @@ p.helplink {
|
|||
/* @group Dock */
|
||||
|
||||
body.has_dock {
|
||||
margin:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
|
||||
#dock {
|
||||
border-right: 0px none;
|
||||
background: url([[pix:theme|dock]]) repeat-y top right #fff;
|
||||
border-right: 0px none;
|
||||
background: url([[pix:theme|dock]]) repeat-y top right #fff;
|
||||
}
|
||||
#dock .controls {
|
||||
bottom:auto;
|
||||
background-color:#5ea4dc;
|
||||
bottom:auto;
|
||||
background-color:#5ea4dc;
|
||||
}
|
||||
|
||||
|
||||
#dock .dockeditem {
|
||||
background: url([[pix:theme|dock]]) repeat-y top right #fff;
|
||||
padding:2px;
|
||||
padding-right:0px;
|
||||
background: url([[pix:theme|dock]]) repeat-y top right #fff;
|
||||
padding:2px;
|
||||
padding-right:0px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle {
|
||||
border-width:0;
|
||||
border-width:0;
|
||||
}
|
||||
|
||||
#dock .dockedtitle h2 {
|
||||
margin:0;
|
||||
padding:10px 3px;
|
||||
margin:0;
|
||||
padding:10px 3px;
|
||||
}
|
||||
|
||||
#dock .dockedtitle.activeitem {
|
||||
background-color:#407ea8;
|
||||
border-top: 1px solid #6f6856;
|
||||
background-color:#407ea8;
|
||||
border-top: 1px solid #6f6856;
|
||||
}
|
||||
|
||||
#dockeditempanel {
|
||||
background-color:#5ea4dc;
|
||||
margin-left:0px;
|
||||
border-left: none;
|
||||
background-color:#5ea4dc;
|
||||
margin-left:0px;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_content {
|
||||
border-color:#6f6856;
|
||||
border-left: none;
|
||||
border-color:#6f6856;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd {
|
||||
background: #407ea8;
|
||||
border-width:0;
|
||||
background: #407ea8;
|
||||
border-width:0;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd h2 {
|
||||
font-size:1em;
|
||||
color:#fff;
|
||||
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;
|
||||
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;
|
||||
float: left;
|
||||
padding-top: 80px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
#page-footer .logininfo {
|
||||
padding-top: 80px;
|
||||
text-align: right;
|
||||
padding-top: 80px;
|
||||
text-align: right;
|
||||
}
|
||||
/* @end */
|
||||
|
||||
/* @group Forums */
|
||||
|
||||
.forumpost {
|
||||
border: 1px solid #ccc;
|
||||
border: 1px solid #ccc;
|
||||
background: #c7eafd;
|
||||
}
|
||||
.forumpost .left {
|
||||
background: #c7eafd;
|
||||
background: #c7eafd;
|
||||
}
|
||||
|
||||
.forumpost .topic {
|
||||
border-bottom: 2px solid #94b9d3;
|
||||
background: #d6e2f2;
|
||||
.forumpost .header {
|
||||
background: #d6e2f2;
|
||||
}
|
||||
.forumpost .no-overflow {
|
||||
border-top: 2px solid #94b9d3;background: #FFF;
|
||||
}
|
||||
.forumpost .content .posting {
|
||||
padding:4px;
|
||||
}
|
||||
.forumpost .options {
|
||||
background: #FFF;
|
||||
padding:4px;
|
||||
}
|
||||
|
||||
|
||||
|
@ -355,5 +349,4 @@ body.has_dock {
|
|||
|
||||
[[setting:customcss]]
|
||||
|
||||
/* @end */
|
||||
|
||||
/* @end */
|
|
@ -2,93 +2,93 @@
|
|||
|
||||
/*********************************************************************************************
|
||||
|
||||
left column: 230px
|
||||
right column: 330px
|
||||
padding left/right column: 10px
|
||||
padding center column: 30px
|
||||
left column: 230px
|
||||
right column: 330px
|
||||
padding left/right column: 10px
|
||||
padding center column: 30px
|
||||
|
||||
**********************************************************************************************/
|
||||
|
||||
body {
|
||||
margin:auto 0px;
|
||||
width:auto;
|
||||
margin:auto 0px;
|
||||
width:auto;
|
||||
}
|
||||
|
||||
|
||||
#page {
|
||||
width:100%;
|
||||
max-width: 1600px;
|
||||
overflow:hidden;
|
||||
width:100%;
|
||||
max-width: 1600px;
|
||||
overflow:hidden;
|
||||
margin:0 auto;
|
||||
}
|
||||
|
||||
#page-content {
|
||||
clear: both;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
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%;
|
||||
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-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-wrap {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#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 {
|
||||
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-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-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 .region-content {
|
||||
overflow: hidden;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
#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-content #region-pre .region-content,
|
||||
#page-content #region-post .region-content {
|
||||
overflow: hidden;
|
||||
padding: 20px 10px;
|
||||
}
|
||||
|
||||
#page-footer {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
|
@ -98,24 +98,24 @@ body {
|
|||
/* @group Pre Side Only */
|
||||
|
||||
.side-pre-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: -[[setting:regionwidth]];
|
||||
.side-pre-only #page-content #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 {
|
||||
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-pre {
|
||||
left: [[setting:regionwidth]];
|
||||
width: [[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-post {
|
||||
width: 0%;
|
||||
.side-pre-only #page-content #region-post {
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
|
||||
|
@ -125,24 +125,24 @@ body {
|
|||
/* @group Post Side Only */
|
||||
|
||||
.side-post-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: -[[setting:regionwidth]];
|
||||
margin-left: -[[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: [[setting:regionwidth]];
|
||||
margin-left: [[setting:regionwidth]];
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-post {
|
||||
left: [[setting:regionwidthdouble]];
|
||||
width: [[setting:regionwidth]];
|
||||
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;
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
|
||||
|
@ -152,25 +152,31 @@ body {
|
|||
/* @group No Blocks */
|
||||
|
||||
.content-only #page-content #region-main-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-pre {
|
||||
width: 0px;
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
.content-only #page-content #region-main-box #region-post-box #region-post {
|
||||
width: 0px;
|
||||
width: 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* @end */
|
||||
/* @end */
|
||||
.pagelayout-report #page-content #region-main {
|
||||
overflow:auto;
|
||||
}
|
||||
.pagelayout-report #page-content #region-main .region-content {
|
||||
overflow:visible;
|
||||
}
|
|
@ -126,7 +126,7 @@ $THEME->layouts = array(
|
|||
),
|
||||
// Embeded pages, like iframe embeded in moodleform
|
||||
'embedded' => array(
|
||||
'theme' => 'canvas',
|
||||
'theme' => 'canvas',
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true),
|
||||
|
@ -145,6 +145,11 @@ $THEME->layouts = array(
|
|||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
|
||||
),
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre'
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
|
|
149
theme/splash/layout/report.php
Normal file
149
theme/splash/layout/report.php
Normal file
|
@ -0,0 +1,149 @@
|
|||
<?php
|
||||
|
||||
$hasheading = ($PAGE->heading);
|
||||
$hasnavbar = (empty($PAGE->layout_options['nonavbar']) && $PAGE->has_navbar());
|
||||
$hasfooter = (empty($PAGE->layout_options['nofooter']));
|
||||
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
|
||||
|
||||
$custommenu = $OUTPUT->custom_menu();
|
||||
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));
|
||||
|
||||
splash_check_colourswitch();
|
||||
splash_initialise_colourswitcher($PAGE);
|
||||
|
||||
$bodyclasses = array();
|
||||
$bodyclasses[] = 'splash-'.splash_get_colour();
|
||||
if (!$hassidepre) {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
|
||||
$haslogo = (!empty($PAGE->theme->settings->logo));
|
||||
$hasfootnote = (!empty($PAGE->theme->settings->footnote));
|
||||
$hidetagline = (!empty($PAGE->theme->settings->hide_tagline) && $PAGE->theme->settings->hide_tagline == 1);
|
||||
|
||||
if (!empty($PAGE->theme->settings->tagline)) {
|
||||
$tagline = $PAGE->theme->settings->tagline;
|
||||
} else {
|
||||
$tagline = get_string('defaulttagline', 'theme_splash');
|
||||
}
|
||||
|
||||
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">
|
||||
<?php if ($hasheading || $hasnavbar) { ?>
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" class="wrapper clearfix">
|
||||
<?php if ($hasheading) { ?>
|
||||
<div id="headermenu">
|
||||
<?php if (isloggedin()) {
|
||||
echo html_writer::start_tag('div', array('id'=>'userdetails'));
|
||||
echo html_writer::tag('h1', get_string('usergreeting', 'theme_splash', $USER->firstname));
|
||||
echo html_writer::start_tag('p', array('class'=>'prolog'));
|
||||
echo html_writer::link(new moodle_url('/user/profile.php', array('id'=>$USER->id)), get_string('myprofile')).' | ';
|
||||
echo html_writer::link(new moodle_url('/login/logout.php', array('sesskey'=>sesskey())), get_string('logout'));
|
||||
echo html_writer::end_tag('p');
|
||||
echo html_writer::end_tag('div');
|
||||
echo html_writer::tag('div', $OUTPUT->user_picture($USER, array('size'=>55)), array('class'=>'userimg'));
|
||||
} else {
|
||||
echo html_writer::start_tag('div', array('id'=>'userdetails_loggedout'));
|
||||
$loginlink = html_writer::link(new moodle_url('/login/'), get_string('loginhere', 'theme_splash'));
|
||||
echo html_writer::tag('h1', get_string('welcome', 'theme_splash', $loginlink));
|
||||
echo html_writer::end_tag('div');;
|
||||
} ?>
|
||||
<div class="clearer"></div>
|
||||
<div id="colourswitcher">
|
||||
<ul>
|
||||
<li><img src="<?php echo $OUTPUT->pix_url('colour', 'theme'); ?>" alt="colour" /></li>
|
||||
<li><a href="<?php echo new moodle_url($PAGE->url, array('splashcolour'=>'red')); ?>" class="styleswitch colour-red"><img src="<?php echo $OUTPUT->pix_url('red-theme2', 'theme'); ?>" alt="red" /></a></li>
|
||||
<li><a href="<?php echo new moodle_url($PAGE->url, array('splashcolour'=>'green')); ?>" class="styleswitch colour-green"><img src="<?php echo $OUTPUT->pix_url('green-theme2', 'theme'); ?>" alt="green" /></a></li>
|
||||
<li><a href="<?php echo new moodle_url($PAGE->url, array('splashcolour'=>'blue')); ?>" class="styleswitch colour-blue"><img src="<?php echo $OUTPUT->pix_url('blue-theme2', 'theme'); ?>" alt="blue" /></a></li>
|
||||
<li><a href="<?php echo new moodle_url($PAGE->url, array('splashcolour'=>'orange')); ?>" class="styleswitch colour-orange"><img src="<?php echo $OUTPUT->pix_url('orange-theme2', 'theme'); ?>" alt="orange" /></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php echo $OUTPUT->lang_menu();?>
|
||||
</div>
|
||||
<div id="logobox">
|
||||
<?php if ($haslogo) {
|
||||
echo html_writer::link(new moodle_url('/'), "<img src='".$PAGE->theme->settings->logo."' alt='logo' />");
|
||||
} else {
|
||||
echo html_writer::link(new moodle_url('/'), $PAGE->heading, array('class'=>'nologoimage'));
|
||||
} ?>
|
||||
<?php if (!$hidetagline) { ?>
|
||||
<h4><?php echo $tagline ?></h4>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="clearer"></div>
|
||||
<?php if ($haslogo) { ?>
|
||||
<h4 class="headermain inside"> </h4>
|
||||
<?php } else { ?>
|
||||
<h4 class="headermain inside"><?php echo $PAGE->heading ?></h4>
|
||||
<?php } ?>
|
||||
<?php } // End of if ($hasheading)?>
|
||||
<!-- DROP DOWN MENU -->
|
||||
<div class="clearer"></div>
|
||||
<div id="dropdownmenu">
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
<div class="navbar">
|
||||
<div class="wrapper clearfix">
|
||||
<div class="breadcrumb"><?php if ($hasnavbar) echo $OUTPUT->navbar(); ?></div>
|
||||
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END DROP DOWN MENU -->
|
||||
</div>
|
||||
</div>
|
||||
<?php } // if ($hasheading || $hasnavbar) ?>
|
||||
<!-- END OF HEADER -->
|
||||
<!-- START OF CONTENT -->
|
||||
|
||||
<div id="page-content" class="clearfix">
|
||||
<div id="report-main-content">
|
||||
<div class="region-content">
|
||||
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="report-region-wrap">
|
||||
<div id="report-region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
<div class="clearfix"></div>
|
||||
<!-- END OF #Page -->
|
||||
</div>
|
||||
<!-- START OF FOOTER -->
|
||||
<?php if ($hasfooter) { ?>
|
||||
<div id="page-footer">
|
||||
<div id="footer-wrapper">
|
||||
<?php if ($hasfootnote) { ?>
|
||||
<div id="footnote"><?php echo $PAGE->theme->settings->footnote; ?></div>
|
||||
<?php } ?>
|
||||
<p class="helplink"><?php echo page_doc_link(get_string('moodledocslink')) ?></p>
|
||||
<?php
|
||||
echo $OUTPUT->login_info();
|
||||
echo $OUTPUT->home_link();
|
||||
echo $OUTPUT->standard_footer_html();
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
|
@ -20,7 +20,6 @@ body { /* Define margins and background colour/image */
|
|||
margin: 0 auto;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
overflow-x:hidden;
|
||||
}
|
||||
|
||||
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { /* Set fonttype for site */
|
||||
|
@ -428,44 +427,23 @@ div.summary {
|
|||
padding-top: 10px;
|
||||
}
|
||||
|
||||
#region-pre {
|
||||
.block-region {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#region-post {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#region-pre .block .header { /*-- right block header --*/
|
||||
.block-region .block .header { /*-- right block header --*/
|
||||
background: url([[pix:theme|sbheaderbg2]]) center no-repeat;
|
||||
height: 25px;
|
||||
color: #fff;
|
||||
padding: 12px 5px 5px 5px;
|
||||
}
|
||||
|
||||
#region-pre .block .header h2{ /*-- right block text --*/
|
||||
.block-region .block .header h2{ /*-- right block text --*/
|
||||
color: #333;
|
||||
padding: 0 0 0 10px;
|
||||
}
|
||||
|
||||
#region-pre .block .content { /*-- right block content --*/
|
||||
background: #f2f2f2;
|
||||
padding: 4px 5px 5px;
|
||||
}
|
||||
|
||||
#region-post .block .header { /*-- left block header --*/
|
||||
background: url([[pix:theme|sbheaderbg2]]) center no-repeat;
|
||||
height: 25px;
|
||||
color: #fff;
|
||||
padding: 12px 5px 5px 5px;
|
||||
}
|
||||
|
||||
#region-post .block .header h2{ /*-- left block text --*/
|
||||
color: #333;
|
||||
padding: 0 0 0 10px;
|
||||
}
|
||||
|
||||
#region-post .block .content { /*-- left block content --*/
|
||||
.block-region .block .content { /*-- right block content --*/
|
||||
background: #f2f2f2;
|
||||
padding: 4px 5px 5px;
|
||||
}
|
||||
|
@ -639,6 +617,11 @@ ul.topics li#section-0, ul.weeks li#section-0 {
|
|||
.pagelayout-redirect {background-position:0 0;border-top:1px solid #853650;}
|
||||
.pagelayout-redirect #content {margin-top:150px;}
|
||||
|
||||
.pagelayout-report #page #page-header {
|
||||
width:960px;
|
||||
margin:0 auto;
|
||||
}
|
||||
|
||||
/* Splash Theme Specific settings for Administrators to customise css.
|
||||
---------------------------*/
|
||||
[[setting:customcss]]
|
|
@ -195,6 +195,7 @@ table.minicalendar {
|
|||
.loginbox .content.right,
|
||||
.forumpost .content,
|
||||
.forumpost .message,
|
||||
.forumpost .side,
|
||||
.glossarycomment .entry {
|
||||
-moz-border-radius-bottomright:10px;
|
||||
-webkit-border-bottom-right-radius: 10px;
|
||||
|
|
|
@ -76,20 +76,17 @@ table.mod_index {width:90%;margin:1em auto;}
|
|||
#page-mod-folder-view .foldertree {width: 90%;margin:0 auto;}
|
||||
|
||||
/** Forum **/
|
||||
.forumpost {border-color:#DDDDDD;} /** header of reply posts and lower corners of all posts in */
|
||||
.forumpost .starter {background-color:#DDDDDD;} /** header of the first post in */
|
||||
.forumpost .topic {border-bottom-color: #EEEEEE;} /** line between header and post body in */
|
||||
.forumpost .topic .author {font-size: 0.8em;}
|
||||
.forumpost .topic .subject {font-weight: bold;}
|
||||
.forumpost .ratings {padding-top: 1em;}
|
||||
.forumpost .attachments {padding: 7px;}
|
||||
.forumpost .content {padding: 4px;background-color: #FFFFFF;}
|
||||
.forumpost .commands,
|
||||
.forumpost .footer,
|
||||
.forumpost .link {padding-top: 0.5em;font-size: 0.9em;}
|
||||
.forumpost .left {padding: 4px;text-align: center;background-color:#EEEEEE;}
|
||||
.forumpost .edited {font-style: italic;}
|
||||
.forumpost {border-color:#DDDDDD;}
|
||||
.forumpost .row {background-color:#FFF;}
|
||||
.forumpost .row.header {background-color:#EEE;background-image:none;}
|
||||
.forumpost.firstpost .row.header {background-color:#DDD;}
|
||||
.forumpost .topic .author {font-size: 0.8em;padding:4px;}
|
||||
.forumpost .topic .subject {font-weight: bold;padding:4px 4px 0;}
|
||||
.forumpost .content div,
|
||||
.forumpost .options div {padding:4px;}
|
||||
.forumpost.unread {background: #9EBEFF;}
|
||||
.forumpost.unread .content {border:2px solid #0046C7;} /** inside border of unread posts in nested format in */
|
||||
|
||||
#page-mod-forum-view .forummode,
|
||||
.path-mod-forum .forumheaderlist .replies {text-align: center;}
|
||||
.path-mod-forum .forumheaderlist .discussion .lastpost {font-size: 0.7em;}
|
||||
|
@ -99,7 +96,6 @@ table.mod_index {width:90%;margin:1em auto;}
|
|||
#page-mod-forum-subscribers .subscriberdiv,
|
||||
#page-mod-forum-subscribers .subscribertable tr td {padding:0.2em 0.3em;}
|
||||
#page-mod-forum-discuss .ratingsubmit {text-align:center;padding:10px;}
|
||||
#page-mod-forum-discuss .forumpost.unread .content {border:2px solid #0046C7;} /** inside border of unread posts in nested format in */
|
||||
#page-mod-forum-view .forumheaderlist .discussion .starter, /** Discussion column background in */
|
||||
#page-mod-forum-view .forumaddnew {margin-bottom: 20px;text-align:center;}
|
||||
#page-mod-forum-view .forumheaderlist td {border-color: #FFFFFF;} /** wire frame around cells in */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue