Sha256: ac88f6971deba350ea3ae75afcc74088b185e2ee4db199a61b441214f26d6938

Contents?: true

Size: 1.14 KB

Versions: 94

Compression:

Stored size: 1.14 KB

Contents

.toast {
  width: $toast-max-width;
  max-width: 100%;
  @include font-size($toast-font-size);
  color: $toast-color;
  pointer-events: auto;
  background-color: $toast-background-color;
  background-clip: padding-box;
  border: $toast-border-width solid $toast-border-color;
  box-shadow: $toast-box-shadow;
  @include border-radius($toast-border-radius);

  &.showing {
    opacity: 0;
  }

  &:not(.show) {
    display: none;
  }
}

.toast-container {
  width: max-content;
  max-width: 100%;
  pointer-events: none;

  > :not(:last-child) {
    margin-bottom: $toast-spacing;
  }
}

.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));

  .btn-close {
    margin-right: $toast-padding-x * -.5;
    margin-left: $toast-padding-x;
  }
}

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

Version data entries

94 entries across 94 versions & 9 rubygems

Version Path
rails_admin-3.3.0 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
card-mod-bootstrap-0.18.1 vendor/bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.18.0 vendor/bootstrap/scss/_toasts.scss
rails_admin-3.2.1 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
headmin-0.6.3 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_toasts.scss
rails_admin-3.2.0 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
rails_admin-3.2.0.rc vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
rails_admin-3.2.0.beta vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
rails_admin-3.1.4 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
rails_admin-3.1.3 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
card-mod-bootstrap-0.17.0 vendor/bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.16.0 vendor/bootstrap/scss/_toasts.scss
vitat-css-0.1.3 bootstrap/scss/_toasts.scss
vitat-css-0.1.2 bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.15.6 vendor/bootstrap/scss/_toasts.scss
jekyll-theme-petridish-3.0 _sass/bootstrap/_toasts.scss
card-mod-bootstrap-0.15.5 vendor/bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.15.4 vendor/bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.15.3 vendor/bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.15.1.2 vendor/bootstrap/scss/_toasts.scss