Sha256: 57cc07c04c85781464795f13851a71484cf630af00df5b6f3aa2705340f03579

Contents?: true

Size: 1.49 KB

Versions: 4

Compression:

Stored size: 1.49 KB

Contents

@mixin border-radius ($radius) {
  position: relative;
  -webkit-border-radius: $radius;
     -moz-border-radius: $radius;
      -ms-border-radius: $radius;
       -o-border-radius: $radius;
          border-radius: $radius;
}

.asset-box-input {
  width: 100%;
  height: 100%;

  // asset_box_input/attachment_as_table
  tbody.attachments {
    .attachment-image img {
      max-height: 48px;
    }
  }

  // asset_box_input/attachment_as_list
  ul.attachments {
    .attachment {
      position: relative;

      .attachment-title {
        overflow: hidden;
        word-break: keep-all;
        text-align: left;
      }

      .attachment-remove {
        position: absolute;
        top: 0px;
        right: 7px;
      }
    }
  }

  // asset_box_input/attachment_as_thumbnail
  div.attachments {
    .attachment {
      position: relative;

      .attachment-title {
        overflow: hidden;
        word-break: keep-all;
        text-align: center;
      }

      .attachment-remove {
        position: absolute;
        top: 7px;
        right: 22px;
      }
    }
  }

  .uploads {
    .upload {
      border-top: solid 1px #CCC;
      width: 100%;
      min-width: 400px;
      padding-top: 10px;
      margin-top: 10px;

      .progress {
        margin-top: 8px;
        border: solid 1px #555;
        @include border-radius(3px);

        .spinner {
          height: 20px;
          width: 20px;
        }

        .bar {
          height: 100%;
          background: #3EC144;
        }
      }
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
effective_assets-1.1.2 app/assets/stylesheets/effective_assets/_asset_box_input.scss
effective_assets-1.1.1 app/assets/stylesheets/effective_assets/_asset_box_input.scss
effective_assets-1.1.0 app/assets/stylesheets/effective_assets/_asset_box_input.scss
effective_assets-1.0.0 app/assets/stylesheets/effective_assets/_asset_box_input.scss