de59cb0326a9b49c4902584d4e25194deab29664
[moodle.git] / theme / bootstrapbase / less / moodle.less
1 // Import the bootstrap variables.
2 @import "bootstrap/variables.less";
4 // Old Moodle stuff from base theme.
5 // Massive, needs broken up.
6 @import "moodle/core";
7 @import "moodle/admin";
8 @import "moodle/calendar";
9 @import "moodle/course";
10 @import "moodle/filemanager";
11 @import "moodle/message";
12 @import "moodle/question";
13 @import "moodle/user";
16 // Upstream Bootstrap.
17 @import "bootstrap/bootstrap";
19 // Override Bootstrap defaults.
20 @import "moodle/bootstrapoverride";
22 // Set image location.
23 @iconSpritePath:          ~"[[pix:theme|glyphicons-halflings]]";
24 @iconWhiteSpritePath:     ~"[[pix:theme|glyphicons-halflings-white]]";
26 // Increase form label width.
27 @horizontalComponentOffset: 200px;
28 // On Wider screens.
29 @horizontalComponentOffset980: 220px;
30 @horizontalComponentOffset1200: 265px;
32 // Roll back nameclashes.
33 @import "moodle/undo";
35 // Extra padding for fixed nav.
36 // Needs to be between bootstrap/bootstrap and
37 // bootstrap/responsive.
38 body {
39     padding-top: 60px;
40 }
42 // New Moodle stuff that builds on Bootstrap.
43 @import "moodle/blocks";
44 @import "moodle/forms";
45 @import "moodle/modules";
46 @import "moodle/chat";
47 @import "moodle/reports";
48 @import "moodle/backup-restore";
49 @import "moodle/tables";
50 @import "moodle/buttons";
51 @import "moodle/grade";
52 @import "moodle/dock";
54 // Anything below this line is considered expendable,
55 // so it doesn't matter if it doesn't show up in ie < 9
56 // though at current time (2013-03-13) the whole file is
57 // picked up in IE8, and IE9 fails at some point during the
58 // responsive section, cutting off the last 400 selectors.
60 // The following responsive imports are copied in
61 // from "bootstrap/responsive".
62 @import "bootstrap/responsive-utilities.less";
63 @import "bootstrap/responsive-1200px-min.less";
64 @import "bootstrap/responsive-768px-979px.less";
65 @import "bootstrap/responsive-767px-max.less";
66 @import "bootstrap/responsive-navbar.less";
67 @import "moodle/responsive";
69 @import "moodle/debug";
70 @import "moodle/expendable";