Sha256: 5c6a247e782c009d36be5ae265407752cb1ca943c4a73fc418e0a24397fcc505

Contents?: true

Size: 1.17 KB

Versions: 7

Compression:

Stored size: 1.17 KB

Contents

/* Sizes
============================ */
img {
  margin: 0;
  padding: 0;
  height: auto;
  &.thumb {
    width: $img-thumb-width;
  }
  &.medium {
    width: $img-medium-width;
  }
  &.large {
    width: $img-large-width;
  }
}

/* Styles
============================ */
img {
  &.frame {
    border: $img-frame-width solid $img-frame-color;
    outline: $img-frame-outline;
  }
  &.polaroid {
    border: $img-polaroid-frameWidth solid $img-polaroid-frameColor;
    outline: $img-polaroid-outline;
    border-bottom-width: $img-polaroid-bottomHeight;
  }
  &.center {
    display: block;
    margin-right: auto;
    margin-left: auto;
  }
}

div.panoramic {
  width: 100%;
  height: $img-panoramic-height;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  img {
    width: 100%;
    position: absolute;
    top: $img-panoramic-top;
  }
}

@mixin img-circle($width) {
  width: $width;
  height: $width;
  img {
    width: $width;
    height: $width;
  }
}

div.circle {
  border-radius: 50%;
  overflow: hidden;
  @include img-circle($img-thumb-width);
  &.medium {
    @include img-circle($img-medium-width);
  }
  &.large {
    @include img-circle($img-large-width);
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bones-rails-1.1.3 app/assets/stylesheets/bones/styles/_images.scss
bones-rails-1.1.2 app/assets/stylesheets/bones/styles/_images.scss
bones-rails-1.1.1 app/assets/stylesheets/bones/styles/_images.scss
bones-rails-1.1.0 app/assets/stylesheets/bones/styles/_images.scss
bones-rails-1.0.2 app/assets/stylesheets/bones/styles/_images.scss
bones-rails-1.0.1 app/assets/stylesheets/bones/styles/_images.scss
bones-rails-1.0.0 app/assets/stylesheets/bones/styles/_images.scss