@everymatrix/general-player-register-form-step2 0.0.258 → 0.0.261

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-register-form-step2",
3
- "version": "0.0.258",
3
+ "version": "0.0.261",
4
4
  "main": "dist/general-player-register-form-step2.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "29d9cee256c6fbdf17d95ed82bc3ebcc62241704"
39
+ "gitHead": "a93c0ae8104c039af7d54949a0889c11bca83acb"
40
40
  }
@@ -258,13 +258,6 @@
258
258
  <button class="RegisterStepNext" part="RegisterStepNext" disabled={!isValid} on:click={goNext}>{$_('registerFormStep2.registerNext')}</button>
259
259
 
260
260
  <style lang="scss">
261
- //This function does a multiplication
262
- // in order to work with px the
263
- // same way as working with em
264
- @function ttp($value) {
265
- $multiplicator: 16px;
266
- @return $value * $multiplicator;
267
- }
268
261
 
269
262
  :host {
270
263
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
@@ -285,7 +278,7 @@
285
278
  svg {
286
279
  width: 20px;
287
280
  height: 20px;
288
- margin-right: ttp(1.25);
281
+ margin-right: 24px;
289
282
  fill: var(--emfe-w-color-primary, #D0046C);
290
283
  }
291
284
  }
@@ -293,23 +286,21 @@
293
286
  .UserTitleContainer,
294
287
  .CurrencyContainer {
295
288
  label {
296
- font-size: ttp(0.875);
289
+ font-size: 14px;
297
290
  font-weight: 300;
298
- padding-bottom: ttp(0.3125);
291
+ padding-bottom: 5px;
299
292
 
300
293
  }
301
294
 
302
295
  select {
303
296
  width: 100%;
304
- height: ttp(2.75);
297
+ height: 44px;
305
298
  border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
306
- border-radius: ttp(0.3125);
307
- padding: ttp(0.3125);
308
- font-size: ttp(0.875);
299
+ border-radius: 5px;
309
300
  box-sizing: border-box;
310
- padding: ttp(0.3125) ttp(0.9375);
311
- font-size: ttp(1);
312
- line-height: ttp(1.125);
301
+ padding: 5px 15px;
302
+ font-size: 16px;
303
+ line-height: 18px;
313
304
  -webkit-appearance: none;
314
305
  -moz-appearance: none;
315
306
  appearance: none;
@@ -332,26 +323,24 @@
332
323
  color: var(--emfe-w-color-gray-300, #58586B);
333
324
  display: flex;
334
325
  flex-direction: column;
335
- padding-bottom: ttp(1.875);
326
+ padding-bottom: 30px;
336
327
  position: relative;
337
328
 
338
329
  label {
339
- font-size: ttp(0.875);
330
+ font-size: 14px;
340
331
  font-weight: 300;
341
- padding-bottom: ttp(0.3125);
332
+ padding-bottom: 5px;
342
333
  }
343
334
 
344
335
  input, select {
345
336
  width: 100%;
346
- height: ttp(2.75);
337
+ height: 44px;
347
338
  border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
348
- border-radius: ttp(0.3125);
349
- padding: ttp(0.3125);
350
- font-size: ttp(0.875);
339
+ border-radius: 5px;
351
340
  box-sizing: border-box;
352
- padding: ttp(0.3125) ttp(0.9375);
353
- font-size: ttp(1);
354
- line-height: ttp(1.125);
341
+ padding: 5px 15px;
342
+ font-size: 16px;
343
+ line-height: 18px;
355
344
  }
356
345
 
357
346
  &.InvalidField {
@@ -365,7 +354,7 @@
365
354
 
366
355
  .BirthDateOptions {
367
356
  display: flex;
368
- gap: ttp(0.625);
357
+ gap: 10px;
369
358
 
370
359
  .BirthDaySelected {
371
360
  width: 30%;
@@ -416,15 +405,15 @@
416
405
 
417
406
  .InvalidInput {
418
407
  color: var(--emfe-w-color-error, #FD2839);
419
- font-size: ttp(0.625);
408
+ font-size: 10px;
420
409
  position: absolute;
421
410
  bottom: -3px;
422
- line-height: ttp(0.625);
411
+ line-height: 10px;
423
412
  }
424
413
 
425
414
  .ErrorMessage {
426
- margin: 0 0 ttp(0.938) 0;
427
- font-size: ttp(0.75);
415
+ margin: 0 0 15px 0;
416
+ font-size: 12px;
428
417
  color: var(--emfe-w-color-error, #FD2839);
429
418
  }
430
419
 
@@ -434,12 +423,12 @@
434
423
  border: 1px solid var(--emfe-w-color-primary, #D0046C);
435
424
  border-radius: 5px;
436
425
  width: 100%;
437
- height: ttp(3.75);
426
+ height: 60px;
438
427
  padding: 0;
439
428
  text-transform: uppercase;
440
- font-size: ttp(1.125);
429
+ font-size: 18px;
441
430
  cursor: pointer;
442
- margin-top: ttp(1.5);
431
+ margin-top: 24px;
443
432
  &[disabled] {
444
433
  background: var(--emfe-w-color-gray-100, #E6E6E6);
445
434
  border: 1px solid var(--emfe-w-color-gray-150, #828282);