Sha256: 663518dacfc97368eff4d007459355fb356bd6fb4a711a52c12b74de4a9495f9

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

main form {
  margin: 16px 32px;
}

form {
  .field {
    margin: 16px 0;
    padding: 0;

    label {
      display: block;
      padding: 0;
      margin: 0 0 4px 0;
      font-weight: bold;
      font-size: 13px;
      color: #444;
    }

    .description {
      color: #888;
      margin: 0 0 6px 0;
    }
  }

  .field-with-errors {
    background: #fff0f3;
    border-top: 1px solid #ffd0d3;
    border-bottom: 1px solid #ffd0d3;
    margin: 0 -32px -1px -32px;
    padding: 12px 32px 16px 32px;

    label {
      color: #c00007;
    }
  }
}

.fieldWithErrors {
  display: table;
  padding: 1px;
  padding-right: 22px;
  background: transparent image-url("pages/admin/warning-icon.gif") right 5px no-repeat;
}

main {
  input[type=text],
  input[type=password],
  textarea {
    border: 1px solid #d4d4d4;
    box-shadow: inset 0px 5px 5px rgba(0, 0, 0, 0.03);
    padding: 8px 10px;
    line-height: 1.4;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
  }

  input[type=text],
  input[type=password] {
    width: 100%;
    max-width: 450px;
    min-width: 200px;
  }
}

input[type=text],
input[type=password] {
  &.large,
  main .login-form & {
    font-size: 1.4em;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pages_core-3.5.1 app/assets/stylesheets/pages/admin/components/forms.scss