From ca194849f09fae694c8aa5755b0136221b011024 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 6 Oct 2010 07:38:34 +0000 Subject: [PATCH] themes-base MDL-16319 Base theme now has an editor sheet and sets a default font size --- lib/outputlib.php | 2 +- theme/base/config.php | 2 +- theme/base/style/editor.css | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 theme/base/style/editor.css diff --git a/lib/outputlib.php b/lib/outputlib.php index 09b4a14211b..dce2607a409 100644 --- a/lib/outputlib.php +++ b/lib/outputlib.php @@ -577,7 +577,7 @@ class theme_config { continue; } foreach ($parent_config->editor_sheets as $sheet) { - $sheetfile = "$parent_config->dir/$sheet.css"; + $sheetfile = "$parent_config->dir/style/$sheet.css"; if (is_readable($sheetfile)) { $files['parent_'.$parent_config->name.'_'.$sheet] = $sheetfile; } diff --git a/theme/base/config.php b/theme/base/config.php index a078d3b097d..4364170ae59 100644 --- a/theme/base/config.php +++ b/theme/base/config.php @@ -51,7 +51,7 @@ $THEME->sheets = array( 'user' ); -$THEME->editor_sheets = array(); +$THEME->editor_sheets = array('editor'); $THEME->layouts = array( // Most backwards compatible layout without the blocks - this is the layout used by default diff --git a/theme/base/style/editor.css b/theme/base/style/editor.css new file mode 100644 index 00000000000..a973d7d3683 --- /dev/null +++ b/theme/base/style/editor.css @@ -0,0 +1 @@ +body {font:13px/1.231 arial,helvetica,clean,sans-serif;} \ No newline at end of file