Sha256: b6ded50deedb5ab83f31ca3acc31f68e07c630aedbe8a74e62514779eb89f812

Contents?: true

Size: 857 Bytes

Versions: 2

Compression:

Stored size: 857 Bytes

Contents

@import "compass/layout/grid-background";
@import "grid", "typography";

// Shows a background that can be used to check grid alignment.
// By default this is a pure css version that only works in browsers
// that support gradients and multiple backgrounds, but you can pass
// an image url if you prefer.
@mixin showgrid($image: false) {
  @if $image {
    background: image-url($image);
  }
  @else {
    @include grid-background(
      $total    : $blueprint-grid-columns,
      $column   : $blueprint-grid-width,
      $gutter   : $blueprint-grid-margin,
      $baseline : $blueprint-font-size * 1.5
    );
  }
}

@mixin blueprint-debug($grid-image: false) {
  // Use this class on any column or container to see the grid.
  // TODO: prefix this with the project path.
  .showgrid {
    @include showgrid($grid-image);
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compass-sourcemaps-0.12.3.sourcemaps.a4836f1 frameworks/blueprint/stylesheets/blueprint/_debug.scss
compass-sourcemaps-0.12.2.sourcemaps.57a186c frameworks/blueprint/stylesheets/blueprint/_debug.scss