mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
Merge branch 'MDL-48328_M29' of git://github.com/lazydaisy/moodle
Conflicts: theme/bootstrapbase/style/moodle.css
This commit is contained in:
commit
336314812f
@ -317,9 +317,9 @@
|
||||
// Default value is `visible`, but can be changed to `hidden
|
||||
// See git pull https://github.com/dannykeane/bootstrap.git backface-visibility for examples
|
||||
.backface-visibility(@visibility){
|
||||
-webkit-backface-visibility: @visibility;
|
||||
-moz-backface-visibility: @visibility;
|
||||
backface-visibility: @visibility;
|
||||
-webkit-backface-visibility: @visibility;
|
||||
-moz-backface-visibility: @visibility;
|
||||
backface-visibility: @visibility;
|
||||
}
|
||||
|
||||
// Background clipping
|
||||
@ -589,8 +589,8 @@
|
||||
.offset (@columns) {
|
||||
margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns + 1));
|
||||
}
|
||||
|
||||
.span (@columns) {
|
||||
// The logic from here was copied to less/bootstrap/navbar.less#L200.
|
||||
width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
|
||||
}
|
||||
|
||||
@ -634,7 +634,7 @@
|
||||
|
||||
.offset (@columns) {
|
||||
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) {
|
||||
|
@ -196,7 +196,8 @@
|
||||
.navbar-static-top .container,
|
||||
.navbar-fixed-top .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
|
||||
|
@ -1,4 +1,4 @@
|
||||
Discription of Twitter bootstrap import into Moodle
|
||||
Description of Twitter bootstrap import into Moodle
|
||||
|
||||
Twitter bootstrap
|
||||
-----------------
|
||||
@ -11,6 +11,7 @@ To update to the latest release of twitter bootstrap:
|
||||
* remove all files from less/bootstrap,
|
||||
* download the new less files and store them in less/bootstrap
|
||||
* Apply change in MDL-42195 (We don't want responsive images by default).
|
||||
* Apply change in MDL-48328 (We need to reset the width of the container directly, in ./less/bootstrap/navbar.less, using the calculated value found in ./less/bootstrap/mixin.less).
|
||||
* regenerate files using recess: recess --compile --compress moodle.less > ../style/moodle.css **
|
||||
* regenerate files using recess: recess --compile --compress editor.less > ../style/editor.css **
|
||||
* update ./thirdpartylibs.xml
|
||||
|
Loading…
x
Reference in New Issue
Block a user