Sha256: 52c14ca5e176a8e3312663a708fffee19a37cf9adef2c0e71d79c5c163c04577

Contents?: true

Size: 1.12 KB

Versions: 351

Compression:

Stored size: 1.12 KB

Contents

//
// Base styles
//

.alert {
  position: relative;
  padding: $alert-padding-y $alert-padding-x;
  margin-bottom: $alert-margin-bottom;
  border: $alert-border-width solid transparent;
  @include border-radius($alert-border-radius);
}

// Headings for larger alerts
.alert-heading {
  // Specified to prevent conflicts of changing $headings-color
  color: inherit;
}

// Provide class for links that match alerts
.alert-link {
  font-weight: $alert-link-font-weight;
}


// Dismissible alerts
//
// Expand the right padding and account for the close button's positioning.

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

  // Adjust close link position
  .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: $alert-padding-y $alert-padding-x;
    color: inherit;
  }
}


// Alternate styles
//
// Generate contextual modifier classes for colorizing the alert.

@each $color, $value in $theme-colors {
  .alert-#{$color} {
    @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
  }
}

Version data entries

351 entries across 349 versions & 31 rubygems

Version Path
solidus_backend-3.3.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.2.5 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.2.4 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.2.3 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.1.8 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.0.8 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.2.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.2.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.2.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.2.0.alpha vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.0.7 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-2.11.17 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.1.7 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-2.11.16 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.0.6 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.1.6 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-2.11.15 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
card-mod-bootstrap-0.14.2 vendor/bootstrap/scss/_alert.scss
linaro-jekyll-theme-5.1.0 _sass/bootstrap/_alert.scss
linaro-jekyll-theme-5.0.1 _sass/bootstrap/_alert.scss