toastification.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // Core variables and mixins
  2. @import '~@resources/scss/base/bootstrap-extended/include';
  3. // Overrides user variable
  4. @import '~@resources/scss/base/components/include';
  5. $vt-toast-min-height: unset;
  6. $vt-toast-max-height: unset;
  7. $vt-toast-max-width: 400px;
  8. $vt-color-default: $white;
  9. $vt-color-info: $white;
  10. $vt-color-success: $white;
  11. $vt-color-warning: $white;
  12. $vt-color-error: $white;
  13. $vt-text-color-default: $primary;
  14. $vt-text-color-info: $info;
  15. $vt-text-color-success: $success;
  16. $vt-text-color-warning: $warning;
  17. $vt-text-color-error: $danger;
  18. $vt-font-family: inherit;
  19. // Import the regular Vue Toastification stylesheets (or create your own)
  20. @import 'vue-toastification/src/scss/_variables';
  21. @import 'vue-toastification/src/scss/_toastContainer';
  22. @import 'vue-toastification/src/scss/_toast';
  23. @import 'vue-toastification/src/scss/_closeButton';
  24. @import 'vue-toastification/src/scss/_progressBar';
  25. @import 'vue-toastification/src/scss/_icon';
  26. @import 'vue-toastification/src/scss/animations/fade';
  27. .#{$vt-namespace}__toast {
  28. padding: 1rem;
  29. box-shadow: $box-shadow;
  30. border-radius: $card-border-radius;
  31. }
  32. @media only screen and (max-width: 600px) {
  33. .Vue-Toastification__container {
  34. .Vue-Toastification__toast {
  35. width: 90%;
  36. }
  37. }
  38. }
  39. // ------------Dark Layout -----------//
  40. .dark-layout {
  41. .#{$vt-namespace}__toast {
  42. background-color: $theme-dark-card-bg;
  43. }
  44. }