Sha256: bdcf9c5b3eb32c8e83100972cb064abf88b75bf1c0b64128ec41946f23fd7a28

Contents?: true

Size: 1.12 KB

Versions: 30

Compression:

Stored size: 1.12 KB

Contents

// Table of Contents
// ==================================================
// Alert
// Colors
// Styles

// Alert
// ==================================================
.alert {
  background: color(light-haze);
  border: 0;
  border-bottom-width: 1px;
  border-style: solid;
  border-color: dark-color(light-haze);
  box-sizing: border-box;
  color: color(black);
  display: block;
  padding: 13px 20px;
  width: 100%;

  .alert-close { float: right; }

  &.absolute,
  &.fixed { z-index: 2060; }
  &.absolute {
    position: absolute;
    width: inherit;
  }
  &.fixed {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
  }
}

// Colors
// ==================================================
@each $name, $color in $colors {
  .alert-color-#{$name} {
    background: color($name);
    border-color: dark-color($name);
    color: text-color-on($name);

    &.alert-outline {
      border-color: color($name);
      color: color($name);
    }
  }
}

// Styles
// ==================================================
.alert-border {
  border-radius: border-radius(b);
  border-width: 1px;
}
.alert-outline { background: color(transparent); }

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
active_frontend-15.0.21 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.20 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.19 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.18 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.17 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.16 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.15 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.14 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.13 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.12 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.11 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.10 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.9 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.8 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.7 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.6 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.5 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.4 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.3 vendor/assets/stylesheets/components/_alert.scss
active_frontend-15.0.2 vendor/assets/stylesheets/components/_alert.scss