diff options
| author | Mark Otto <[email protected]> | 2012-01-29 16:58:51 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-29 16:58:51 -0800 |
| commit | fda77e69eb825f6b098a303fedcc96d257b4b050 (patch) | |
| tree | 31199c1eca0b0686085b48725b87207315aeb108 /less/grid.less | |
| parent | b078050702d92551ab53545edfb484f39511278e (diff) | |
| download | bootstrap-fda77e69eb825f6b098a303fedcc96d257b4b050.tar.xz bootstrap-fda77e69eb825f6b098a303fedcc96d257b4b050.zip | |
move vars and mixins for default grid back to appropriate files
Diffstat (limited to 'less/grid.less')
| -rw-r--r-- | less/grid.less | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/less/grid.less b/less/grid.less index 4493d0b95..2ef767a4a 100644 --- a/less/grid.less +++ b/less/grid.less @@ -2,31 +2,6 @@ // ----------- -// Default grid sizing -// ------------------- -@gridColumns: 12; -@gridColumnWidth: 60px; -@gridGutterWidth: 20px; - -@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); -@gridTotalWidth: @gridRowWidth; - - -// Columns and offseting mixins -// ---------------------------- -.columns(@columns: 1) { - //width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)); - width: @gridTotalWidth * ((((@gridGutterWidth+@gridColumnWidth)*@columns)-@gridGutterWidth)/@gridRowWidth); -} -.offset(@columns: 1) { - margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)) + (@gridGutterWidth * 2); -} -// Necessary grid styles for every column to make them appear next to each other horizontally -.gridColumn() { - float: left; - margin-left: @gridGutterWidth; -} - // Grid rows and columns // --------------------- .row { |
