style.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. import styled from 'styled-components';
  2. export const Container = styled.div`
  3. footer {
  4. margin-top: 30px;
  5. display: flex;
  6. justify-content: space-between;
  7. align-items: center;
  8. width: 100%;
  9. @media (max-width: 768px) {
  10. flex-direction: column;
  11. .checkout-buttons {
  12. display: flex;
  13. flex-direction: column-reverse;
  14. width: 100%;
  15. button {
  16. width: 100%;
  17. margin-top: 16px;
  18. margin-left: 0;
  19. }
  20. }
  21. }
  22. button {
  23. margin-left: 16px;
  24. }
  25. }
  26. `;
  27. export const Total = styled.div`
  28. display: flex;
  29. align-items: baseline;
  30. span {
  31. color: #333;
  32. font-weight: bold;
  33. }
  34. strong {
  35. color: #333;
  36. font-size: 28px;
  37. margin-left: 5px;
  38. }
  39. @media (max-width: 768px) {
  40. min-width: 100%;
  41. justify-content: space-between;
  42. }
  43. `;
  44. export const SuccessContent = styled.div`
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: center;
  48. align-items: center;
  49. > h2 {
  50. text-align: center;
  51. }
  52. > svg {
  53. margin-top: 16px;
  54. }
  55. > span {
  56. margin-top: 24px;
  57. text-align: center;
  58. }
  59. > p,
  60. strong {
  61. margin-top: 8px;
  62. font-size: 9px;
  63. color: #999;
  64. }
  65. .copy-button {
  66. font-size: 14px;
  67. cursor: pointer;
  68. text-align: center;
  69. user-select: none;
  70. min-height: 56px;
  71. display: inline-flex;
  72. -webkit-box-pack: center;
  73. justify-content: center;
  74. -webkit-box-align: center;
  75. align-items: center;
  76. background-color: #f9f9f9;
  77. color: #000;
  78. -webkit-appearance: none !important;
  79. outline: none;
  80. margin-top: 16px;
  81. width: 256px;
  82. font-weight: 600;
  83. text-transform: uppercase;
  84. border: none;
  85. > span {
  86. margin-right: 8px;
  87. }
  88. }
  89. `;
  90. export const CheckoutWrapper = styled.div`
  91. width: 100%;
  92. margin: 0 auto 0;
  93. max-width: 1110px;
  94. display: flex;
  95. flex-direction: column;
  96. -webkit-box-align: center;
  97. align-items: center;
  98. padding: 50px 95px;
  99. background: #fff;
  100. @media (max-width: 768px) {
  101. padding: 16px 24px;
  102. `;