editor-css MDL-16319 Set default font for the core moodle themes
[moodle.git] / theme / sky_high / config.php
CommitLineData
dc38e364
S
1<?php
2
3// This file is part of Moodle - http://moodle.org/
4//
5// Moodle is free software: you can redistribute it and/or modify
6// it under the terms of the GNU General Public License as published by
7// the Free Software Foundation, either version 3 of the License, or
8// (at your option) any later version.
9//
10// Moodle is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
17
18/**
dc38e364 19 *
ed5d13c0
PS
20 *
21 * DO NOT MODIFY THIS THEME!
dc38e364
S
22 * COPY IT FIRST, THEN RENAME THE COPY AND MODIFY IT INSTEAD.
23 *
24 * For full information about creating Moodle themes, see:
25 * http://docs.moodle.org/en/Development:Themes_2.0
26 *
27 * @package moodlecore
28 */
29
30$THEME->name = 'sky_high';
31
32////////////////////////////////////////////////////
33// Name of the theme. Most likely the name of
ed5d13c0 34// the directory in which this file resides.
dc38e364
S
35////////////////////////////////////////////////////
36
37
38$THEME->parents = array(
39 'canvas',
40 'base',
41);
42
43/////////////////////////////////////////////////////
44// Which existing theme(s) in the /theme/ directory
ed5d13c0
PS
45// do you want this theme to extend. A theme can
46// extend any number of themes. Rather than
47// creating an entirely new theme and copying all
48// of the CSS, you can simply create a new theme,
49// extend the theme you like and just add the
dc38e364
S
50// changes you want to your theme.
51////////////////////////////////////////////////////
52
53
54$THEME->sheets = array(
55 'core',
56 'pagelayout',
57 'menu'
58);
59
60////////////////////////////////////////////////////
ed5d13c0 61// Name of the stylesheet(s) you've including in
dc38e364
S
62// this theme's /styles/ directory.
63////////////////////////////////////////////////////
64
65$THEME->parents_exclude_sheets = array(
66 'base'=>array(
ed5d13c0 67 'pagelayout',
dc38e364
S
68 ),
69 'canvas'=>array(
70 'pagelayout',
71 ),
72);
73
74
75$THEME->enable_dock = true;
76
77////////////////////////////////////////////////////
78// Do you want to use the new navigation dock?
79////////////////////////////////////////////////////
80
81
6c0fb99b 82$THEME->editor_sheets = array('editor');
dc38e364
S
83
84////////////////////////////////////////////////////
ed5d13c0 85// An array of stylesheets to include within the
dc38e364
S
86// body of the editor.
87////////////////////////////////////////////////////
88
89$THEME->layouts = array(
90 'base' => array(
91 'file' => 'general.php',
92 'regions' => array('side-pre', 'side-post'),
93 'defaultregion' => 'side-post',
94 ),
95 'standard' => array(
96 'file' => 'general.php',
97 'regions' => array('side-pre', 'side-post'),
98 'defaultregion' => 'side-post',
99 ),
100 'course' => array(
101 'file' => 'general.php',
102 'regions' => array('side-pre', 'side-post'),
103 'defaultregion' => 'side-post'
104 ),
105 'coursecategory' => array(
106 'file' => 'general.php',
107 'regions' => array('side-pre', 'side-post'),
108 'defaultregion' => 'side-post',
109 ),
110 'incourse' => array(
111 'file' => 'general.php',
112 'regions' => array('side-pre', 'side-post'),
113 'defaultregion' => 'side-post',
114 ),
115 'frontpage' => array(
116 'file' => 'frontpage.php',
117 'regions' => array('side-pre', 'side-post'),
118 'defaultregion' => 'side-post',
119 ),
120 'admin' => array(
121 'file' => 'general.php',
122 'regions' => array('side-pre'),
123 'defaultregion' => 'side-pre',
124 ),
125 'mydashboard' => array(
126 'file' => 'general.php',
127 'regions' => array('side-pre', 'side-post'),
128 'defaultregion' => 'side-post',
129 'options' => array('langmenu'=>true),
130 ),
131 'mypublic' => array(
132 'file' => 'general.php',
133 'regions' => array('side-pre', 'side-post'),
134 'defaultregion' => 'side-post',
135 ),
136 'login' => array(
137 'file' => 'general.php',
138 'regions' => array(),
139 'options' => array('langmenu'=>true),
140 ),
141 'popup' => array(
142 'file' => 'general.php',
143 'regions' => array(),
144 'options' => array('nofooter'=>true, 'noblocks'=>true, 'nonavbar'=>true),
145 ),
146 'frametop' => array(
147 'file' => 'general.php',
148 'regions' => array(),
149 'options' => array('nofooter'=>true),
150 ),
151 'maintenance' => array(
152 'file' => 'general.php',
153 'regions' => array(),
154 'options' => array('nofooter'=>true, 'nonavbar'=>true),
155 ),
156 'embedded' => array(
157 'theme' => 'canvas',
158 'file' => 'embedded.php',
159 'regions' => array(),
160 'options' => array('nofooter'=>true, 'nonavbar'=>true),
161 ),
ed5d13c0
PS
162 // Should display the content and basic headers only.
163 'print' => array(
164 'file' => 'general.php',
165 'regions' => array(),
166 'options' => array('nofooter'=>true, 'nonavbar'=>false, 'noblocks'=>true),
167 ),
168
dc38e364
S
169);
170
171///////////////////////////////////////////////////////////////
172// These are all of the possible layouts in Moodle. The
173// simplest way to do this is to keep the theme and file
174// variables the same for every layout. Including them
175// all in this way allows some flexibility down the road
176// if you want to add a different layout template to a
177// specific page.
178///////////////////////////////////////////////////////////////
179
180$THEME->csspostprocess = 'sky_high_process_css';
ed5d13c0 181
dc38e364 182////////////////////////////////////////////////////
ed5d13c0
PS
183// Allows the user to provide the name of a function
184// that all CSS should be passed to before being
dc38e364
S
185// delivered.
186////////////////////////////////////////////////////
187
188// $THEME->filter_mediaplugin_colors
189
190////////////////////////////////////////////////////
ed5d13c0 191// Used to control the colours used in the small
dc38e364
S
192// media player for the filters
193////////////////////////////////////////////////////
194
ed5d13c0 195// $THEME->javascripts
dc38e364
S
196
197////////////////////////////////////////////////////
198// An array containing the names of JavaScript files
ed5d13c0 199// located in /javascript/ to include in the theme.
dc38e364
S
200// (gets included in the head)
201////////////////////////////////////////////////////
202
ed5d13c0 203// $THEME->javascripts_footer
dc38e364
S
204
205////////////////////////////////////////////////////
206// As above but will be included in the page footer.
207////////////////////////////////////////////////////
208
ed5d13c0 209// $THEME->larrow
dc38e364
S
210
211////////////////////////////////////////////////////
ed5d13c0 212// Overrides the left arrow image used throughout
dc38e364
S
213// Moodle
214////////////////////////////////////////////////////
215
ed5d13c0 216// $THEME->rarrow
dc38e364
S
217
218////////////////////////////////////////////////////
219// Overrides the right arrow image used throughout Moodle
220////////////////////////////////////////////////////
221
ed5d13c0 222// $THEME->layouts
dc38e364
S
223
224////////////////////////////////////////////////////
225// An array setting the layouts for the theme
226////////////////////////////////////////////////////
227
228// $THEME->parents_exclude_javascripts
229
230////////////////////////////////////////////////////
231// An array of JavaScript files NOT to inherit from
232// the themes parents
233////////////////////////////////////////////////////
234
ed5d13c0 235// $THEME->parents_exclude_sheets
dc38e364
S
236
237////////////////////////////////////////////////////
238// An array of stylesheets not to inherit from the
239// themes parents
240////////////////////////////////////////////////////
241
242// $THEME->plugins_exclude_sheets
243
244////////////////////////////////////////////////////
ed5d13c0 245// An array of plugin sheets to ignore and not
dc38e364
S
246// include.
247////////////////////////////////////////////////////
248
249// $THEME->renderfactory
250
251////////////////////////////////////////////////////
ed5d13c0 252// Sets a custom render factory to use with the
dc38e364
S
253// theme, used when working with custom renderers.
254////////////////////////////////////////////////////
255
256// $THEME->resource_mp3player_colors
257
258////////////////////////////////////////////////////
ed5d13c0 259// Controls the colours for the MP3 player
dc38e364 260////////////////////////////////////////////////////