MDL-54708 message: add notification popover to nav bar
[moodle.git] / theme / bootstrapbase / less / moodle.less
CommitLineData
8bfd530b
SH
1// Import the bootstrap variables.
2@import "bootstrap/variables.less";
3
8903b17b 4// Old Moodle stuff from base theme.
c985d121
DW
5// Massive, needs broken up.
6@import "moodle/core";
8903b17b
BB
7@import "moodle/admin";
8@import "moodle/calendar";
9@import "moodle/course";
10@import "moodle/filemanager";
8903b17b
BB
11@import "moodle/message";
12@import "moodle/question";
13@import "moodle/user";
4040c8b3 14@import "moodle/search";
a0e358a6 15@import "moodle/popover";
8903b17b
BB
16
17
c985d121 18// Upstream Bootstrap.
8903b17b
BB
19@import "bootstrap/bootstrap";
20
dc975966
BR
21// Override Bootstrap defaults.
22@import "moodle/bootstrapoverride";
23
c985d121 24// Set image location.
8903b17b
BB
25@iconSpritePath: ~"[[pix:theme|glyphicons-halflings]]";
26@iconWhiteSpritePath: ~"[[pix:theme|glyphicons-halflings-white]]";
27
31614004 28// Increase form label width.
d727e9d6 29@horizontalComponentOffset: 200px;
31614004 30// On Wider screens.
bfb1c6d4
JF
31@horizontalComponentOffset980: 220px;
32@horizontalComponentOffset1200: 265px;
33
24c7fd00
SH
34// We need to darken the link colour as its contrast is too low for accessibility tests.
35// Bootstrap defines - @linkColor: #08c;
36// We only need to darken this ever so slightly - so 7%;
37// Calculated with => @linkColor: darken(#08c, 7%);
38@linkColor: #0070a8;
39@linkColorHover: darken(@linkColor, 15%);
40
c985d121 41// Roll back nameclashes.
8903b17b
BB
42@import "moodle/undo";
43
c985d121
DW
44// Extra padding for fixed nav.
45// Needs to be between bootstrap/bootstrap and
46// bootstrap/responsive.
8903b17b
BB
47body {
48 padding-top: 60px;
49}
50
c985d121 51// New Moodle stuff that builds on Bootstrap.
8903b17b
BB
52@import "moodle/blocks";
53@import "moodle/forms";
2bcef559 54@import "moodle/modal";
8903b17b 55@import "moodle/modules";
fcb2b77f 56@import "moodle/chat";
70d7e914 57@import "moodle/reports";
8903b17b
BB
58@import "moodle/backup-restore";
59@import "moodle/tables";
60@import "moodle/buttons";
138eb087 61@import "moodle/grade";
a799631b 62@import "moodle/dock";
8903b17b 63
a317a83b
JP
64// Styles for mustache templates.
65@import "moodle/templates";
66
c985d121 67// Anything below this line is considered expendable,
8903b17b
BB
68// so it doesn't matter if it doesn't show up in ie < 9
69// though at current time (2013-03-13) the whole file is
70// picked up in IE8, and IE9 fails at some point during the
71// responsive section, cutting off the last 400 selectors.
72
c985d121
DW
73// The following responsive imports are copied in
74// from "bootstrap/responsive".
8903b17b
BB
75@import "bootstrap/responsive-utilities.less";
76@import "bootstrap/responsive-1200px-min.less";
77@import "bootstrap/responsive-768px-979px.less";
78@import "bootstrap/responsive-767px-max.less";
79@import "bootstrap/responsive-navbar.less";
80@import "moodle/responsive";
8903b17b
BB
81@import "moodle/debug";
82@import "moodle/expendable";