mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-48328 theme_bootstrapbase: lessc is failing to compile our less.
This commit is contained in:
parent
4c27f52d91
commit
d439eeb0fc
3 changed files with 21408 additions and 8 deletions
|
@ -589,8 +589,8 @@
|
||||||
.offset (@columns) {
|
.offset (@columns) {
|
||||||
margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns + 1));
|
margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns + 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.span (@columns) {
|
.span (@columns) {
|
||||||
|
// The logic from here was copied to less/bootstrap/navbar.less#L200.
|
||||||
width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
|
width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -196,7 +196,8 @@
|
||||||
.navbar-static-top .container,
|
.navbar-static-top .container,
|
||||||
.navbar-fixed-top .container,
|
.navbar-fixed-top .container,
|
||||||
.navbar-fixed-bottom .container {
|
.navbar-fixed-bottom .container {
|
||||||
#grid > .core > .span(@gridColumns);
|
// This is a Moodle hack - please see less/bootstrap/mixins.less#L593.
|
||||||
|
width: (@gridColumnWidth * @gridColumns) + (@gridGutterWidth * (@gridColumns - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fixed to top
|
// Fixed to top
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue