Sha256: 2ec1e7ceb50772ce87927a86cc1f6ce5bf57db9a51a4fa0e386bf4fb6a79a060

Contents?: true

Size: 1.47 KB

Versions: 17

Compression:

Stored size: 1.47 KB

Contents

// ---------------------------------------------------------------------------
// Imports

@import "../../../sass/ezy/sprites";

/* -------------------------------------------------------------------- *
 * Compiled 1x sprite has all images horizontally centered
 * Compiled 2x sprite has all images aligned to the right
 */

@include make-sprite(
  $name: "vertical",
  $folder: "test-position",
  $folder-retina: "test-position@2x", 
  $position: 50%,
  $position-retina: 100%
);

/* -------------------------------------------------------------------- *
 * Compiled 1x sprite has all images vertically centered
 * Compiled 2x sprite has all images aligned to the bottom
 */

@include make-sprite(
  $name: "horizontal",
  $folder: "test-position-alt",
  $folder-retina: "test-position-alt@2x", 
  $layout: horizontal,
  $position: 50%,
  $position-retina: 100%
);

/* -------------------------------------------------------------------- *
 * Regular image has background centered
 * Retina image has background aligned to the right
 */

.vertical {
  @include background-sprite(
    $name: "vertical",
    $image: "icon-coffee",
    $offset-x: 50%,
    $offset-x-retina: 100%
  );
}

/* -------------------------------------------------------------------- *
 * Regular image has background centered
 * Retina image has background aligned to the right
 */

.horizontal {
  @include background-sprite(
    $name: "horizontal",
    $image: "icon-1",
    $offset-y: 50%,
    $offset-y-retina: 100%
  );
}

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ezy-0.4.2.beta test/scss/sprites/position.scss
ezy-0.3.3 test/scss/sprites/position.scss
ezy-0.3.2 test/scss/sprites/position.scss
ezy-0.4.1.beta test/scss/sprites/position.scss
ezy-0.4.0.beta test/scss/sprites/position.scss
ezy-0.3.1.beta test/scss/sprites/position.scss
ezy-0.3.0.beta test/scss/sprites/position.scss
ezy-0.2.9 test/scss/sprites/position.scss
ezy-0.2.8 test/scss/sprites/position.scss
ezy-0.2.7.alpha test/scss/sprites/position.scss
ezy-0.2.6.alpha test/scss/sprites/position.scss
ezy-0.2.0 test/scss/sprites/position.scss
ezy-0.1.1 test/scss/sprites/position.scss
ezy-0.2.0.alpha test/scss/sprites/position.scss
ezy-0.1.0 test/scss/sprites/position.scss
ezy-0.0.8 test/scss/sprites/position.scss
ezy-0.0.7 test/scss/sprites/position.scss