Sha256: 14cd1706ee6196411c633cc5bf28e3dc3720a28a0c926cb7d341250fafb126f1

Contents?: true

Size: 838 Bytes

Versions: 3

Compression:

Stored size: 838 Bytes

Contents

.alert {
  @include border-radius($alert-border-radius);

  border: 0;
  display: block;
  margin-bottom: $alert-margin-y;
  padding: $alert-padding-y $alert-padding-x;
  position: relative;
}

@each $color, $values in $theme-colors {
  .alert-#{$color} {
    background-color: theme-color-light($color);
    color: color-yiq(theme-color-light($color));
  }
}

// Dismissible

.alert-dismissible {
  padding-right: ($alert-padding-x * 2 + $close-font-size);

  .close {
    color: inherit;
    padding: ($alert-padding-y - ($close-font-size - $font-size-base * $line-height-base) / 2) $alert-padding-x;
    position: absolute;
    top: 0;
    right: 0;
  }
}

// Misc

.alert-heading {
  color: inherit;
}

.alert-link {
  color: inherit;
  font-weight: $alert-link-font-weight;

  @include active-focus-hover {
    color: inherit;
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
material-sass-4.1.1 assets/stylesheets/material/bootstrap/_alert.scss
material-sass-4.1.0 assets/stylesheets/material/bootstrap/_alert.scss
material-sass-4.0.0 assets/stylesheets/material/bootstrap/_alert.scss