Sha256: 549b4682c76821526cb5e8835cec6019d489e02bad3a0acb27c48c46f27aeea8

Contents?: true

Size: 1.14 KB

Versions: 165

Compression:

Stored size: 1.14 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;
    z-index: 2;
    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

165 entries across 165 versions & 9 rubygems

Version Path
jekyll-theme-centos-0.9.20220201033517 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.9.20220201032927 _sass/bootstrap/_alert.scss
jekyll-theme-conference-3.4.0 _sass/bootstrap/_alert.scss
owasp-td-jekyll-0.2.1 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.9.20211202171349 _sass/bootstrap/_alert.scss
jekyll-theme-conference-3.3.0 _sass/bootstrap/_alert.scss
bootstrap-4.6.1 assets/stylesheets/bootstrap/_alert.scss
jekyll-theme-centos-0.9.20211031215618 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.10 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.9 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.8 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.7 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.6 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.5 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.4 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.3 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.2 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.1 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.8.0 _sass/bootstrap/_alert.scss
jekyll-theme-centos-0.7.9 _sass/bootstrap/_alert.scss