1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @import "../../themes/ionic.globals";
  2. // Toast
  3. // --------------------------------------------------
  4. /// @prop - Width of the toast
  5. $toast-width: 100% !default;
  6. /// @prop - Max width of the toast
  7. $toast-max-width: 700px !default;
  8. ion-toast {
  9. @include position(0, null, null, 0);
  10. position: absolute;
  11. z-index: $z-index-overlay;
  12. display: block;
  13. width: $toast-width;
  14. height: $toast-width;
  15. pointer-events: none;
  16. contain: strict;
  17. }
  18. .toast-container {
  19. display: flex;
  20. align-items: center;
  21. pointer-events: auto;
  22. contain: content;
  23. }
  24. .toast-button {
  25. @include padding(19px, 16px, 17px);
  26. font-size: 1.5rem;
  27. }
  28. .toast-message {
  29. flex: 1;
  30. }