theme-standardold MDL-21862 Standardold now bases itself on standard and overrides just the layouts to convert to tables

This commit is contained in:
Sam Hemelryk 2010-07-07 08:50:06 +00:00
parent 7abbc5c2ba
commit d0355ebaf9
61 changed files with 226 additions and 10600 deletions

View File

@ -34,152 +34,106 @@
*/
$THEME->parents = array();
$THEME->parents = array('standard', 'base');
// TODO: All old styles are now moved into this standard theme because
// we need to go through all these and fix them.
// This means we will gradually put these back into plugins
// directories
$THEME->sheets = array(
'styles_hacks',
'styles_layout',
'styles_fonts',
'styles_color',
'styles_moz',
'block_blog_tags',
'block_calendar_month',
'block_calendar_upcoming',
'block_course_summary',
'block_login',
'block_news_items',
'block_quiz_results',
'block_rss_client',
'block_search_forums',
'block_tags',
'blog_tags',
'gradebook',
'mod_assignment',
'mod_chat',
'mod_choice',
'mod_data',
'mod_feedback',
'mod_folder',
'mod_forum',
'mod_glossary',
'mod_lesson',
'mod_page',
'mod_quiz',
'mod_resource',
'mod_scorm',
'mod_survey',
'mod_wiki',
);
$THEME->sheets = array('pagelayout');
$THEME->editor_sheets = array('styles_tinymce');
$THEME->parents_exclude_sheets = array('base'=>array('pagelayout'));
$THEME->layouts = array(
// Most backwards compatible layout without the blocks - this is the layout used by default
'base' => array(
'theme' => 'standardold',
'file' => 'normal.php',
'file' => 'general.php',
'regions' => array(),
),
// Standard layout with blocks, this is recommended for most pages with general information
'standard' => array(
'theme' => 'standardold',
'file' => 'normal.php',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
// Main course page
'course' => array(
'theme' => 'standardold',
'file' => 'normal.php',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
'options' => array('langmenu'=>true),
),
'coursecategory' => array(
'theme' => 'standardold',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
// Standard module pages - default page layout if $cm specified in require_login()
// part of course, typical for modules - default page layout if $cm specified in require_login()
'incourse' => array(
'theme' => 'standardold',
'file' => 'normal.php',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
// The site home page.
'frontpage' => array(
'theme' => 'standardold',
'file' => 'home.php',
'file' => 'frontpage.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
),
// Server administration scripts.
'admin' => array(
'theme' => 'standardold',
'file' => 'normal.php',
'file' => 'general.php',
'regions' => array('side-pre'),
'defaultregion' => 'side-pre',
),
// My dashboard page
'mydashboard' => array(
'theme' => 'standardold',
'file' => 'normal.php',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post',
'options' => array('langmenu'=>true),
),
// My public page
'mypublic' => array(
'theme' => 'standardold',
'file' => 'normal.php',
'file' => 'general.php',
'regions' => array('side-pre', 'side-post'),
'defaultregion' => 'side-post'
'defaultregion' => 'side-post',
),
'login' => array(
'theme' => 'standardold',
'file' => 'normal.php',
'file' => 'general.php',
'regions' => array(),
'options' => array('langmenu'=>true),
),
// Pages that appear in pop-up windows - no navigation, no blocks, no header.
'popup' => array(
'theme' => 'standardold',
'file' => 'minimal.php',
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
),
// No blocks and minimal footer - used for legacy frame layouts only!
'frametop' => array(
'theme' => 'standardold',
'file' => 'frametop.php',
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true),
),
// Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible
'embedded' => array(
'theme' => 'standardold',
'file' => 'embedded.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
),
// Used during upgrade and install, and for the 'This site is undergoing maintenance' message.
// This must not have any blocks, and it is good idea if it does not have links to
// other places - for example there should not be a home link in the footer...
'maintenance' => array(
'theme' => 'standardold',
'file' => 'minimal.php',
'file' => 'general.php',
'regions' => array(),
'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true),
),
);
/** List of javascript files that need to included on each page */
$THEME->javascripts_footer = array('navigation');
/**
* This enables the dock on the side of the page as this theme supports it.
*/
$THEME->enable_dock = true;
$THEME->enable_dock = false;

View File

@ -1,111 +0,0 @@
/**
* This attaches a shadow to the dock when it has been drawn (added to the page)
*/
var shadow = {
/**
* This function create a series of DIV's appended to an element to give it a
* shadow
* @param {YUI} Y
* @param {bool} top Displays a top shadow if true
* @param {bool} right Displays a right shadow if true
* @param {bool} bottom Displays a bottom shadow if true
* @param {bool} left Displays a left shadow if true
* @return {Y.Node}
*/
create : function(Y, top, right, bottom, left) {
var shadow = Y.Node.create('<div class="divshadow"></div>');
if (Y.UA.ie > 0 && Y.UA.ie < 7) {
// IE 6 doesn't like this shadow method
return shadow;
}
if (top) shadow.append(Y.Node.create('<div class="shadow_top"></div>'));
if (right) shadow.append(Y.Node.create('<div class="shadow_right"></div>'));
if (bottom) shadow.append(Y.Node.create('<div class="shadow_bottom"></div>'));
if (left) shadow.append(Y.Node.create('<div class="shadow_left"></div>'));
if (top && left) shadow.append(Y.Node.create('<div class="shadow_top_left"></div>'));
if (top && right) shadow.append(Y.Node.create('<div class="shadow_top_right"></div>'));
if (bottom && left) shadow.append(Y.Node.create('<div class="shadow_bottom_left"></div>'));
if (bottom && right) shadow.append(Y.Node.create('<div class="shadow_bottom_right"></div>'));
return shadow;
},
/**
* This function removes any shadows that a node and its children may have
* @param {Y.Node} node The element to remove the shadow from
* @return {bool}
*/
remove : function(node) {
node.all('.divshadow').remove();
}
}
function customise_dock_for_theme() {
// If we don't have M.blocks or Y then bail
if (!M.core_dock) {
return false;
}
// On draw completed add the ability to move the dock to from the left to the right
M.core_dock.on('dock:drawcompleted', function() {
M.core_dock.node.append(shadow.create(M.core_dock.Y, true, true, true, true));
var movedock = M.core_dock.Y.Node.create('<img src="'+M.util.image_url('movedock', 'theme')+'" />');
var c = M.core_dock.node.one('.controls');
c.insertBefore(M.core_dock.Y.Node.create('<br />'), c.one('img'));
c.insertBefore(movedock, c.one('br'));
movedock.on('click', M.core_dock.move_dock, M.core_dock);
});
// When an item is added append a shadow
M.core_dock.on('dock:itemadded', function(item) {
item.on('dockeditem:showcomplete', function() {
switch (M.core_dock.cfg.position) {
case 'left':
M.core_dock.Y.one(this.panel.body).append(shadow.create(M.core_dock.Y, true, true, true, false));
break;
case 'right':
M.core_dock.Y.one(this.panel.body).append(shadow.create(M.core_dock.Y, true, false, true, true));
break;
}
});
item.on('dockeditem:hidestart', function() {
shadow.remove(M.core_dock.Y.one('#dock_item_panel_'+this.id));
});
item.on('dockeditem:showstart', item.correct_panel_x_pos, item);
item.on('dockeditem:resizecomplete', item.correct_panel_x_pos, item);
});
// Corrects the panel x position for the theme
M.core_dock.item.prototype.correct_panel_x_pos = function() {
var dockoffset = M.core_dock.Y.one('#dock_item_'+this.id+'_title').get('offsetWidth');
var panelwidth = M.core_dock.Y.one(this.panel.body).get('offsetWidth');
var screenwidth = parseInt(M.core_dock.Y.get(document.body).get('winWidth'));
switch (M.core_dock.cfg.position) {
case 'left':
this.panel.cfg.setProperty('x', dockoffset);
break;
case 'right':
this.panel.cfg.setProperty('x', (screenwidth-panelwidth-dockoffset-1));
break;
}
}
// Moves the dock from the left to right or vise versa
M.core_dock.move_dock = function(e) {
var oldclass = this.cfg.css.dock+'_'+this.cfg.position+'_'+this.cfg.orientation;
switch (this.cfg.position) {
case 'right':this.cfg.position = 'left';break;
case 'left':this.cfg.position = 'right';break;
}
var newclass = this.cfg.css.dock+'_'+this.cfg.position+'_'+this.cfg.orientation;
this.node.replaceClass(oldclass, newclass);
this.Y.Cookie.set('dock_position', M.core_dock.cfg.position);
};
// When the dock is first drawn check to see if it should be moved
M.core_dock.on('dock:drawstarted', function() {
var positioncookie = M.core_dock.Y.Cookie.get('dock_position');
if (positioncookie && positioncookie != 'null' && positioncookie !== M.core_dock.cfg.position) {
var oldposition = M.core_dock.cfg.position;
M.core_dock.cfg.position = positioncookie;
if (M.core_dock.node) {
M.core_dock.node.replaceClass(M.core_dock.cfg.css.dock+'_'+oldposition+'_'+M.core_dock.cfg.orientation, M.core_dock.cfg.css.dock+'_'+M.core_dock.cfg.position+'_'+M.core_dock.cfg.orientation);
}
}
});
return true;
}

View File

@ -5,26 +5,11 @@
<link rel="shortcut icon" href="<?php echo $OUTPUT->pix_url('favicon', 'theme')?>" />
<?php echo $OUTPUT->standard_head_html() ?>
</head>
<body id="<?php echo $PAGE->pagetype ?>" class="<?php echo $PAGE->bodyclasses ?>">
<body id="<?php echo $PAGE->bodyid ?>" class="<?php echo $PAGE->bodyclasses ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<?php if ($PAGE->heading) { ?>
<div id="header" class="clearfix">
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
<div class="headermenu"><?php echo $PAGE->headingmenu ?></div>
</div>
<?php } ?>
<?php if ($PAGE->has_navbar()) { // This is the navigation bar with breadcrumbs ?>
<div class="navbar clearfix">
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"><?php echo $PAGE->button; ?></div>
</div>
<?php } else if ($PAGE->heading) { // If no navigation, but a heading, then print a line ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
<div id="content" class="clearfix">
@ -32,8 +17,6 @@
</div>
<!-- START OF FOOTER -->
<div id="footer" class="clearfix">
</div>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>

View File

@ -1,46 +0,0 @@
<?php 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->pagetype ?>" class="<?php echo $PAGE->bodyclasses ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<?php if ($PAGE->heading) { ?>
<div id="header" class="clearfix">
<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>
</div>
<?php } ?>
<?php if ($PAGE->has_navbar()) { // This is the navigation bar with breadcrumbs ?>
<div class="navbar clearfix">
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"><?php echo $PAGE->button; ?></div>
</div>
<?php } else if ($PAGE->heading) { // If no navigation, but a heading, then print a line ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
<div id="content" class="clearfix">
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
</div>
<!-- START OF FOOTER -->
<div id="footer" class="clearfix">
</div>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

View File

@ -0,0 +1,93 @@
<?php
$hassidepre = $PAGE->blocks->region_has_content('side-pre', $OUTPUT);
$hassidepost = $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';
}
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="page-header" class="clearfix">
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
<div class="headermenu"><?php
echo $OUTPUT->login_info();
echo $OUTPUT->lang_menu();
echo $PAGE->headingmenu;
?></div>
<?php if ($hascustommenu) { ?>
<div id="custommenu"><?php echo $custommenu; ?></div>
<?php } ?>
</div>
<!-- END OF HEADER -->
<div id="page-content">
<table id="region-main-box" class="layout-table" summary="layout">
<tr id="region-post-box">
<td id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
</td>
<?php if ($hassidepre) { ?>
<td id="region-main-wrap">
<div id="region-main">
<div class="region-content">
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
</div>
</div>
</td>
<?php
}
if ($hassidepost) { ?>
<td id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
</td>
<?php } ?>
</tr>
</table>
</div>
<!-- START OF FOOTER -->
<div id="page-footer">
<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 echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

View File

@ -0,0 +1,104 @@
<?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';
}
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 ($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">
<table id="region-main-box" class="layout-table" summary="layout">
<tr id="region-post-box">
<td id="region-pre" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</div>
</td>
<?php if ($hassidepre) { ?>
<td id="region-main-wrap">
<div id="region-main">
<div class="region-content">
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
</div>
</div>
</td>
<?php
}
if ($hassidepost) { ?>
<td id="region-post" class="block-region">
<div class="region-content">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</div>
</td>
<?php } ?>
</tr>
</table>
</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>

View File

@ -1,61 +0,0 @@
<?php 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->pagetype ?>" class="<?php echo $PAGE->bodyclasses ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<div id="header-home" class="clearfix">
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
<div class="headermenu"><?php
echo $OUTPUT->login_info();
echo $OUTPUT->lang_menu();
echo $PAGE->headingmenu;
?></div>
</div>
<hr />
<!-- END OF HEADER -->
<!-- Note, we will not be using tables for layout evenutally. However, for now
I have enough other things to worry about that I don't have time to make
a multi-column cross-browser layout too, so this is a temporary hack. -->
<table id="layout-table" summary="layout">
<tr>
<?php if ($PAGE->blocks->region_has_content('side-pre', $OUTPUT)) { ?>
<td id="region-side-pre" class="block-region">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</td>
<?php } ?>
<td id="content">
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
</td>
<?php if ($PAGE->blocks->region_has_content('side-post', $OUTPUT)) { ?>
<td id="region-side-post" class="block-region">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</td>
<?php } ?>
</tr>
</table>
<!-- START OF FOOTER -->
<div id="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>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

View File

@ -1,33 +0,0 @@
<?php 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->pagetype ?>" class="<?php echo $PAGE->bodyclasses ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<?php if ($PAGE->heading) { ?>
<div id="header" class="clearfix">
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
<div class="headermenu"><?php echo $PAGE->headingmenu ?></div>
</div>
<hr />
<?php } ?>
<!-- END OF HEADER -->
<div id="content" class="clearfix">
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
</div>
<!-- START OF FOOTER -->
<div id="footer" class="clearfix">
<?php echo $OUTPUT->standard_footer_html() ?>
</div>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

View File

@ -1,72 +0,0 @@
<?php 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->pagetype ?>" class="<?php echo $PAGE->bodyclasses ?>">
<?php echo $OUTPUT->standard_top_of_body_html() ?>
<div id="page">
<?php if ($PAGE->heading) { ?>
<div id="header" class="clearfix">
<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>
</div>
<?php } ?>
<?php if ($PAGE->has_navbar()) { // This is the navigation bar with breadcrumbs ?>
<div class="navbar clearfix">
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"><?php echo $PAGE->button; ?></div>
</div>
<?php } else if ($PAGE->heading) { // If no navigation, but a heading, then print a line ?>
<hr />
<?php } ?>
<!-- END OF HEADER -->
<!-- Note, we will not be using tables for layout evenutally. However, for now
I have enough other things to worry about that I don't have time to make
a multi-column cross-browser layout too, so this is a temporary hack. -->
<table id="layout-table" summary="layout">
<tr>
<?php if ($PAGE->blocks->region_has_content('side-pre', $OUTPUT)) { ?>
<td id="region-side-pre" class="block-region">
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
</td>
<?php } ?>
<td id="content">
<?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
</td>
<?php if ($PAGE->blocks->region_has_content('side-post', $OUTPUT)) { ?>
<td id="region-side-post" class="block-region">
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
</td>
<?php } ?>
</tr>
</table>
<!-- START OF FOOTER -->
<div id="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>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 293 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 69 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 770 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 B

View File

@ -1,69 +0,0 @@
.block_blog_tags .s20 {
font-size: 1.5em;
font-weight: bold;
}
.block_blog_tags .s19 {
font-size: 1.5em;
}
.block_blog_tags .s18 {
font-size: 1.4em;
font-weight: bold;
}
.block_blog_tags .s17 {
font-size: 1.4em;
}
.block_blog_tags .s16 {
font-size: 1.3em;
font-weight: bold;
}
.block_blog_tags .s15 {
font-size: 1.3em;
}
.block_blog_tags .s14 {
font-size: 1.2em;
font-weight: bold;
}
.block_blog_tags .s13 {
font-size: 1.2em;
}
.block_blog_tags .s12,
.block_blog_tags .s11 {
font-size: 1.1em;
font-weight: bold;
}
.block_blog_tags .s10,
.block_blog_tags .s9 {
font-size: 1.1em;
}
.block_blog_tags .s8,
.block_blog_tags .s7 {
font-size: 1em;
font-weight: bold;
}
.block_blog_tags .s6,
.block_blog_tags .s5 {
font-size: 1em;
}
.block_blog_tags .s4,
.block_blog_tags .s3 {
font-size: 0.9em;
font-weight: bold;
}
.block_blog_tags .s2,
.block_blog_tags .s1 {
font-size: 0.9em;
}

View File

@ -1,23 +0,0 @@
.block_calendar_month .cal_popup_caption,
.block_calendar_month .cal_popup_fg div {
font-size: 0.85em !important;
}
.block_calendar_month .filters {
font-size:0.75em;
padding: 5px;
}
.block_calendar_month .filters table {
border-collapse:separate;
border-spacing: 2px;
padding: 2px;
}
.block_calendar_month .event_global,
.block_calendar_month .event_course,
.block_calendar_month .event_group,
.block_calendar_month .event_user {
border-width: 2px;
border-style: solid;
}

View File

@ -1,3 +0,0 @@
.block_calendar_upcoming .event .date {
text-align:right;
}

View File

@ -1,7 +0,0 @@
.block_course_summary .content {
padding:10px;
}
.block_course_summary .editbutton {
text-align:right;
}

View File

@ -1,25 +0,0 @@
.block_login .logintable {
text-align:center;
}
.block_login .loginform {
display:inline;
}
.block_login .loginform .fld input {
width:5em;
}
.block_login .loginform label {
padding-right: 4px;
}
.block_login .loginform div {
margin:0.3em 0.8em;
text-align:right;
display:block;
}
.block_login .loginform div.c1.btn {
text-align:center;
}

View File

@ -1,3 +0,0 @@
.block_news_items .newlink {
text-align: center;
}

View File

@ -1,26 +0,0 @@
.block_quiz_results {
text-align: center;
}
.block_quiz_results table.grades .number,
.block_quiz_results table.grades .grade {
text-align: right;
width: 10%;
}
.block_quiz_results table.grades {
text-align: left;
width: 100%;
}
.block_quiz_results table.grades caption {
margin: 1em 0px 0px 0px;
border-bottom: 1px solid;
font-weight: bold;
}
.block_quiz_results h1 {
margin: 4px;
font-weight: bold;
font-size: 1.1em;
}

View File

@ -1,54 +0,0 @@
.block_rss_client .link {
border-top:1px solid;
border-top-color:#DDDDDD;
padding-bottom:5px;
font-size:0.82em;
}
.block_rss_client .description {
color:#555555;
font-size:0.78em;
padding-left:10px;
padding-bottom:8px;
}
.block_rss_client .title {
font-size:1.0em;
}
.block_rss_client .image {
}
.blockconfigtable #rssfeeds {
margin-left: auto;
margin-right: auto;
background-color: blue;
}
.blockconfigtable #rssfeeds td.actions {
text-align: center;
vertical-align: middle;
padding: 10px;
}
.blockconfigtable #rssfeeds td.feed {
vertical-align: middle;
padding: 5px;
}
.blockconfigtable #rssfeeds .title {
font-weight: bold;
margin-bottom: 2px;
}
.blockconfigtable #rssfeeds .url, .blockconfigtable #rssfeeds .description {
font-size: 0.8em;
}
.blockconfigtable #rssfeeds tr.r0 {
background-color: #ffffff;
}
.blockconfigtable #rssfeeds tr.r1 {
background-color: #f0f0f0;
}

View File

@ -1,8 +0,0 @@
.block_search_forums .searchform {
text-align: center;
}
.block_search_forums .searchform img {
vertical-align: middle;
}

View File

@ -1,116 +0,0 @@
/*
* CSS for course tags
* @author j.beedell@open.ac.uk July07
*
* Styles for block_tags.php
*/
.coursetag_form_wrapper {
margin: auto;
width: 13em;
}
.coursetag_form_positioner {
position: relative;
margin: 5px 0 0 0;
height: 25px;
}
.coursetag_form_input1 {
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.coursetag_form_input2 {
position: absolute;
top: 0;
left: 0;
z-index: 2;
}
.coursetag_form_input3 {
position: absolute;
top: 3px;
left: 12.8em;
display: none;
}
.coursetag_form_input1a {
background-color: white;
border: 1px solid #999;
width: 12em;
padding: 2px;
}
.coursetag_form_input2a {
background: transparent;
color: #669954;
border: 1px solid #999;
width: 12em;
padding: 2px;
}
.coursetag_morelink {
float: right;
font-size: 0.8em;
margin: -5px 5px 5px 0;
}
.coursetag_list {
padding-top: 4px;
}
/* Styles for coursetag_edit.php */
.coursetag_edit_centered {
position: relative;
width: 600px;
margin: 20px auto;
}
.coursetag_edit_row {
margin: 5px 0 5px 0;
height: 30px;
}
.coursetag_edit_left {
position: relative;
float: left;
padding: 3px 5px;
}
.coursetag_edit_right {
position: relative;
float: left;
padding: 3px 0px;
}
.coursetag_edit_input3 {
position: relative;
left: 10.5em;
display: none;
}
/* Styles for coursetag_more.php */
.coursetag_more_title {
margin: 30px 30px -25px 30px;
}
.coursetag_more_tags {
margin: 30px;
}
.coursetag_more_large {
font-size: 120%
}
.coursetag_more_small {
font-size: 80%
}
.coursetag_more_link {
font-size: 80%;
}

View File

@ -1,68 +0,0 @@
.block_blog_tags .s20 {
font-size: 1.5em;
font-weight: bold;
}
.block_blog_tags .s19 {
font-size: 1.5em;
}
.block_blog_tags .s18 {
font-size: 1.4em;
font-weight: bold;
}
.block_blog_tags .s17 {
font-size: 1.4em;
}
.block_blog_tags .s16 {
font-size: 1.3em;
font-weight: bold;
}
.block_blog_tags .s15 {
font-size: 1.3em;
}
.block_blog_tags .s14 {
font-size: 1.2em;
font-weight: bold;
}
.block_blog_tags .s13 {
font-size: 1.2em;
}
.block_blog_tags .s12,
.block_blog_tags .s11 {
font-size: 1.1em;
font-weight: bold;
}
.block_blog_tags .s10,
.block_blog_tags .s9 {
font-size: 1.1em;
}
.block_blog_tags .s8,
.block_blog_tags .s7 {
font-size: 1em;
font-weight: bold;
}
.block_blog_tags .s6,
.block_blog_tags .s5 {
font-size: 1em;
}
.block_blog_tags .s4,
.block_blog_tags .s3 {
font-size: 0.9em;
font-weight: bold;
}
.block_blog_tags .s2,
.block_blog_tags .s1 {
font-size: 0.9em;
}

View File

@ -1,130 +0,0 @@
.gradetreebox {
font-size: 0.8em;
}
.gradetreebox input, .gradetreebox select {
font-size: 85%;
}
.gradetreebox tr.category td {
background-color: #DDDDDD;
}
.gradetreebox tr.category th {
background-color: #DDDDDD;
}
.gradetreebox tr.category td.name {
border-left: 0px;
}
.gradetreebox .category td.name h4 {
display: inline;
}
.gradetreebox td.name, .gradetreebox td.range, .gradetreebox td.actions {
white-space: nowrap;
}
.gradetreebox th.actions {
width: 80px;
}
grade-edit-tree .child {
background-image: url(img/ln.gif);
}
grade-edit-tree .hidden {
display: none;
}
grade-edit-tree .shown {
}
grade-edit-tree img.iconsmall {
margin-left: 4px;
}
grade-edit-tree img.icon {
margin-right: 5px;
}
.grade-edit-tree .gradetreebox {
margin-left: auto;
margin-right: auto;
margin-top: 10px;
padding-bottom: 15px;
width: auto;
}
.gradetreebox table {
margin-left: auto;
margin-right: auto;
}
grade-edit-tree .buttons {
margin: 20px;
text-align: center;
width: 100%;
}
grade-edit-tree .buttons .singlebutton {
display: inline;
padding: 5px;
}
#gradetreesubmit {
width: 100%;
text-align: center;
margin-top: 10px;
}
.gradetreebox span.actionlink {
color: blue;
}
.gradetreebox span.actionlink:hover {
text-decoration: underline;
cursor: pointer;
}
.gradetreebox td.colspan {
border-left: 1px solid #AAAAAA;
border-bottom: 1px solid #AAAAAA;
border-top: none;
background-color: #DDDDDD;
}
.gradetreebox tr.category th.rowspan {
border-color: #AAAAAA;
border-bottom: 0px;
border-top: 0px;
border-right: 0px !important;
}
.gradetreebox tr.category th.rowspan:hover {
background-color: #EEEEEE !important;
}
grade-edit-tree .level1 {
background-color: #f3dfd0 !important;
width: 10px;
}
grade-edit-tree .level2 {
background-color: #d0dbf3 !important;
width: 10px;
}
grade-edit-tree .level3 {
background-color: #d0f3d6 !important;
width: 10px;
}
grade-edit-tree .level4 {
background-color: #f0f0aa !important;
width: 10px;
}
grade-edit-tree .level5 {
background-color: #ebdef6 !important;
width: 10px;
}
.gradetreebox table.generaltable {
border: 1px solid #AAAAAA;
width: 100%;
}

View File

@ -1,202 +0,0 @@
.mod-assignment .userpicture,
.mod-assignment .picture user,
.mod-assignment .picture teacher {
width:35px;
height: 35px;
vertical-align:top;
}
.mod-assignment .modform {
text-align:center;
}
#wordcount {
text-align: right;
}
#mod-assignment-submissions .feedback .content,
#mod-assignment-submissions .feedback .topic,
#mod-assignment-submissions .feedback .picture
{
padding: 10px;
border-width:1px;
border-style:solid;
border-color:#DDDDDD;
}
#mod-assignment-submissions form#options div {
text-align:right;
margin-left:auto;
margin-right:20px;
}
.mod-assignment .feedback .files {
float: right;
background-color: #EFEFEF;
padding:5px;
}
.mod-assignment .feedback .grade,
.mod-assignment .feedback .outcome,
.mod-assignment .feedback .finalgrade {
float: right;
}
.mod-assignment .feedback .disabledfeedback {
width: 500px;
height: 250px;
}
.mod-assignment .feedback .from {
float: left;
}
.mod-assignment .feedback .time {
font-size: 0.8em;
}
.mod-assignment .late {
color: red;
}
.mod-assignment .files img {
margin-right: 4px;
}
.mod-assignment .files a {
white-space:nowrap;
}
#mod-assignment-submissions .generaltable .r1 {
background-color: #FFFFFF;
}
#mod-assignment-submissions .header .commands {
display: inline;
}
#mod-assignment-submissions .s0 {
background: #FFD991;
}
#mod-assignment-submissions table.submissions td,
#mod-assignment-submissions table.submissions th
{
border-width: 1px;
border-style: solid;
border-color: #DDDDDD;
vertical-align: middle;
padding-left: 5px;
padding-right: 5px;
}
#mod-assignment-submissions .submissions .grade {
text-align: right;
font-weight:bold;
}
#mod-assignment-submissions .picture {
width: 35px;
}
#mod-assignment-submissions .fullname {
text-align: left;
}
#mod-assignment-submissions .timemodified,
#mod-assignment-submissions .timemarked
{
text-align: left;
font-size: 0.9em;
}
#mod-assignment-submissions .status {
text-align: center;
}
#mod-assignment-submissions .submissions .outcome,
#mod-assignment-submissions .submissions .finalgrade {
text-align: right;
}
#mod-assignment-view #online .singlebutton {
text-align: center;
}
#mod-assignment-view #dates {
font-size: 0.8em;
margin-top: 30px;
margin-bottom: 30px;
}
#mod-assignment-view #dates .c0{
text-align:right;
font-weight:bold;
}
#mod-assignment-view .feedback {
border-width:1px;
border-style:solid;
border-color:#DDDDDD;
margin-top: 15px;
width: 80%;
margin-left: 10%;
margin-right: 10%;
}
#mod-assignment-view .feedback .topic {
padding: 4px;
border-style:solid;
border-width: 0px;
border-bottom-width: 1px;
border-color:#DDDDDD;
}
#mod-assignment-view .feedback .fullname {
font-weight: bold;
}
#mod-assignment-view .feedback .date {
font-size: 0.8em;
}
#mod-assignment-view .feedback .content {
padding: 4px;
}
#mod-assignment-view .feedback .grade {
text-align: right;
font-weight:bold;
}
#mod-assignment-view .feedback .left {
width: 35px;
padding: 4px;
text-align: center;
vertical-align: top;
}
#mod-assignment-submissions .qgprefs #optiontable {
text-align:right;
margin-left:auto;
}
#mod-assignment-submissions .fgcontrols {
margin-top: 1em;
text-align:center;
}
#mod-assignment-submissions .fgcontrols .fastgbutton{
margin-top: 0.5em;
}
/***
*** Modules: Assignment
***/
#mod-assignment-index .cell {
font-size:0.8em;
}
#wordcount {
font-size: 0.8em;
}

View File

@ -1,164 +0,0 @@
/***
*** Modules: Chat
***/
#messages-list, #users-list{list-style-type:none;padding:0;margin:0}
#chat-header {
background: transparent;
font-size: 200%;
overflow: hidden;
}
#chat-header p {
display:inline;
font-size: 50%;
color: grey;
}
.mod-lesson .time{
font-weight: bold;
}
.mod-lesson .user{
color:blue;
}
.mod-lesson .chat-event{
text-align:center;
color:grey;
}
.mod-lesson .yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {
background: transparent;
}
.mod-lesson .yui-layout-unit-top {
background: #FFE39D;
}
.mod-lesson .yui-layout-unit-right {
border-top: 5px solid white;
background: #FFD46B;
}
.mod-lesson .yui-layout-unit-bottom {
border-top: 5px solid white;
background: #FFCB44;
}
.mod-lesson .yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-unit-right {
background: white;
}
.mod-lesson .yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {
border:0;
}
.mod-lesson .yui-skin-sam .yui-layout .yui-layout-hd {
border:0;
}
.nextchatsession {
text-align:center;
}
#mod-chat-gui_header_js-jsupdate {
margin:10px
}
#mod-chat-gui_header_js-jsupdate .chat-event,
#mod-chat-gui_header_js-jsupdate .chat-message {
width:100%;
padding:0;
margin-top:7px
}
#mod-chat-view #chatcurrentusers .chatuserdetails {
vertical-align: middle;
}
#mod-chat-view #enterlink {
text-align: center;
margin-left: auto;
margin-right: auto;
width: 50%;
}
.chat-event .picture,
.chat-message .picture {
width:40px;
vertical-align:top;
}
.chat-event .text,
.chat-message .text {
text-align: left;
}
#mod-chat-gui_basic #participants ul {
margin:0px;
padding:0px;
list-style-type:none;
}
#mod-chat-gui_basic #participants ul li {
display:inline;
margin-right:10px;
}
#mod-chat-gui_basic #participants ul li .userinfo {
display:inline;
}
#mod-chat-gui_basic #messages dl {
padding:0px;
margin:1px;
}
#mod-chat-gui_basic #messages dd,
#mod-chat-gui_basic #messages dt {
margin-left:0px;
margin-right:5px;
padding:0px;
display:inline;
}
body.mod-chat-gui_ajax .yui-layout-doc .yui-layout-unit .yui-layout-wrap .yui-layout-hd h2 {
font-size:100%;
padding:0px;
font-weight:normal;
}
/***
*** Modules: Chat
***/
#mod-chat-index .cell {
font-size:0.8em;
}
#mod-chat-gui_basic h1 {
font-size:1.4em;
}
#mod-chat-gui_basic #participants .idle {
font-size:0.6em;
}
#mod-chat-view #chatcurrentusers .chatuserdetails {
font-size: 0.6em;
}
/***
*** Modules: Chat
***/
#mod-chat-gui_basic .text,
#mod-chat-gui_header_js-jsupdate .text {
color:#000
}
#mod-chat-gui_basic .event,
#mod-chat-gui_basic .title,
#mod-chat-gui_header_js-jsupdate .event,
#mod-chat-gui_header_js-jsupdate .title {
color:#888
}
#mod-chat-gui_header_js-chatinput .wait {
background: #dddddd;
}
#mod-chat-view #chatcurrentusers .idletime {
color: #888888;
}

View File

@ -1,56 +0,0 @@
.mod-choice .results {
border-collapse: separate;
}
.mod-choice .results .data {
border-width:1px;
border-style:solid;
border-color:#999;
}
.mod-choice .button {
text-align:center;
}
.mod-choice .attemptcell {
width:5px;
white-space: nowrap;
}
.mod-choice .anonymous,
.mod-choice .names {
margin-left:auto;
margin-right:auto;
}
.mod-choice .downloadreport {
border:0px;
margin-left:auto;
margin-right:auto;
}
.mod-choice .choiceresponse {
width:100%;
}
.mod-choice .choiceresponse .picture {
width:10px;
white-space: nowrap;
}
.mod-choice .choiceresponse .fullname {
width:100%;
white-space: nowrap;
}
.mod-choice .results.data {
vertical-align:top;
white-space: nowrap;
}
#mod-choice-index .cell {
font-size:0.8em;
}

View File

@ -1,63 +0,0 @@
.fieldadd,
.sortdefault,
.defaulttemplate {
text-align:center;
}
.datapreferences {
text-align:center;
}
table.presets {
margin-left: auto;
margin-right: auto;
}
#mod-data-view #sortsearch .c0 {
text-align: right;
}
#mod-data-view .approve img.icon {
width:34px;
height:34px;
}
#mod-data-preset .presetmapping {
text-align: center;
}
#mod-data-preset .presetmapping table {
text-align: left;
margin-left: auto;
margin-right: auto;
}
#mod-data-preset .overwritesettings {
margin-bottom: 1em;
}
.mod-data-field .c0 {
text-align: right;
}
.mod-data-field .fieldadd,
.mod-data-field .sortdefault {
margin-bottom: 1em;
margin-top: 1em;
}
.mod-data-field .fieldadd select,
.mod-data-field .sortdefault select {
margin-left: 1em;
}
.mod-data-field .fieldname {
width:300px;
}
.mod-data-field .fielddescription {
width:300px;
}
.presetcontrols form {
display: inline;
}

View File

@ -1,9 +0,0 @@
/* styles using by feedback */
.feedback_required_mark {
color: #FF0000;
}
.feedback_switchrequired img{
}

View File

@ -1,10 +0,0 @@
/***
***
*** Modules: Folder
***/
#mod-folder-view .foldertree {
width: 90%;
margin-left: auto;
margin-right: auto;
}

View File

@ -1,361 +0,0 @@
/***
*** Modules: Forum
***/
#mod-forum-subscribers .subscriberdiv,
#mod-forum-subscribers .subscribertable {
width:100%;
background-color:#EEEEEE;
border:1px solid #BBBBBB;
}
#mod-forum-subscribers .subscriberdiv,
#mod-forum-subscribers .subscribertable tr td {
vertical-align:top;
padding:0.2em 0.3em;
}
#mod-forum-subscribers .subscribertable tr td.existing {
width:42%;
}
#mod-forum-subscribers .subscribertable tr td.actions {
width:16%;
padding-top:3em;
}
#mod-forum-subscribers .subscribertable tr td.actions .actionbutton {
margin:0.3em 0;
padding:0.5em 0;
width:100%;
}
#mod-forum-subscribers .subscribertable tr td.potential {
width:42%;
}
#mod-forum-view .forummode {
text-align:center;
}
.forumheaderlist,
.forumpost {
border-width:1px;
border-style:solid;
border-collapse:separate;
}
.forumpost {
margin-top: 15px;
}
.forumpost .topic {
padding: 4px;
border-style:solid;
border-width: 0px;
border-bottom-width: 1px;
}
.forumpost .commands {
padding-top: 0.5em;
text-align:right;
clear: both;
}
.forumpost .ratings {
padding-top: 1em;
text-align:right;
}
.forumpost .attachments {
padding: 7px;
text-align:right;
}
.forumpost .content {
padding: 4px;
}
.forumpost .footer {
padding-top: 0.5em;
text-align:right;
}
.forumpost .link {
padding-top: 0.5em;
text-align:right;
}
.forumpost .left {
width: 35px;
padding: 4px;
text-align: center;
vertical-align: top;
}
.mod-forum .indent {
margin-left: 30px;
}
body#user-view .forumpost,
.course .forumpost {
width: 100%;
}
body#mod-forum-search .c0 {
text-align: right;
}
body#mod-forum-search .introcontent {
padding: 15px;
}
.forumolddiscuss {
text-align: right;
}
.forumheaderlist {
width: 100%;
}
.forumheaderlist td {
border-width:1px 0px 0px 1px;
border-style:solid;
}
.forumheaderlist .replies {
text-align: center;
white-space: nowrap;
}
.forumheaderlist .picture {
width: 35px;
}
.forumheaderlist .discussion .starter {
vertical-align: middle;
}
.forumheaderlist .lastpost {
white-space: nowrap;
text-align: right;
}
.forumheaderlist .discussion .author {
white-space: nowrap;
}
.forumolddiscuss {
text-align:right;
}
.forumaddnew,
.forumnodiscuss,
.noticeboxcontent {
text-align:center;
}
#mod-forum-view .forumaddnew {
margin-bottom: 20px;
}
#mod-forum-view .forumcontrol .groupmenu {
float: left;
text-align:left;
white-space: nowrap;
}
#mod-forum-view .groupmenu {
float: left;
text-align:left;
white-space: nowrap;
}
#mod-forum-view .forumcontrol .subscription {
float: right;
text-align:right;
white-space: nowrap;
}
#mod-forum-view .subscription {
float: right;
text-align:right;
white-space: nowrap;
}
#mod-forum-index .subscription {
float: right;
text-align:right;
white-space: nowrap;
}
#mod-forum-view .unread {
padding-left: 3px;
padding-right: 3px;
}
#mod-forum-discuss .forumpost.unread .content {
border-style: solid;
border-width: 2px;
}
#mod-forum-discuss .ratingsubmit {
text-align:center;
padding:10px;
}
#mod-forum-index .unread img,
#mod-forum-view .unread img
{
margin-left: 5px;
}
#mod-forum-discuss .discussioncontrols td {
width: 33%;
text-align:center;
}
#email .unsubscribelink {
margin-top:20px;
border-width: 0px 1px 0px 0px;
border-style: solid;
text-align:center;
}
#mod-forum-view .subscription {
margin: 5px 0;
}
/***
*** Modules: Forum
***/
.forumnodiscuss{
font-weight:bold;
}
.forumpost .topic .subject {
font-weight: bold;
}
.forumpost .topic .author {
font-size: 0.8em;
}
.forumpost .commands,
.forumpost .link,
.forumpost .footer {
font-size: 0.9em;
}
.forumheaderlist .discussion .lastpost {
font-size: 0.7em;
}
body#mod-forum-search .introcontent {
font-weight:bold;
}
body#mod-forum-index .generalbox .cell {
font-size: 0.80em;
}
.forumpost .edited {
font-style: italic;
}
/***
*** Modules: Forum
***/
/**
* Patch MDL-18971 version 3 puts the forum classes
* in page sequence. Also added one course class (above)
* for course/view.php
**/
/** The location of these classes is unknown
* Commented out with patch MDL-18971 version 3
**/
/*.block .post .head {
color:#555555;
}*/
/** Unread Posts count background on
* mod/forum/index.php
**/
#mod-forum-index .unread {
background: #9EBEFF;
}
/** wire frame around cells in
* mod/forum/view.php
**/
.forumheaderlist td {
border-color: #FFFFFF;
}
/** Discussion column background in
* mod/forum/view.php
* The inner class is actually "topic starter"
**/
.forumheaderlist .discussion .starter {
background:#DDDDDD;
}
/** unread column background on
* mod/forum/view.php
**/
#mod-forum-view .unread{
background: #9EBEFF;
}
/** border around posts in
* mod/forum/view.php (forumheaderlist) and
* mod/forum/discuss.php (forumpost)
**/
.forumheaderlist,
.forumpost {
border-color:#DDDDDD;
}
/** post body color in
* mod/forum/discuss.php
**/
.forumpost .content {
background: #FFFFFF;
}
/** left photo section of each post in
* mod/forum/discuss.php
**/
.forumpost .left {
background:#EEEEEE;
}
/** line between header and post body in
* mod/forum/discuss.php
**/
.forumpost .topic {
border-bottom-color: #EEEEEE;
}
/** header of the first post in
* mod/forum/discuss.php
**/
.forumpost .starter {
background:#DDDDDD;
}
/** header of reply posts and
* lower corners of all posts in
* mod/forum/discuss.php
**/
#mod-forum-discuss .forumpost {
background: none;
}
/** inside border of unread posts in nested format in
* mod/forum/discuss.php
**/
#mod-forum-discuss .forumpost.unread .content {
border-width:2px;
border-color: #0046C7;
}
/** headers of unread posts in threaded format in
* mod/forum/discuss.php
**/
#mod-forum-discuss .forumthread.unread {
background: #9EBEFF;
}

View File

@ -1,262 +0,0 @@
/***
*** Modules: Glossary
***/
.glossarypost .commands {
width: 200px;
white-space: nowrap;
}
#mod-glossary-comments .glossarypost,
#mod-glossary-comment .glossarypost {
margin-top: 15px;
}
.entryboxheader {
border-width: 1px 1px 0px 1px;
border-style: solid;
}
.entrybox {
width: 100%;
border-width: 0px 1px 1px 1px;
border-style: solid;
}
.entrybox hr {
border-left:none;
border-right:none;
}
.glossarypost {
width: 95%;
border-width:1px;
border-style:solid;
border-collapse:separate;
margin-left:auto;
margin-right:auto;
margin-bottom: 5px;
text-align: left;
}
.entrylist {
border-width:0px;
}
.entrylowersection {
padding-top: 10px;
}
.entrylowersection table{
width: 100%;
}
.entrylowersection .aliases {
text-align:center;
}
.entrylowersection .icons,
.entrylowersection .ratings {
text-align:right;
padding-right: 5px;
}
.entrylowersection .ratings {
padding-bottom: 2px;
}
.glossarycategoryheader {
width: 95%;
margin-left:auto;
margin-right:auto;
}
.glossaryformatheader {
width: 90%;
}
.glossarypost .entry {
padding: 3px;
}
.glossarypost .picture {
width: 35px;
}
.glossarycomment {
border-width:1px;
border-style:solid;
border-collapse:separate;
margin-bottom: 5px;
text-align: left;
}
.glossarycomment .entry {
padding: 3px;
}
.glossarycomment .picture {
width: 35px;
}
.glossarycomment .icons {
text-align: right;
}
.glossarydisplay {
width: 90%;
margin-left:auto;
margin-right:auto;
text-align:center;
}
.glossarydisplay .tabs {
width: 100%;
}
.glossarydisplay .separator {
width: 4px;
}
.glossarydisplay .tabs .selected,
.glossarydisplay .tabs .inactive,
.glossarydisplay .tabs .general {
}
.glossaryimportexport {
margin-left:auto;
margin-right:auto;
text-align:center;
}
.glossarypopup {
width: 95%;
}
.glossaryapproval {
width: 100%;
}
.mod-glossary .glossarydisplay .tabs {
margin-bottom: 0px;
}
.mod-glossary .glossarydisplay .tabs .side {
border-style: none;
border-width: 0px;
width: auto;
}
.glossaryexplain,
.glossaryaddentry {
text-align: center;
}
.mod-glossary .tabrow0 {
padding-bottom: 5px;
}
#mod-glossary-view .glossarycontrol {
float: right;
text-align:right;
white-space: nowrap;
margin: 5px 0;
}
/***
*** Modules: Glossary
***/
.glossarypost .commands {
font-size: 0.8em;
}
.glossarypost .author {
font-size: 0.8em;
}
.glossarypost .time {
font-size: 0.8em;
}
.glossarycategoryheader h2,
.glossarypost .concept h3 {
font-size: 1em;
margin: 0;
}
.glossarypost div.concept h3,
.glossarypost.continuous .concept {
display: inline;
}
.glossarypost .entryheader {
font-weight: normal;
text-align: left;
}
.glossarycomment .author {
font-size: 0.8em;
}
.entrylowersection .aliases {
font-size: 0.8em;
}
.entrylowersection .icons,
.entrylowersection .ratings {
font-size: 0.8em;
}
#mod-glossary-index .cell {
font-size:0.8em;
}
/***
*** Modules: Glossary
***/
.entryboxheader {
border-color: #BBBBBB;
}
.entrybox {
border-color: #BBBBBB;
}
.entry {
}
.glossarypost {
border-color: #DDDDDD;
}
.glossarypost .entryheader,
.glossarypost .entryapproval,
.glossarypost .picture,
.glossarypost .entryattachment,
.glossarypost .left {
background-color: #F0F0F0;
}
.glossarycomment {
border-color: #DDDDDD;
}
.glossarycomment .entryheader,
.glossarycomment .picture,
.glossarycomment .left {
background-color: #F0F0F0;
}
#mod-glossary-report .generalbox .teacher {
background: #F0F0F0;
}
.glossarycategoryheader {
background-color: #dddddd;
}
.glossaryformatheader {
background-color: #dddddd;
}

View File

@ -1,274 +0,0 @@
/***
*** General styles (scope: all of lesson)
***/
.mod-lesson .contents {
text-align: left;
}
.mod-lesson .standardtable,
.mod-lesson .mform .box.contents {
text-align: left;
margin:1em auto;
width:80%;
}
.mod-lesson .compacttable {
margin:0px auto;
width:80%;
}
.mod-lesson #layout-table {
width: 100%;
}
.mod-lesson .edit_buttons form,
.mod-lesson .edit_buttons input {
display: inline;
}
.mod-lesson .clock .content {
text-align: center;
}
.mod-lesson .addlinks {
font-size: .8em;
margin:5px auto;
}
.mod-lesson .userinfotable .cell,
.mod-lesson .userinfotable .userpicture {
vertical-align: middle;
}
.mod-lesson .invisiblefieldset.fieldsetfix {
display: block;
}
.mod-lesson .invisiblefieldset.fieldsetfix tr {
text-align: left;
}
/***
*** Style for view.php
***/
#mod-lesson-view .password-form {
text-align: center;
margin-top: 20px;
}
#mod-lesson-view .password-form .submitbutton {
display: inline;
}
/***
*** Style for essay.php
***/
#mod-lesson-essay .graded {
color:#DF041E;
}
#mod-lesson-essay .sent {
color:#006600;
}
#mod-lesson-essay .ungraded {
color:#999999;
}
#mod-lesson-essay .gradetable {
margin-bottom: 20px;
}
#mod-lesson-essay .buttons {
text-align: center;
}
/***
*** Style for responses
***/
/* .response style is applied for both .correct and .incorrect */
.mod-lesson .response {
padding-top: 10px;
}
/* for correct responses (can override .response) */
.mod-lesson .correct {
/*color: green;*/
}
/* for incorrect responses (can override .response) */
.mod-lesson .incorrect {
/*color: red;*/
}
/* for highlighting matches in responses for short answer regular expression (can override .incorrect) */
.mod-lesson .matches {
/*color: red;*/
}
/***
*** Slide show Style
***/
/* NOTE: background color, height and width are set in the lesson settings */
.mod-lesson .slideshow {
overflow: auto;
padding-right: 16px; /* for the benefit of macIE5 only */
/* \ commented backslash hack - recover from macIE5 workarounds, it will ignore the following rule */
padding-right: 0;
padding: 15px;
}
/***
*** Left Menu Styles
***/
.mod-lesson .menu .content {
padding: 0px;
}
.mod-lesson .menu .menuwrapper {
max-height: 400px;
overflow: auto;
vertical-align: top;
margin-bottom: 10px;
}
.mod-lesson .menu ul {
list-style: none;
padding: 5px 0px 0px 5px;
margin: 0px;
}
.mod-lesson .menu li {
padding-bottom: 5px;
}
.mod-lesson .leftmenu_selected_link {
}
.mod-lesson .leftmenu_not_selected_link {
}
.mod-lesson .skip {
position: absolute;
left: -1000em;
width: 20em;
}
.mod-lesson .edit_pages_box {
width:80%;
margin-left:10%;
}
/***
*** Lesson Buttons
***/
.mod-lesson .lessonbutton a {
padding-left:1em;
padding-right:1em;
}
.mod-lesson .lessonbutton a:link,
.mod-lesson .lessonbutton a:visited,
.mod-lesson .lessonbutton a:hover {
color: #000;
text-decoration: none;
}
.mod-lesson .lessonbutton a:link,
.mod-lesson .lessonbutton a:visited {
border-top: 1px solid #cecece;
border-bottom: 2px solid #4a4a4a;
border-left: 1px solid #cecece;
border-right: 2px solid #4a4a4a;
}
.mod-lesson .lessonbutton a:hover {
border-bottom: 1px solid #cecece;
border-top: 2px solid #4a4a4a;
border-right: 1px solid #cecece;
border-left: 2px solid #4a4a4a;
}
/* Branch table buttons when displayed horizontally */
.mod-lesson .branchbuttoncontainer.horizontal div,
.mod-lesson .branchbuttoncontainer.horizontal form {
display: inline;
}
/* Branch table buttons when displayed vertically */
.mod-lesson .branchbuttoncontainer.vertical .lessonbutton {
padding: 5px;
}
/***
*** Lesson Progress Bar
*** Default styles for this are very basic right now.
*** User is supposed to configure this to their liking (like using pictures)
***/
.mod-lesson .progress_bar {
padding: 20px;
}
.mod-lesson .progress_bar_table {
width: 80%;
padding: 0px;
margin: 0px;
}
.mod-lesson .progress_bar_completed {
/* Example Use of Image
background-image: url([[pix:mod_lesson|completed]]);
background-position: center;
background-repeat: repeat-x;
*/
background-color: green;
padding: 0px;
margin: 0px;
}
.mod-lesson .progress_bar_todo {
/* Example Use of Image
background-image: url([[pix:mod_lesson|todo]]);
background-repeat: repeat-x;
background-position: center;
*/
background-color: red;
text-align: left;
padding: 0px;
margin: 0px;
}
.mod-lesson .progress_bar_token {
/* Example Use of Image
background-image: url([[pix:mod_lesson|token]]);
background-repeat: repeat-none;
*/
background-color: #000000;
height: 20px;
width: 5px;
padding: 0px;
margin: 0px;
}
.mod-lesson .center {
text-align:center;
}
.mod-lesson .centerpadded {
text-align:center;
padding:5px;
}
.mod-lesson .firstpageoptions {
width:30%;
margin-left:35%;
margin-top:1em;
text-align:center;
}

View File

@ -1,8 +0,0 @@
/***
*** Modules: Resource
***/
.mod-page .modified {
font-size:0.6em;
}

File diff suppressed because it is too large Load Diff

View File

@ -1,52 +0,0 @@
/***
*** Modules: Resource
***/
#mod-resource-view .resourcecontent {
text-align:center;
margin:20px;
}
#mod-resource-view .resourcepdf {
width: 100%;
padding-top: 15px;
text-align: center
}
.resourcecontent object {
height:480px;
width:600px;
}
.resourcepdf object{
height: 800px;
width: 800px;
}
.mod-resource .modified {
text-align:center;
}
.mod-resource .popupnotice {
text-align:center;
margin:40px;
}
#mod-resource-view div#footer {
margin-top: 5px;
}
/***
*** Modules: Resource
***/
#mod-resource-index .cell {
font-size:0.8em;
}
.mod-resource .modified {
font-size:0.6em;
}

View File

@ -1,160 +0,0 @@
.structlist {
list-style-type: none;
white-space: nowrap;
font-size: small;
}
.orgtitle {
font-weight: bold;
font-size: small;
}
.mod-scorm .top {
vertical-align: top;
}
.mod-scorm .scorm-left {
text-align: left;
}
.mod-scorm .scorm-center {
text-align: center;
}
.mod-scorm .scorm-right {
text-align: right;
}
.mod-scorm .scoframe {
position: relative;
width: 100%;
height: 100%;
}
#mod-scorm-player #scormpage {
position: relative;
width: 100%;
}
#mod-scorm-player #tochead {
position: relative;
text-align: center;
top: 3px;
height: 30px;
}
#mod-scorm-player .toc {
width: 80%;
margin-left: 20%;
}
#mod-scorm-player .no-toc {
width: 100%;
}
#mod-scorm-player #scormobject {
height: 400px;
}
#mod-scorm-player #scormtop {
position: relative;
width: 100%;
height: 30px;
}
#mod-scorm-player #scormbrowse {
position: absolute;
left: 5px;
top: 0px;
}
#mod-scorm-player #scormnav {
position: absolute;
right: 5px;
top: 0px;
text-align: center;
top: 3px;
width: 100%;
}
#mod-scorm-view .structurehead {
text-align: center;
}
#mod-scorm-view .structurelist {
list-style-type: none;
white-space: nowrap;
}
#mod-scorm-player #scormbox {
width: 74%;
position: absolute;
right: 0px;
top: 0px;
}
#mod-scorm-player #tocbox {
position: relative;
left: 0px;
width: 24%;
font-size: 0.8em;
}
#mod-scorm-player #tochead {
position: relative;
text-align: center;
top: 3px;
height: 30px;
}
#toctree {
position:relative;
width:100%;
overflow-x: auto;
overflow-y: auto;
}
.structurelist {
list-style-type: none;
}
#mod-scorm-player .structurelist {
position: relative;
list-style-type: none;
width: 96%;
margin-left:0;
padding-left: 0;
margin-right:0;
padding-right: 0;
padding-top: 0;
padding-bottom: 0;
margin-top:0;
margin-bottom:0;
}
#mod-scorm-player .structurelist ul{
padding-left: 0.5em;
margin-left: 0.5em;
}
#mod-scorm-view .structurelist {
list-style-type: none;
white-space: nowrap;
}
a#mod-scorm-log-toggle {
font-size: 0.7em;
font-weight: bold;
}
/***
*** Modules: Scorm
***/
#mod-scorm-index .cell {
font-size:0.8em;
}

View File

@ -1,96 +0,0 @@
/***
*** Modules: Survey
***/
.resultgraph {
text-align:center;
border:1px solid;
}
.reportsummary,
.studentreport,
.reportbuttons {
text-align:center;
}
.centerpara {
text-align:center;
}
.fullnamecell {
width:10%;
vertical-align:top;
white-space: nowrap;
}
.questiontext {
font-size:1em;
}
.smalltext {
font-size: 0.75em;
}
#surveyform th {
font-weight: normal;
text-align: left;
}
#surveyform th.hresponse {
text-align: center;
width: 9%;
}
.rblock label {
display: block;
text-align: center;
}
.foundthat,
.preferthat {
white-space: nowrap;
}
.qnummiddlecell {
vertical-align:middle;
}
.optioncell {
width: 50%;
vertical-align: top;
}
.buttoncell {
width:5%;
}
.questioncell {
width:50%;
vertical-align:top;
}
.whitecell {
background-color:white;
}
/***
*** Modules: Survey
***/
#mod-survey-index .cell {
font-size:0.8em;
}
/***
*** Modules: Survey
***/
#mod-survey-view .r0 {
background-color: #EEEEEE;
}
#mod-survey-view .r1 {
background-color: #DDDDDD;
}

View File

@ -1,35 +0,0 @@
/***
*** Modules: Wiki
***/
.sideblockheading,
.howtowiki {
text-align:right;
}
.wikisearchform,
.wikilinksblock,
wikiadminactions {
text-align:center;
}
.wikilinkright{
text-align:right;
padding-bottom: 0.5em;
}
.wikiexportbox{
margin-left:auto;
margin-right:auto;
}
/***
*** Modules: Wiki
***/
#mod-wiki-index .cell {
font-size:0.8em;
}

View File

@ -0,0 +1,5 @@
table.layout-table {width:100%; border-collapse:separate; margin-top: 8px;}
table.layout-table td {border: 0;}
table.layout-table #region-main-wrap {padding-left:12px; padding-right:12px;vertical-align:top;width: auto;}
table.layout-table #region-pre,
table.layout-table #region-post {vertical-align:top;width: 12em;}

File diff suppressed because it is too large Load Diff

View File

@ -1,900 +0,0 @@
/*******************************************************************
styles_fonts.css
This CSS file contains all font definitions like family, size,
weight, text-align, letter-spacing etc.
Styles are organised into the following sections:
core
header
footer
admin
blocks
calendar
course
doc
grades
login
message
mymoodle
question
tabs
user
*******************************************************************/
/***
*** Core
***/
.clearer {
font-size:1px;
}
body, table, td, th, li {
font-family:Arial, Verdana, Helvetica, sans-serif;
font-size:100%;
/*letter-spacing:0.02em;*/
}
/*
* Apparently (at least in 2005, when this was added) Vietnamese test, on Windows
* computers, would only show up in Arial. Specify that here, with a !important
* rule, so that other themes that inherit from that standard theme do not
* un-intentionally break Vietnamese sites by changing the font.
*/
body.lang-vi,
body.lang-vi table,
body.lang-vi td,
body.lang-vi th,
body.lang-vi li {
font-family: Arial, Verdana, Helvetica, sans-serif !important;
}
th {
font-weight: bold;
}
a:link,
a:visited {
text-decoration:none;
}
a:hover {
text-decoration: underline;
}
.img-text a:hover {
text-decoration: none;
}
.img-text a:hover span {
text-decoration: underline;
}
h1.main,
h2.main,
h3.main,
h4.main,
h5.main,
h6.main {
font-weight:bold;
}
h1 {
font-size:1.7em;
}
h2 {
font-size:1.4em;
}
h3 {
font-size:1.1em;
}
h4 {
font-size:1.0em;
}
.bold {
font-weight:bold;
}
.warning {
font-weight: bold;
font-style: italic;
}
.errorbox .title {
font-weight: bold;
font-size: 1.2em;
text-align: center;
}
.errorboxcontent {
text-align: center;
}
.errorcode {
font-size: 0.7em;
}
.notifytiny {
line-height : 100%;
font-size: 0.7em;
}
.pagingbar .title {
font-weight: bold;
}
.pagingbar .thispage {
font-weight: bold;
}
.categorybox .category {
font-size:1.2em;
font-weight:bold;
}
.heading-with-help {
font-size:1.4em;
}
.heading-with-help h2.main {
font-size:1em;
}
.helplink {
font-size:0.8em;
}
.headingblock {
font-weight: bold;
}
#site-index .subscribelink,
.course-view .subscribelink {
font-size: 0.8em;
}
.files .file {
font-size: 0.9em;
}
.files .folder {
font-size: 0.9em;
}
.files .folder .size {
font-weight: bold;
}
/*Accessibility: resizable icons. */
img.resize {
width: 1em;
height: 1em;
}
acronym, abbr {
cursor: help;
}
a.useredit, a:hover.useredit, .blink {
color: black;
text-decoration: blink;
cursor: help;
}
/***
*** Header
***/
.headermain {
font-weight:bold;
}
#header-home .headermain {
font-size:1.5em;
}
#header .headermain {
font-size:1.3em;
}
.breadcrumb {
font-size:0.9em;
font-weight:bold;
}
.logininfo,
#header-home .headermenu font {
font-size:0.8em;
}
/* Accessibility: only certain fonts support Unicode chars like &#x25BA; in IE6 */
.arrow, .arrow_button input {
font-family: Arial,Helvetica,Courier,sans-serif;
}
.navigation button {
font-size: 80%;
}
/***
*** Footer
***/
.homelink {
}
.performanceinfo {
font-size: 0.6em;
}
#footer .validators {
font-size: 0.6em;
}
/***
*** Admin
***/
table.formtable tbody th {
font-weight: normal;
text-align: right;
}
body#admin-blocks table#incompatible td.c0 {
font-weight: bold;
}
body#admin-index .explanation {
font-size: 0.7em;
vertical-align: bottom;
}
body#admin-index .copyright {
text-align: center;
font-size: 0.8em;
}
.environmenttable {
font-size: 0.8em;
}
#adminsettings .form-shortname {
font-size: 0.75em;
}
#adminsettings .form-defaultinfo {
font-size: 0.8em;
}
#admin-lang .translator .strkey {
font-size: 0.75em;
}
#admin-uploaduser table#uupreview {
font-size: 0.8em;
}
#admin-uploaduser table#uuresults {
font-size: 0.9em;
}
#adminsettings .form-warning,
#adminsettings .form-overridden {
font-size: 0.8em;
}
.plugincompattable {
font-size: 70%;
}
.plugincompattable td.standard {
font-weight: normal;
}
.plugincompattable td.nonstandard {
font-weight: bold;
}
.plugincompattable td.missingplugin {
font-weight: bold;
}
.plugincompattable td.warning {
font-style: normal;
}
.plugincompattable {
text-align: left;
}
.plugincheckwrapper {
text-align: center;
}
.course-report-outline td.lastaccess {
font-size:0.8em;
}
.course-report-outline tr.section {
text-align: center;
}
/***
*** Blocks
***/
a.skip-block {
text-decoration:none;
}
.block img.resize,
.breadcrumb img.resize {
width: 0.8em;
height: 0.9em;
}
.block .searchform img.resize {
width: 1em;
height: 1.1em;
}
.block .header, .block h2 {
font-size:0.9em;
font-weight: bold;
}
.block .content {
font-size:0.9em;
line-height:1.2em;
}
.block a {
line-height:1.2em
}
.block .content h3,
.block .content h2 {
font-size:1.0em;
}
.block .content .message {
font-size:0.9em
}
.block .header .commands {
font-size:0.9em;
}
.block .footer {
font-size:0.9em;
}
.block .head,
.block .info,
.block .event {
font-size: 0.9em;
}
.block .date {
font-style: italic;
}
.block_site_main_menu .footer select {
font-size: 0.8em;
}
.block_messages .content .listentry,
.block_online_users .content .listentry {
font-size:0.75em
}
/***
*** Blogs
***/
.blog_entry .audience {
font-size: 0.85em;
}
.blog_entry .tags {
font-size: 0.85em;
}
/***
*** Calendar
***/
#calendar .sidecalendar abbr,
.block_calendar_month abbr {
border: none;
}
#calendar .eventnone a,
.block_calendar_month .eventnone a {
text-decoration:none;
color:black;
cursor:text;
}
#calendar .maincalendar .eventlist .event .referer {
font-weight:bold;
}
#calendar .maincalendar .eventlist .event .course {
font-size:0.8em;
}
#calendar .maincalendar .eventlist .event .description .commands {
text-align: right;
}
#calendar .maincalendar table.calendarmonth td {
font-size:0.8em;
}
#calendar div.header
{
font-weight:bold;
}
#calendar .sidecalendar .filters {
font-size:0.8em;
}
.block .filters td {
font-size:1.1em;
}
#calendar .maincalendar .controls {
font-size:1.2em;
}
#calendar .maincalendar .day {
font-weight: bold;
}
#calendar h1 {
font-size:1.0em;
margin:0;
}
#calendar .minicalendarblock h3 {
font-size:1.0em;
margin:0;
font-weight:normal;
text-align:center;
}
table.minicalendar {
font-size:0.85em;
}
.cal_popup_caption {
font-family:sans-serif;
font-size:0.8em;
font-weight:bold;
}
.cal_popup_close {
font-family:sans-serif;
font-size:0.8em;
font-weight:bold;
}
#calendar .maincalendar .calendar-controls .current {
font-weight: bold;
}
/***
*** Course
***/
.course-view .section {
font-size:0.95em;
line-height:1.2em;
}
.course-view .section .activity {
padding:0.2em 0;
}
.course-view .section .activity a {
line-height:1em;
}
.course-view .section .weekdates {
margin: 0;
font-weight: normal;
font-size: 1em;
}
.course-view .section .left {
font-weight:bold;
}
.activitydate, .activityhead {
font-size:0.9em;
}
.weeklydatetext {
font-size:0.9em;
font-weight:bold;
}
.coursebox .info {
font-size:1em;
}
.coursebox .teachers,
.coursebox .cost {
font-size:0.9em;
}
.coursebox .summary {
font-size:0.9em;
}
#course-recent h2.main {
font-size:1.1em;
}
#course-recent .user {
font-size:0.75em;
}
#course-recent .grade {
font-style: italic;
font-size:0.9em;
}
#course-recent .forum-recent .reply .title {
font-style: italic;
font-size:0.9em;
}
#course-recent .forum-recent .discussion .title {
font-weight:bold;
font-style: italic;
font-size:0.9em;
}
h2.headingblock {
font-size:1.1em;
}
.section_add_menus optgroup {
font-weight:normal;
font-style: italic;
}
.section .groupinglabel {
color: #666666;
}
.course-view .availabilityinfo {
font-size:0.85em;
color:#aaa;
}
.course-view .availabilityinfo strong {
font-weight:normal;
color:black;
}
.course-view .dimmed_text img {
opacity:0.3;
filter: alpha(opacity='30');
}
/***
*** Doc
***/
body#doc-contents h1 {
font-size: 0.9em;
}
body#doc-contents ul {
font-size: 0.8em;
}
/***
*** Grades
***/
body#grade-index .grades .header {
font-weight: bold;
font-size: 0.7em;
}
.grade-edit-scale .scale_options {
font-size: 0.7em;
}
#grade-aggregation-help dt {
font-weight: bold;
}
#grade-aggregation-help dd.example {
font-style: italic;
}
#grade-aggregation-help code {
font-style: normal;
}
/***
*** Login
***/
#login-index #content {
font-size: 0.85em;
}
/***
*** Logs
***/
.logtable td {
font-size: 0.8em;
}
.logtable th {
font-size: 0.9em;
}
/***
*** Message
***/
.message-discussion-noframes #userinfo .name h1 {
font-weight: bold;
font-size:1em;
}
.message-discussion-noframes #userinfo .commands {
font-size:0.8em;
}
.message-discussion-noframes #send h1 {
font-size:1em;
}
.message .noframesjslink {
font-size:0.8em;
}
.message-discussion-noframes #messages h1 {
font-size:1em;
}
.message .link {
font-size:0.8em;
}
.message_form {
font-size:0.8em;
}
.message .heading {
font-size:1.0em;
font-weight:bold;
}
.message .date,
.message .contact,
.message .summary {
font-size:0.9em;
}
.message .note,
.message .pix {
font-size:0.8em;
}
.message .author {
font-weight: bold;
font-size:0.8em;
}
.message .time {
font-style: italic;
font-size:0.8em;
}
.message .content {
font-size:0.8em;
}
#message-user .commands span {
font-size:0.7em;
white-space:nowrap;
}
#message-user .name {
font-weight: bold;
font-size:1.1em;
}
/***
*** MyMoodle
***/
.my .courseboxcontent .overview .info {
font-size:0.7em;
}
/***
*** Question
***/
#chooseqtype .qtypename {
font-weight: bold;
}
#qtypechoicecontainer #chooseqtype .qtypename {
font-weight: normal;
}
.que .info h2 {
font-size: 1.25em;
font-weight: bold;
}
.que .grade {
font-size: 0.8em;
}
.que .history {
font-size:75%;
}
/***
*** Tabs
***/
.tabtree a.nolink:hover {
text-decoration: none;
}
.tabtree .here {
font-weight: bold;
}
.tabtree .here ul {
font-weight: normal;
}
/***
*** Tags
***/
.tag_cloud .s20 {
font-size: 1.5em;
font-weight: bold;
}
.tag_cloud .s19 {
font-size: 1.5em;
}
.tag_cloud .s18 {
font-size: 1.4em;
font-weight: bold;
}
.tag_cloud .s17 {
font-size: 1.4em;
}
.tag_cloud .s16 {
font-size: 1.3em;
font-weight: bold;
}
.tag_cloud .s15 {
font-size: 1.3em;
}
.tag_cloud .s14 {
font-size: 1.2em;
font-weight: bold;
}
.tag_cloud .s13 {
font-size: 1.2em;
}
.tag_cloud .s12,
.tag_cloud .s11 {
font-size: 1.1em;
font-weight: bold;
}
.tag_cloud .s10,
.tag_cloud .s9 {
font-size: 1.1em;
}
.tag_cloud .s8,
.tag_cloud .s7 {
font-size: 1em;
font-weight: bold;
}
.tag_cloud .s6,
.tag_cloud .s5 {
font-size: 1em;
}
.tag_cloud .s4,
.tag_cloud .s3 {
font-size: 0.9em;
font-weight: bold;
}
.tag_cloud .s2,
.tag_cloud .s1 {
font-size: 0.9em;
}
.tag_cloud .s0 {
font-size: 0.8em;
}
/***
*** User
***/
.userinfobox .username {
font-weight: bold;
}
.userinfobox .links {
font-size: 0.7em;
}
.userinfobox td.label {
font-weight: bold;
}
body#user-index #longtimenosee {
font-size: 0.8em;
}
.iplookup #header h1.headermain {
font-size:1em;
}
.iplookup #note {
font-size:0.8em;
font-style: italic;
}
/***
*** Phpinfo display
***/
.phpinfo table {
border-collapse: collapse;
}
.phpinfo .center {
text-align: center;
}
.phpinfo .e, .v, .h {
border: 1px solid #000000;
font-size: 0.8em;
vertical-align: baseline;
}
.phpinfo .e {
background-color: #ccccff;
font-weight: bold;
color: #000000;
}
.phpinfo .h {
background-color: #9999cc;
font-weight: bold; color: #000000;
}
.phpinfo .v {
background-color: #cccccc;
color: #000000;
}
.block .content h3.eventskey {
font-size:0.8em;
}

View File

@ -1,23 +0,0 @@
/* a few ugly hacks that undo some parts of the CSS reset from YUI for now */
.dir-ltr {
text-align: left;
}
.dir-rtl {
text-align: right;
}
ul li {
list-style-type: none;
}
h1.main,
h2.main,
h3.main,
h4.main,
h5.main,
h6.main {
text-align: center;
}

File diff suppressed because it is too large Load Diff

View File

@ -1,378 +0,0 @@
/*******************************************************************
styles_moz.css
This CSS file uses the non-standard Mozilla CSS extensions
to add round corners to the current theme.
Styles are organised into the following sections:
core
header
footer
admin
blocks
calendar
course
doc
login
message
tabs
user
various modules
*******************************************************************/
/***
*** Core
***/
.headingblock {
-moz-border-radius:3px;
}
.notifyproblem {
-moz-border-radius:10px;
}
.notifysuccess {
-moz-border-radius:10px;
}
.generalbox {
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
}
.generalboxcontent {
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
}
.noticebox {
-moz-border-radius:5px;
}
.informationbox {
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
}
.informationboxcontent {
-moz-border-radius-topleft:3px;
-moz-border-radius-topright:3px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
}
.sitetopiccontent {
-moz-border-radius:15px;
}
.headingblock {
-moz-border-radius:3px;
}
.categorybox, .categoryboxcontent,
.coursebox {
-moz-border-radius:10px;
}
/* kept for backward compatibility with some non-standard modules
which use these classes for various things */
.generaltab, .generaltabinactive{
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
}
.generaltabselected {
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
}
/***
*** Header
***/
/***
*** Footer
***/
/***
*** Admin
***/
/***
*** Blocks
***/
.block.hidden {
-moz-border-radius: 0px;
}
.block .content {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
.block_course_summary, .block_course_summary .content {
-moz-border-radius:20px;
}
.editing .block_course_summary .content {
-moz-border-radius-topleft:0;
-moz-border-radius-topright:0;
}
/***
*** Calendar
***/
#calendar .eventlist .event {
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
}
#calendar .eventlist .event .side {
-moz-border-radius-bottomleft:15px;
}
#calendar .eventlist .event .description {
-moz-border-radius-bottomright:15px;
}
#calendar .maincalendar,
#calendar .sidecalendar
{
-moz-border-radius-bottomright:20px;
-moz-border-radius-bottomleft:20px;
}
#calendar td.sidecalendar .block {
-moz-border-radius-bottomright:20px;
-moz-border-radius-bottomleft:20px;
}
#calendar .maincalendar .filters table,
#calendar .sidecalendar .filters table,
.block.block_calendar_month .filters table
{
-moz-border-radius:4px;
}
table.minicalendar {
-moz-border-radius:10px;
}
table.minicalendar td {
-moz-border-radius:4px;
}
#calendar .maincalendar li.event_course,
#calendar .maincalendar li.event_global,
#calendar .maincalendar li.event_user,
#calendar .maincalendar li.event_group,
#calendar .filters td.event_course,
#calendar .filters td.event_global,
#calendar .filters td.event_user,
#calendar .filters td.event_group {
-moz-border-radius:4px;
}
/***
*** Course
***/
body#course-user .section {
-moz-border-radius:20px;
}
/***
*** Doc
***/
/***
*** Login
***/
.loginbox {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
.loginbox .content.left {
-moz-border-radius-bottomleft:20px;
}
.loginbox .content.right {
-moz-border-radius-bottomright:20px;
}
/***
*** Message
***/
/***
*** Tabs
***/
/***
*** User
***/
.userinfobox {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
.groupinfobox {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
#user-view .left {
-moz-border-radius-bottomleft:20px;
}
/***
*** Modules: Assignment
***/
/***
*** Modules: Chat
***/
/***
*** Modules: Choice
***/
/***
*** Modules: Forum
***/
.forumpost {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
.forumpost .side {
-moz-border-radius-bottomleft:20px;
}
.forumpost .content {
-moz-border-radius-bottomright:20px;
}
.forumpost .message {
-moz-border-radius-bottomright:20px;
}
/***
*** Modules: Glossary
***/
.glossarycategoryheader {
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
}
.glossaryformatheader {
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
}
.entryboxheader {
-moz-border-radius-topleft:10px;
-moz-border-radius-topright:10px;
}
.entrybox {
-moz-border-radius-bottomleft:10px;
-moz-border-radius-bottomright:10px;
}
.glossarypost {
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
}
.glossarypost .side {
-moz-border-radius-bottomleft:15px;
}
.encyclopedia .entrylowersection {
-moz-border-radius-bottomright:15px;
}
.glossarycomment {
-moz-border-radius-bottomleft:20px;
-moz-border-radius-bottomright:20px;
}
.glossarycomment .side {
-moz-border-radius-bottomleft:20px;
}
.glossarycomment .entry {
-moz-border-radius-bottomright:20px;
}
/***
*** Modules: Journal
***/
#mod-journal-view .feedbackbox {
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
}
#mod-journal-view .feedbackbox .side {
-moz-border-radius-bottomleft:15px;
}
#mod-journal-view .feedbackbox .entrycontent {
-moz-border-radius-bottomright:15px;
}
/***
*** Modules: Quiz
***/
#quiznavigation .qnbutton {
-moz-box-sizing: content-box;
}
#mod-quiz-edit div.quizpage .pagecontent{
-moz-border-radius:0.6em;
-moz-border-radius-bottomleft:0;
-moz-border-radius-topleft:0;
}
#mod-quiz-edit .reorder div.question div.content{
-moz-border-radius:0.3em;
-moz-border-radius-bottomleft:0;
-moz-border-radius-topleft:0;
}
#mod-quiz-edit div.editq div.question div.content{
-moz-border-radius:0.6em;
-moz-border-radius-bottomleft:0;
-moz-border-radius-topleft:0;
}
#mod-quiz-edit div.question div.content div.points,
#mod-quiz-edit div.question div.content div.qorder{
-moz-border-radius:0.2em;
-moz-border-radius-bottomleft:0;
-moz-border-radius-topleft:0;
}
#mod-quiz-edit div.quizpage .pagecontent .pagestatus{
-moz-border-radius-bottomright:0.3em;
-moz-border-radius-topright:0.3em;
}
#mod-quiz-edit div.quizpage .pagecontent form#addquestion{
-moz-border-radius:0.2em;
}

View File

@ -1,5 +0,0 @@
.mceContentBody {
background-color:#FAFAFA;
color:#000;
}