Sha256: 78eebe22f7c2645395e956bd35356a6274b80c154e87ea57549972f0334ad181

Contents?: true

Size: 1.35 KB

Versions: 11

Compression:

Stored size: 1.35 KB

Contents

.simple_form {

  fieldset .input.file {
    .form-wrapper {
      padding: 6px $padding-base-horizontal 7px $padding-base-horizontal;

      .file {
        position: relative;
        overflow: hidden;

        input[type=file] {
          cursor: inherit;
          display: block;
          filter: alpha(opacity=0);
          opacity: 0;
          position: absolute;
          right: 0;
          top: 0;
          height: 1px;
          width: 1px;
          text-indent: -99999;
        }

        .current-file, .new-file {
          img {
            border: 2px solid $form_input_control_border_color;
            width: 29px;
            height: 29px;
            margin-right: 5px;
          }
        }

        .current-file, .new-file, .no-file {
          line-height: 30px;
          height: 30px;
        }
      }

      .buttons {
        text-align: right;

        .btn {
          margin-right: 5px;
        }
      }
    }

    &.mark-as-removed {

      .current-file {
        @include opacity(0.3);
        img {

        }

        text-decoration: line-through;
      }

    }
  }
}

@media (max-width: $screen-sm-min) {

  .simple_form {
    fieldset .input.file {
      .form-wrapper {
        .buttons {
          margin-top: 5px;
          text-align: left;

          .btn {
            margin-right: 5px;
          }
        }
      }
    }
  }

}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
locomotivecms-3.0.1 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.rc7 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.rc6 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.rc5 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.rc4 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.rc3 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.rc2 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.rc1 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.pre.beta.1 app/assets/stylesheets/locomotive/base/form/_file_input.scss
locomotivecms-3.0.0.pre.alpha.3 app/assets/stylesheets/locomotive/base/form/_file_input.scss