Sha256: a3c9cae7afcd6c7f278af2633c97a3cd600c59e7d809f4ee3301cd70ff9dac64

Contents?: true

Size: 1.44 KB

Versions: 29

Compression:

Stored size: 1.44 KB

Contents

@import 'compass/css3';
@import 'compass/reset';

html, body {
  font-family: sans-serif;
  font-size: 11pt;
  line-height: 1.5; }

body {
  background: #c2c2cf; }

#all { 
  background: white;
  color: #333;
  padding: 10px;
  width: 500px;
  margin: 50px auto; }

// ### Optional sprite config
// You may put any of these before the `all-icon-sprites` line.
// These are completely optional.

// #### Sprite sets: (/icon/*.png)
$icon-spacing: 0;           // How much blank space (in pixels) to put
$icon-dimensions: false;    // Sets width/height in the classes
$icon-repeat: no-repeat;
$icon-position: 0;

// #### Individual images: (/icon/mail.png)
$icon-mail-spacing: 0;
$icon-mail-repeat: no-repeat;
$icon-mail-position: 0px;

// ### Sprite setup
// For "mail.png" and "refresh.png", this creates classes for .icon-mail and
// .icon-refresh that you can @extend from.
//
// See: http://compass-style.org/help/tutorials/configuration-reference/
//
@import "icon/*.png";
@include all-icon-sprites;

.image1, .image2 {
  width: 16px; height: 16px;
  display: inline-block; }

.image1 {
  @extend .icon-mail; }

.image2 {
  @extend .icon-refresh; }

// ### Advanced control
// The sprite map is available as $icon-sprites. You can then use
// `sprite()` on it.

.image3 {
  background: sprite($icon-sprites, refresh); }
//background: url(...) 0 -16px;

.image3-with-offset {
  background: sprite($icon-sprites, refresh, -2px, -9px); }
//background: url(...) -2px -19px;

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
sinatra-assetpack-0.3.5 examples/compass/app/css/main.scss
sinatra-assetpack-0.3.3 examples/compass/app/css/main.scss
sinatra-assetpack-0.3.2 examples/compass/app/css/main.scss
sinatra-assetpack-0.3.1 examples/compass/app/css/main.scss
sinatra-assetpack-0.3.0 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.8 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.7 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.6 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.5 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.4 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.3 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.2 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.1 examples/compass/app/css/main.scss
sinatra-assetpack-0.2.0 examples/compass/app/css/main.scss
sinatra-assetpack-0.1.7 examples/compass/app/css/main.scss
sundawg-sinatra-assetpack-fork-0.1.6 examples/compass/app/css/main.scss
sinatra-assetpack-0.1.6 examples/compass/app/css/main.scss
sinatra-assetpack-0.1.5 examples/compass/app/css/main.scss
sinatra-assetpack-0.1.4 examples/compass/app/css/main.scss
sinatra-assetpack-0.1.3 examples/compass/app/css/main.scss