Sha256: e0dcdc8de3ff7edba72d50d977b79d6b9124a2b71b5a1af2526d4b3ed42e0f46

Contents?: true

Size: 1.84 KB

Versions: 16

Compression:

Stored size: 1.84 KB

Contents

.tn-tc-asset-field {
  position: relative;

  .thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;

    img {
      width: 100%;
      height: 100%;
    }
  }

  .details {
    @include outer-container;
    margin-left: 100px;
    padding: 10px;
    height: 100px;
    background: #fff;
    position: relative;
  }

  .asset-info {
    @include span-columns(9);
  }

  .browse-button-holder {
    // @include span-columns(3);
    position: absolute;
    right: 0;
    bottom: 0;
    padding: $tn-padding;
    // padding-top: 25px;
    // text-align: right;

    &.with-remove {
      padding-top: 15px;
    }

    &.solo {
      text-align: left;
    }

    .btn {
      padding: 5px 10px;
      border-radius: 15px;
    }

    .browse-button {
      display: inline-block;
      margin: 0;
      padding: 0;
      width: 80px;
      text-align: center;
      line-height: 22px;
    }
  }
}

.asset-list-scroller {
  overflow-y: auto;
  height: 350px;
}

.record-grid.asset-list {
  overflow-y: auto;
  background: none;

  li {

    @include media($tn-bp-mobile) {
      width: 29%;

      &:nth-child(3n) {
        margin-right: 0;
      }
    }

    @include media($tn-bp-tablet) {
      width: 22%;

      &:nth-child(4n) {
        margin-right: 0;
      }
    }

    margin-right: 15px;

    .record-actions {
      display: none;
    }
  }
}

#upload-asset {
  border-bottom: 1px solid $tn-med-grey;
  padding-bottom: $tn-padding;
  margin-bottom: $tn-margin;

  .form-group {
    float: none;
  }

  .fileupload {
    margin: 0;
  }
}

#pick-asset .filter {
  margin-bottom: 10px;

  input {
    width: 260px;
    font-size: $tn-font-small;
  }
}

.nested-fields {

  .asset-label {
    display: none;
  }

  .tn-tc-asset-field {
    margin-bottom: 10px;
  }
}

ul.nested-field-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
tenon-1.1.8 app/assets/stylesheets/tenon/ui/asset-attachment.scss
tenon-1.1.7 app/assets/stylesheets/tenon/ui/asset-attachment.scss
tenon-1.1.6 app/assets/stylesheets/tenon/ui/asset-attachment.scss
tenon-1.1.5 app/assets/stylesheets/tenon/ui/asset-attachment.scss
tenon-1.1.4 app/assets/stylesheets/tenon/ui/asset-attachment.scss
tenon-1.1.3 app/assets/stylesheets/tenon/ui/asset-attachment.scss
tenon-1.1.2 app/assets/stylesheets/tenon/ui/asset-attachment.scss
tenon-1.1.1 app/assets/stylesheets/tenon/ui/asset-attachment.scss
tenon-1.0.76 app/assets/stylesheets/tenon/ui/asset-attachment.css.scss
tenon-1.0.75 app/assets/stylesheets/tenon/ui/asset-attachment.css.scss
tenon-1.0.74 app/assets/stylesheets/tenon/ui/asset-attachment.css.scss
tenon-1.0.73 app/assets/stylesheets/tenon/ui/asset-attachment.css.scss
tenon-1.0.72 app/assets/stylesheets/tenon/ui/asset-attachment.css.scss
tenon-1.0.71 app/assets/stylesheets/tenon/ui/asset-attachment.css.scss
tenon-1.0.70 app/assets/stylesheets/tenon/ui/asset-attachment.css.scss
tenon-1.0.69 app/assets/stylesheets/tenon/ui/asset-attachment.css.scss