Sha256: 049d86c3ea56d6e5feb58fc26927f4594754c13c9a0b1bac810ba65365112837

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

/*

  IMAGE GRIDS
  --------------

*/
.grid.images {
  list-style: none;
  overflow: hidden;

  // [row]
  li {
    float: left;
    margin: 0 11px 11px 0;
    position: relative;

    &, .image, .overlay {
      height: 100px;
      width: 100px;
    }

    &.move,
    &.properties,
    &.selected { .overlay { display: block; }}
  }

  // [row]:types
  li.move label { cursor: move; }
  li.properties { cursor: pointer; }
  li.selected .overlay { background: rgba($yellow, .5); }

  // image + overlay
  li .image,
  li .overlay {
    left: 0;
    position: absolute;
    top: 0;
  }

  li .image {
    z-index: 0;
  }

  li .overlay {
    background: rgba(black, .5);
    display: none;
    z-index: 1;
  }

  // label
  li label {
    @include border-radius(2px);
    background: #fff;
    bottom: 6px;
    color: #4f4f4f;
    font-size: 9px;
    height: 16px;
    line-height: 16px;
    left: 9px;
    overflow: hidden;
    padding: 2px 6px 1px;
    position: absolute;
    right: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
  }

}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lalala-4.0.0.dev.50 app/assets/stylesheets/lalala/modules/_grids.css.scss
lalala-4.0.0.dev.46 app/assets/stylesheets/lalala/modules/_grids.css.scss