Skip to content

Commit

Permalink
Now importing the compass/css3 module and set the box model type on g…
Browse files Browse the repository at this point in the history
…rid blocks to 'box-content' using the box-sizing mixing
  • Loading branch information
adamstac committed Jun 22, 2011
1 parent 7e96b96 commit 7d1c8d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions stylesheets/_grid-coordinates.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import compass/utilities
@import "compass/utilities"
@import "compass/css3"

// Configure grid coordinates
// Configure Grid Coordinates
$grid-columns: 12 !default
$grid-width: 60px !default
$grid-gutter-width: 20px !default
Expand Down Expand Up @@ -88,6 +89,7 @@ $overflow: true !default

// Grid Block
=grid-block-base
+box-sizing(box-content)
+float-left
position: relative
margin: 0 ($grid-gutter-width / 2)
Expand Down
4 changes: 3 additions & 1 deletion stylesheets/_grid-coordinates.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import "compass/utilities";
@import "compass/css3";

// Configure grid coordinates
// Configure Grid Coordinates
$grid-columns: 12 !default;
$grid-width: 60px !default;
$grid-gutter-width: 20px !default;
Expand Down Expand Up @@ -87,6 +88,7 @@ $overflow: true !default;

// Grid Block
@mixin grid-block-base {
@include box-sizing(box-content);
@include float-left;
position: relative;
margin: 0 $grid-gutter-width / 2; }
Expand Down

0 comments on commit 7d1c8d3

Please sign in to comment.