Sha256: c762bc15927c1829c1818f7ad6b06bd330be637efe57e723b563aec77cfd3b2e

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

body.logged_in {
  &.new, &.edit, &.create, &.update {
    .formtastic legend {
      font-weight: normal;
    }

    fieldset.inputs {
      margin-bottom: 20px;
    }

    .input {
      .label {
        padding-bottom: 5px;
        text-align: left;
        margin: auto 0;
        padding-top: 8px;
        text-align: right;
        font-size: 14px;

        @media screen and (min-width: $sm-width) {
          padding-bottom: 0;
          height: 25px;
          width: 25%;
          float: left;
          padding-right: 20px;
        }
      }

      input, textarea {
        @media screen and (min-width: $sm-width) {
          width: 50%;
        }

        &[type='radio'] {
          width: 15px;
        }
      }

      .select2-container {
        @media screen and (min-width: $sm-width) {
          width: 50% !important;
        }

        a {
          height: 30px;
          line-height: 30px;
        }
      }

      select {
        min-width: 50%;
        height: 30px;
      }

      .fragment {
        margin-right: 10px;
        
        label {
          padding-right: 5px;
        }

        select {
          min-width: auto;
        }
      }

      &.boolean {
        margin-left: 25%;
        @include disable-user-select();

        input {
          width: auto;
        }

        label {
          font-size: 14px;
          cursor: pointer;
          padding: 5px 5px 5px 0;
        }

        input[type='checkbox'] {
          width: 15px;
          margin: 0 5px -2px 0;
        }
      }

      li.fragment {
        display: inline;
      }

      li.choice {
        margin-left: 25%;
      }

      .inline-errors {
        padding-left: 25%;
      }
    }

    .actions {
      padding-left: 25%;
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arctic_admin-1.2.9 app/assets/stylesheets/pages/_form.scss
arctic_admin-1.2.8 app/assets/stylesheets/pages/_form.scss