Sha256: d4d371b480d7df6004ff61a9531022674ce6c012987f5951e2abe0212ad51f74

Contents?: true

Size: 717 Bytes

Versions: 4

Compression:

Stored size: 717 Bytes

Contents

/* File & Image ------------------------------------------------------------ */
.view .input-file,
.view .input-image {
  min-height: 102px; // NOTE: calculated based on image thumbnail size

  a { color: $positiveColor; @include truncate; }
  a:hover { text-decoration: underline; }

  input[type=file] { margin-top: .5em; }
  input[type=checkbox] { display: inline; width: auto; margin-right: .5em; margin-left: 1em; }
  label { display: inline; font-size: .8em; }

  &.empty {
    input[type=file] { margin-top: .2em; }
  }
}

.view .input-image:not(.empty) {
  padding-left: 6.5em;
  position: relative;
  img {
    position: absolute;
    border-radius: 4px;
    left: 1em;
    top: .8em;
    width: 4.7em;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chr-0.2.1 app/assets/stylesheets/form/_input_file.scss
chr-0.2.0 app/assets/stylesheets/form/_input_file.scss
chr-0.1.5 app/assets/stylesheets/form/_input_file.scss
chr-0.1.4 app/assets/stylesheets/form/_input_file.scss