Sha256: 7c4760b3828d7637e5eb6c1b3cdcded1b69d9fff3332f9be7c7f0eb7694b1478

Contents?: true

Size: 935 Bytes

Versions: 19

Compression:

Stored size: 935 Bytes

Contents

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

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

// ---------------------------------------------------------------------------
// Create sprite

@include make-sprite(
  $name: "base",
  $folder: "test-retina",
  $folder-retina: "test-retina@2x"
);

// ---------------------------------------------------------------------------
// Use sprite

.classic {
  @include background-sprite( "base", "classic" );
  width: 152px;
  height: 135px;
}

.indy {
  @include background-sprite(
    $name: "base",
    $image: "indy"
  );
  width: 128px;
  height: 140px;
}

// ---------------------------------------------------------------------------
// Not using retina: this particular image doesn't exist as a retina asset

.alien {
  @include background-sprite(
    $name: "base",
    $image: "alien",
    $use-retina: false
  );
  width: 159px;
  height: 141px;
}

Version data entries

19 entries across 19 versions & 1 rubygems

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