Sha256: 9079075ebab4a881c41c5ffb1a1c08509e632d43e197f42f5b102cf26ffef0ec

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

// Put your asset page layout here.

#assets.record-list {

  li.asset {
    @include transition(opacity 0.2s ease-in, max-height 0.2s ease-in);
    overflow: hidden;
    max-height: 100;
    opacity: 1;

    &.hidden {
      padding: 0;
      max-height: 0;
      opacity: 0;
    }
  }

  a.asset-icon {
    width: 10%;
    height: 100%;
  }
}

#assets.record-grid a.asset-icon {
  display: none;
}

#assets a.asset-icon {
  display: block;
  border: 1px solid $tn-med-grey;
  background: $tn-light-grey;
  color: #000;
  text-align: center;

  &:hover {
    text-decoration: none;
  }
}

#new-asset {
  display: none;
}

form.edit_asset {
  display: inline-block;
  margin: $tn-margin 0 0;
  width: 100%;

  // .preview {

  //   img { max-width: 100%;}
  // }
}


#new-asset, #upload-asset {
  .fields.full {
    margin-bottom: 0;
  }

  .fileupload {
    position: relative;
    overflow: hidden;
    margin: 10px 0 0 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: $tn-font-small;

    input.upload {
      position: absolute;
      top: 0;
      right: 0;
      margin: 0;
      padding: 0;
      opacity: 0;
      filter: alpha(opacity = 0);
      cursor: pointer;
    }
  }

  .form-group {
    float: right;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tenon-1.0 spec/dummy/public/assets/source_maps/assets.css.scss