@sikka/hawa 0.0.3 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/.github/workflows/hawa-publish-push.yml +45 -0
  2. package/.github/workflows/hawa-publish.yml +2 -0
  3. package/es/index.es.js +1 -0
  4. package/lib/index.js +1 -0
  5. package/package.json +24 -13
  6. package/rollup.config.js +2 -2
  7. package/src/Assets/images/card-background/1.jpeg +0 -0
  8. package/src/Assets/images/card-background/10.jpeg +0 -0
  9. package/src/Assets/images/card-background/11.jpeg +0 -0
  10. package/src/Assets/images/card-background/12.jpeg +0 -0
  11. package/src/Assets/images/card-background/13.jpeg +0 -0
  12. package/src/Assets/images/card-background/14.jpeg +0 -0
  13. package/src/Assets/images/card-background/15.jpeg +0 -0
  14. package/src/Assets/images/card-background/16.jpeg +0 -0
  15. package/src/Assets/images/card-background/17.jpeg +0 -0
  16. package/src/Assets/images/card-background/18.jpeg +0 -0
  17. package/src/Assets/images/card-background/19.jpeg +0 -0
  18. package/src/Assets/images/card-background/2.jpeg +0 -0
  19. package/src/Assets/images/card-background/20.jpeg +0 -0
  20. package/src/Assets/images/card-background/21.jpeg +0 -0
  21. package/src/Assets/images/card-background/22.jpeg +0 -0
  22. package/src/Assets/images/card-background/23.jpeg +0 -0
  23. package/src/Assets/images/card-background/24.jpeg +0 -0
  24. package/src/Assets/images/card-background/25.jpeg +0 -0
  25. package/src/Assets/images/card-background/3.jpeg +0 -0
  26. package/src/Assets/images/card-background/4.jpeg +0 -0
  27. package/src/Assets/images/card-background/5.jpeg +0 -0
  28. package/src/Assets/images/card-background/6.jpeg +0 -0
  29. package/src/Assets/images/card-background/7.jpeg +0 -0
  30. package/src/Assets/images/card-background/8.jpeg +0 -0
  31. package/src/Assets/images/card-background/9.jpeg +0 -0
  32. package/src/Assets/images/card-type/amex.png +0 -0
  33. package/src/Assets/images/card-type/diners.png +0 -0
  34. package/src/Assets/images/card-type/discover.png +0 -0
  35. package/src/Assets/images/card-type/mastercard.png +0 -0
  36. package/src/Assets/images/card-type/troy.png +0 -0
  37. package/src/Assets/images/card-type/unionpay.png +0 -0
  38. package/src/Assets/images/card-type/visa.png +0 -0
  39. package/src/blocks/Account/UserProfile.js +11 -11
  40. package/src/blocks/Account/UserSettings.js +11 -11
  41. package/src/blocks/AuthForms/NewPasswordForm.js +83 -10
  42. package/src/blocks/AuthForms/ResetPasswordForm.js +50 -8
  43. package/src/blocks/AuthForms/SignInForm.js +96 -13
  44. package/src/blocks/AuthForms/SignUpForm.js +113 -13
  45. package/src/blocks/Payment/ChargeWalletForm.js +32 -0
  46. package/src/blocks/Payment/CreditCardForm.js +31 -0
  47. package/src/blocks/Payment/Form/CForm.js +328 -0
  48. package/src/blocks/Payment/Form/Card.js +242 -0
  49. package/src/blocks/Payment/Gateway/GooglePay.js +251 -0
  50. package/src/blocks/Payment/Gateway/Payfort.js +90 -0
  51. package/src/blocks/Payment/Gateway/Paypal.js +138 -0
  52. package/src/blocks/Payment/Gateway/Wallet.js +149 -0
  53. package/src/blocks/Payment/PayWithWallet.js +35 -0
  54. package/src/blocks/Payment/PaymentMethod.js +132 -0
  55. package/src/blocks/Payment/SelectPayment.js +94 -0
  56. package/src/blocks/Payment/index.js +18 -0
  57. package/src/index.js +4 -1
  58. package/src/layout/Box.js +30 -17
  59. package/src/stories/BlocksStories/AuthForm.stories.js +105 -0
  60. package/src/stories/BlocksStories/PaymentForm.stories.js +82 -0
  61. package/src/stories/{UserAccount.stories.js → BlocksStories/UserAccount.stories.js} +2 -2
  62. package/src/stories/GlobalVariables.stories.js +33 -90
  63. package/src/stories/HawaProvider.stories.js +0 -1
  64. package/src/stories/Introduction.stories.js +132 -110
  65. package/src/stories/LayoutStories/Box.stories.js +56 -0
  66. package/src/stories/UIStories/ActionButton.stories.js +53 -0
  67. package/src/stories/{AdaptiveButton.stories.js → UIStories/AdaptiveButton.stories.js} +3 -3
  68. package/src/stories/UIStories/Alert.stories.js +55 -0
  69. package/src/stories/{CheckBox.stories.js → UIStories/CheckBox.stories.js} +3 -4
  70. package/src/stories/UIStories/InputLabel.stories.js +13 -0
  71. package/src/stories/{RadioSelector.stories.js → UIStories/RadioSelector.stories.js} +5 -6
  72. package/src/stories/{TextField.stories.js → UIStories/TextField.stories.js} +4 -5
  73. package/src/styles.scss +679 -0
  74. package/src/themes/HawaProvider.js +110 -16
  75. package/src/ui/ActionButton.js +35 -10
  76. package/src/ui/AdaptiveButton.js +29 -29
  77. package/src/ui/ApplePayButton.js +93 -0
  78. package/src/ui/AutoCompleteField.js +0 -1
  79. package/src/ui/DragDropImages.js +2 -2
  80. package/src/ui/GithubButton.js +90 -0
  81. package/src/ui/GoogleButton.js +82 -0
  82. package/src/ui/GooglePayButton.js +93 -0
  83. package/src/ui/HawaAlert.js +37 -0
  84. package/src/ui/HawaButton.js +48 -0
  85. package/src/ui/{Checkbox.js → HawaCheckbox.js} +3 -3
  86. package/src/ui/HawaInputLabel.js +32 -0
  87. package/src/ui/HawaLogoButton.js +48 -0
  88. package/src/ui/{RadioSelector.js → HawaRadio.js} +1 -1
  89. package/src/ui/{TextArea.js → HawaTextArea.js} +2 -2
  90. package/src/ui/HawaTextField.js +113 -0
  91. package/src/ui/HawaTypography.js +29 -0
  92. package/src/ui/MadaButton.js +93 -0
  93. package/src/ui/PayPalButton.js +93 -0
  94. package/src/ui/RadioBox.js +2 -2
  95. package/src/ui/STCPayButton.js +93 -0
  96. package/src/ui/SelectedField.js +4 -4
  97. package/src/ui/StyledTooltip.js +1 -1
  98. package/src/ui/TabPanel.js +1 -1
  99. package/src/ui/TwitterButton.js +83 -0
  100. package/src/ui/VisaMasterButton.js +93 -0
  101. package/src/ui/WalletButton.js +24 -0
  102. package/src/ui/index.js +23 -11
  103. package/storybook-static/0.0d994c92.iframe.bundle.js +3 -0
  104. package/storybook-static/{1.4e43f671.iframe.bundle.js.LICENSE.txt → 0.0d994c92.iframe.bundle.js.LICENSE.txt} +0 -0
  105. package/storybook-static/0.0d994c92.iframe.bundle.js.map +1 -0
  106. package/storybook-static/0.f47eb24a4893a96ec307.manager.bundle.js +1 -0
  107. package/storybook-static/1.aabc3f3a.iframe.bundle.js +1 -0
  108. package/storybook-static/{3.c1dc7159.iframe.bundle.js → 2.430bf1e3.iframe.bundle.js} +1 -1
  109. package/storybook-static/4.0fcda1281dc1961dbe94.manager.bundle.js +2 -0
  110. package/storybook-static/{4.8c311a6b48cad9f29317.manager.bundle.js.LICENSE.txt → 4.0fcda1281dc1961dbe94.manager.bundle.js.LICENSE.txt} +0 -0
  111. package/storybook-static/{5.88fe62ee92ff5ca67829.manager.bundle.js → 5.63ab4f94d50a3acf080d.manager.bundle.js} +1 -1
  112. package/storybook-static/{7.69d2e532.iframe.bundle.js → 6.704d1e8d.iframe.bundle.js} +1 -1
  113. package/storybook-static/{6.96d184f368dea006cb52.manager.bundle.js → 6.a6d45262f7e98f3f18d3.manager.bundle.js} +2 -2
  114. package/storybook-static/{6.96d184f368dea006cb52.manager.bundle.js.LICENSE.txt → 6.a6d45262f7e98f3f18d3.manager.bundle.js.LICENSE.txt} +0 -0
  115. package/storybook-static/{7.5ec31f3702b08ab0b71c.manager.bundle.js → 7.097710753af9a1c41b80.manager.bundle.js} +1 -1
  116. package/storybook-static/{8.68cd1217.iframe.bundle.js → 7.9ce807e3.iframe.bundle.js} +3 -3
  117. package/storybook-static/{8.68cd1217.iframe.bundle.js.LICENSE.txt → 7.9ce807e3.iframe.bundle.js.LICENSE.txt} +0 -0
  118. package/storybook-static/7.9ce807e3.iframe.bundle.js.map +1 -0
  119. package/storybook-static/{8.5ce13be7612bd3a6b864.manager.bundle.js → 8.76c3cbf398692028e834.manager.bundle.js} +1 -1
  120. package/storybook-static/{9.488e3969.iframe.bundle.js → 8.c4cb6081.iframe.bundle.js} +1 -1
  121. package/storybook-static/iframe.html +1 -1
  122. package/storybook-static/index.html +1 -1
  123. package/storybook-static/main.ac6e4b72b033097dad76.manager.bundle.js +1 -0
  124. package/storybook-static/main.e55ce615.iframe.bundle.js +1 -0
  125. package/storybook-static/{runtime~main.cc29f4c2175f187a3707.manager.bundle.js → runtime~main.c8dac23bc753439736f0.manager.bundle.js} +1 -1
  126. package/storybook-static/runtime~main.cfefe972.iframe.bundle.js +1 -0
  127. package/storybook-static/vendors~main.30a2c5d7.iframe.bundle.js +76 -0
  128. package/storybook-static/{vendors~main.d144d840.iframe.bundle.js.LICENSE.txt → vendors~main.30a2c5d7.iframe.bundle.js.LICENSE.txt} +3 -30
  129. package/storybook-static/vendors~main.30a2c5d7.iframe.bundle.js.map +1 -0
  130. package/storybook-static/vendors~main.a697e07137d366f95f76.manager.bundle.js +2 -0
  131. package/storybook-static/{vendors~main.f228d62e92b69563cefb.manager.bundle.js.LICENSE.txt → vendors~main.a697e07137d366f95f76.manager.bundle.js.LICENSE.txt} +0 -0
  132. package/tools/build-styles.js +17 -0
  133. package/src/blocks/AuthForms/viaFacebook.js +0 -0
  134. package/src/blocks/AuthForms/viaGithub.js +0 -0
  135. package/src/blocks/AuthForms/viaGoogle.js +0 -0
  136. package/src/blocks/AuthForms/viaTwitter.js +0 -0
  137. package/src/stories/ActionButton.stories.js +0 -49
  138. package/src/stories/Alert.stories.js +0 -41
  139. package/src/stories/AuthForm.stories.js +0 -79
  140. package/src/stories/Box.stories.js +0 -64
  141. package/src/stories/InputLabel.stories.js +0 -92
  142. package/src/ui/StyledAlert.js +0 -30
  143. package/src/ui/StyledInputLabel.js +0 -19
  144. package/src/ui/TextField.js +0 -62
  145. package/storybook-static/0.d3bc3395610cf5d3ee94.manager.bundle.js +0 -1
  146. package/storybook-static/0.dd3d47f5.iframe.bundle.js +0 -1
  147. package/storybook-static/1.4e43f671.iframe.bundle.js +0 -3
  148. package/storybook-static/1.4e43f671.iframe.bundle.js.map +0 -1
  149. package/storybook-static/2.9a757207.iframe.bundle.js +0 -1
  150. package/storybook-static/4.8c311a6b48cad9f29317.manager.bundle.js +0 -2
  151. package/storybook-static/8.68cd1217.iframe.bundle.js.map +0 -1
  152. package/storybook-static/main.65cb2769.iframe.bundle.js +0 -1
  153. package/storybook-static/main.7e391cf7bf72b0d18ea5.manager.bundle.js +0 -1
  154. package/storybook-static/runtime~main.6e2e1544.iframe.bundle.js +0 -1
  155. package/storybook-static/vendors~main.d144d840.iframe.bundle.js +0 -3
  156. package/storybook-static/vendors~main.d144d840.iframe.bundle.js.map +0 -1
  157. package/storybook-static/vendors~main.f228d62e92b69563cefb.manager.bundle.js +0 -2
  158. package/yarn-error.log +0 -10910
@@ -0,0 +1,679 @@
1
+ @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600,700|Source+Sans+Pro:400,600,700&display=swap');
2
+
3
+ * {
4
+ box-sizing: border-box;
5
+ &:focus {
6
+ outline: none;
7
+ }
8
+ }
9
+ .wrapper {
10
+ min-height: 100vh;
11
+ display: flex;
12
+ padding: 50px 15px;
13
+ @media screen and (max-width: 700px), (max-height: 500px) {
14
+ flex-wrap: wrap;
15
+ flex-direction: column;
16
+ }
17
+ }
18
+
19
+ .card-form {
20
+ max-width: 570px;
21
+ margin: auto;
22
+ width: 100%;
23
+
24
+ @media screen and (max-width: 576px) {
25
+ margin: 0 auto;
26
+ }
27
+
28
+ &__inner {
29
+ background: #fff;
30
+ // box-shadow: 3px 13px 30px 0px rgba(21, 34, 67, 0.2);
31
+ box-shadow: 0 30px 60px 0 rgba(90, 116, 148, 0.4);
32
+ border-radius: 10px;
33
+ padding: 35px;
34
+ padding-top: 180px;
35
+
36
+ @media screen and (max-width: 480px) {
37
+ padding: 25px;
38
+ padding-top: 165px;
39
+ }
40
+ @media screen and (max-width: 360px) {
41
+ padding: 15px;
42
+ padding-top: 165px;
43
+ }
44
+ }
45
+
46
+ &__row {
47
+ display: flex;
48
+ align-items: flex-start;
49
+ @media screen and (max-width: 480px) {
50
+ flex-wrap: wrap;
51
+ }
52
+ }
53
+
54
+ &__col {
55
+ flex: auto;
56
+ margin-right: 35px;
57
+
58
+ &:last-child {
59
+ margin-right: 0;
60
+ }
61
+
62
+ @media screen and (max-width: 480px) {
63
+ margin-right: 0;
64
+ flex: unset;
65
+ width: 100%;
66
+ margin-bottom: 20px;
67
+
68
+ &:last-child {
69
+ margin-bottom: 0;
70
+ }
71
+ }
72
+
73
+ &.-cvv {
74
+ max-width: 150px;
75
+ @media screen and (max-width: 480px) {
76
+ max-width: initial;
77
+ }
78
+ }
79
+ }
80
+
81
+ &__group {
82
+ display: flex;
83
+ align-items: flex-start;
84
+ flex-wrap: wrap;
85
+
86
+ .card-input__input {
87
+ flex: 1;
88
+ margin-right: 15px;
89
+
90
+ &:last-child {
91
+ margin-right: 0;
92
+ }
93
+ }
94
+ }
95
+
96
+ &__button {
97
+ width: 100%;
98
+ height: 55px;
99
+ background: #2364d2;
100
+ border: none;
101
+ border-radius: 5px;
102
+ font-size: 22px;
103
+ font-weight: 500;
104
+ font-family: 'Source Sans Pro', sans-serif;
105
+ box-shadow: 3px 10px 20px 0px rgba(35, 100, 210, 0.3);
106
+ color: #fff;
107
+ margin-top: 20px;
108
+ cursor: pointer;
109
+
110
+ @media screen and (max-width: 480px) {
111
+ margin-top: 10px;
112
+ }
113
+ }
114
+ }
115
+
116
+ .card-list {
117
+ margin-bottom: -130px;
118
+
119
+ @media screen and (max-width: 480px) {
120
+ margin-bottom: -120px;
121
+ }
122
+ }
123
+
124
+ .card-input {
125
+ margin-bottom: 20px;
126
+ &__label {
127
+ font-size: 14px;
128
+ margin-bottom: 5px;
129
+ font-weight: 500;
130
+ color: #1a3b5d;
131
+ width: 100%;
132
+ display: block;
133
+ user-select: none;
134
+ }
135
+ &__input {
136
+ width: 100%;
137
+ height: 50px;
138
+ border-radius: 5px;
139
+ box-shadow: none;
140
+ border: 1px solid #ced6e0;
141
+ transition: all 0.3s ease-in-out;
142
+ font-size: 18px;
143
+ padding: 5px 15px;
144
+ background: none;
145
+ color: #1a3b5d;
146
+ font-family: 'Source Sans Pro', sans-serif;
147
+
148
+ &:hover,
149
+ &:focus {
150
+ border-color: #3d9cff;
151
+ }
152
+
153
+ &:focus {
154
+ box-shadow: 0px 10px 20px -13px rgba(32, 56, 117, 0.35);
155
+ }
156
+ &.-select {
157
+ -webkit-appearance: none;
158
+ background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAeCAYAAABuUU38AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUxJREFUeNrM1sEJwkAQBdCsngXPHsQO9O5FS7AAMVYgdqAd2IGCDWgFnryLFQiCZ8EGnJUNimiyM/tnk4HNEAg/8y6ZmMRVqz9eUJvRaSbvutCZ347bXVJy/ZnvTmdJ862Me+hAbZCTs6GHpyUi1tTSvPnqTpoWZPUa7W7ncT3vK4h4zVejy8QzM3WhVUO8ykI6jOxoGA4ig3BLHcNFSCGqGAkig2yqgpEiMsjSfY9LxYQg7L6r0X6wS29YJiYQYecemY+wHrXD1+bklGhpAhBDeu/JfIVGxaAQ9sb8CI+CQSJ+QmJg0Ii/EE2MBiIXooHRQhRCkBhNhBcEhLkwf05ZCG8ICCOpk0MULmvDSY2M8UawIRExLIQIEgHDRoghihgRIgiigBEjgiFATBACAgFgghEwSAAGgoBCBBgYAg5hYKAIFYgHBo6w9RRgAFfy160QuV8NAAAAAElFTkSuQmCC');
159
+ background-size: 12px;
160
+ background-position: 90% center;
161
+ background-repeat: no-repeat;
162
+ padding-right: 30px;
163
+ }
164
+ }
165
+ }
166
+
167
+ .github-btn {
168
+ position: absolute;
169
+ right: 40px;
170
+ bottom: 50px;
171
+ text-decoration: none;
172
+ padding: 15px 25px;
173
+ border-radius: 4px;
174
+ box-shadow: 0px 4px 30px -6px rgba(36, 52, 70, 0.65);
175
+ background: #24292e;
176
+ color: #fff;
177
+ font-weight: bold;
178
+ letter-spacing: 1px;
179
+ font-size: 16px;
180
+ text-align: center;
181
+ transition: all 0.3s ease-in-out;
182
+
183
+ @media screen and (min-width: 500px) {
184
+ &:hover {
185
+ transform: scale(1.1);
186
+ box-shadow: 0px 17px 20px -6px rgba(36, 52, 70, 0.36);
187
+ }
188
+ }
189
+
190
+ @media screen and (max-width: 700px) {
191
+ position: relative;
192
+ bottom: auto;
193
+ right: auto;
194
+ margin-top: 20px;
195
+
196
+ &:active {
197
+ transform: scale(1.1);
198
+ box-shadow: 0px 17px 20px -6px rgba(36, 52, 70, 0.36);
199
+ }
200
+ }
201
+ }
202
+ .card-item {
203
+ max-width: 450px;
204
+ height: 270px;
205
+ margin-left: auto;
206
+ margin-right: auto;
207
+ position: relative;
208
+ z-index: 2;
209
+ width: 100%;
210
+
211
+ @media screen and (max-width: 480px) {
212
+ max-width: 310px;
213
+ height: 220px;
214
+ width: 90%;
215
+ }
216
+
217
+ @media screen and (max-width: 360px) {
218
+ height: 180px;
219
+ }
220
+
221
+ &.-active {
222
+ .card-item__side {
223
+ &.-front {
224
+ transform: perspective(1000px) rotateY(180deg) rotateX(0deg)
225
+ rotateZ(0deg);
226
+ }
227
+ &.-back {
228
+ transform: perspective(1000px) rotateY(0) rotateX(0deg)
229
+ rotateZ(0deg);
230
+ // box-shadow: 0 20px 50px 0 rgba(81, 88, 206, 0.65);
231
+ }
232
+ }
233
+ }
234
+
235
+ &__focus {
236
+ position: absolute;
237
+ z-index: 3;
238
+ border-radius: 5px;
239
+ left: 0;
240
+ top: 0;
241
+ width: 100%;
242
+ height: 100%;
243
+ transition: all 0.35s cubic-bezier(0.71, 0.03, 0.56, 0.85);
244
+ opacity: 0;
245
+ pointer-events: none;
246
+ overflow: hidden;
247
+ border: 2px solid rgba(255, 255, 255, 0.65);
248
+
249
+ &:after {
250
+ content: '';
251
+ position: absolute;
252
+ top: 0;
253
+ left: 0;
254
+ width: 100%;
255
+ background: rgb(8, 20, 47);
256
+ height: 100%;
257
+ border-radius: 5px;
258
+ filter: blur(25px);
259
+ opacity: 0.5;
260
+ }
261
+
262
+ &.-active {
263
+ opacity: 1;
264
+ }
265
+ }
266
+
267
+ &__side {
268
+ border-radius: 15px;
269
+ overflow: hidden;
270
+ box-shadow: 0 5px 16px 0 rgba(14, 42, 84, 0.55);
271
+ transform: perspective(2000px) rotateY(0deg) rotateX(0deg) rotate(0deg);
272
+ transform-style: preserve-3d;
273
+ transition: all 0.8s cubic-bezier(0.42, 0, 0, 1.05);
274
+ -webkit-backface-visibility: hidden;
275
+ backface-visibility: hidden;
276
+ height: 100%;
277
+
278
+ &.-back {
279
+ position: absolute;
280
+ top: 0;
281
+ left: 0;
282
+ width: 100%;
283
+ transform: perspective(2000px) rotateY(-180deg) rotateX(0deg)
284
+ rotate(0deg);
285
+ z-index: 2;
286
+ padding: 0;
287
+ // background-color: #2364d2;
288
+ // background-image: linear-gradient(
289
+ // 43deg,
290
+ // #4158d0 0%,
291
+ // #8555c7 46%,
292
+ // #2364d2 100%
293
+ // );
294
+ height: 100%;
295
+
296
+ .card-item__cover {
297
+ transform: rotateY(-180deg);
298
+ }
299
+ }
300
+ }
301
+ &__bg {
302
+ max-width: 100%;
303
+ display: block;
304
+ max-height: 100%;
305
+ height: 100%;
306
+ width: 100%;
307
+ object-fit: cover;
308
+ }
309
+ &__cover {
310
+ height: 100%;
311
+ background-color: #1c1d27;
312
+ position: absolute;
313
+ height: 100%;
314
+ background-color: #1c1d27;
315
+ left: 0;
316
+ top: 0;
317
+ width: 100%;
318
+ border-radius: 15px;
319
+ overflow: hidden;
320
+ &:after {
321
+ content: '';
322
+ position: absolute;
323
+ left: 0;
324
+ top: 0;
325
+ width: 100%;
326
+ height: 100%;
327
+ background: rgba(6, 2, 29, 0.45);
328
+ }
329
+ }
330
+
331
+ &__top {
332
+ display: flex;
333
+ align-items: flex-start;
334
+ justify-content: space-between;
335
+ margin-bottom: 40px;
336
+ padding: 0 10px;
337
+
338
+ @media screen and (max-width: 480px) {
339
+ margin-bottom: 25px;
340
+ }
341
+ @media screen and (max-width: 360px) {
342
+ margin-bottom: 15px;
343
+ }
344
+ }
345
+
346
+ &__chip {
347
+ width: 60px;
348
+ @media screen and (max-width: 480px) {
349
+ width: 50px;
350
+ }
351
+ @media screen and (max-width: 360px) {
352
+ width: 40px;
353
+ }
354
+ }
355
+
356
+ &__type {
357
+ height: 45px;
358
+ position: relative;
359
+ display: flex;
360
+ justify-content: flex-end;
361
+ max-width: 100px;
362
+ margin-left: auto;
363
+ width: 100%;
364
+
365
+ @media screen and (max-width: 480px) {
366
+ height: 40px;
367
+ max-width: 90px;
368
+ }
369
+ @media screen and (max-width: 360px) {
370
+ height: 30px;
371
+ }
372
+ }
373
+
374
+ &__typeImg {
375
+ max-width: 100%;
376
+ object-fit: contain;
377
+ max-height: 100%;
378
+ object-position: top right;
379
+ }
380
+
381
+ &__info {
382
+ color: #fff;
383
+ width: 100%;
384
+ max-width: calc(100% - 85px);
385
+ padding: 10px 15px;
386
+ font-weight: 500;
387
+ display: block;
388
+
389
+ cursor: pointer;
390
+
391
+ @media screen and (max-width: 480px) {
392
+ padding: 10px;
393
+ }
394
+ }
395
+
396
+ &__holder {
397
+ opacity: 0.7;
398
+ font-size: 13px;
399
+ margin-bottom: 6px;
400
+ @media screen and (max-width: 480px) {
401
+ font-size: 12px;
402
+ margin-bottom: 5px;
403
+ }
404
+ }
405
+
406
+ &__wrapper {
407
+ font-family: 'Source Code Pro', monospace;
408
+ padding: 25px 15px;
409
+ position: relative;
410
+ z-index: 4;
411
+ height: 100%;
412
+ text-shadow: 7px 6px 10px rgba(14, 42, 90, 0.8);
413
+ user-select: none;
414
+ @media screen and (max-width: 480px) {
415
+ padding: 20px 10px;
416
+ }
417
+ }
418
+
419
+ &__name {
420
+ font-size: 18px;
421
+ line-height: 1;
422
+ white-space: nowrap;
423
+ max-width: 100%;
424
+ overflow: hidden;
425
+ text-overflow: ellipsis;
426
+ text-transform: uppercase;
427
+ @media screen and (max-width: 480px) {
428
+ font-size: 16px;
429
+ }
430
+ }
431
+ &__nameItem {
432
+ display: inline-block;
433
+ min-width: 8px;
434
+ position: relative;
435
+ }
436
+
437
+ &__number {
438
+ font-weight: 500;
439
+ line-height: 1;
440
+ color: #fff;
441
+ font-size: 27px;
442
+ margin-bottom: 35px;
443
+ display: inline-block;
444
+ padding: 10px 15px;
445
+ cursor: pointer;
446
+
447
+ @media screen and (max-width: 480px) {
448
+ font-size: 21px;
449
+ margin-bottom: 15px;
450
+ padding: 10px 10px;
451
+ }
452
+
453
+ @media screen and (max-width: 360px) {
454
+ font-size: 19px;
455
+ margin-bottom: 10px;
456
+ padding: 10px 10px;
457
+ }
458
+ }
459
+
460
+ &__numberItem {
461
+ width: 16px;
462
+ display: inline-block;
463
+ &.-active {
464
+ width: 30px;
465
+ }
466
+
467
+ @media screen and (max-width: 480px) {
468
+ width: 13px;
469
+
470
+ &.-active {
471
+ width: 16px;
472
+ }
473
+ }
474
+
475
+ @media screen and (max-width: 360px) {
476
+ width: 12px;
477
+
478
+ &.-active {
479
+ width: 8px;
480
+ }
481
+ }
482
+ }
483
+
484
+ &__content {
485
+ color: #fff;
486
+ display: flex;
487
+ align-items: flex-start;
488
+ }
489
+
490
+ &__date {
491
+ flex-wrap: wrap;
492
+ font-size: 18px;
493
+ margin-left: auto;
494
+ padding: 10px;
495
+ display: inline-flex;
496
+ width: 80px;
497
+ white-space: nowrap;
498
+ flex-shrink: 0;
499
+ cursor: pointer;
500
+
501
+ @media screen and (max-width: 480px) {
502
+ font-size: 16px;
503
+ }
504
+ }
505
+
506
+ &__dateItem {
507
+ position: relative;
508
+ span {
509
+ width: 22px;
510
+ display: inline-block;
511
+ }
512
+ }
513
+
514
+ &__dateTitle {
515
+ opacity: 0.7;
516
+ font-size: 13px;
517
+ padding-bottom: 6px;
518
+ width: 100%;
519
+
520
+ @media screen and (max-width: 480px) {
521
+ font-size: 12px;
522
+ padding-bottom: 5px;
523
+ }
524
+ }
525
+ &__band {
526
+ background: rgba(0, 0, 19, 0.8);
527
+ width: 100%;
528
+ height: 50px;
529
+ margin-top: 30px;
530
+ position: relative;
531
+ z-index: 2;
532
+ @media screen and (max-width: 480px) {
533
+ margin-top: 20px;
534
+ }
535
+ @media screen and (max-width: 360px) {
536
+ height: 40px;
537
+ margin-top: 10px;
538
+ }
539
+ }
540
+
541
+ &__cvv {
542
+ text-align: right;
543
+ position: relative;
544
+ z-index: 2;
545
+ padding: 15px;
546
+ .card-item__type {
547
+ opacity: 0.7;
548
+ }
549
+
550
+ @media screen and (max-width: 360px) {
551
+ padding: 10px 15px;
552
+ }
553
+ }
554
+ &__cvvTitle {
555
+ padding-right: 10px;
556
+ font-size: 15px;
557
+ font-weight: 500;
558
+ color: #fff;
559
+ margin-bottom: 5px;
560
+ }
561
+ &__cvvBand {
562
+ height: 45px;
563
+ background: #fff;
564
+ margin-bottom: 30px;
565
+ text-align: right;
566
+ display: flex;
567
+ align-items: center;
568
+ justify-content: flex-end;
569
+ padding-right: 10px;
570
+ color: #1a3b5d;
571
+ font-size: 18px;
572
+ border-radius: 4px;
573
+ box-shadow: 0px 10px 20px -7px rgba(32, 56, 117, 0.35);
574
+
575
+ @media screen and (max-width: 480px) {
576
+ height: 40px;
577
+ margin-bottom: 20px;
578
+ }
579
+
580
+ @media screen and (max-width: 360px) {
581
+ margin-bottom: 15px;
582
+ }
583
+
584
+ span {
585
+ display: inline-block;
586
+ }
587
+ }
588
+ }
589
+
590
+ .slide-fade-right-enter {
591
+ opacity: 0;
592
+ transform: translateX(10px) rotate(45deg);
593
+ pointer-events: nne;
594
+ }
595
+ .slide-fade-right-enter-active {
596
+ transition: all 0.25s ease-in-out;
597
+ transition-delay: 0.1s;
598
+ transform: translateX(0px) rotate(0deg);
599
+ position: relative;
600
+ opacity: 100;
601
+ }
602
+
603
+ .slide-fade-right-exit {
604
+ transform: translateX(0px) rotate(0deg);
605
+ pointer-events: none;
606
+ }
607
+
608
+ .slide-fade-right-exit-active {
609
+ opacity: 0;
610
+ transition: all 0.25s ease-in-out;
611
+ transform: translateX(30px) rotate(-80deg);
612
+ position: relative;
613
+ }
614
+
615
+ .slide-fade-up-enter {
616
+ transform: translateY(15px);
617
+ pointer-events: none;
618
+ opacity: 0;
619
+ }
620
+
621
+ .slide-fade-up-enter-active {
622
+ transition: all 0.25s ease-in-out;
623
+ transition-delay: 0.1s;
624
+ transform: translateY(0px);
625
+ position: relative;
626
+ opacity: 1;
627
+ }
628
+
629
+ .slide-fade-up-enter-done {
630
+ transform: translateY(0px);
631
+ opacity: 1;
632
+ }
633
+
634
+ .slide-fade-up-exit {
635
+ transform: translateY(0px);
636
+ pointer-events: none;
637
+ opacity: 1;
638
+ }
639
+
640
+ .slide-fade-up-exit-active {
641
+ transition: all 250ms ease-in-out;
642
+ transform: translateY(-15px);
643
+ position: relative;
644
+ opacity: 0;
645
+ }
646
+
647
+ .slide-fade-up-exit-done {
648
+ opacity: 0;
649
+ }
650
+
651
+ .zoom-in-out-enter {
652
+ transform: translateY(6px) scale(3.5);
653
+ transition-delay: 0.1s;
654
+ filter: blur(0.4px);
655
+ opacity: 0;
656
+ }
657
+
658
+ .zoom-in-out-enter-active {
659
+ transition: all 250ms ease-in-out;
660
+ transform: translateY(0px) scale(1);
661
+ filter: blur(0px);
662
+ opacity: 1;
663
+ }
664
+
665
+ .zoom-in-out-enter-done {
666
+ opacity: 1;
667
+ }
668
+
669
+ .zoom-in-out-exit {
670
+ opacity: 1;
671
+ }
672
+
673
+ .zoom-in-out-exit-active {
674
+ transition: all 150ms ease-in-out;
675
+ transition-delay: 0.1s;
676
+ transform: translateY(4px) scale(2.3);
677
+ filter: blur(0.4px);
678
+ position: relative;
679
+ }