Sha256: 0a30a1db54b744c635736c35468859a2822b2b7b34435dd785cf6e51c5d03cf8

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

// errors
.field_with_errors {
  position: relative;
  padding-top: 40px;

  .error {
    position: absolute;
    top: 0;
    left: 0;
    padding: 6px 5px;
    background: $c-error-bg;
    color: $c-error-content;
    font-size: 12px;
    overflow: visible;

    &:before {
      @extend .icon-alert;
      @include icon-stuff();
      padding-right: 10px;
    }

    &:after {
      content: "";
      position: absolute;
      bottom: -8px;
      left: 0;
      @include right-triangle(10px, $c-error-bg);
    }
  }

  &.hidden_errors {
    margin-bottom: 20px;

    .error:after {
      display: none;
    }
  }
}

.input {
  .valid {
    border: 1px solid $c-notice-content !important;
  }
  .invalid {
    border: 1px solid $c-error-content !important;
  }

  .editor-toolbar {
    border-bottom: 0 !important;
  }
  .CodeMirror-wrap {
    border-top-color: #ddd !important;
  }
}

.counter {
  p {
    padding-top: 10px;
    font-size: 13px;
    span {
      color: $c-notice-content;
      &.overCount {
        color: $c-error-content;
      }
    }
  }

  + .editor-toolbar {
    margin-top: 10px;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fae-rails-1.2.5 app/assets/stylesheets/fae/modules/forms/_validation.scss
fae-rails-1.2.4 app/assets/stylesheets/fae/modules/forms/_validation.scss
fae-rails-1.2.3 app/assets/stylesheets/fae/modules/forms/_validation.scss
fae-rails-1.2.2 app/assets/stylesheets/fae/modules/forms/_validation.scss