Sha256: 2ec272baed0843d14182aa7db2e4764380d141e508f80c82deac7649ae6678cd

Contents?: true

Size: 756 Bytes

Versions: 2

Compression:

Stored size: 756 Bytes

Contents

@mixin message {
  padding: 8px 8px 8px 32px;
  line-height: 17px;
  border-width: 1px;
  border-style: solid;
  @include rounded-corner;
  position: relative;
  margin-bottom: 8px;
  text-align: left;

  h2 { margin-top: 0 }

  span.icon {
    position: absolute;
    left: 8px;
    top: 8px;
  }

  &.footnote {
    font-size: 10px;
    margin: 16px;
  }

  ol {
    margin: 0 0 8px;
    padding-left: 20px;

    li {
      text-indent: 0;
      margin-bottom: 4px;
    }
  }
}

div.info {
  @include message;
  color: $text-color;
  background-color: #eaf4f9;
  border-color: #0b5c84;
}

div.error {
  @include message;
  background-color: #f1c9ca;
  color: #931f23;
}

div.warning {
  @include message;
  background-color: #f7efb8;
  color: #756f47;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy_cms-2.5.0.rc3 app/assets/stylesheets/alchemy/notices.scss
alchemy_cms-2.5.0.b9 app/assets/stylesheets/alchemy/notices.scss