Sha256: fb2095113d176dc8fc4131933898c5e912b4dd62655fc0f73898c6f3f02af320

Contents?: true

Size: 458 Bytes

Versions: 2

Compression:

Stored size: 458 Bytes

Contents

// Push columns away from their container.

@mixin grid-push($push: false) {
  @include grid-is-zero-error(grid-push, $push);
  @if $push {
    $_gutter-affordance: grid-settings(gutter) * $push;
    $_margin-value: calc(#{unquote(grid-calc($push))} + #{$_gutter-affordance});
    margin-#{grid-settings(default-float)}: $_margin-value;
  } @else {
    $_margin-value: grid-settings(gutter);
    margin-#{grid-settings(default-float)}: $_margin-value;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cask-0.3.2 core/mixins/_grid-push.scss
cask-0.3.1 core/mixins/_grid-push.scss