Sha256: ac4538ddcb37e2fcc2276c52183c3c673ff8b48d2e720834cb272c3880837dff

Contents?: true

Size: 870 Bytes

Versions: 7

Compression:

Stored size: 870 Bytes

Contents

.flash-message {
  border-style: solid;
  border-left-width: 3px;
  margin: 0 auto;
  padding: 20px;
  width: calc(100% - #{$content-buffer * 2});

  &:before {
    @include icon-stuff;
    margin-right: 10px;
  }

  .sidenav ~ & {
    @include bp(large) {
      margin-left: $sidenav-width + $content-buffer;
      width: calc(100% - #{$sidenav-width + ($content-buffer * 2) });
    }
  }
}

.notice {
  border-color: $c-notice-content;
  background: $c-notice-bg;
  color: $c-notice-content;

  &:before {
    content: fae-icon(check);
  }
}

.warning {
  border-color: $c-warning-content;
  background: $c-warning-bg;
  color: $c-warning-content;

  &:before {
    content: fae-icon(alert);
  }
}

.flash-message.error,
.alert {
  border-color: $c-error-content;
  background: $c-error-bg;
  color: $c-error-content;

  &:before {
    content: fae-icon(alert);
  }
}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
fae-rails-3.0.0 app/assets/stylesheets/fae/modules/_alerts.scss
fae-rails-2.2.0 app/assets/stylesheets/fae/modules/_alerts.scss
fae-rails-2.1.0 app/assets/stylesheets/fae/modules/_alerts.scss
fae-railsz-2.1.0 app/assets/stylesheets/fae/modules/_alerts.scss
fae-rails-2.0.0 app/assets/stylesheets/fae/modules/_alerts.scss
fae-rails-1.7.1 app/assets/stylesheets/fae/modules/_alerts.scss
fae-rails-1.7.0 app/assets/stylesheets/fae/modules/_alerts.scss