Sha256: a1a07905f9a1068c044e34f89342ce483dd0559b6fe97802612fabb5d6b3ef18

Contents?: true

Size: 938 Bytes

Versions: 3

Compression:

Stored size: 938 Bytes

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 {
      @include right-triangle(10px, $c-error-bg);
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
    }
  }

  &.hidden_errors {
    margin-bottom: 20px;

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

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

  .invalid {
    border: 1px solid $c-error-content;
  }
}

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

  p {
    padding-top: 10px;
    font-size: 13px;

    span {
      &.overCount {
        color: $c-error-content;
      }
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fae-rails-1.4.0 app/assets/stylesheets/fae/modules/forms/_validation.scss
fae-rails-1.3.1 app/assets/stylesheets/fae/modules/forms/_validation.scss
fae-rails-1.3.0 app/assets/stylesheets/fae/modules/forms/_validation.scss