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
|
@ -317,9 +317,9 @@
|
||||||
// Default value is `visible`, but can be changed to `hidden
|
// Default value is `visible`, but can be changed to `hidden
|
||||||
// See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
|
// See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
|
||||||
.backface-visibility(@visibility){
|
.backface-visibility(@visibility){
|
||||||
-webkit-backface-visibility: @visibility;
|
-webkit-backface-visibility: @visibility;
|
||||||
-moz-backface-visibility: @visibility;
|
-moz-backface-visibility: @visibility;
|
||||||
backface-visibility: @visibility;
|
backface-visibility: @visibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Background clipping
|
// Background clipping
|
||||||
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -634,7 +634,7 @@
|
||||||
|
|
||||||
.offset (@columns) {
|
.offset (@columns) {
|
||||||
margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) + (@fluidGridGutterWidth*2);
|
margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) + (@fluidGridGutterWidth*2);
|
||||||
*margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%) + (@fluidGridGutterWidth*2) - (.5 / @gridRowWidth * 100 * 1%);
|
*margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%) + (@fluidGridGutterWidth*2) - (.5 / @gridRowWidth * 100 * 1%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.offsetFirstChild (@columns) {
|
.offsetFirstChild (@columns) {
|
||||||
|
|
|
@ -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