Sha256: 24a9a215d8b81a42a9bf4cf7b48b14803f9f6461e9496cc807af02a7f758762d

Contents?: true

Size: 701 Bytes

Versions: 2

Compression:

Stored size: 701 Bytes

Contents

!grid_unit ||= "em"
!total_cols ||= 16
!col_width ||= 4
!gutter_width ||= 1
!container_width = container(!total_cols, !col_width, !gutter_width)

=grid-container
  +clearfix
  :margin-left auto
  :margin-right auto
  :width= !container_width + !grid_unit
  :max-width 99%

=grid-col(!n, !context = !total_cols)
  :width= columns(!n, !context) + "%"
  :display inline
  :float left
  :margin-right= gutter(!context) + "%"

=last
  :margin-right= 0

=right
  :display inline
  :float right

=grid-prefix(!n, !context = !total_cols)
  :padding-left= columns(!n, !context) + gutter(!context) + "%"

=grid-suffix(!n, !context = !total_cols)
  :padding-right= columns(!n, !context) + gutter(!context) + "%"

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
carljm-compass-susy-plugin-0.2.0 sass/susy/_grid.sass
ericam-compass-susy-plugin-0.2.0 sass/susy/_grid.sass