MDL-40670 Theme: Rescale headings overriding bootstrap defaults
[moodle.git] / theme / bootstrapbase / readme_moodle.txt
CommitLineData
8903b17b
BB
1Discription of Twitter bootstrap import into Moodle
2
3Twitter bootstrap
4-----------------
5The bootstrap theme uses the original unmodified version 2.3.0 Twitter bootstrap less files. These are
6Object Oriented CSS files. The bootstrap repository is available on:
7
8https://github.com/twitter/bootstrap.git
9
10To update to the latest release of twitter bootstrap:
11* remove all files from less/bootstrap,
12* download the new less files and store them in less/bootstrap
36f33e3c
DW
13* regenerate files using recess: recess --compile --compress moodle.less > ../style/moodle.css **
14* regenerate files using recess: recess --compile --compress editor.less > ../style/editor.css **
c985d121 15* update lib/thirdpartylibs.xml
8903b17b
BB
16
17** If you want to make changes to the .css generated from these .less files then you
18need to install recess (https://github.com/twitter/recess) to compile the .less files,
4f100820 19then run these commands in the bootstrapbase/less/ folder:
8903b17b
BB
20
21
22html5shiv.js
23------------
24This theme uses the original unmodified html5shiv.js JavaScript library to enable HTML5 tags in IE7 and IE8.
25This library is available on:
26
27https://github.com/aFarkas/html5shiv/blob/master/src/html5shiv.js
28
c985d121
DW
29To update to the latest release of html5shiv:
30* download and replace: javascript/html5shiv.js
31* update lib/thirdpartylibs.xml
8903b17b
BB
32
33bootstrapcollapse.js, bootstrapdropdown.js, bootstrapengine.js
34--------------------------------------------------------------
c985d121 35This theme uses YUI ports of the Twitter bootstrap jQuery based libs. These ported files are available on:
8903b17b
BB
36
37https://github.com/jshirley/yui3-gallery/blob/master/src/gallery-bootstrap-collapse/js/bootstrap-collapse.js
38https://github.com/jshirley/yui3-gallery/blob/master/src/gallery-bootstrap-dropdown/js/bootstrap-dropdown.js
39https://github.com/jshirley/yui3-gallery/blob/master/src/gallery-bootstrap-engine/js/bootstrap-engine.js
40
41The content of these files are slightly modified to make sure all required YUI libraries are loaded. To achieve
42that the first and last line of each of these files has been modified.
43
44The YUI port of the Twitter bootstrap libs are now longer maintained. If you need all of the Bootstrap JavaScript
45functionality consider switching to the original jQuery version of these file
46
47If you do want to update use these file locations:
4f100820
DW
48theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-collapse.js
49theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-dropdown.js
50theme/bootstrapbase/yui/src/bootstrap/js/bootstrap-engine.js