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