MDL-55837 themes: base and canvas themes removed
Look for them in the plugins DB if you still need them.
@@ -17,7 +17,7 @@
|
||||
/**
|
||||
* This script implements some useful svg manipulation tricks.
|
||||
*
|
||||
* @package theme_base
|
||||
* @package core_admin
|
||||
* @subpackage cli
|
||||
* @copyright 2012 Petr Skoda {@link http://skodak.org}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
define('CLI_SCRIPT', true);
|
||||
|
||||
require(__DIR__.'/../../../config.php');
|
||||
require(__DIR__.'/../../config.php');
|
||||
require_once($CFG->libdir.'/clilib.php');
|
||||
|
||||
// Now get cli options.
|
||||
@@ -45,10 +45,10 @@ if (!file_exists($path)) {
|
||||
}
|
||||
|
||||
if ($options['ie9fix']) {
|
||||
theme_base_recurse_svgs($path, '', 'theme_base_svgtool_ie9fix', $blacklist);
|
||||
core_admin_recurse_svgs($path, '', 'core_admin_svgtool_ie9fix', $blacklist);
|
||||
|
||||
} else if ($options['noaspectratio']) {
|
||||
theme_base_recurse_svgs($path, '', 'theme_base_svgtool_noaspectratio', $blacklist);
|
||||
core_admin_recurse_svgs($path, '', 'core_admin_svgtool_noaspectratio', $blacklist);
|
||||
|
||||
} else {
|
||||
$help =
|
||||
@@ -78,7 +78,7 @@ exit(0);
|
||||
*
|
||||
* @param string $file
|
||||
*/
|
||||
function theme_base_svgtool_ie9fix($file) {
|
||||
function core_admin_svgtool_ie9fix($file) {
|
||||
global $CFG;
|
||||
|
||||
if (strpos($file, $CFG->dirroot.DIRECTORY_SEPARATOR) === 0) {
|
||||
@@ -115,7 +115,7 @@ function theme_base_svgtool_ie9fix($file) {
|
||||
*
|
||||
* @param string $file
|
||||
*/
|
||||
function theme_base_svgtool_noaspectratio($file) {
|
||||
function core_admin_svgtool_noaspectratio($file) {
|
||||
global $CFG;
|
||||
|
||||
if (strpos($file, $CFG->dirroot.DIRECTORY_SEPARATOR) === 0) {
|
||||
@@ -155,7 +155,7 @@ function theme_base_svgtool_noaspectratio($file) {
|
||||
* @param string $filecallback
|
||||
* @param array $blacklist
|
||||
*/
|
||||
function theme_base_recurse_svgs($base, $sub, $filecallback, $blacklist) {
|
||||
function core_admin_recurse_svgs($base, $sub, $filecallback, $blacklist) {
|
||||
if (is_dir("$base/$sub")) {
|
||||
$items = new DirectoryIterator("$base/$sub");
|
||||
foreach ($items as $item) {
|
||||
@@ -163,7 +163,7 @@ function theme_base_recurse_svgs($base, $sub, $filecallback, $blacklist) {
|
||||
continue;
|
||||
}
|
||||
$file = $item->getFilename();
|
||||
theme_base_recurse_svgs("$base/$sub", $file, $filecallback, $blacklist);
|
||||
core_admin_recurse_svgs("$base/$sub", $file, $filecallback, $blacklist);
|
||||
}
|
||||
unset($item);
|
||||
unset($items);
|
||||
@@ -67,7 +67,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
|
||||
$category2->name = 'Root Test Category 2';
|
||||
$category2->idnumber = 'rootcattest2';
|
||||
$category2->desc = 'Description for root test category 1';
|
||||
$category2->theme = 'base';
|
||||
$category2->theme = 'bootstrapbase';
|
||||
$categories = array(
|
||||
array('name' => $category1->name, 'parent' => 0),
|
||||
array('name' => $category2->name, 'parent' => 0, 'idnumber' => $category2->idnumber,
|
||||
@@ -395,7 +395,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
|
||||
$course2['enablecompletion'] = 1;
|
||||
$course2['completionnotify'] = 1;
|
||||
$course2['lang'] = 'en';
|
||||
$course2['forcetheme'] = 'base';
|
||||
$course2['forcetheme'] = 'bootstrapbase';
|
||||
$course3['fullname'] = 'Test course 3';
|
||||
$course3['shortname'] = 'Testcourse3';
|
||||
$course3['categoryid'] = $category->id;
|
||||
@@ -1061,7 +1061,7 @@ class core_course_externallib_testcase extends externallib_advanced_testcase {
|
||||
$course2['defaultgroupingid'] = 0;
|
||||
$course2['enablecompletion'] = 1;
|
||||
$course2['lang'] = 'en';
|
||||
$course2['forcetheme'] = 'base';
|
||||
$course2['forcetheme'] = 'bootstrapbase';
|
||||
$courses = array($course1, $course2);
|
||||
|
||||
$updatedcoursewarnings = core_course_external::update_courses($courses);
|
||||
|
||||
@@ -1664,9 +1664,9 @@ class core_plugin_manager {
|
||||
'repository' => array('alfresco'),
|
||||
'tinymce' => array('dragmath'),
|
||||
'tool' => array('bloglevelupgrade', 'qeupgradehelper', 'timezoneimport'),
|
||||
'theme' => array('mymobile', 'afterburner', 'anomaly', 'arialist', 'binarius', 'boxxie', 'brick', 'formal_white',
|
||||
'formfactor', 'fusion', 'leatherbound', 'magazine', 'nimble', 'nonzero', 'overlay', 'serenity', 'sky_high',
|
||||
'splash', 'standard', 'standardold'),
|
||||
'theme' => array('afterburner', 'anomaly', 'arialist', 'base', 'binarius', 'boxxie', 'brick', 'canvas',
|
||||
'formal_white', 'formfactor', 'fusion', 'leatherbound', 'magazine', 'mymobile', 'nimble', 'nonzero',
|
||||
'overlay', 'serenity', 'sky_high', 'splash', 'standard', 'standardold'),
|
||||
'webservice' => array('amf'),
|
||||
);
|
||||
|
||||
@@ -1900,7 +1900,7 @@ class core_plugin_manager {
|
||||
),
|
||||
|
||||
'theme' => array(
|
||||
'base', 'bootstrapbase', 'canvas', 'clean', 'more'
|
||||
'bootstrapbase', 'clean', 'more'
|
||||
),
|
||||
|
||||
'tool' => array(
|
||||
|
||||
@@ -2177,5 +2177,51 @@ function xmldb_main_upgrade($oldversion) {
|
||||
upgrade_main_savepoint(true, 2016082200.00);
|
||||
}
|
||||
|
||||
if ($oldversion < 2016091900.00) {
|
||||
|
||||
// Removing the themes from core.
|
||||
$themes = array('base', 'canvas');
|
||||
|
||||
foreach ($themes as $key => $theme) {
|
||||
if (check_dir_exists($CFG->dirroot . '/theme/' . $theme, false)) {
|
||||
// Ignore the themes that have been re-downloaded.
|
||||
unset($themes[$key]);
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($themes)) {
|
||||
|
||||
list($insql, $inparams) = $DB->get_in_or_equal($themes, SQL_PARAMS_NAMED);
|
||||
|
||||
// Replace the theme usage.
|
||||
$DB->set_field_select('course', 'theme', 'clean', "theme $insql", $inparams);
|
||||
$DB->set_field_select('course_categories', 'theme', 'clean', "theme $insql", $inparams);
|
||||
$DB->set_field_select('user', 'theme', 'clean', "theme $insql", $inparams);
|
||||
$DB->set_field_select('mnet_host', 'theme', 'clean', "theme $insql", $inparams);
|
||||
|
||||
// Replace the theme configs.
|
||||
if (in_array(get_config('core', 'theme'), $themes)) {
|
||||
set_config('theme', 'clean');
|
||||
}
|
||||
if (in_array(get_config('core', 'thememobile'), $themes)) {
|
||||
set_config('thememobile', 'clean');
|
||||
}
|
||||
if (in_array(get_config('core', 'themelegacy'), $themes)) {
|
||||
set_config('themelegacy', 'clean');
|
||||
}
|
||||
if (in_array(get_config('core', 'themetablet'), $themes)) {
|
||||
set_config('themetablet', 'clean');
|
||||
}
|
||||
|
||||
// Hacky emulation of plugin uninstallation.
|
||||
foreach ($themes as $theme) {
|
||||
unset_all_config_for_plugin('theme_' . $theme);
|
||||
}
|
||||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2016091900.00);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -488,8 +488,8 @@ class theme_config {
|
||||
$this->name = $config->name;
|
||||
$this->dir = $config->dir;
|
||||
|
||||
if ($this->name != 'base') {
|
||||
$baseconfig = theme_config::find_theme_config('base', $this->settings);
|
||||
if ($this->name != 'bootstrapbase') {
|
||||
$baseconfig = theme_config::find_theme_config('bootstrapbase', $this->settings);
|
||||
} else {
|
||||
$baseconfig = $config;
|
||||
}
|
||||
@@ -510,9 +510,7 @@ class theme_config {
|
||||
|
||||
// verify all parents and load configs and renderers
|
||||
foreach ($this->parents as $parent) {
|
||||
if ($parent == 'base') {
|
||||
$parent_config = $baseconfig;
|
||||
} else if (!$parent_config = theme_config::find_theme_config($parent, $this->settings)) {
|
||||
if (!$parent_config = theme_config::find_theme_config($parent, $this->settings)) {
|
||||
// this is not good - better exclude faulty parents
|
||||
continue;
|
||||
}
|
||||
@@ -1947,8 +1945,8 @@ class theme_config {
|
||||
}
|
||||
}
|
||||
|
||||
// Last resort, try the base theme for names
|
||||
return get_string('region-' . $region, 'theme_base');
|
||||
// Last resort, try the bootstrapbase theme for names
|
||||
return get_string('region-' . $region, 'theme_bootstrapbase');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -360,7 +360,7 @@ class core_user_testcase extends advanced_testcase {
|
||||
|
||||
// Test against theme property choices.
|
||||
$choices = core_user::get_property_choices('theme');
|
||||
$this->assertArrayHasKey('base', $choices);
|
||||
$this->assertArrayHasKey('bootstrapbase', $choices);
|
||||
$this->assertArrayHasKey('clean', $choices);
|
||||
$this->assertArrayNotHasKey('unknowntheme', $choices);
|
||||
$this->assertArrayNotHasKey('wrongtheme', $choices);
|
||||
|
||||
@@ -1,185 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Configuration for Moodle's base theme.
|
||||
*
|
||||
* This theme is special, and implements a minimalist theme with only
|
||||
* basic layout. It is intended as a base for other themes to build upon.
|
||||
* It is not recommend to actually choose this theme for production sites!
|
||||
*
|
||||
* DO NOT COPY THIS TO START NEW THEMES!
|
||||
* Start with another theme, like "standard".
|
||||
*
|
||||
* For full information about creating Moodle themes, see:
|
||||
* http://docs.moodle.org/dev/Themes_2.0
|
||||
*
|
||||
* @package theme_base
|
||||
* @copyright 2009 Tim Hunt
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$THEME->name = 'base';
|
||||
|
||||
$THEME->parents = array();
|
||||
|
||||
$THEME->sheets = array(
|
||||
'pagelayout', // Must come first: Page layout.
|
||||
'core', // Must come second: General styles.
|
||||
'admin',
|
||||
'blocks',
|
||||
'calendar',
|
||||
'course',
|
||||
'dock',
|
||||
'grade',
|
||||
'message',
|
||||
'question',
|
||||
'user',
|
||||
'tabs',
|
||||
'filemanager',
|
||||
'templates',
|
||||
'autocomplete',
|
||||
'search',
|
||||
'modal'
|
||||
);
|
||||
|
||||
$THEME->editor_sheets = array('editor');
|
||||
|
||||
$THEME->layouts = array(
|
||||
// Most backwards compatible layout without the blocks - this is the layout used by default.
|
||||
'base' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
),
|
||||
// Standard layout with blocks, this is recommended for most pages with general information.
|
||||
'standard' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
// Main course page.
|
||||
'course' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
'options' => array('langmenu'=>true),
|
||||
),
|
||||
'coursecategory' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
// Part of course, typical for modules - default page layout if $cm specified in require_login().
|
||||
'incourse' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
// The site home page.
|
||||
'frontpage' => array(
|
||||
'file' => 'frontpage.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
// Server administration scripts.
|
||||
'admin' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
// My dashboard page.
|
||||
'mydashboard' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
'options' => array('langmenu'=>true),
|
||||
),
|
||||
// My public page.
|
||||
'mypublic' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'login' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('langmenu'=>true),
|
||||
),
|
||||
|
||||
// Pages that appear in pop-up windows - no navigation, no blocks, no header.
|
||||
'popup' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologininfo'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
// No blocks and minimal footer - used for legacy frame layouts only!
|
||||
'frametop' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
|
||||
),
|
||||
// Embeded pages, like iframe/object embeded in moodleform - it needs as much space as possible.
|
||||
'embedded' => array(
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>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(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
// Should display the content and basic headers only.
|
||||
'print' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('noblocks'=>true, 'nofooter'=>true, 'nonavbar'=>false, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
// The pagelayout used when a redirection is occuring.
|
||||
'redirect' => array(
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
// The pagelayout used for reports.
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
// The pagelayout used for safebrowser and securewindow.
|
||||
'secure' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
);
|
||||
|
||||
// We don't want the base theme to be shown on the theme selection screen, by setting
|
||||
// this to true it will only be shown if theme designer mode is switched on.
|
||||
$THEME->hidefromselector = true;
|
||||
|
||||
/** List of javascript files that need to included on each page */
|
||||
$THEME->javascripts = array();
|
||||
$THEME->javascripts_footer = array();
|
||||
|
||||
// Set this to the method you will use in your layout files for rendering blocks.
|
||||
// It should be either blocks (default) or blocks_for_region.
|
||||
$THEME->blockrendermethod = 'blocks_for_region';
|
||||
@@ -1,28 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Strings for component 'theme_base', language 'en', branch 'MOODLE_20_STABLE'
|
||||
*
|
||||
* @package theme_base
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'Base';
|
||||
$string['region-side-post'] = 'Right';
|
||||
$string['region-side-pre'] = 'Left';
|
||||
$string['choosereadme'] = 'Base is a special minimalist theme with only basic layout. It is intended as a starting point for other themes to build upon. It is not recommend to actually choose this theme for production sites!';
|
||||
@@ -1,47 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* The embedded layout for the base theme.
|
||||
*
|
||||
* @package theme_base
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
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 p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<div id="page-content" class="clearfix">
|
||||
<?php echo $OUTPUT->main_content() ?>
|
||||
</div>
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,138 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* The frontpage layout for the base theme.
|
||||
*
|
||||
* @package theme_base
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$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) {
|
||||
if (!right_to_left()) {
|
||||
$bodyclasses[] = 'side-pre-only';
|
||||
}else{
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
}
|
||||
} else if ($showsidepost && !$showsidepre) {
|
||||
if (!right_to_left()) {
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
}else{
|
||||
$bodyclasses[] = 'side-pre-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 p(strip_tags(format_text($SITE->summary, FORMAT_HTML))) ?>" />
|
||||
<?php echo $OUTPUT->standard_head_html() ?>
|
||||
</head>
|
||||
<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($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->user_menu();
|
||||
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">
|
||||
<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 $OUTPUT->main_content() ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hassidepre OR (right_to_left() AND $hassidepost)) { ?>
|
||||
<div id="region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php
|
||||
if (!right_to_left()) {
|
||||
echo $OUTPUT->blocks_for_region('side-pre');
|
||||
} elseif ($hassidepost) {
|
||||
echo $OUTPUT->blocks_for_region('side-post');
|
||||
} ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hassidepost OR (right_to_left() AND $hassidepre)) { ?>
|
||||
<div id="region-post" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php
|
||||
if (!right_to_left()) {
|
||||
echo $OUTPUT->blocks_for_region('side-post');
|
||||
} elseif ($hassidepre) {
|
||||
echo $OUTPUT->blocks_for_region('side-pre');
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</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 class="clearfix"></div>
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,168 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* The default layout for the base theme.
|
||||
*
|
||||
* @package theme_base
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$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));
|
||||
$haslogininfo = (empty($PAGE->layout_options['nologininfo']));
|
||||
|
||||
$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));
|
||||
|
||||
$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = '';
|
||||
if (empty($PAGE->layout_options['nocourseheaderfooter'])) {
|
||||
$courseheader = $OUTPUT->course_header();
|
||||
$coursecontentheader = $OUTPUT->course_content_header();
|
||||
if (empty($PAGE->layout_options['nocoursefooter'])) {
|
||||
$coursecontentfooter = $OUTPUT->course_content_footer();
|
||||
$coursefooter = $OUTPUT->course_footer();
|
||||
}
|
||||
}
|
||||
|
||||
$bodyclasses = array();
|
||||
if ($showsidepre && !$showsidepost) {
|
||||
if (!right_to_left()) {
|
||||
$bodyclasses[] = 'side-pre-only';
|
||||
}else{
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
}
|
||||
} else if ($showsidepost && !$showsidepre) {
|
||||
if (!right_to_left()) {
|
||||
$bodyclasses[] = 'side-post-only';
|
||||
}else{
|
||||
$bodyclasses[] = 'side-pre-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 p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
<div id="page">
|
||||
<?php if ($hasheading || $hasnavbar || !empty($courseheader)) { ?>
|
||||
<div id="page-header">
|
||||
<?php if ($hasheading) { ?>
|
||||
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
|
||||
<div class="headermenu"><?php
|
||||
echo $OUTPUT->user_menu();
|
||||
if (!empty($PAGE->layout_options['langmenu'])) {
|
||||
echo $OUTPUT->lang_menu();
|
||||
}
|
||||
echo $PAGE->headingmenu
|
||||
?></div><?php } ?>
|
||||
<?php if (!empty($courseheader)) { ?>
|
||||
<div id="course-header"><?php echo $courseheader; ?></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">
|
||||
<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 $coursecontentheader; ?>
|
||||
<?php echo $OUTPUT->main_content() ?>
|
||||
<?php echo $coursecontentfooter; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hassidepre OR (right_to_left() AND $hassidepost)) { ?>
|
||||
<div id="region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php
|
||||
if (!right_to_left()) {
|
||||
echo $OUTPUT->blocks_for_region('side-pre');
|
||||
} elseif ($hassidepost) {
|
||||
echo $OUTPUT->blocks_for_region('side-post');
|
||||
} ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hassidepost OR (right_to_left() AND $hassidepre)) { ?>
|
||||
<div id="region-post" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php
|
||||
if (!right_to_left()) {
|
||||
echo $OUTPUT->blocks_for_region('side-post');
|
||||
} elseif ($hassidepre) {
|
||||
echo $OUTPUT->blocks_for_region('side-pre');
|
||||
} ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
<?php if (!empty($coursefooter)) { ?>
|
||||
<div id="course-footer"><?php echo $coursefooter; ?></div>
|
||||
<?php } ?>
|
||||
<?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 class="clearfix"></div>
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,129 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* The report layout for the base theme.
|
||||
*
|
||||
* @package theme_base
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$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';
|
||||
}
|
||||
$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = '';
|
||||
if (empty($PAGE->layout_options['nocourseheaderfooter'])) {
|
||||
$courseheader = $OUTPUT->course_header();
|
||||
$coursecontentheader = $OUTPUT->course_content_header();
|
||||
if (empty($PAGE->layout_options['nocoursefooter'])) {
|
||||
$coursecontentfooter = $OUTPUT->course_content_footer();
|
||||
$coursefooter = $OUTPUT->course_footer();
|
||||
}
|
||||
}
|
||||
|
||||
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 p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
<div id="page">
|
||||
<?php if ($hasheading || $hasnavbar || !empty($courseheader)) { ?>
|
||||
<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 (!empty($courseheader)) { ?>
|
||||
<div id="course-header"><?php echo $courseheader; ?></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 $coursecontentheader; ?>
|
||||
<?php echo $OUTPUT->main_content() ?>
|
||||
<?php echo $coursecontentfooter; ?>
|
||||
</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 (!empty($coursefooter)) { ?>
|
||||
<div id="course-footer"><?php echo $coursefooter; ?></div>
|
||||
<?php } ?>
|
||||
<?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 class="clearfix"></div>
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 182 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="-1 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M10 15H1.2c-.1 0-.2-.1-.2-.3V1.2c0-.1.1-.2.2-.2H9v4h4v4h1V5.2c0-.7-.4-1.6-.9-2.1L10.9.9C10.4.4 9.4 0 8.8 0H1.2C.6 0 0 .6 0 1.2v13.5c0 .7.6 1.3 1.2 1.3H10v-1zm0-13.6c.1 0 2.5 2.5 2.6 2.6H10V1.4zM15 14h-2v2h-2v-2H9v-2h2v-2h2v2h2v2z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 555 B |
|
Before Width: | Height: | Size: 372 B |
|
Before Width: | Height: | Size: 293 B |
|
Before Width: | Height: | Size: 424 B |
|
Before Width: | Height: | Size: 150 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 -1.5 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M9 9.5v4H1c-.5 0-1-.5-1-1V1c0-.5.5-1 1-1h6c.5 0 1 .5 1 1v1.5h7c.5 0 1 .5 1 1v6h-1v-2h-4v2H9zm7 1h-2v-2h-2v2h-2v2h2v2h2v-2h2v-2z" fill="#989898"/></svg>
|
||||
|
Before Width: | Height: | Size: 458 B |
|
Before Width: | Height: | Size: 410 B |
|
Before Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 207 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M16 9v6c0 .5-.5 1-1 1H1c-.5 0-1-.5-1-1V9c0-.5.5-1 1-1h1c.5 0 1 .5 1 1v4h10V9c0-.5.5-1 1-1h1c.5 0 1 .5 1 1zm-3.6-3.9l-.7-.7c-.4-.4-1-.4-1.4 0l-.8.8V1c0-.5-.4-1-1-1h-1c-.5 0-1 .5-1 1v4.2l-.8-.8c-.4-.4-1-.4-1.4 0l-.7.7c-.4.4-.4 1 0 1.4l3.7 3.7c.2.2.5.3.7.3.3 0 .5-.1.7-.3l3.7-3.7c.4-.3.4-1 0-1.4z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 618 B |
|
Before Width: | Height: | Size: 263 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14c-3.3 0-6-2.7-6-6s2.7-6 6-6 6 2.7 6 6-2.7 6-6 6zM5.8 6.6c-.6 0-1-.4-1-1C4.7 4.5 5.9 3 8.1 3c1.4 0 3.4 1 3.4 2.6 0 .8-.5 1.5-1.5 1.9-1.5.5-.7 1.6-2 1.6-.6 0-1-.3-1-.9 0-1.2 1.2-1.8 1.2-3 0-.3-.1-.7-.5-.7s-.4.4-.4.7c-.1.9-.6 1.4-1.5 1.4zm2.1 6.5c-.8 0-1.5-.7-1.5-1.5S7 10 7.9 10c.8 0 1.5.7 1.5 1.5s-.7 1.6-1.5 1.6z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 693 B |
|
Before Width: | Height: | Size: 536 B |
|
Before Width: | Height: | Size: 397 B |
|
Before Width: | Height: | Size: 180 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M9 16H1c-.5 0-1-.5-1-1V1c0-.5.5-1 1-1h8v2H3c-.6 0-1 .4-1 1v10c0 .6.4 1 1 1h6v2zM5 7.5v1c0 .5.5 1 1 1h4.7l-1.1 1.1c-.4.4-.4 1 0 1.4l.7.7c.4.4 1 .4 1.4 0l4-4c.4-.4.4-1 0-1.4l-4-4c-.4-.4-1-.4-1.4 0l-.7.7c-.4.4-.4 1 0 1.4l1 1H6c-.5.1-1 .6-1 1.1z" fill="#989898"/></svg>
|
||||
|
Before Width: | Height: | Size: 569 B |
|
Before Width: | Height: | Size: 509 B |
|
Before Width: | Height: | Size: 512 B |
|
Before Width: | Height: | Size: 257 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M7.9 16c4 0 7.4-3 7.8-7h-3c-.5 2-2.5 4-4.9 4-2.8 0-5-2.2-5-5s2.2-5 5-5c1.1 0 2.1 0 3 1h-1c-.5 0-.8.5-.8 1.1v1c0 .5.3.9.8.9h5c.6 0 1.2-.4 1.2-.9v-5c0-.6-.6-1.1-1.2-1.1h-1c-.5 0-.8.5-.8 1.1V2C12 .9 9.9.2 8 .2 3.6.2 0 3.7 0 8.1 0 12.4 3.5 16 7.9 16z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 571 B |
|
Before Width: | Height: | Size: 250 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="-0.1 -0.1 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M15.5 13.4l-2.1-2.1c-.2-.2-.4-.3-.6-.3.8-1.2 1.2-2.6 1.2-4 0-3.9-3.1-7-7-7S0 3.1 0 7c0 1.9.7 3.6 2 5 1.3 1.3 3.1 2 5 2 1.4 0 2.8-.4 3.9-1.2l.3.6 2.1 2.1c.6.6 1.5.6 2.1 0s.7-1.6.1-2.1zM7 11v1.5V11c-1.1 0-2.1-.4-2.8-1.2C3.4 9.1 3 8.1 3 7c0-2.2 1.8-4 4-4s4 1.8 4 4c0 1.1-.4 2.1-1.2 2.8-.7.8-1.7 1.2-2.8 1.2z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 635 B |
|
Before Width: | Height: | Size: 207 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M15.9 9.3c.1-.4.1-.9.1-1.3s0-.9-.1-1.3l-2.1-.4c-.1-.4-.3-.8-.5-1.2l1.2-1.8c-.5-.7-1.1-1.3-1.9-1.8l-1.8 1.2c-.4-.2-.8-.4-1.2-.5L9.3.1C8.9 0 8.4 0 8 0s-.9 0-1.3.1l-.4 2.1c-.4.2-.8.3-1.2.5L3.4 1.5C2.6 2 2 2.6 1.5 3.4l1.2 1.8c-.2.3-.3.7-.5 1.1l-2.1.4C0 7.1 0 7.6 0 8s0 .9.1 1.3l2.1.4c.1.4.3.8.5 1.2l-1.2 1.8c.5.7 1.1 1.3 1.9 1.8l1.8-1.2c.4.2.8.4 1.2.5l.4 2.1c.3.1.8.1 1.2.1s.9 0 1.3-.1l.4-2.1c.4-.1.8-.3 1.2-.5l1.8 1.2c.7-.5 1.3-1.1 1.9-1.9l-1.2-1.8c.2-.4.4-.8.5-1.2l2-.3zM8 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 842 B |
|
Before Width: | Height: | Size: 111 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 -1 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M9 14h7V8H9v6zm5-4v2h-3v-2h3zM7 8H0v6h7V8zm-5 4v-2h3v2H2zM9 0v6h7V0H9zm5 4h-3V2h3v2zM7 0H0v6h7V0zM2 4V2h3v2H2z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 436 B |
|
Before Width: | Height: | Size: 95 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 -1 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M16 14H0v-2h16v2zM0 10h16V8H0v2zm16-6H0v2h16V4zm0-2V0H0v2h16z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 387 B |
|
Before Width: | Height: | Size: 114 B |
@@ -1,3 +0,0 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
|
||||
]><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 -1 16 16" preserveAspectRatio="xMinYMid meet" overflow="visible"><path d="M10 12h6v2h-6v-2zm-2 2v-2H6v2h2zm0-4h8V8H8v2zM4 8v2h2V8H4zm2-2h10V4H6v2zM2 4v2h2V4H2zm2-4v2h12V0H4zM2 0H0v2h2V0z" fill="#999"/></svg>
|
||||
|
Before Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 109 B |
|
Before Width: | Height: | Size: 1001 B |
|
Before Width: | Height: | Size: 117 B |
|
Before Width: | Height: | Size: 930 B |
|
Before Width: | Height: | Size: 114 B |
|
Before Width: | Height: | Size: 4.2 KiB |
@@ -1,73 +0,0 @@
|
||||
/* Custom styles for autocomplete form element */
|
||||
.form-autocomplete-selection {
|
||||
margin: 0.2em;
|
||||
min-height: 21px;
|
||||
}
|
||||
|
||||
.form-autocomplete-multiple [role=listitem].label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.form-autocomplete-selection [role=listitem].label {
|
||||
background-color: #00E;
|
||||
border: 4px solid #00E;
|
||||
color: #FFF;
|
||||
font-weight: bold;
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.form-autocomplete-suggestions {
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
border: 2px solid #EEE;
|
||||
border-radius: 3px;
|
||||
min-width: 206px;
|
||||
max-height: 20em;
|
||||
overflow: auto;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
margin-top: -0.2em;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.form-autocomplete-suggestions li {
|
||||
list-style-type: none;
|
||||
padding: 0.2em;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.form-autocomplete-suggestions li:hover {
|
||||
background-color: #00E;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.form-autocomplete-suggestions li[aria-selected=true] {
|
||||
background-color: #555;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.form-autocomplete-downarrow {
|
||||
position: relative;
|
||||
top: -0.1em;
|
||||
left: -1.5em;
|
||||
cursor: pointer;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.dir-rtl .form-autocomplete-downarrow {
|
||||
right: -1.5em;
|
||||
left: inherit;
|
||||
}
|
||||
|
||||
.form-autocomplete-selection:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.form-autocomplete-selection [data-active-selection=true] {
|
||||
padding: 0.5em;
|
||||
font-size: large;
|
||||
}
|
||||
@@ -1,148 +0,0 @@
|
||||
.block {
|
||||
border: 1px solid;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.block .header h2 {
|
||||
padding: .2em 0 0 .2em;
|
||||
margin: 0;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
.block .header .block_action {
|
||||
float: right;
|
||||
margin: 4px 0 3px 0;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.block .header .block_action img,
|
||||
.block .header .block_action input {
|
||||
margin: 0 3px;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.block .content {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.jsenabled .block.hidden .content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.block .content .userpicture {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.block .content .list li.listentry {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.block .content .list .c0 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.block .content .list .c1 {
|
||||
margin-left: 5px;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.block .footer {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.block_navigation .block_tree li {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.block_calendar_upcoming .footer {
|
||||
margin-top: .5em;
|
||||
}
|
||||
|
||||
/** block_list blocks need column stuffs **/
|
||||
.block.list_block .unlist > li > .column {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ie6 .block.list_block .unlist .column {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.block.beingmoved {
|
||||
border-width: 2px;
|
||||
border-style: dashed;
|
||||
}
|
||||
|
||||
.blockmovetarget {
|
||||
display: block;
|
||||
height: 1em;
|
||||
margin-bottom: 1em;
|
||||
border-width: 2px;
|
||||
border-style: dashed;
|
||||
}
|
||||
|
||||
.block-region block.invisible .header h2 {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50);
|
||||
}
|
||||
|
||||
.block .block-hider-show,
|
||||
.block .block-hider-hide {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.block .block-hider-show,
|
||||
.block.hidden .block-hider-hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.block.hidden .block-hider-show {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.block_completionstatus .generaltable {
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.block_completionstatus .generaltable .cell {
|
||||
border: 0px;
|
||||
}
|
||||
|
||||
.block-region {
|
||||
min-height: 400px;
|
||||
overflow: hidden;
|
||||
}
|
||||
/** Block commands when editing **/
|
||||
|
||||
.editing .block .header .commands {
|
||||
text-align: right;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.editing .block .header .commands > a {
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
.editing .block .header .commands .icon img {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.editing .block .header .commands img.actionmenu {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/** Overide for RTL layout **/
|
||||
.dir-rtl .block .header h2 {
|
||||
padding: .2em .2em 0 0;
|
||||
}
|
||||
|
||||
.dir-rtl .block .header .block_action {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dir-rtl.editing .block .header .commands {
|
||||
text-align: left;
|
||||
}
|
||||
@@ -1,297 +0,0 @@
|
||||
/** Calendar **/
|
||||
.calendartable {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.calendartable th,
|
||||
.calendartable td {
|
||||
width: 14%;
|
||||
vertical-align: top;
|
||||
text-align: center;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.calendar_event_course {
|
||||
background-color: #FFD3BD;
|
||||
}
|
||||
|
||||
.calendar_event_global {
|
||||
background-color: #D6F8CD;
|
||||
}
|
||||
|
||||
.calendar_event_group {
|
||||
background-color: #FEE7AE;
|
||||
}
|
||||
|
||||
.calendar_event_user {
|
||||
background-color: #DCE7EC;
|
||||
}
|
||||
|
||||
.path-calendar .calendar-controls .previous,
|
||||
.path-calendar .calendar-controls .next,
|
||||
.path-calendar .calendar-controls .current {
|
||||
display: block;
|
||||
float: left;
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
.path-calendar .calendar-controls .previous {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.path-calendar .calendar-controls .current {
|
||||
text-align: center;
|
||||
width: 76%;
|
||||
}
|
||||
|
||||
.path-calendar .calendar-controls .next {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar {
|
||||
vertical-align: top;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .bottom {
|
||||
text-align: center;
|
||||
padding: 5px 0 0 0;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .heightcontainer {
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .calendarmonth {
|
||||
width: 98%;
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .calendarmonth ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .calendarmonth ul li {
|
||||
list-style-type: none;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .calendarmonth td {
|
||||
height: 5em;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .calendar-controls .previous,
|
||||
.path-calendar .maincalendar .calendar-controls .next {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .calendar-controls .current {
|
||||
width: 39.95%;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .controls {
|
||||
width: 98%;
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
border-spacing: 0px;
|
||||
border-collapse: separate;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event > img {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event > img {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event .name {
|
||||
float: left;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.dir-rtl.path-calendar .maincalendar .eventlist .event .name {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event .date {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.dir-rtl.path-calendar .maincalendar .eventlist .event .date {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event .subscription {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.dir-rtl.path-calendar .maincalendar .eventlist .event .subscription {
|
||||
float: right;
|
||||
clear: right;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event .course {
|
||||
float: left;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.dir-rtl.path-calendar .maincalendar .eventlist .event .course {
|
||||
float: right;
|
||||
clear: right;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event .side {
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .event .commands a {
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .eventlist .description {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .header {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.path-calendar .maincalendar .header .buttons {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.dir-rtl.path-calendar .maincalendar .header .buttons {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.path-calendar .filters table {
|
||||
border-collapse: separate;
|
||||
border-spacing: 2px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-calendar-export .indent {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.path-calendar div.cal_courses_flt {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dir-rtl.path-calendar div.cal_courses_flt {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.path-calendar .cal_courses_flt label {
|
||||
margin-right: .45em;
|
||||
}
|
||||
|
||||
.dir-rtl.path-calendar .cal_courses_flt label {
|
||||
margin-left: .45em;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.block .minicalendar {
|
||||
width: 100%;
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.block .minicalendar th,
|
||||
.block .minicalendar td {
|
||||
padding: 2px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.block .minicalendar caption {
|
||||
font-size: inherit;
|
||||
font-weight: inherit;
|
||||
line-height: inherit;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.block .minicalendar td.weekend {
|
||||
color: #A00;
|
||||
}
|
||||
|
||||
.block .calendar-controls .previous {
|
||||
text-align: left;
|
||||
display: block;
|
||||
float: left;
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
.block .calendar-controls .current {
|
||||
float: left;
|
||||
text-align: center;
|
||||
display: block;
|
||||
width: 76%;
|
||||
}
|
||||
|
||||
.block .calendar-controls .next {
|
||||
text-align: right;
|
||||
display: block;
|
||||
float: left;
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
.block .calendar_filters ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.block .calendar_filters li {
|
||||
margin-bottom: .2em;
|
||||
}
|
||||
|
||||
.block .calendar_filters li span img {
|
||||
padding: 0 .2em;
|
||||
}
|
||||
|
||||
.block .calendar_filters .eventname {
|
||||
padding-left: .2em;
|
||||
}
|
||||
|
||||
.dir-rtl .block .calendar_filters .eventname {
|
||||
padding-right: .2em;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.block .content h3.eventskey {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.ical-link {
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
background-color: #f60;
|
||||
padding: 0px 5px;
|
||||
color: #fff;
|
||||
border-top: 1px solid #f93;
|
||||
border-left: 1px solid #f93;
|
||||
border-bottom: 1px solid #013;
|
||||
border-right: 1px solid #013;
|
||||
margin: 3px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ical-link:hover,
|
||||
.ical-link:active,
|
||||
.ical-link:focus,
|
||||
.ical-link:visited {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -1,162 +0,0 @@
|
||||
/**
|
||||
* Whilst the dock isn't supported by the base theme this CSS is here so that those
|
||||
* themes that do want to use the dock will have a starting point at least
|
||||
*/
|
||||
/* Put a margin on the body if the dock is shown */
|
||||
body.has_dock {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
/** For the dock itself */
|
||||
#dock {
|
||||
width: 30px;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
height: 100%;
|
||||
background-color: #FFF;
|
||||
border-right: 1px solid #000;
|
||||
z-index: 5000;
|
||||
}
|
||||
|
||||
#dock.nothingdocked {
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#dock .dockeditem .firstdockitem {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#dock .dockedtitle {
|
||||
border-bottom: 1px solid #000;
|
||||
border-top: 1px solid #000;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#dock .dockedtitle h2 {
|
||||
font-size: 0.80em;
|
||||
line-height: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#dock .dockedtitle .filterrotate {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
#dock .controls {
|
||||
position: absolute;
|
||||
bottom: 1em;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#dock .controls img {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/** For the panel the docked blocks are shown in */
|
||||
#dockeditempanel {
|
||||
min-width: 200px;
|
||||
position: relative;
|
||||
z-index: 12000;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
#dockeditempanel.dockitempanel_hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_content {
|
||||
background-color: #fff;
|
||||
border: 1px solid #000;
|
||||
z-index: 12050;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_bd {
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_bd .block_docked {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_bd .block_navigation .block_tree li {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd {
|
||||
border-bottom: 1px solid #000;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd h2 {
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding-right: 1em;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd .commands {
|
||||
display: block;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd .commands > a,
|
||||
#dockeditempanel .dockeditempanel_hd .commands > span {
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd .commands img,
|
||||
#dockeditempanel .dockeditempanel_hd .commands input {
|
||||
vertical-align: middle;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
#dockeditempanel .dockeditempanel_hd .commands .hidepanelicon img {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/** IE 6 doesn't support fixed pos elements **/
|
||||
.ie6 #dockeditempanel {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* right align the DOCK panel
|
||||
------------------------------*/
|
||||
.dir-rtl #dockeditempanel .dockeditempanel_hd .commands {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dir-rtl #dockeditempanel {
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
.dir-rtl #dock {
|
||||
left: auto;
|
||||
right: 0%;
|
||||
border-left: 1px solid #DDD;
|
||||
}
|
||||
|
||||
.dir-rtl #dock .dockedtitle {
|
||||
border-bottom: 1px solid #DDD;
|
||||
border-top: 1px solid #EEE;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
body.dir-rtl.has_dock {
|
||||
margin-left: 0px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
/* Test span used to calculate positioning of docked item labels */
|
||||
.transform-test-node {
|
||||
position: absolute;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/* Hide the move icon for blocks which are docked */
|
||||
#dock .editing_move,
|
||||
#dock .moodle-core-dragdrop-draghandle {
|
||||
display: none;
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
body {
|
||||
font: 13px/1.231 arial, helvetica, clean, sans-serif;
|
||||
}
|
||||
@@ -1,504 +0,0 @@
|
||||
/*** Grades ***/
|
||||
.allcoursegrades {
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
padding: 4px 0px 5px 0px;
|
||||
}
|
||||
|
||||
.core_grades_notices .singlebutton {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.path-grade-edit .buttons {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .idnumber {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .movetarget {
|
||||
position: relative;
|
||||
width: 80px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades thead th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-rowspan {
|
||||
padding: 0;
|
||||
width: 24px;
|
||||
min-width: 24px;
|
||||
max-width: 24px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .category td.column-name {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades td.column-name {
|
||||
padding-left: 24px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-name h4 img.icon {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-name img.smallicon {
|
||||
margin: 0 .3em;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .category input[type="text"],
|
||||
.path-grade-edit-tree .setup-grades .category .column-range,
|
||||
.path-grade-edit-tree .setup-grades .categoryitem,
|
||||
.path-grade-edit-tree .setup-grades .courseitem {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .emptyrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades.generaltable .levelodd {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades.generaltable .leveleven {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level3 {
|
||||
padding-left: 37px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level4 {
|
||||
padding-left: 66px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level5 {
|
||||
padding-left: 95px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level6 {
|
||||
padding-left: 124px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level7 {
|
||||
padding-left: 153px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level8 {
|
||||
padding-left: 182px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level9 {
|
||||
padding-left: 211px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-weight.level10 {
|
||||
padding-left: 240px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level2 {
|
||||
padding-left: 37px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level3 {
|
||||
padding-left: 66px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level4 {
|
||||
padding-left: 95px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level5 {
|
||||
padding-left: 124px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level6 {
|
||||
padding-left: 153px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level7 {
|
||||
padding-left: 182px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level8 {
|
||||
padding-left: 211px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level9 {
|
||||
padding-left: 240px;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree .setup-grades .column-range.level10 {
|
||||
padding-left: 269px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades thead th {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .category td.column-name {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades td.column-name {
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-name h4 img.icon {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight input[type="checkbox"] {
|
||||
margin-right: 0;
|
||||
margin-left: 7px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-select input[type="checkbox"] {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight.level3 {
|
||||
padding-left: 0;
|
||||
padding-right: 37px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight.level4 {
|
||||
padding-left: 0;
|
||||
padding-right: 66px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight.level5 {
|
||||
padding-left: 0;
|
||||
padding-right: 95px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight.level6 {
|
||||
padding-left: 0;
|
||||
padding-right: 124px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight.level7 {
|
||||
padding-left: 0;
|
||||
padding-right: 153px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight.level8 {
|
||||
padding-left: 0;
|
||||
padding-right: 182px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight.level9 {
|
||||
padding-left: 0;
|
||||
padding-right: 211px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-weight.level10 {
|
||||
padding-left: 0;
|
||||
padding-right: 240px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level2 {
|
||||
padding-left: 0;
|
||||
padding-right: 37px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level3 {
|
||||
padding-left: 0;
|
||||
padding-right: 66px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level4 {
|
||||
padding-left: 0;
|
||||
padding-right: 95px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level5 {
|
||||
padding-left: 0;
|
||||
padding-right: 124px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level6 {
|
||||
padding-left: 0;
|
||||
padding-right: 153px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level7 {
|
||||
padding-left: 0;
|
||||
padding-right: 182px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level8 {
|
||||
padding-left: 0;
|
||||
padding-right: 211px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level9 {
|
||||
padding-left: 0;
|
||||
padding-right: 240px;
|
||||
}
|
||||
|
||||
.dir-rtl.path-grade-edit-tree .setup-grades .column-range.level10 {
|
||||
padding-left: 0;
|
||||
padding-right: 269px;
|
||||
}
|
||||
|
||||
#grade-report-toggles {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#grade-aggregation-help dt {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#grade-aggregation-help dd.example {
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
#grade-aggregation-help code {
|
||||
display: block;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.gradeexportlink {
|
||||
padding: 2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.gradetreebox {
|
||||
margin-top: 10px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.gradetreebox #gradetreesubmit {
|
||||
margin-bottom: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/** Advanced grading **/
|
||||
#page-grade-grading-manage #activemethodselector {
|
||||
text-align: center;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage #activemethodselector select {
|
||||
margin: 0px 1em;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage .actions {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage .action {
|
||||
display: inline-block;
|
||||
width: 150px;
|
||||
background-color: #EEE;
|
||||
border: 2px solid #CCC;
|
||||
margin: 0.5em;
|
||||
padding: 0.5em;
|
||||
text-align: center;
|
||||
-moz-border-radius: 5px;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage .action:hover {
|
||||
text-decoration: none;
|
||||
background-color: #F6F6F6;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage #actionresultmessagebox {
|
||||
background-color: #D2EBFF;
|
||||
width: 60%;
|
||||
margin: 1em auto 1em auto;
|
||||
text-align: center;
|
||||
padding: 0.5em;
|
||||
border: 2px solid #CCC;
|
||||
-moz-border-radius: 5px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage #actionresultmessagebox span {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: -1.2em;
|
||||
color: #666;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage .definition-name .status {
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
font-size: 60%;
|
||||
padding: 0.25em;
|
||||
border: 1px solid #EEE;
|
||||
-moz-border-radius: 5px;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage .definition-name .status.ready {
|
||||
background-color: #e7f1c3;
|
||||
border-color: #AAEEAA;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage .definition-name .status.draft {
|
||||
background-color: #f3f2aa;
|
||||
border-color: #EEEE22;
|
||||
}
|
||||
|
||||
#page-grade-grading-manage .definition-preview {
|
||||
width: 50%;
|
||||
margin: 1em auto;
|
||||
border: 1px solid #EEE;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-name {
|
||||
clear: both;
|
||||
padding: 3px;
|
||||
background-color: #F6F6F6;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-name .type {
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
font-size: 60%;
|
||||
padding: 0.25em;
|
||||
border: 1px solid #EEE;
|
||||
-moz-border-radius: 5px;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-name .type.shared {
|
||||
background-color: #e7f1c3;
|
||||
border-color: #AAEEAA;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-name .type.ownform {
|
||||
background-color: #d2ebff;
|
||||
border-color: #AACCEE;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-description {
|
||||
margin-bottom: 1em;
|
||||
padding: 0px 2em 0px 0px;
|
||||
margin-right: 51%;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-preview {
|
||||
width: 50%;
|
||||
float: right;
|
||||
border: 1px solid #EEE;
|
||||
padding: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-actions {
|
||||
margin-bottom: 1em;
|
||||
padding: 0px 2em 0px 0px;
|
||||
margin-right: 51%;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-actions .action {
|
||||
display: inline-block;
|
||||
margin: 0.25em;
|
||||
padding: 0.25em;
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-actions .action.pick {
|
||||
background-color: #EEE;
|
||||
border: 2px solid #CCC;
|
||||
-moz-border-radius: 3px;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-actions .action:hover {
|
||||
text-decoration: none;
|
||||
background-color: #F6F6F6;
|
||||
border: 2px solid #CCC;
|
||||
-moz-border-radius: 3px;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-actions .action .action-text {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-actions .action .action-icon {
|
||||
margin: 0px 3px;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .template-preview-confirm {
|
||||
width: 50%;
|
||||
margin: 1em auto;
|
||||
border: 1px solid #EEE;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
#page-grade-grading-pick .singlebutton,
|
||||
.path-grade-report-user h2 {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/** pre-2.6 outcomes **/
|
||||
#page-grade-edit-outcome-course .courseoutcomes {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-grade-edit-outcome-course .courseoutcomes td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree table.setup-grades .column-weight {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.path-grade-edit-tree table.setup-grades .gradeitemdescription {
|
||||
padding-left: 24px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/** User report **/
|
||||
.path-grade-report-user .user-grade {
|
||||
border-color: black;
|
||||
}
|
||||
|
||||
.path-grade-report-user .user-grade.generaltable .levelodd {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.path-grade-report-user .user-grade.generaltable .leveleven {
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.has_dock.path-grade-report-grader .gradeparent .sideonly.floating > .cell,
|
||||
.has_dock.path-grade-report-grader .gradeparent .sideonly.floating > .cell,
|
||||
.has_dock.path-grade-report-grader .gradeparent .sideonly.floating > .cell {
|
||||
padding-left: 35px;
|
||||
}
|
||||
|
||||
.path-grade-report-grader .gradeparent .clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.dir-rtl.has_dock.path-grade-report-grader .gradeparent .sideonly.floating > .cell,
|
||||
.dir-rtl.has_dock.path-grade-report-grader .gradeparent .sideonly.floating > .cell,
|
||||
.dir-rtl.has_dock.path-grade-report-grader .gradeparent .sideonly.floating > .cell {
|
||||
padding-left: 5px;
|
||||
padding-right: 35px;
|
||||
}
|
||||
|
||||
.content-only.path-grade-report-grader .gradeparent table {
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.dir-rtl.content-only.path-grade-report-grader .gradeparent table {
|
||||
margin-left: 0;
|
||||
margin-right: 30px;
|
||||
}
|
||||
@@ -1,420 +0,0 @@
|
||||
/** Message **/
|
||||
.message-discussion-noframes h1 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.message-discussion-noframes #userinfo .commands {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.message .noframesjslink {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.message .link {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.message .heading {
|
||||
font-size: 1.0em;
|
||||
font-weight: bold;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.message .author {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.message .time {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
#page-message-user .commands span {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
#page-message-user .name {
|
||||
font-weight: bold;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
table.message_search_results td {
|
||||
border-color: #DDDDDD;
|
||||
}
|
||||
|
||||
.message .time {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.message.me .author {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.message.other .author {
|
||||
color: #8888CC;
|
||||
}
|
||||
|
||||
#page-message-messages {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#page-message-send .notifysuccess {
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
#page-message-send td.fixeditor {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.message .note {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
table.message .searchresults td {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.message .contactselector {
|
||||
width: 24%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dir-rtl .message .contactselector {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.message .contactselector .paging {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.message .message-contacts {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.message .message-contacts li {
|
||||
clear: both;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.message .message-contacts li .pix {
|
||||
left: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.dir-rtl .message .message-contacts li .pix {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.message .message-contacts li .contact {
|
||||
margin: 0 24% 0 25px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dir-rtl .message .message-contacts li .contact {
|
||||
text-align: right;
|
||||
margin: 0 25px 0 24%;
|
||||
}
|
||||
|
||||
.message .message-contacts li .contact.nolinks {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.dir-rtl .message .message-contacts li .contact.nolinks {
|
||||
margin-left: 5px;
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
.message .message-contacts li .link {
|
||||
float: right;
|
||||
max-width: 30%;
|
||||
}
|
||||
|
||||
.dir-rtl .message .message-contacts li .link {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.message .messagearea {
|
||||
padding-left: 1%;
|
||||
border-left: 1px solid LightGrey;
|
||||
width: 74%;
|
||||
float: right;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistorytype {
|
||||
clear: both;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .user {
|
||||
vertical-align: top;
|
||||
width: 32%;
|
||||
min-width: 100px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .user:first-child {
|
||||
margin-left: 13%;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .user:last-child {
|
||||
margin-right: 13%;
|
||||
}
|
||||
|
||||
.dir-rtl .message .messagearea .messagehistory .user:first-child {
|
||||
margin-right: 13%;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.dir-rtl .message .messagearea .messagehistory .user:last-child {
|
||||
margin-left: 13%;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .user > div {
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .between {
|
||||
float: left;
|
||||
width: 16px;
|
||||
margin: 0 3%;
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
.dir-rtl .message .messagearea .messagehistory .between,
|
||||
.dir-rtl .message .messagearea .messagehistory .user {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .heading,
|
||||
.message .messagearea .messagehistory h3 {
|
||||
width: 100%;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .left {
|
||||
position: relative;
|
||||
margin-bottom: 10px;
|
||||
width: 50%;
|
||||
float: left;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dir-rtl .message .messagearea .messagehistory .left {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .right {
|
||||
position: relative;
|
||||
margin-bottom: 10px;
|
||||
width: 50%;
|
||||
float: right;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dir-rtl .message .messagearea .messagehistory .right {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dir-ltr .message .messagearea .messagehistory .message {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.dir-ltr .message .messagearea .messagehistory .right .message {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.dir-rtl .message .messagearea .messagehistory .message {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.dir-rtl .message .messagearea .messagehistory .right .message {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .messageactive {
|
||||
background-color: #F5F5F5;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .messagecontent .deleteicon {
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.dir-ltr .message .messagearea .messagehistory .messagecontent .deleteicon {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.dir-rtl .message .messagearea .messagehistory .messagecontent .deleteicon {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.message .messagearea .messagehistory .notification {
|
||||
padding: 10px;
|
||||
background-color: #EEEEEE;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.message .messagearea .messagesend {
|
||||
padding-top: 20px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.message .messagearea .messagesend .messagesendbox {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.message .messagearea .messagesend fieldset {
|
||||
padding: 0px;
|
||||
margin: 0;
|
||||
} /** bring the message send button closer to the message box */
|
||||
|
||||
.message .messagearea .messagerecent {
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.message .messagearea .messagerecent .singlemessage {
|
||||
border-bottom: 1px solid #D3D3D3;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.message .messagearea .messagerecent .singlemessage .otheruser span {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.message .messagearea .messagerecent .singlemessage .messagedate {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.message .hiddenelement {
|
||||
display: none;
|
||||
} /** not just using hidden as mform adds that class to its fieldset */
|
||||
.message .visible {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.message #usergroupselector.fieldset,
|
||||
.message #viewing {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.messagesearchresults {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.messagesearchresults td {
|
||||
padding: 0px 10px 0px 20px;
|
||||
}
|
||||
|
||||
.messagesearchresults td span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.messagesearchresults td img.userpicture {
|
||||
padding-right: .45em;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.dir-rtl .messagesearchresults td img.userpicture {
|
||||
padding-left: .45em;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.messagesearchresults td span img {
|
||||
padding: 0 0 0 .45em;
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.dir-rtl .messagesearchresults td span img {
|
||||
padding: 0 .45em 0 0;
|
||||
}
|
||||
|
||||
#newmessageoverlay {
|
||||
background-color: LightGrey;
|
||||
border: 1px solid black;
|
||||
padding: 20px;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#newmessageoverlay #usermessage {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.ie6 #newmessageoverlay {
|
||||
position: static;
|
||||
}
|
||||
|
||||
/** Messenger send message dialog */
|
||||
.core_message-messenger-sendmessage-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message.actions {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message-area {
|
||||
height: 240px;
|
||||
max-height: 100%;
|
||||
position: relative;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message-input {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message-send {
|
||||
margin: 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message-notice-area {
|
||||
display: table;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message-notice {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message-notice > div {
|
||||
background: #eee;
|
||||
padding: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message-footer {
|
||||
margin-top: 3px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.core_message-messenger-sendmessage .message-history {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.dir-rtl .core_message-messenger-sendmessage .message-send {
|
||||
float: left;
|
||||
}
|
||||
@@ -1,299 +0,0 @@
|
||||
/****
|
||||
* Three column floating div layout with 2,1,3 column order
|
||||
* Based on: http://matthewjamestaylor.com/blog/holy-grail-no-quirks-mode.htm
|
||||
* And: http://matthewjamestaylor.com/blog/ultimate-3-column-holy-grail-pixels.htm
|
||||
*
|
||||
* #page
|
||||
* #page-header
|
||||
* #page-content
|
||||
* | #region-main-box
|
||||
* | #region-post-box
|
||||
* | #region-main-wrap
|
||||
* | | #region-main
|
||||
* | | .region-content
|
||||
* | #region-pre
|
||||
* | | .region-content
|
||||
* | #region-post
|
||||
* | | .region-content
|
||||
* #page-footer
|
||||
*
|
||||
* The body tag may also contain one of three layout specific classes that describe
|
||||
* the regions of the page and allow us to theme more easily.
|
||||
*
|
||||
* default (no class) = Content + side pre + side post
|
||||
* side-pre-only = Content + side pre
|
||||
* side-post-only = Content + side post
|
||||
* content-only = Content
|
||||
*
|
||||
****/
|
||||
|
||||
body {
|
||||
margin: auto 0px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
#page {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#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-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 {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#page-footer {
|
||||
clear: both;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/** Only side pre **/
|
||||
.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-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;
|
||||
}
|
||||
|
||||
/** Moving block when side pre only **/
|
||||
.blocks-moving.side-pre-only #page-content #region-post-box {
|
||||
margin-left: -400px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-pre-only #page-content #region-main {
|
||||
margin-left: 400px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-pre-only #page-content #region-pre {
|
||||
left: 200px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-pre-only #page-content #region-post {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
/** Moving block when side-post-only **/
|
||||
.blocks-moving.side-post-only #page-content #region-main-box {
|
||||
left: 200px;
|
||||
width: 200%;
|
||||
}
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-post-box {
|
||||
margin-left: -400px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-main {
|
||||
margin-left: 400px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-pre {
|
||||
left: 200px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-post {
|
||||
left: 0px;
|
||||
width: 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-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;
|
||||
}
|
||||
|
||||
/** Center block for My Moodle/Home **/
|
||||
#region-content.block-region .header {
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
/** 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%;
|
||||
}
|
||||
@@ -1,407 +0,0 @@
|
||||
/* Question bank */
|
||||
.questionbank h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.questioncategories h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#chooseqtypebox {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#chooseqtype h3 {
|
||||
margin: 0 0 0.3em;
|
||||
}
|
||||
|
||||
#chooseqtype .instruction {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#chooseqtype .fakeqtypes {
|
||||
border-top: 1px solid silver;
|
||||
}
|
||||
|
||||
#chooseqtype .qtypeoption {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#chooseqtype label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#chooseqtype .qtypename img {
|
||||
padding: 0 0.3em;
|
||||
}
|
||||
|
||||
#chooseqtype .qtypesummary {
|
||||
display: block;
|
||||
margin: 0 2em;
|
||||
}
|
||||
|
||||
#chooseqtype .submitbuttons {
|
||||
margin: 0.7em 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer_c.yui-panel-container.shadow .underlay {
|
||||
background: none;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer.yui-panel .hd {
|
||||
color: #333333;
|
||||
letter-spacing: 1px;
|
||||
text-shadow: 1px 1px 1px #FFFFFF;
|
||||
border-radius: 10px 10px 0 0;
|
||||
border: 1px solid #CCCCCC;
|
||||
border-bottom: 1px solid #BBBBBB;
|
||||
background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#CCCCCC));
|
||||
background: -moz-linear-gradient(top, #FFFFFF, #CCCCCC);
|
||||
}
|
||||
|
||||
#qtypechoicecontainer {
|
||||
font-size: 12px;
|
||||
color: #333333;
|
||||
background: #F2F2F2;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #CCCCCC;
|
||||
border-top: 0 none;
|
||||
-webkit-box-shadow: 5px 5px 20px 0px #666666;
|
||||
-moz-box-shadow: 5px 5px 20px 0px #666666;
|
||||
box-shadow: 5px 5px 20px 0px #666666;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype {
|
||||
width: 35em;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtypehead h3 {
|
||||
margin: 0;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype .qtypes {
|
||||
position: relative;
|
||||
border-bottom: 1px solid #BBBBBB;
|
||||
padding: 0.24em 0;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype .alloptions {
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
max-height: 400px;
|
||||
max-height: calc(100vh - 8em);
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype .qtypeoption {
|
||||
margin-bottom: 0;
|
||||
padding: 0.3em 0 0.3em 1.6em;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype .qtypeoption img {
|
||||
vertical-align: text-bottom;
|
||||
padding-left: 1em;
|
||||
padding-right: 0.5em;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype .selected {
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0px 0px 10px 0px #CCCCCC;
|
||||
-webkit-box-shadow: 0px 0px 10px 0px #CCCCCC;
|
||||
-moz-box-shadow: 0px 0px 10px 0px #CCCCCC;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype .instruction,
|
||||
#qtypechoicecontainer #chooseqtype .qtypesummary {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 60%;
|
||||
margin: 0;
|
||||
bottom: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding: 1.5em 1.6em;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype .instruction,
|
||||
#qtypechoicecontainer #chooseqtype .selected .qtypesummary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#categoryquestions {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#categoryquestions td,
|
||||
#categoryquestions th {
|
||||
padding: 0 0.2em;
|
||||
}
|
||||
|
||||
#categoryquestions th {
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.dir-rtl #categoryquestions th {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.questionbank .singleselect {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Question editing forms. */
|
||||
#page-question-addquestion #chooserdialogue,
|
||||
#page-question-addquestion #choosertitle {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#combinedfeedbackhdr div.fhtmleditor {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#combinedfeedbackhdr div.fcheckbox {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#multitriesheader div.fitem_feditor {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#multitriesheader div.fitem_fgroup {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#multitriesheader div.fitem_fgroup fieldset.felement label {
|
||||
margin-left: 0.3em;
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
|
||||
body.path-question-type .fitem_fgroup .accesshide {
|
||||
font: inherit;
|
||||
left: 0;
|
||||
position: static;
|
||||
padding-right: .3em;
|
||||
}
|
||||
|
||||
/* Questions being attempted. */
|
||||
.que {
|
||||
clear: left;
|
||||
text-align: left;
|
||||
margin: 0 auto 1.8em auto;
|
||||
}
|
||||
|
||||
.dir-rtl .que {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.que .info {
|
||||
float: left;
|
||||
width: 7em;
|
||||
padding: 0.5em;
|
||||
margin-bottom: 1.8em;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.que h3.no {
|
||||
margin: 0;
|
||||
font-size: 0.8em;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.que span.qno {
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.que .info > div {
|
||||
font-size: 0.8em;
|
||||
margin-top: 0.7em;
|
||||
}
|
||||
|
||||
.que .info .questionflag.editable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.que .info .editquestion img,
|
||||
.que .info .questionflag img,
|
||||
.que .info .questionflag input {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.que .content {
|
||||
margin: 0 0 0 8.5em;
|
||||
}
|
||||
|
||||
.que .formulation,
|
||||
.que .outcome,
|
||||
.que .comment,
|
||||
.que .history {
|
||||
padding: 0.5em;
|
||||
margin: 0 0 0.5em;
|
||||
}
|
||||
|
||||
.que .formulation {
|
||||
background: #e4f1fa;
|
||||
}
|
||||
|
||||
.que .outcome {
|
||||
background: #fff3bf;
|
||||
}
|
||||
|
||||
.que .comment {
|
||||
background: #e0ffe0;
|
||||
}
|
||||
|
||||
.que .history {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.que .ablock {
|
||||
margin: 0.7em 0 0.3em 0;
|
||||
}
|
||||
|
||||
.que .im-controls {
|
||||
margin-top: 0.5em;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dir-rtl .que .im-controls {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.que .specificfeedback,
|
||||
.que .generalfeedback,
|
||||
.que .rightanswer,
|
||||
.que .im-feedback,
|
||||
.que .feedback,
|
||||
.que p {
|
||||
margin: 0 0 0.5em;
|
||||
}
|
||||
|
||||
.que .qtext {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
.que .correct {
|
||||
background-color: #afa;
|
||||
}
|
||||
|
||||
.que .notanswered,
|
||||
.que .incorrect {
|
||||
background-color: #faa;
|
||||
}
|
||||
|
||||
.que .partiallycorrect {
|
||||
background-color: #ff9;
|
||||
}
|
||||
|
||||
.que .validationerror {
|
||||
color: #a00;
|
||||
}
|
||||
|
||||
.que .grading,
|
||||
.que .comment,
|
||||
.que .commentlink,
|
||||
.que .history {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
.que .history h3 {
|
||||
margin: 0 0 0.2em;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.que .history table {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.que .history .current {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.que .questioncorrectnessicon {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
.que input.questionflagimage {
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
.dir-rtl .que input.questionflagimage {
|
||||
padding-left: 3px;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
/* Miscellaneous. */
|
||||
.importerror {
|
||||
margin-top: 10px;
|
||||
border-bottom: 1px solid #555;
|
||||
}
|
||||
|
||||
.mform .que.comment .fitemtitle {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
#page-question-preview #techinfo {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
#page-mod-quiz-edit #categoryquestions .header {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.path-question-type #id_answerhdr .fitem_feditor .felement {
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.path-question-type #id_answerhdr .fitem_feditor .felement {
|
||||
margin-left: 16%;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
body#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.dir-rtl.path-question-type #id_answerhdr .fitem_feditor .felement {
|
||||
margin-right: 16%;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
body.dir-rtl#page-question-type-multichoice div[id^=fitem_id_] .fitemtitle {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/** Overide for RTL layout **/
|
||||
.dir-rtl #qtypechoicecontainer #chooseqtype .instruction,
|
||||
.dir-rtl #qtypechoicecontainer #chooseqtype .qtypesummary {
|
||||
right: 60%;
|
||||
left: 0%;
|
||||
border-left: 0;
|
||||
border-right: 1px solid grey;
|
||||
}
|
||||
|
||||
#qtypechoicecontainer #chooseqtype .qtypeoption {
|
||||
padding-right: 0.3em;
|
||||
}
|
||||
|
||||
body.path-question-type .mform fieldset.hidden {
|
||||
padding: 0;
|
||||
margin: 0.7em 0 0;
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
.search-results .result {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.dir-rtl .search-results .result {
|
||||
margin-right: 15px;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.search-results .result .result-content {
|
||||
margin: 7px 0;
|
||||
}
|
||||
|
||||
.search-results .result .filename {
|
||||
font-style: italic;
|
||||
}
|
||||
@@ -1,90 +0,0 @@
|
||||
/* Tabs */
|
||||
.tabtree ul {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tabtree li {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 {
|
||||
width: 100%;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li.here {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li.here a {
|
||||
position: relative;
|
||||
z-index: 102;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li a {
|
||||
background: #f7f7f7;
|
||||
padding: 8px 10px 5px;
|
||||
border-width: 2px 2px 0;
|
||||
border-style: solid;
|
||||
border-color: #ddd;
|
||||
margin: 0 1px 0 0;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 .here a {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li a:hover {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 ul,
|
||||
.tabtree .tabrow0 div {
|
||||
font-weight: normal;
|
||||
border-top: 2px solid #ddd;
|
||||
padding: 0.25em 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li.here .empty {
|
||||
display: block;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom: -5px;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 .tabrow1 {
|
||||
padding: 5px 0 2px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.tabtree .tabrow1 li a,
|
||||
.tabtree .tabrow1 li a:link,
|
||||
.tabtree .tabrow1 li a:hover,
|
||||
.tabtree .tabrow1 li a span,
|
||||
.tabtree .tabrow1 li a:link span,
|
||||
.tabtree .tabrow1 li a:hover span {
|
||||
padding: 0 10px;
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
.tabtree a.nolink,
|
||||
.tabtree a.nolink:hover,
|
||||
.tabtree .here ul a.nolink,
|
||||
.tabtree .here ul a.nolink:hover {
|
||||
color: #888;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tabtree .here a.nolink,
|
||||
.tabtree .here a.nolink:hover,
|
||||
.tabtree .here ul .here a.nolink,
|
||||
.tabtree .here ul .here a.nolink:hover {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
/* Template styles for base theme. */
|
||||
|
||||
/* Styles for column templates. */
|
||||
.row-fluid {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.row-fluid::before {
|
||||
display: table;
|
||||
content: "";
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.row-fluid::after {
|
||||
display: table;
|
||||
content: "";
|
||||
line-height: 0;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.row-fluid [class*="span"] {
|
||||
float: left;
|
||||
margin-left: 1%;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.row-fluid [class*="span"]:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.row-fluid .span4 {
|
||||
width: 32.666666667%;
|
||||
}
|
||||
|
||||
.row-fluid .span8 {
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
/* RTL styles for column templates. */
|
||||
.dir-rtl .row-fluid [class*="span"] {
|
||||
float: right;
|
||||
margin-left: 0;
|
||||
margin-right: 1%;
|
||||
}
|
||||
|
||||
.dir-rtl .row-fluid [class*="span"]:first-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Style for template columns-autoflow-1to1to1. */
|
||||
.columns-autoflow-1to1to1 {
|
||||
-moz-column-count: 3;
|
||||
-webkit-column-count: 3;
|
||||
column-count: 3;
|
||||
-moz-column-gap: 20px;
|
||||
-webkit-column-gap: 20px;
|
||||
column-gap: 20px;
|
||||
}
|
||||
|
||||
/* Responsive styles for smaller screens. */
|
||||
@media (max-width: 767px) {
|
||||
/* For column templates. */
|
||||
.row-fluid [class*="span"] {
|
||||
width: 100%;
|
||||
float: none;
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.dir-rtl .row-fluid [class*="span"] {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Change to a single column for smaller screens.*/
|
||||
.columns-autoflow-1to1to1 {
|
||||
-moz-column-count: 1;
|
||||
-webkit-column-count: 1;
|
||||
column-count: 1;
|
||||
-moz-column-gap: 0;
|
||||
-webkit-column-gap: 0;
|
||||
column-gap: 0;
|
||||
}
|
||||
}
|
||||
@@ -1,281 +0,0 @@
|
||||
/*$$$$$$$$$$$$$$$$$ User $$$$$$$$$$$$$$$$$$$$*/
|
||||
.userprofile .fullprofilelink {
|
||||
text-align: center;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.userprofile .profilepicture {
|
||||
float: left;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.userprofile .description {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.userprofile dl {
|
||||
margin-top: 10px;
|
||||
margin-left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.userprofile dl dt,
|
||||
.userprofile dl dd {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
.userprofile dl dt {
|
||||
margin: 0;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
float: left;
|
||||
width: 110px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.userprofile dl dd {
|
||||
margin: 0;
|
||||
margin-left: 120px;
|
||||
}
|
||||
|
||||
.userprofile .profile_tree {
|
||||
column-count: 2;
|
||||
-webkit-column-count: 2;
|
||||
-moz-column-count: 2;
|
||||
}
|
||||
|
||||
.userprofile .profile_tree section {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.user-box {
|
||||
margin: 8px;
|
||||
width: 115px;
|
||||
height: 160px;
|
||||
text-align: center;
|
||||
float: left;
|
||||
clear: none;
|
||||
}
|
||||
|
||||
.userlist .action-icon img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.userlist #showall {
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
||||
.userlist .buttons {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.userlist .buttons label {
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
.userlist table#participants {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.userlist table#participants td,
|
||||
.userlist table#participants th {
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.userlist table.controls {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.userlist table.controls tr {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.userlist table.controls td.right,
|
||||
.userlist table.controls td.left {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.userlist table.controls .right {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.userinfobox {
|
||||
width: 100%;
|
||||
border: 1px solid;
|
||||
border-collapse: separate;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.userinfobox .left,
|
||||
.userinfobox .side {
|
||||
width: 100px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.userinfobox .userpicture {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.userinfobox .content {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.userinfobox .links {
|
||||
width: 100px;
|
||||
padding: 5px;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.userinfobox .links a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.userinfobox .list td {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.userinfobox .username {
|
||||
padding-bottom: 20px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.userinfobox td.label {
|
||||
text-align: right;
|
||||
white-space: nowrap;
|
||||
vertical-align: top;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.groupinfobox {
|
||||
border: 1px solid;
|
||||
}
|
||||
|
||||
.groupinfobox .left {
|
||||
padding: 10px;
|
||||
width: 100px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.course-participation #showall {
|
||||
text-align: center;
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
||||
#user-policy .noticebox {
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 10px;
|
||||
width: 80%;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
#user-policy #policyframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.iplookup #map {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.userselector select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.userselector div {
|
||||
margin-top: 0.2em;
|
||||
}
|
||||
|
||||
.userselector div label {
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
/* Next style does not work in all browsers but looks nicer when it does */
|
||||
.userselector .userselector-infobelow {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
#userselector_options {
|
||||
padding: 0.3em 0;
|
||||
}
|
||||
|
||||
#userselector_options .collapsibleregioncaption {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#userselector_options p {
|
||||
margin: 0.2em 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dir-rtl #userselector_options p {
|
||||
text-align: right;
|
||||
}
|
||||
/** user full profile */
|
||||
#page-user-profile .messagebox {
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
/** user course profile */
|
||||
#page-course-view-weeks .messagebox {
|
||||
text-align: center;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/** Overide for RTL layout **/
|
||||
.dir-rtl .userprofile .profilepicture {
|
||||
float: right;
|
||||
margin-left: 20px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.dir-rtl .userlist table#participants td,
|
||||
.dir-rtl .userlist table#participants th {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dir-rtl .userlist table#participants {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.dir-rtl .userprofile dl dt {
|
||||
float: right;
|
||||
width: 110px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.dir-rtl .userprofile dl dd {
|
||||
margin-right: 120px;
|
||||
}
|
||||
|
||||
#page-my-index.dir-rtl .block h3 {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#groupeditform .groups,
|
||||
#groupeditform .members {
|
||||
width: 49%;
|
||||
float: left;
|
||||
text-align: left;
|
||||
min-width: 175px;
|
||||
}
|
||||
|
||||
#groupeditform .groups select,
|
||||
#groupeditform .members select {
|
||||
min-width: 175px;
|
||||
}
|
||||
|
||||
.dir-rtl #groupeditform .groups,
|
||||
.dir-rtl #groupeditform .members {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{{!
|
||||
This file is part of Moodle - http://moodle.org/
|
||||
|
||||
Moodle is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Moodle is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
}}
|
||||
<div class="notifyproblem">{{{message}}}</div>
|
||||
@@ -1,17 +0,0 @@
|
||||
{{!
|
||||
This file is part of Moodle - http://moodle.org/
|
||||
|
||||
Moodle is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Moodle is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
}}
|
||||
<div class="redirectmessage">{{{message}}}</div>
|
||||
@@ -1,17 +0,0 @@
|
||||
{{!
|
||||
This file is part of Moodle - http://moodle.org/
|
||||
|
||||
Moodle is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Moodle is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
}}
|
||||
<div class="notifysuccess">{{{message}}}</div>
|
||||
@@ -1,17 +0,0 @@
|
||||
{{!
|
||||
This file is part of Moodle - http://moodle.org/
|
||||
|
||||
Moodle is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Moodle is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
}}
|
||||
<div class="notifymessage">{{{message}}}</div>
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Theme version info
|
||||
*
|
||||
* @package theme_base
|
||||
* @copyright 2011 Petr Skoda {@link http://skodak.org}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$plugin->version = 2016052300; // The current module version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2016051900; // Requires this Moodle version.
|
||||
$plugin->component = 'theme_base'; // Full name of the plugin (used for diagnostics).
|
||||
@@ -1,262 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Configuration for Moodle's Canvas theme.
|
||||
*
|
||||
* This theme is special, and implements a minimalist theme with basic styles.
|
||||
* It is intended to be used with Base as a starting point for other themes to build upon.
|
||||
* It is not recommend to actually choose this theme for production sites!
|
||||
*
|
||||
* DO NOT COPY THIS TO START NEW THEMES!
|
||||
* Start with another theme, like "standard".
|
||||
*
|
||||
* For full information about creating Moodle themes, see:
|
||||
* http://docs.moodle.org/dev/Themes_2.0
|
||||
*
|
||||
* @package theme_canvas
|
||||
* @copyright 2010 Patrick Malley
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$THEME->name = 'canvas';
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Name of the theme. Most likely the name of
|
||||
// the directory in which this file resides.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents = array('base');
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
// Which existing theme(s) in the /theme/ directory
|
||||
// do you want this theme to extend. A theme can
|
||||
// extend any number of themes. Rather than
|
||||
// creating an entirely new theme and copying all
|
||||
// of the CSS, you can simply create a new theme,
|
||||
// extend the theme you like and just add the
|
||||
// changes you want to your theme.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->sheets = array(
|
||||
'pagelayout',
|
||||
'text',
|
||||
'core',
|
||||
'course',
|
||||
'mods',
|
||||
'blocks',
|
||||
'tabs',
|
||||
'admin',
|
||||
'tables',
|
||||
'popups',
|
||||
);
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Name of the stylesheet(s) you've including in
|
||||
// this theme's /styles/ directory.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->parents_exclude_sheets = array();
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of stylesheets not to inherit from the
|
||||
// themes parents
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->layouts = array(
|
||||
'base' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'standard' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'course' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre'
|
||||
),
|
||||
'coursecategory' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'incourse' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'frontpage' => array(
|
||||
'file' => 'frontpage.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'admin' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'mydashboard' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
'options' => array('langmenu'=>true),
|
||||
),
|
||||
'mypublic' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
'login' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('langmenu'=>true),
|
||||
),
|
||||
'popup' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
'frametop' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nocoursefooter'=>true),
|
||||
),
|
||||
'maintenance' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
'embedded' => array(
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
// Should display the content and basic headers only.
|
||||
'print' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
// The pagelayout used when a redirection is occuring.
|
||||
'redirect' => array(
|
||||
'file' => 'embedded.php',
|
||||
'regions' => array(),
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
'report' => array(
|
||||
'file' => 'report.php',
|
||||
'regions' => array('side-pre'),
|
||||
'defaultregion' => 'side-pre',
|
||||
),
|
||||
// The pagelayout used for safebrowser and securewindow.
|
||||
'secure' => array(
|
||||
'file' => 'general.php',
|
||||
'regions' => array('side-pre', 'side-post'),
|
||||
'defaultregion' => 'side-pre',
|
||||
'options' => array('nofooter'=>true, 'nonavbar'=>true, 'nocustommenu'=>true, 'nologinlinks'=>true, 'nocourseheaderfooter'=>true),
|
||||
),
|
||||
);
|
||||
|
||||
/////////////////////////////////////////////////////////
|
||||
// These are all of the possible layouts in Moodle. The
|
||||
// simplest way to do this is to keep the theme and file
|
||||
// variables the same for every layout. Including them
|
||||
// all in this way allows some flexibility down the road
|
||||
// if you want to add a different layout template to a
|
||||
// specific page.
|
||||
/////////////////////////////////////////////////////////
|
||||
|
||||
$THEME->hidefromselector = true;
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
// We don't want the base theme to be shown on the
|
||||
// theme selection screen, by setting this to true
|
||||
// it will only be shown if theme designer mode is
|
||||
// switched on.
|
||||
/////////////////////////////////////////////////////
|
||||
|
||||
$THEME->enable_dock = true;
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Do you want to use the new navigation dock?
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
$THEME->editor_sheets = array('editor');
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of stylesheets to include within the
|
||||
// body of the editor.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->csspostprocess
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Allows the user to provide the name of a function
|
||||
// that all CSS should be passed to before being
|
||||
// delivered.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->javascripts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array containing the names of JavaScript files
|
||||
// located in /javascript/ to include in the theme.
|
||||
// (gets included in the head)
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->javascripts_footer
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// As above but will be included in the page footer.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->larrow
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the left arrow image used throughout
|
||||
// Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->rarrow
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Overrides the right arrow image used throughout Moodle
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->parents_exclude_javascripts
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of JavaScript files NOT to inherit from
|
||||
// the themes parents
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->plugins_exclude_sheets
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// An array of plugin sheets to ignore and not
|
||||
// include.
|
||||
////////////////////////////////////////////////////
|
||||
|
||||
// $THEME->rendererfactory
|
||||
|
||||
////////////////////////////////////////////////////
|
||||
// Sets a custom render factory to use with the
|
||||
// theme, used when working with custom renderers.
|
||||
////////////////////////////////////////////////////
|
||||
@@ -1,28 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Strings for component 'theme_formfactor', language 'en', branch 'MOODLE_20_STABLE'
|
||||
*
|
||||
* @package theme_canvas
|
||||
* @copyright 2010 Patrick Malley
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'Canvas';
|
||||
$string['region-side-post'] = 'Right';
|
||||
$string['region-side-pre'] = 'Left';
|
||||
$string['choosereadme'] = 'Canvas, a Moodle 2.0 parent theme by Patrick Malley.';
|
||||
@@ -1,47 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* The embedded layout for the Canvas theme.
|
||||
*
|
||||
* @package theme_canvas
|
||||
* @copyright 2010 Patrick Malley
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
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 p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<div id="page-content" class="clearfix">
|
||||
<?php echo $OUTPUT->main_content() ?>
|
||||
</div>
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
</div>
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,141 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* The frontpage layout for the Canvas theme.
|
||||
*
|
||||
* @package theme_canvas
|
||||
* @copyright 2010 Patrick Malley
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$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 p(strip_tags(format_text($SITE->summary, FORMAT_HTML))) ?>" />
|
||||
<?php echo $OUTPUT->standard_head_html() ?>
|
||||
</head>
|
||||
<body id="<?php p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<div id="wrapper" class="clearfix">
|
||||
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" 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>
|
||||
</div>
|
||||
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="clearer"></div> <!-- temporarily added on 06/25/10 -->
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<!-- 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="region-main-wrap">
|
||||
<div id="region-main">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->main_content() ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hassidepost) { ?>
|
||||
<div id="region-post" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<div id="page-footer">
|
||||
<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>
|
||||
|
||||
<!-- END OF FOOTER -->
|
||||
|
||||
</div> <!-- END #wrapper -->
|
||||
|
||||
</div><!-- END #page -->
|
||||
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,176 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* The general layout for the Canvas theme.
|
||||
*
|
||||
* @package theme_canvas
|
||||
* @copyright 2010 Patrick Malley
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$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));
|
||||
$haslogininfo = (empty($PAGE->layout_options['nologininfo']));
|
||||
|
||||
$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';
|
||||
}
|
||||
|
||||
$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = '';
|
||||
if (empty($PAGE->layout_options['nocourseheaderfooter'])) {
|
||||
$courseheader = $OUTPUT->course_header();
|
||||
$coursecontentheader = $OUTPUT->course_content_header();
|
||||
if (empty($PAGE->layout_options['nocoursefooter'])) {
|
||||
$coursecontentfooter = $OUTPUT->course_content_footer();
|
||||
$coursefooter = $OUTPUT->course_footer();
|
||||
}
|
||||
}
|
||||
|
||||
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 p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<?php if ($hasheading || $hasnavbar || !empty($courseheader) || !empty($coursefooter)) { ?>
|
||||
<div id="wrapper" class="clearfix">
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hasheading) { ?>
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" 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>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!empty($courseheader)) { ?>
|
||||
<div id="course-header"><?php echo $courseheader; ?></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 } ?>
|
||||
|
||||
<!-- END OF HEADER -->
|
||||
|
||||
<!-- 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="region-main-wrap">
|
||||
<div id="region-main">
|
||||
<div class="region-content">
|
||||
<?php echo $coursecontentheader; ?>
|
||||
<?php echo $OUTPUT->main_content() ?>
|
||||
<?php echo $coursecontentfooter; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($hassidepre) { ?>
|
||||
<div id="region-pre" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-pre') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hassidepost) { ?>
|
||||
<div id="region-post" class="block-region">
|
||||
<div class="region-content">
|
||||
<?php echo $OUTPUT->blocks_for_region('side-post') ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<?php if (!empty($coursefooter)) { ?>
|
||||
<div id="course-footer"><?php echo $coursefooter; ?></div>
|
||||
<?php } ?>
|
||||
<?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 || !empty($courseheader) || !empty($coursefooter)) { ?>
|
||||
</div> <!-- END #wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
</div> <!-- END #page -->
|
||||
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,158 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* The report layout for the Canvas theme.
|
||||
*
|
||||
* @package theme_canvas
|
||||
* @copyright 2010 Patrick Malley
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$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[] = 'side-pre-only';
|
||||
} else {
|
||||
$bodyclasses[] = 'content-only';
|
||||
}
|
||||
if ($hascustommenu) {
|
||||
$bodyclasses[] = 'has_custom_menu';
|
||||
}
|
||||
|
||||
$courseheader = $coursecontentheader = $coursecontentfooter = $coursefooter = '';
|
||||
if (empty($PAGE->layout_options['nocourseheaderfooter'])) {
|
||||
$courseheader = $OUTPUT->course_header();
|
||||
$coursecontentheader = $OUTPUT->course_content_header();
|
||||
if (empty($PAGE->layout_options['nocoursefooter'])) {
|
||||
$coursecontentfooter = $OUTPUT->course_content_footer();
|
||||
$coursefooter = $OUTPUT->course_footer();
|
||||
}
|
||||
}
|
||||
|
||||
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 p($PAGE->bodyid) ?>" class="<?php p($PAGE->bodyclasses.' '.join(' ', $bodyclasses)) ?>">
|
||||
<?php echo $OUTPUT->standard_top_of_body_html() ?>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<!-- START OF HEADER -->
|
||||
|
||||
<?php if ($hasheading || $hasnavbar || !empty($courseheader) || !empty($coursefooter)) { ?>
|
||||
<div id="wrapper" class="clearfix">
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hasheading) { ?>
|
||||
<div id="page-header">
|
||||
<div id="page-header-wrapper" 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>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($hascustommenu) { ?>
|
||||
<div id="custommenu"><?php echo $custommenu; ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (!empty($courseheader)) { ?>
|
||||
<div id="course-header"><?php echo $courseheader; ?></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 } ?>
|
||||
|
||||
<!-- 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 $coursecontentheader; ?>
|
||||
<?php echo $OUTPUT->main_content() ?>
|
||||
<?php echo $coursecontentfooter; ?>
|
||||
</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>
|
||||
|
||||
<!-- END OF CONTENT -->
|
||||
|
||||
<!-- START OF FOOTER -->
|
||||
|
||||
<?php if (!empty($coursefooter)) { ?>
|
||||
<div id="course-footer"><?php echo $coursefooter; ?></div>
|
||||
<?php } ?>
|
||||
<?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 || !empty($courseheader) || !empty($coursefooter)) { ?>
|
||||
</div> <!-- END #wrapper -->
|
||||
<?php } ?>
|
||||
|
||||
</div> <!-- END #page -->
|
||||
|
||||
<?php echo $OUTPUT->standard_end_of_body_html() ?>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,137 +0,0 @@
|
||||
#page-admin-index #notice {
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
margin: 15px auto;
|
||||
padding: 10px 10px;
|
||||
}
|
||||
|
||||
#page-admin-index #notice strong {
|
||||
background: #ffc;
|
||||
}
|
||||
|
||||
#page-admin-index .notifysuccess {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#page-admin-index h2 {
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
#page-admin-index .adminerror,
|
||||
#page-admin-index .adminwarning {
|
||||
border: 1px solid #a35f1d;
|
||||
background: #ffeeba;
|
||||
padding: 10px;
|
||||
margin: 10px auto;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
#page-admin-index .adminerror {
|
||||
background: #ffd3d9;
|
||||
}
|
||||
|
||||
#page-admin-index .copyright {
|
||||
text-align: center;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
#adminsettings .form-buttons {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin: 10px 0;
|
||||
}
|
||||
|
||||
#authmenu .generalbox {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#page-admin-cohort-index .generaltable,
|
||||
#page-admin-user .generaltable {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-admin-roles-manage .generaltable {
|
||||
width: 95%;
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
#page-admin-roles-allow .generalbox {
|
||||
margin: 0 auto 1em;
|
||||
width: 65%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.editcourse .singleselect {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#page-admin-course-manage .generalbox {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#userselector_options {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
|
||||
/* Themes
|
||||
----------------------------*/
|
||||
|
||||
#page-admin-theme-index .generalbox {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.theme_screenshot {
|
||||
float: left;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.theme_screenshot img {
|
||||
width: 275px;
|
||||
}
|
||||
|
||||
.theme_screenshot h2 {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.theme_screenshot h3 {
|
||||
font-size: 0.9em;
|
||||
margin: 1em 0 0;
|
||||
}
|
||||
|
||||
.theme_screenshot p {
|
||||
font-size: 0.9em;
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
.theme_description {
|
||||
margin-left: 300px;
|
||||
}
|
||||
|
||||
.theme_description h2 {
|
||||
padding-top: 0.5em;
|
||||
}
|
||||
|
||||
.plugincheckwrapper {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* Web services
|
||||
-------------------------*/
|
||||
|
||||
#page-admin-webservice-service_users .missingcaps {
|
||||
color: #ff6600;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
#page-admin-setting-webservicetokens .missingcaps {
|
||||
color: #ff6600;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
#page-admin-webservice-service_functions .functiondesc {
|
||||
font-size: 90%;
|
||||
}
|
||||
@@ -1,130 +0,0 @@
|
||||
.block {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.block .footer {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.block_action .reloadnavigation {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
.block .header .commands .icon {
|
||||
padding-left: 2px;
|
||||
padding-right: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.block h3 {
|
||||
padding: 0.5em 0;
|
||||
text-align: left;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.dir-rtl .block h3 {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Login
|
||||
------------------------------*/
|
||||
|
||||
.block_login .content {
|
||||
padding: 5px 10% 5px 0;
|
||||
}
|
||||
|
||||
.block_login #login_username,
|
||||
.block_login #login_password {
|
||||
width: 90%;
|
||||
margin-bottom: 0.5em;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.block_login .btn {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.block_login .footer {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dir-rtl .block_login .footer {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* News
|
||||
-------------------------------*/
|
||||
|
||||
.block_news_items .newlink {
|
||||
text-align: center;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.block_news_items .post .head {
|
||||
font-style: italic;
|
||||
font-size: 0.9em;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.block_news_items .post .date {
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.block_news_items .post .name {
|
||||
float: left;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
/* Calendar
|
||||
--------------------------------*/
|
||||
|
||||
.block_calendar_upcoming .event {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.block_calendar_upcoming .date {
|
||||
font-weight: normal;
|
||||
font-size: 0.85em;
|
||||
font-style: italic;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.block_recent_activity .activitydate {
|
||||
font-size: 0.9em;
|
||||
color: #444;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.block_recent_activity .activityhead {
|
||||
font-size: 0.95em;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
/* Messages and Online Users
|
||||
-------------------------------*/
|
||||
|
||||
.block_messages .info,
|
||||
.block_online_users .info {
|
||||
text-align: center;
|
||||
font-size: 0.85em;
|
||||
color: #444;
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
|
||||
/* Blog Menu
|
||||
------------------------------*/
|
||||
|
||||
.block_blog_menu .list li {
|
||||
font-size: 0.9em;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
|
||||
/* Add block
|
||||
------------------------------*/
|
||||
|
||||
.block_adminblock .content .singleselect {
|
||||
text-align: left;
|
||||
}
|
||||
@@ -1,676 +0,0 @@
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#page {
|
||||
font-size: 108%;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.sitetopic {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#site-news-forum h2,
|
||||
#frontpage-course-list h2,
|
||||
#frontpage-category-names h2,
|
||||
#frontpage-category-combo h2 {
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-size: 1.3em;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
#notice {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.noticebox,
|
||||
.expired,
|
||||
.notopenyet,
|
||||
.notifysuccess,
|
||||
.notifyproblem,
|
||||
.errorbox,
|
||||
.continuebutton,
|
||||
.singlebutton,
|
||||
.buttons {
|
||||
text-align: center;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.navbutton .singlebutton {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.generalbox {
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.noticebox .generalbox {
|
||||
border: none;
|
||||
margin: 2em 0;
|
||||
}
|
||||
|
||||
.expired,
|
||||
.notopenyet {
|
||||
border: none;
|
||||
color: #f00;
|
||||
}
|
||||
|
||||
.buttons .singlebutton input {
|
||||
margin: 0 1em;
|
||||
}
|
||||
|
||||
.initialbar {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
/* Calendar
|
||||
-------------------------*/
|
||||
|
||||
.calendarlayout .sidecalendar {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.minicalendarblock h3 {
|
||||
text-align: center;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
.maincalendar .header .buttons {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.maincalendar .calendarmonth td,
|
||||
.maincalendar .calendarmonth th {
|
||||
border-color: #ddd;
|
||||
border-style: dotted;
|
||||
border-width: 1px;
|
||||
}
|
||||
|
||||
.maincalendar .calendarmonth th,
|
||||
.minicalendar th {
|
||||
background: none;
|
||||
}
|
||||
|
||||
.maincalendar .calendar-controls {
|
||||
padding: 10px 5px 0;
|
||||
}
|
||||
|
||||
.maincalendar .calendar-controls .previous,
|
||||
.maincalendar .calendar-controls .current,
|
||||
.maincalendar .calendar-controls .next {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.maincalendar .calendar-controls .current {
|
||||
margin: 0 auto;
|
||||
font-size: 1.35em;
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.maincalendar .calendar-controls .next {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.maincalendar .filters table td {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.maincalendar .bottom {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
.minicalendar th abbr {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.calendar_filters td,
|
||||
.minicalendar td,
|
||||
.minicalendar th {
|
||||
padding: 2px;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
#page-calendar-view .eventlist {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
#page-calendar-view .eventlist .event {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#page-calendar-view .eventlist .event .topic {
|
||||
border-width: 1px 1px 0;
|
||||
border-color: #ddd;
|
||||
border-style: solid;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
#page-calendar-view .eventlist .event .topic .name {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#page-calendar-view .eventlist .event .description {
|
||||
border-width: 0 1px 1px;
|
||||
border-style: solid;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.calendartable .duration ul {
|
||||
border-width: 2px 0;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.calendartable .duration_user ul {
|
||||
border-color: #dce7ec;
|
||||
}
|
||||
|
||||
.calendartable .duration_global ul {
|
||||
border-color: #d6f8cd;
|
||||
}
|
||||
|
||||
.calendartable .duration_group ul {
|
||||
border-color: #fee7ae;
|
||||
}
|
||||
|
||||
.calendartable .duration_course ul {
|
||||
border-color: #ffd3bd;
|
||||
}
|
||||
|
||||
.calendartable .duration .events-underway {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.minicalendar {
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.minicalendar td,
|
||||
.minicalendar th {
|
||||
font-size: 0.85em;
|
||||
padding: 0 2px;
|
||||
border-width: 2px 0;
|
||||
border-color: #fff;
|
||||
}
|
||||
|
||||
.minicalendar .calendar_event_user,
|
||||
.minicalendar .duration_user {
|
||||
border-color: #dce7ec;
|
||||
}
|
||||
|
||||
.minicalendar .calendar_event_course,
|
||||
.minicalendar .duration_course {
|
||||
border-color: #ffd3bd;
|
||||
}
|
||||
|
||||
.minicalendar .calendar_event_global,
|
||||
.minicalendar .duration_global {
|
||||
border-color: #d6f8cd;
|
||||
}
|
||||
|
||||
.minicalendar .calendar_event_group,
|
||||
.minicalendar .duration_group {
|
||||
border-color: #fee7ae;
|
||||
}
|
||||
|
||||
/* User
|
||||
-------------------------*/
|
||||
|
||||
.userinfobox {
|
||||
border-color: #ddd;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.userinfobox .content {
|
||||
text-align: left;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.dir-rtl .userinfobox .content {
|
||||
text-align: right;
|
||||
padding-right: 10px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.userinfobox .links {
|
||||
vertical-align: top;
|
||||
background: #f4f4f4;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.userinfobox .links a {
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dir-rtl .userinfobox .links a {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.profilepicture {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.dir-rtl .profilepicture {
|
||||
float: right;
|
||||
margin-left: 10px;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.descriptionbox {
|
||||
margin-left: 110px;
|
||||
border: 1px solid #ddd;
|
||||
padding: 10px;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.path-user .description {
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.userprofile dl {
|
||||
margin-top: 10px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.userprofile dl dt,
|
||||
.userprofile dl dd {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.dir-rtl .userprofile dl dt,
|
||||
.dir-rtl .userprofile dl dd {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.userprofile dl dt {
|
||||
padding-left: 0;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
padding-right: 2%;
|
||||
min-width: 100px;
|
||||
width: 15%;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dir-rtl .userprofile dl dt {
|
||||
padding-left: 2%;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.userprofile dl dd {
|
||||
display: inline-block;
|
||||
margin: 0px;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
#page-user-view .buttons {
|
||||
text-align: center;
|
||||
width: 70%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#page-user-view .buttons div {
|
||||
padding: 0 0 10px;
|
||||
}
|
||||
|
||||
#page-user-index .controls {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-user-index .controls .singleselect {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.rolesform {
|
||||
text-align: center;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
#participantsform {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#participants {
|
||||
width: 100%;
|
||||
margin: 1em auto 0;
|
||||
}
|
||||
|
||||
#participants th,
|
||||
#participants td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.groupinfobox {
|
||||
border-color: #DDDDDD;
|
||||
width: 60%;
|
||||
margin-left: 20%;
|
||||
margin-right: 20%;
|
||||
}
|
||||
|
||||
/* Notes
|
||||
------------------------*/
|
||||
|
||||
.path-notes .generalbox {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* Roles
|
||||
------------------------*/
|
||||
|
||||
.path-admin-roles .generaltable th {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.path-admin-roles .generaltable .lastcol {
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.path-admin-roles .backlink {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Blogs
|
||||
------------------------*/
|
||||
|
||||
.blog_entry .audience {
|
||||
color: #444;
|
||||
margin: 0 0 0.5em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.blog_entry .tags {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
/* Tags
|
||||
------------------------*/
|
||||
|
||||
.tag-management-form {
|
||||
border: none;
|
||||
padding: 0 0 1em;
|
||||
}
|
||||
|
||||
#tag-management-list {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
#tagblogentries {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
#tagblogentries li {
|
||||
list-style: none;
|
||||
padding: 0.25em 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Embedded Pages
|
||||
------------------------*/
|
||||
|
||||
.pagelayout-embedded {
|
||||
text-align: center;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.pagelayout-embedded #page-content {
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
-----------------------*/
|
||||
|
||||
.mform .fsubmit {
|
||||
text-align: center;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.form-label .form-shortname {
|
||||
font-size: 0.8em;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.form-description {
|
||||
font-size: 0.95em;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.path-backup .mform .hidden .fitem .fgroup {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.path-backup .mform .grouped_settings {
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.path-backup .mform .grouped_settings .grouped_settings {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.mform .btn-cancel {
|
||||
color: #0000EE;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.mform .btn-cancel:hover,
|
||||
.mform .btn-cancel:focus {
|
||||
color: #0000EE;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Comments
|
||||
-----------------------*/
|
||||
/*csslint important:false */
|
||||
|
||||
.comment-list li {
|
||||
background: #eee !important;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
/* Gradebook
|
||||
----------------------*/
|
||||
|
||||
.path-grade h1.headermain {
|
||||
text-align: left; /* Strangely necessary TODO: find bug */
|
||||
}
|
||||
|
||||
.gradestable .lastrow th.header {
|
||||
background: #ddd;
|
||||
}
|
||||
|
||||
table#user-grades tr.avg td.cell,
|
||||
table#user-grades tr.avg th.cell {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
table#user-grades tr.avg td.vmarked {
|
||||
background-color: #fc3;
|
||||
}
|
||||
|
||||
.user-grade td.b1t,
|
||||
.user-grade td.baggt {
|
||||
background: #ddd !important;
|
||||
}
|
||||
|
||||
#page-grade-edit-scale-index .generaltable {
|
||||
margin: 1em auto;
|
||||
}
|
||||
|
||||
#page-grade-report-grader-preferences .generalbox {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.path-grade-report-grader form {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.path-grade-report-grader.dir-rtl form {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Footer
|
||||
-----------------------*/
|
||||
|
||||
#page-footer .logininfo {
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
#page-footer .homelink,
|
||||
#page-footer .sitelink {
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.homelink a {
|
||||
text-decoration: none;
|
||||
border-top: 1px solid #cecece;
|
||||
border-bottom: 2px solid #8a8a8a;
|
||||
border-left: 1px solid #cecece;
|
||||
border-right: 2px solid #8a8a8a;
|
||||
}
|
||||
|
||||
.homelink a:hover {
|
||||
text-decoration: none;
|
||||
border-bottom: 1px solid #cecece;
|
||||
border-top: 2px solid #8a8a8a;
|
||||
border-right: 1px solid #cecece;
|
||||
border-left: 2px solid #8a8a8a;
|
||||
}
|
||||
|
||||
/* Enrol
|
||||
-------------------------*/
|
||||
|
||||
.userenrolment {
|
||||
font-size: 90%;
|
||||
border: 1px solid #999;
|
||||
}
|
||||
|
||||
.userenrolment > tbody > tr:nth-of-type(odd) {
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
|
||||
.userenrolment > tbody > tr:nth-of-type(even) {
|
||||
background-color: #F3F3F3;
|
||||
}
|
||||
|
||||
.userenrolment td {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-top-color: #F6F6F6;
|
||||
border-right-color: #EEE;
|
||||
border-bottom-color: #E9E9E9;
|
||||
border-left-color: #F3F3F3;
|
||||
}
|
||||
|
||||
.userenrolment td.c0 {
|
||||
border-left-color: #999;
|
||||
}
|
||||
|
||||
.userenrolment td.c4 {
|
||||
border-right-color: #999;
|
||||
}
|
||||
|
||||
.userenrolment .col_userdetails {
|
||||
padding: 3px;
|
||||
min-width: 35%;
|
||||
}
|
||||
|
||||
.userenrolment .col_role .roles {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.userenrolment .col_role .role {
|
||||
line-height: 10px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.userenrolment .col_role .role a img {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.userenrolment .col_role .addrole {
|
||||
background-color: #DDD;
|
||||
border: 1px outset #EEE;
|
||||
-moz-border-radius: 5px;
|
||||
}
|
||||
|
||||
.userenrolment .col_group {
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
.userenrolment .col_group .group {
|
||||
line-height: 10px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.userenrolment .col_group .group a img {
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
.userenrolment .col_group .addgroup {
|
||||
background-color: #DDD;
|
||||
border: 1px outset #EEE;
|
||||
-moz-border-radius: 5px;
|
||||
}
|
||||
|
||||
.userenrolment .col_enrol {
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
.userenrolment .col_enrol .enrolment {
|
||||
border: 1px outset #E6E6E6;
|
||||
background-color: #EEE;
|
||||
line-height: 10px;
|
||||
font-size: 10px;
|
||||
-moz-border-radius: 5px;
|
||||
}
|
||||
|
||||
.path-enrol .enrolusersbutton,
|
||||
.path-enrol .enrolcohortbutton {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.path-enrol .enrolusersbutton.instance1,
|
||||
.path-enrol .enrolcohortbutton.instance1 {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Registration
|
||||
-------------------------*/
|
||||
|
||||
|
||||
#page-admin-registration-hubselector .registration_textfield {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
/* Redirect
|
||||
-------------------------*/
|
||||
|
||||
.pagelayout-redirect #content {
|
||||
text-align: center;
|
||||
margin: 10% auto;
|
||||
}
|
||||
|
||||
.path-grade-report.dir-rtl #graded_users_selector .singleselect {
|
||||
margin: 0px;
|
||||
}
|
||||
@@ -1,117 +0,0 @@
|
||||
.coursebox {
|
||||
border-color: #ddd;
|
||||
border-width: 0 0 1px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.categorypicker {
|
||||
margin: 15px 0 25px;
|
||||
}
|
||||
|
||||
#page-course-index-category .generalbox.info {
|
||||
margin: 25px auto 30px;
|
||||
width: 75%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.path-course-view .section .side {
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.path-course-view .section .content {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.path-course-view .section .content .section {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.path-course-view .section .content .weekdates {
|
||||
font-size: 1em;
|
||||
color: #777;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.path-course-view .section_add_menus {
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
#page-report .plugin p,
|
||||
#page-report .logselectform {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page-report .logselectform .select {
|
||||
margin: 0 4px 10px;
|
||||
}
|
||||
|
||||
#page-report-outline-index .loginfo {
|
||||
text-align: center;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#page-report-participation-index #participationreport {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page-report-participation-index #participationreport .reporttable {
|
||||
margin: 0 auto 1em;
|
||||
}
|
||||
|
||||
#page-report-participation-index #participationreport .selectbuttons input {
|
||||
margin: 10px 5px;
|
||||
}
|
||||
|
||||
#page-report-loglive-index .info,
|
||||
#page-report-log-index .logselectform,
|
||||
#page-report-log-index .info,
|
||||
#page-report-log-index .paging {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page-report-log-index .logselectform select,
|
||||
#page-report-log-index .logselectform input {
|
||||
margin: 2px 4px;
|
||||
}
|
||||
|
||||
#page-report-loglive-index .generaltable,
|
||||
#page-report-log-index .generaltable {
|
||||
margin: 5px auto;
|
||||
}
|
||||
|
||||
#page-course-loginas #notice {
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
#page-course-reset .generalbox {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* Publication */
|
||||
#page-course-publish-metadata .metadatatext {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#page-course-publish-metadata .hubscreenshot {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#page-course-publish-metadata .hubscreenshot img {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
#page-course-publish-metadata .hubinfo {
|
||||
display: block;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#page-course-publish-backup .courseuploadtextinfo {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#page-course-publish-backup .sharecoursecontinue {
|
||||
text-align: center;
|
||||
}
|
||||
@@ -1,139 +0,0 @@
|
||||
body {
|
||||
font-size: 85%;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
body,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
dl,
|
||||
input,
|
||||
textarea {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.25em;
|
||||
line-height: 1;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.25em;
|
||||
line-height: 1;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.1em;
|
||||
line-height: 1.25;
|
||||
margin-bottom: 0.75em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin: 0 1.5em 1.5em 1.5em;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: circle;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin: 0 0 1.5em 0;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dd {
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
|
||||
abbr,
|
||||
acronym {
|
||||
border-bottom: 1px dotted #000;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-top: 1.5em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
del {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 1.5em;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
em,
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
dfn {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
pre,
|
||||
code {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
tt {
|
||||
font: 1.2em monospace;
|
||||
line-height: 1.5;
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
@@ -1,302 +0,0 @@
|
||||
/*csslint important:false */
|
||||
#intro {
|
||||
border-color: #ddd;
|
||||
margin: 2% 10%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
/*
|
||||
** Needs to be taken out of mod sheets and added
|
||||
** to Base so we can change the following to
|
||||
** just .mod_introbox.
|
||||
*/
|
||||
|
||||
#urlintro,
|
||||
#pageintro,
|
||||
#resourceintro {
|
||||
border-color: #ddd;
|
||||
margin: 0 10% 3%;
|
||||
}
|
||||
|
||||
/* Forums
|
||||
-------------------------*/
|
||||
|
||||
.path-mod-forum .forumheaderlist {
|
||||
border-color: #ddd;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.path-mod-forum .forumheaderlist td {
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.path-mod-forum .forumheaderlist th {
|
||||
text-align: left;
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.path-mod-forum.dir-rtl .forumheaderlist th {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.forumnodiscuss,
|
||||
.path-mod-forum .forumheaderlist .replies {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.forumpost {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.forumpost .content .commands,
|
||||
.forumpost .content .link {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
.forumpost .attachments {
|
||||
font-size: 0.95em;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.forumpost .attachments .icon {
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
|
||||
.forumolddiscuss {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Folder
|
||||
------------------------*/
|
||||
|
||||
.path-mod-folder #pageintro {
|
||||
border-color: #ddd;
|
||||
width: 75%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.path-mod-folder .foldertree {
|
||||
width: 90%;
|
||||
margin: 1.5em auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#page-mod-folder-edit .foldertree {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Chat
|
||||
------------------------*/
|
||||
|
||||
#page-mod-chat-view #enterlink {
|
||||
text-align: center;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#page-mod-chat-view #chatcurrentusers {
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.path-mod-chat.pagelayout-embedded #content {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.path-mod-chat .generaltable,
|
||||
.path-mod-chat .generaltable td,
|
||||
.path-mod-chat .generaltable th {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.chat-message .text .title {
|
||||
font-style: italic;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
#mod-chat-gui_basic #participants ul {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
#mod-chat-gui_basic #participants ul li {
|
||||
list-style: none;
|
||||
padding: 5px 0;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
#mod-chat-gui_basic #participants ul li a {
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#mod-chat-gui_basic #editing {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#mod-chat-gui_basic #editing input {
|
||||
margin: 5px 5px 0;
|
||||
}
|
||||
|
||||
#mod-chat-gui_basic #messages dl {
|
||||
margin: 0 0 5px 1em;
|
||||
}
|
||||
|
||||
#mod-chat-gui_basic #messages dt {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#page-mod-chat-report .generalbox {
|
||||
padding: 10px;
|
||||
width: 50%;
|
||||
margin: 0 auto 1em;
|
||||
}
|
||||
|
||||
#page-mod-chat-report .generalbox p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#page-mod-chat-report #notice {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
/* Choice
|
||||
-------------------------*/
|
||||
|
||||
.path-mod-choice #notice {
|
||||
width: 50%;
|
||||
margin: 1em auto;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.path-mod-choice .results .header,
|
||||
.path-mod-choice td {
|
||||
border-top: 1px solid;
|
||||
border-color: #ddd;
|
||||
}
|
||||
|
||||
.path-mod-choice .count,
|
||||
.path-mod-choice .results .header,
|
||||
.path-mod-choice .data,
|
||||
.path-mod-choice .lastcol {
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.path-mod-choice .col1,
|
||||
.path-mod-choice .c0,
|
||||
.path-mod-choice .lastcol {
|
||||
border-left: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.path-mod-choice .lastrow td {
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.path-mod-choice .count {
|
||||
border-top: 2px solid #ddd;
|
||||
background: #f5f5f5;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
/* Lesson
|
||||
--------------------------*/
|
||||
|
||||
.path-mod-lesson .firstpageoptions {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.path-mod-lesson .centerpadded {
|
||||
text-align: center;
|
||||
display: block;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.path-mod-lesson .edit_pages_box .addlinks {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.path-mod-lesson .feedback {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.path-mod-lesson .password-form .generalbox {
|
||||
padding: 10px;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.path-mod-lesson .center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.path-mod-lesson .ongoing {
|
||||
color: #00f;
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
.path-mod-lesson .clock .content {
|
||||
font-size: 1.2em;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
.path-mod-lesson .leftduring .generalbox {
|
||||
padding: 10px;
|
||||
width: 50%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.path-mod-lesson .correctanswer {
|
||||
margin: 1em auto;
|
||||
width: 50%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.path-mod-lesson .correctanswer .correct {
|
||||
color: #0fb337;
|
||||
}
|
||||
|
||||
#page-mod-lesson-view #pageheader,
|
||||
#page-mod-lesson-view #pageheader legend {
|
||||
border: none;
|
||||
}
|
||||
|
||||
#page-mod-lesson-continue .generalbox {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.branchbuttoncontainer {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.branchbuttoncontainer input {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
/* Resources
|
||||
-------------------------------*/
|
||||
|
||||
.path-mod-page .generalbox {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.resourceworkaround,
|
||||
.urlworkaround,
|
||||
.modified {
|
||||
text-align: center;
|
||||
font-size: 0.85em;
|
||||
color: #777;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
|
||||
/* Quiz
|
||||
--------------------------------*/
|
||||
.que {
|
||||
border-color: #eee;
|
||||
}
|
||||
|
||||
/* SCORM Player
|
||||
-------------------------*/
|
||||
#page-mod-scorm-player div.singleselect {
|
||||
margin: -20px 0 0;
|
||||
}
|
||||
@@ -1,90 +0,0 @@
|
||||
#page-content #region-main-box {
|
||||
left: 210px; /* Width of left sideblock */
|
||||
}
|
||||
|
||||
#page-content #region-post-box {
|
||||
margin-left: -420px; /* Twice width of left sideblock */
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
#page-content #region-main {
|
||||
margin-left: 420px; /* Twice width of left sideblock */
|
||||
padding: 0 15px; /* Padding around middle column */
|
||||
}
|
||||
|
||||
#page-content #region-pre {
|
||||
left: 210px; /* Width of left sideblock */
|
||||
width: 210px; /* Width of left sideblock */
|
||||
}
|
||||
|
||||
#page-content #region-post {
|
||||
width: 210px; /* Width of right sideblock */
|
||||
}
|
||||
|
||||
#page-content #region-main-box .region-content {
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
|
||||
/** Only side pre **/
|
||||
|
||||
.side-pre-only #page-content #region-post-box {
|
||||
margin-left: -210px;
|
||||
}
|
||||
|
||||
.side-pre-only #page-content #region-main {
|
||||
margin-left: 210px;
|
||||
}
|
||||
|
||||
/** Only side post **/
|
||||
|
||||
.side-post-only #page-content #region-post-box {
|
||||
margin-left: -210px;
|
||||
}
|
||||
|
||||
.side-post-only #page-content #region-main {
|
||||
margin-left: 210px;
|
||||
}
|
||||
|
||||
.has_dock.side-post-only .page-middle #region-main-box #region-post-box #region-main-wrap #region-main {
|
||||
margin-left: 210px;
|
||||
}
|
||||
|
||||
/** Moving blocks when side-post-only **/
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-main-box {
|
||||
left: 210px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-post-box {
|
||||
margin-left: -420px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-main {
|
||||
margin-left: 420px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-pre {
|
||||
left: 210px;
|
||||
width: 210px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-post-only #page-content #region-post {
|
||||
width: 210px;
|
||||
}
|
||||
|
||||
/** Moving block when side pre only **/
|
||||
.blocks-moving.side-pre-only #page-content #region-post-box {
|
||||
margin-left: -420px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-pre-only #page-content #region-main {
|
||||
margin-left: 420px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-pre-only #page-content #region-pre {
|
||||
left: 210px;
|
||||
}
|
||||
|
||||
.blocks-moving.side-pre-only #page-content #region-post {
|
||||
width: 210px;
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
/*csslint important:false */
|
||||
|
||||
body.pagelayout-popup {
|
||||
background: #fff !important;
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
.editcourse th,
|
||||
.editcourse td,
|
||||
.generaltable th,
|
||||
.generaltable td,
|
||||
#page-admin-course-manage .generalbox th,
|
||||
#page-admin-course-manage .generalbox td,
|
||||
#attempts th,
|
||||
#attempts td,
|
||||
.environmenttable th,
|
||||
.environmenttable td,
|
||||
.forumheaderlist td,
|
||||
.forumheaderlist th {
|
||||
border: 1px solid #ddd;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
#page-admin-course-manage .generalbox th,
|
||||
.editcourse .header,
|
||||
.results .header,
|
||||
#attempts .header,
|
||||
.generaltable .header,
|
||||
.environmenttable th,
|
||||
.forumheaderlist th {
|
||||
background: #f3f3f3;
|
||||
border-bottom-width: 2px;
|
||||
}
|
||||
@@ -1,161 +0,0 @@
|
||||
.tabtree ul {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 {
|
||||
width: 100%;
|
||||
margin: 1em 0px;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li {
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li.here {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li.here a {
|
||||
position: relative;
|
||||
z-index: 102;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li a {
|
||||
background: #f7f7f7;
|
||||
padding: 8px 10px 5px;
|
||||
border-width: 2px 2px 0;
|
||||
border-style: solid;
|
||||
border-color: #ddd;
|
||||
margin: 0 2px;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 .here a {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li a:hover {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 ul,
|
||||
.tabtree .tabrow0 div {
|
||||
font-weight: normal;
|
||||
border-top: 2px solid #ddd;
|
||||
padding: 0.25em 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 li.here .empty {
|
||||
display: block;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
padding: 0px;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom: -4px;
|
||||
}
|
||||
|
||||
.tabtree .tabrow0 .tabrow1 {
|
||||
padding: 5px 0 2px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
.tabtree .tabrow1 li a,
|
||||
.tabtree .tabrow1 li a:hover,
|
||||
.tabtree .tabrow1 li a span,
|
||||
.tabtree .tabrow1 li a:hover span {
|
||||
padding: 0 10px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.tabtree a.nolink,
|
||||
.tabtree .here ul a.nolink,
|
||||
.tabtree a.nolink:hover,
|
||||
.tabtree .here ul a.nolink:hover {
|
||||
color: #888;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.tabtree .here a.nolink,
|
||||
.tabtree .here ul .here a.nolink,
|
||||
.tabtree .here a.nolink:hover,
|
||||
.tabtree .here ul .here a.nolink:hover {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ie7 .tabtree .tabrow0 li {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.ie7 .tabtree .tabrow0 li.first {
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
.ie7 .tabtree .tabrow0 li.onerow {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.ie7 .tabtree .tabrow0 a {
|
||||
display: inline-block;
|
||||
padding: 8px 0 0.35em 13px;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.ie7 .tabtree .tabrow0 a span {
|
||||
padding: 10px 1em 10px 0;
|
||||
}
|
||||
|
||||
.ie7 .tabtree .tabrow0 div {
|
||||
top: 2.6em;
|
||||
padding: 0.2em 0;
|
||||
}
|
||||
|
||||
.ie7 .tabtree .tabrow0 div.empty {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.ie7.mod-quiz div.tabtree a span img.iconsmall {
|
||||
margin: 0;
|
||||
vertical-align: baseline;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
.ie6 .tabtree {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.ie6 .tabtree .tabrow0 {
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.ie6 .tabtree .tabrow0 li {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.ie6 .tabtree .tabrow0 li.first {
|
||||
margin-left: -4px;
|
||||
margin-right: -4px;
|
||||
}
|
||||
|
||||
.ie6 .tabtree .tabrow0 li.last a {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.ie6 .tabtree .tabrow0 li.onerow {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.ie6 .tabtree .tabrow0 a {
|
||||
padding: 0 0 0 13px;
|
||||
}
|
||||
|
||||
.ie6 .tabtree .tabrow0 a span {
|
||||
padding: 12px 1em 4px 0;
|
||||
}
|
||||
|
||||
.ie6 .tabtree .tabrow0 div {
|
||||
top: 3.5em;
|
||||
padding: 0.2em 0;
|
||||
}
|
||||
@@ -1,169 +0,0 @@
|
||||
/* Text Elements
|
||||
--------------------------*/
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
p,
|
||||
ul,
|
||||
ol,
|
||||
dl,
|
||||
input,
|
||||
textarea {
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.25em;
|
||||
line-height: 1;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.25em;
|
||||
line-height: 1;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1.1em;
|
||||
line-height: 1.25;
|
||||
margin-bottom: 0.75em;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0 0 1em;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: circle;
|
||||
}
|
||||
|
||||
ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin: 0 0 1.5em 0;
|
||||
}
|
||||
|
||||
dl dt {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
dl dd {
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
|
||||
abbr,
|
||||
acronym {
|
||||
border-bottom: 1px dotted #000;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-top: 1.5em;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
del {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 1.5em;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
em,
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
dfn {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
pre,
|
||||
code {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
tt {
|
||||
font: 1.2em monospace;
|
||||
line-height: 1.5;
|
||||
margin: 1.5em 0;
|
||||
}
|
||||
|
||||
.small {
|
||||
font-size: .8em;
|
||||
margin-bottom: 1.875em;
|
||||
line-height: 1.875em;
|
||||
}
|
||||
|
||||
.large {
|
||||
font-size: 1.25em;
|
||||
line-height: 1.5em;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.quiet {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.hide {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.icon.hide {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
background: #ffc;
|
||||
}
|
||||
|
||||
.top {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Theme version info
|
||||
*
|
||||
* @package theme_canvas
|
||||
* @copyright 2010 Patrick Malley
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$plugin->version = 2016052300; // The current module version (Date: YYYYMMDDXX)
|
||||
$plugin->requires = 2016051900; // Requires this Moodle version
|
||||
$plugin->component = 'theme_canvas'; // Full name of the plugin (used for diagnostics)
|
||||
$plugin->dependencies = array(
|
||||
'theme_base' => 2016051900,
|
||||
);
|
||||
@@ -8,6 +8,12 @@ information provided here is intended especially for theme designer.
|
||||
to implement specific theme settings:
|
||||
* $OUTPUT->get_logo_url($maxwidth, $maxheight);
|
||||
* $OUTPUT->get_compact_logo_url($maxwidth, $maxheight);
|
||||
Removed themes:
|
||||
* base, canvas
|
||||
During the upgrade process the themes will be uninstalled and all their settings will be deleted.
|
||||
If you wish to keep your theme and its settings, download it from moodle.org and put it back in
|
||||
the theme/ directory BEFORE UPGRADING.
|
||||
* CLI svgtool.php has moved from theme/base/cli to admin/cli and paths should be relative to the new location.
|
||||
|
||||
=== 3.1 ===
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$version = 2016091500.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
$version = 2016091900.00; // YYYYMMDD = weekly release date of this DEV branch.
|
||||
// RR = release increments - 00 in DEV branches.
|
||||
// .XX = incremental changes.
|
||||
|
||||
|
||||