Sha256: 195193ab7b035c900d70009227c2aef8bc52b07f75677447ec8290a940c67af2

Contents?: true

Size: 1.92 KB

Versions: 9

Compression:

Stored size: 1.92 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;
          float: left;
          margin-top: 3px;
        }

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

      .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%;
        
        .field_with_errors {
          float: left;
        }
      }

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

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
visagio-arctic_admin-2.0.3 app/assets/stylesheets/arctic_admin/pages/_form.scss
visagio-arctic_admin-2.0.2 app/assets/stylesheets/arctic_admin/pages/_form.scss
arctic_admin-1.4.3 app/assets/stylesheets/arctic_admin/pages/_form.scss
arctic_admin-1.4.2 app/assets/stylesheets/arctic_admin/pages/_form.scss
arctic_admin-1.4.1 app/assets/stylesheets/arctic_admin/pages/_form.scss
arctic_admin-1.4.0 app/assets/stylesheets/arctic_admin/pages/_form.scss
arctic_admin-1.3.3 app/assets/stylesheets/arctic_admin/pages/_form.scss
arctic_admin-1.3.2 app/assets/stylesheets/arctic_admin/pages/_form.scss
arctic_admin-1.3.1 app/assets/stylesheets/arctic_admin/pages/_form.scss