Sha256: 136f1241046f78863506a54b0c834492cce60dcf30994a2eb5bea8e6b92ccf1b

Contents?: true

Size: 1.14 KB

Versions: 3

Compression:

Stored size: 1.14 KB

Contents

.label {
  display: inline-block;
  margin-bottom: 5px;
}

.input {
  margin-bottom: 20px;

  &.hidden {
    margin: 0;
  }
}

#active_admin_content {
  .formtastic {
    li {
      list-style: none;
    }
    
    legend:not(.label) {
      margin-bottom: 28px;
      font-size: 18px;
      display: block;
      width: 100%;
      padding-bottom: 12px;
      border-bottom: 1px solid $body-background;
    }

    .error {
      input, select, textarea {
        @include input-invalid();
      }
    }

    input:not([disabled]):not([type="submit"]), select, textarea {
      &.error {
        @include input-invalid();
      }
    }
    
    .inline-hints {
      margin: 5px 0 20px 25%;
      font-size: 14px;
    }

    .inline-errors, label.error {
      color: $error;
      margin-top: 5px;
      margin-bottom: 20px;
      font-size: 14px;
    }

    label.error {
      display: block;
      margin-left: 25%;
    }

    .actions {

      .action {
        display: inline-block;
        margin-right: 10px;

        input[type="submit"] {
          line-height: 43px;
        }
      }

      .cancel {
        display: inline-block;
      }
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arctic_admin-2.0.0 app/assets/stylesheets/arctic_admin/components/_form.scss
arctic_admin-1.5.2 app/assets/stylesheets/arctic_admin/components/_form.scss
arctic_admin-1.5.1 app/assets/stylesheets/arctic_admin/components/_form.scss