style.module.css 774 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. .toast {
  2. display: flex;
  3. justify-content: center;
  4. align-items: center;
  5. position: fixed;
  6. z-index: 99999999;
  7. width: 1.84rem;
  8. height: 1.80rem;
  9. left: 50%;
  10. top: 50%;
  11. transform: translateX(-50%) translateY(-50%);
  12. background: #000000;
  13. box-shadow: 0 -.04rem .1rem 1px rgba(255, 255, 255, 0.1);
  14. border-radius: .1rem .1rem .1rem .1rem;
  15. }
  16. .main {
  17. width: 2rem;
  18. }
  19. .icon {
  20. margin-bottom: .2rem;
  21. height: .4rem;
  22. background: center center no-repeat;
  23. background-size: contain;
  24. }
  25. /* .success {
  26. background-image: url('./icons/success.svg');
  27. }
  28. .warning {
  29. background-image: url('./icons/warning.svg');
  30. }
  31. .error {
  32. background-image: url('./icons/error.svg');
  33. } */
  34. .text {
  35. text-align: center;
  36. font-size: .2rem;
  37. color: rgba(255, 255, 255, 0.86);
  38. }