mirror of
https://github.com/moodle/moodle.git
synced 2025-03-12 19:54:08 +01:00
Squashed commit of the following: commit 2c2164a7e27bd2b81102251420892386e39edecc Author: Mary Evans <lazydaisy@visible-expression.co.uk> Date: Tue Aug 20 12:59:47 2013 +0100 MDL-40347 theme: Modified upgrade.txt and created bootstrapbase/upgrade.txt. commit 4449975a0f9249785ed152f63786bf7974c1776e Author: Mary Evans <lazydaisy@visible-expression.co.uk> Date: Tue Aug 13 18:42:20 2013 +0100 MDL-40347 grade/report/grader: added RTL css previously in bootstrapbase/less/moodle/grade.less to styles.css commit b0af8f05a411b3dbb1d9c162a0d65c7f9c069c0f Author: Mary Evans <lazydaisy@visible-expression.co.uk> Date: Tue Aug 13 12:42:02 2013 +0100 MDL-40347_M26 grade/report/grader: cleaned up grade/report/grader/styles.css. commit 52627137dc662d47cbfdf023d056baf102f29d8a Author: Mary Evans <lazydaisy@visible-expression.co.uk> Date: Sat Jul 6 17:15:12 2013 +0100 MDL-40347 grade/report/grader: Grade report does not highlight some cells properly. Merged/squashed original commit by Marina Glancy who: - added class 'i123' to each cell in the column - changed JS to highlight the cells with this class instead that cells with the column number - changed grade report css so the .vmarked and .hmarked classes have higher priority for all rows - made cells in 'average range' row td instead of th - little corrections to css: removed background image for some cells with .header css class - MyMobile theme disabled cells highlighting, make sure it disables it in all cases Merged/squashed original commit Mary Evans who: - removed theme/bootstrapbase/less/moodle/grade.less - removed @import "moodle/grade"; from bootstrapbase/less/moodle.less - removed reference to plugins_exclude_sheets for grader in both bootstrapbase/config.php and clean themes/config.php - commented out .hidden from bootstrapbase/less/bootstrap/responsive_utilities.less - made minor changes to grader/style.css
59 lines
1.9 KiB
PHP
59 lines
1.9 KiB
PHP
<?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/>.
|
|
|
|
/**
|
|
* Moodle's Clean theme, an example of how to make a Bootstrap theme
|
|
*
|
|
* DO NOT MODIFY THIS THEME!
|
|
* COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
|
|
*
|
|
* For full information about creating Moodle themes, see:
|
|
* http://docs.moodle.org/dev/Themes_2.0
|
|
*
|
|
* @package theme_clean
|
|
* @copyright 2013 Moodle, moodle.org
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
$THEME->name = 'clean';
|
|
|
|
/////////////////////////////////
|
|
// The only thing you need to change in this file when copying it to
|
|
// create a new theme is the name above. You also need to change the name
|
|
// in version.php and lang/en/theme_clean.php as well.
|
|
//////////////////////////////////
|
|
//
|
|
$THEME->doctype = 'html5';
|
|
$THEME->parents = array('bootstrapbase');
|
|
$THEME->sheets = array('custom');
|
|
$THEME->supportscssoptimisation = false;
|
|
$THEME->yuicssmodules = array();
|
|
|
|
$THEME->editor_sheets = array();
|
|
|
|
$THEME->plugins_exclude_sheets = array(
|
|
'block' => array(
|
|
'html',
|
|
),
|
|
);
|
|
|
|
$THEME->rendererfactory = 'theme_overridden_renderer_factory';
|
|
$THEME->csspostprocess = 'theme_clean_process_css';
|
|
|
|
$THEME->blockrtlmanipulations = array(
|
|
'side-pre' => 'side-post',
|
|
'side-post' => 'side-pre'
|
|
); |