component.module.scss 832 B

12345678910111213141516171819202122232425262728293031323334353637
  1. .modalBox {
  2. display: flex;
  3. flex-direction: column;
  4. align-items: center;
  5. position: relative;
  6. transform: translateY(-50px) scale(0.98);
  7. transition: all 0.2s ease-in-out;
  8. opacity: 0;
  9. &.bottom {
  10. transform: translateY(100%) scale(1);
  11. }
  12. &.showed {
  13. transform: translateY(0) scale(1);
  14. opacity: 1;
  15. }
  16. .modalBoxContainer {
  17. background-color: var(--primary1);
  18. border-radius: 0.1rem;
  19. padding: 0.1rem;
  20. width: 100%;
  21. }
  22. .closeBtn {
  23. margin-top: 0.1rem;
  24. background-color: var(--primary1);
  25. border-radius: 0.06rem;
  26. padding: 0.08rem;
  27. cursor: pointer;
  28. }
  29. .footer {
  30. padding-top: 0.1rem;
  31. }
  32. .confirmBtn {
  33. font-size: 14px;
  34. padding: 10px 0;
  35. width: 100%;
  36. }
  37. }