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