You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
1.8 KiB

11 months ago
  1. /*!
  2. * Toastify js 1.12.0
  3. * https://github.com/apvarun/toastify-js
  4. * @license MIT licensed
  5. *
  6. * customized by: pvincent
  7. */
  8. .toastify {
  9. padding: 12px 20px;
  10. color: #ffffff;
  11. display: inline-block;
  12. box-shadow: 0 6px 6px 3px rgba(0, 0, 0, 0.3), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
  13. background: linear-gradient(135deg, #73a5ff, #5477f5);
  14. position: fixed;
  15. opacity: 0;
  16. transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  17. border-radius: 2px;
  18. cursor: text;
  19. text-decoration: none;
  20. max-width: calc(50% - 20px);
  21. z-index: 50;
  22. }
  23. .toastify-notice {
  24. background: linear-gradient(135deg, darkgreen, green);
  25. }
  26. .toastify-alert {
  27. background: linear-gradient(135deg, darkred, red)
  28. }
  29. .toastify.on {
  30. opacity: 1;
  31. top: 0;
  32. }
  33. .toastify .toast-close {
  34. background: transparent;
  35. color: transparent;
  36. margin-left: 1em;
  37. padding: 0 5px;
  38. border-radius: 25%;
  39. border: 0;
  40. cursor: pointer;
  41. font-family: inherit;
  42. font-size: 1em;
  43. opacity: 0;
  44. }
  45. .toastify:hover .toast-close {
  46. background: white;
  47. color: black;
  48. opacity: 0.5;
  49. transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  50. }
  51. .toastify-right {
  52. right: 15px;
  53. }
  54. .toastify-left {
  55. left: 15px;
  56. }
  57. .toastify-top {
  58. top: -150px;
  59. }
  60. .toastify-bottom {
  61. bottom: -150px;
  62. }
  63. .toastify-rounded {
  64. border-radius: 25px;
  65. }
  66. .toastify-avatar {
  67. width: 1.5em;
  68. height: 1.5em;
  69. margin: -7px 5px;
  70. border-radius: 2px;
  71. }
  72. .toastify-center {
  73. margin-left: auto;
  74. margin-right: auto;
  75. left: 0;
  76. right: 0;
  77. max-width: fit-content;
  78. }
  79. @media only screen and (max-width: 360px) {
  80. .toastify-right, .toastify-left {
  81. margin-left: auto;
  82. margin-right: auto;
  83. left: 0;
  84. right: 0;
  85. max-width: fit-content;
  86. }
  87. }