Sha256: 43d7f3bf03ee4ea29f235b27b58c797287652a95cef6edf2a53065f34deff0ae

Contents?: true

Size: 554 Bytes

Versions: 13

Compression:

Stored size: 554 Bytes

Contents

// GRID MEASUREMENTS
@function grid($units, $measure: $module-w)
  @return (($measure * $units) + ($gutter * ($units - 1)))

$vertical-grid: false !default
=location($across: 1, $width: 1, $down: 1, $height: 1)
  position: absolute
  margin-left: grid($across, $module-w) - $module-w
  @if $vertical-grid
    top: (grid($down, $module-h) - $module-h) + $top
  @if $width == "auto"
    width: auto
  @else
    width: grid($width, $module-w)
  @if $vertical-grid
    @if $height == "auto"
      height: auto
    @else
      height: grid($height, $module-h)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
seasons-0.9.3.beta16 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta15 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta14 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta13 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta12 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta11 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta10 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta9 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta8 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta7 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta6 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta5 stylesheets/seasons/tools/_grid-tools.sass
seasons-0.9.3.beta4 stylesheets/seasons/tools/_grid-tools.sass