Sha256: f9e2605a188e320ae0abc83ea901809cec8e556053fc6b595f8f8aa469c58c88

Contents?: true

Size: 1.11 KB

Versions: 211

Compression:

Stored size: 1.11 KB

Contents

.toast {
  // Prevents from shrinking in IE11, when in a flex container
  // See https://github.com/twbs/bootstrap/issues/28341
  flex-basis: $toast-max-width;
  max-width: $toast-max-width;
  @include font-size($toast-font-size);
  color: $toast-color;
  background-color: $toast-background-color;
  background-clip: padding-box;
  border: $toast-border-width solid $toast-border-color;
  box-shadow: $toast-box-shadow;
  opacity: 0;
  @include border-radius($toast-border-radius);

  &:not(:last-child) {
    margin-bottom: $toast-padding-x;
  }

  &.showing {
    opacity: 1;
  }

  &.show {
    display: block;
    opacity: 1;
  }

  &.hide {
    display: none;
  }
}

.toast-header {
  display: flex;
  align-items: center;
  padding: $toast-padding-y $toast-padding-x;
  color: $toast-header-color;
  background-color: $toast-header-background-color;
  background-clip: padding-box;
  border-bottom: $toast-border-width solid $toast-header-border-color;
  @include border-top-radius(subtract($toast-border-radius, $toast-border-width));
}

.toast-body {
  padding: $toast-padding-x; // apply to both vertical and horizontal
}

Version data entries

211 entries across 211 versions & 11 rubygems

Version Path
jekyll-theme-conference-3.1.2 _sass/bootstrap/_toasts.scss
jekyll-theme-conference-3.1.1 _sass/bootstrap/_toasts.scss
jekyll-theme-conference-3.1.0 _sass/bootstrap/_toasts.scss
jekyll-theme-conference-3.0.4 _sass/bootstrap/_toasts.scss
bootstrap-4.6.0 assets/stylesheets/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.25 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.24 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.23 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.22 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.21 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.20 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.19 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.18 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.17 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.16 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.15 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.14 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.13 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.12 _sass/bootstrap/_toasts.scss
jekyll-theme-centos-0.1.11 _sass/bootstrap/_toasts.scss