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-4.4.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.4.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.4.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.3.4 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.2.4 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.1.5 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.3.3 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.3.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.1.4 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.3.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.3.0 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.2.3 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.1.3 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.0.4 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.4.6 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.0.3 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.1.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.2.2 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-3.4.5 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss
solidus_backend-4.2.1 vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss