Sha256: 2986c4360810205d50b262a523083eecd914982f0f43383a134a14cb9a8bdd3f

Contents?: true

Size: 699 Bytes

Versions: 3

Compression:

Stored size: 699 Bytes

Contents

/* File & Image ------------------------------------------------------------ */
.input-file,
.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; }
  }
}

.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

3 entries across 3 versions & 1 rubygems

Version Path
chr-0.1.2 app/assets/stylesheets/form/_input_file.scss
chr-0.1.1 app/assets/stylesheets/form/_input_file.scss
chr-0.1.0 app/assets/stylesheets/form/_input_file.scss