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.

94 lines
1.7 KiB

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