{{! 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 . }} {{! @template format_tiles/inline_css Inline css template. The purpose of this template is to render inline CSS to change the colour of various items according to plugin or course settings These can be changed by the user so have to be included dynamically rather than in a status css file Classes required for JS: * none Data attributes required for JS: * none Context variables required for this template: * base_colour - base colour for this course (i.e. tile top border colour) * tile_light_colour - lighter version of it (for tile background) * tile_hover_colour - tile hover colour * button_hover_colour - button hover colour * shade_heading_bar - do we add a coloured bar to left of headings? (course setting) Example context (json): { "base_colour": "rgba(119,37,131, 1)", "tile_light_colour": "rgba(119,37,131, 0.05)", "tile_hover_colour": "#ED8B00", "button_hover_colour": "rgba(119,37,131, 0.1)", "shade_heading_bar": 0 } }} {{#custom_css}}{{/custom_css}}