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
card-mod-bootstrap-0.15.2.pre1 vendor/bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.15.1.1 vendor/bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.15.1 vendor/bootstrap/scss/_toasts.scss
rails_admin-3.1.2 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
headmin-0.6.2 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_toasts.scss
elixir-toolkit-theme-1.22.0 _sass/bootstrap/_toasts.scss
headmin-0.6.1 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_toasts.scss
headmin-0.6.0 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_toasts.scss
card-mod-bootstrap-0.15.0 vendor/bootstrap/scss/_toasts.scss
rails_admin-3.1.1 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
headmin-0.5.9 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_toasts.scss
headmin-0.5.8 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_toasts.scss
headmin-0.5.7 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_toasts.scss
headmin-0.5.6 app/assets/stylesheets/headmin/vendor/bootstrap/scss/_toasts.scss
elixir-toolkit-theme-1.21.0 _sass/bootstrap/_toasts.scss
rails_admin-3.1.0 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss
elixir-toolkit-theme-1.20.2 _sass/bootstrap/_toasts.scss
elixir-toolkit-theme-1.20.1 _sass/bootstrap/_toasts.scss
elixir-toolkit-theme-1.20.0 _sass/bootstrap/_toasts.scss
rails_admin-3.1.0.rc2 vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss