style.js 968 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. import styled from 'styled-components'
  2. export const VerifyWrapper = styled.div`
  3. .verifybox {
  4. position: relative;
  5. box-sizing: border-box;
  6. border-radius: 16px;
  7. border: 1px solid #e4e7eb;
  8. background-color: #fff;
  9. box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  10. left: 50%;
  11. top: 50%;
  12. transform: translate(-50%, -50%);
  13. }
  14. .verifybox-top {
  15. padding: 0 15px;
  16. height: 50px;
  17. line-height: 50px;
  18. text-align: center;
  19. font-size: 18px;
  20. color: #1f2329;
  21. box-sizing: border-box;
  22. }
  23. .verifybox-bottom {
  24. padding: 10px;
  25. box-sizing: border-box;
  26. }
  27. .verifybox-close {
  28. position: absolute;
  29. top: 13px;
  30. right: 9px;
  31. width: 24px;
  32. height: 24px;
  33. text-align: center;
  34. cursor: pointer;
  35. }
  36. &.mask {
  37. position: fixed;
  38. top: 0;
  39. left: 0;
  40. z-index: 1001;
  41. width: 100%;
  42. height: 100vh;
  43. background: rgba(0, 0, 0, 0.3);
  44. /* display: none; */
  45. transition: all 0.5s;
  46. }
  47. `