@everymatrix/general-player-register-form-step1 0.0.256 → 0.0.259

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-step1",
3
- "version": "0.0.256",
3
+ "version": "0.0.259",
4
4
  "main": "dist/general-player-register-form-step1.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": "407c9b355e4c1cd5d9ca02b54bd3fb935ef17d2e"
39
+ "gitHead": "7e26e42bac250a646d98bd80910b234522350fd6"
40
40
  }
@@ -271,13 +271,6 @@
271
271
  <button class="RegisterStepNext" part="RegisterStepNext" disabled={!isValid} on:click={goNext}>{$_('registerFormStep1.registerNext')}</button>
272
272
 
273
273
  <style lang="scss">
274
- //This function does a multiplication
275
- // in order to work with px the
276
- // same way as working with em
277
- @function ttp($value) {
278
- $multiplicator: 16px;
279
- @return $value * $multiplicator;
280
- }
281
274
 
282
275
  :host {
283
276
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
@@ -288,18 +281,18 @@
288
281
  text-transform: uppercase;
289
282
  font-weight: 300;
290
283
  margin: 0;
291
- padding-bottom: ttp(0.5);
284
+ padding-bottom: 8px;
292
285
  }
293
286
 
294
287
  .RegisterFormSubtitle {
295
- font-size: ttp(0.875);
288
+ font-size: 14px;
296
289
  margin: 0;
297
- padding-bottom: ttp(1.25);
290
+ padding-bottom: 20px;
298
291
  }
299
292
 
300
293
  .FormLoginCallToAction {
301
294
  color: var(--emfe-w-color-primary, #D0046C);
302
- font-size: ttp(0.875);
295
+ font-size: 14px;
303
296
  font-weight: 400;
304
297
  text-decoration: none;
305
298
  cursor: pointer;
@@ -314,26 +307,24 @@
314
307
  color: var(--emfe-w-color-gray-300, #58586B);
315
308
  display: flex;
316
309
  flex-direction: column;
317
- padding-bottom: ttp(1.875);
310
+ padding-bottom: 30px;
318
311
  position: relative;
319
312
 
320
313
  label {
321
- font-size: ttp(0.875);
314
+ font-size: 14px;
322
315
  font-weight: 300;
323
- padding-bottom: ttp(0.3125);
316
+ padding-bottom: 5px;
324
317
  }
325
318
 
326
319
  input {
327
320
  width: 100%;
328
- height: ttp(2.75);
321
+ height: 44px;
329
322
  border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
330
- border-radius: ttp(0.3125);
331
- padding: ttp(0.3125);
332
- font-size: ttp(0.875);
323
+ border-radius: 5px;
333
324
  box-sizing: border-box;
334
- padding: ttp(0.3125) ttp(0.9375);
335
- font-size: ttp(1);
336
- line-height: ttp(1.125);
325
+ padding: 5px 15px;
326
+ font-size: 16px;
327
+ line-height: 18px;
337
328
  }
338
329
 
339
330
  &.InvalidField {
@@ -351,7 +342,7 @@
351
342
 
352
343
  .PasswordContainer input,
353
344
  .ConfirmPasswordContainer input {
354
- padding: ttp(0.3125) ttp(1.875) ttp(0.3125) ttp(0.9375);
345
+ padding: 5px 30px 5px 15px;
355
346
  }
356
347
 
357
348
  .FormRequired {
@@ -359,10 +350,10 @@
359
350
  }
360
351
 
361
352
  .TogglePasswordVisibility, .ToggleConfirmPasswordVisibility {
362
- height: ttp(0.8125);
353
+ height: 13px;
363
354
  position: absolute;
364
- right: ttp(0.5);
365
- bottom: ttp(2.813);
355
+ right: 8px;
356
+ bottom: 45px;
366
357
  &.InvalidToggle {
367
358
  path, circle, rect {
368
359
  fill: var(--emfe-w-color-primary, #D0046C);
@@ -375,15 +366,15 @@
375
366
 
376
367
  .InvalidInput {
377
368
  color: var(--emfe-w-color-error, #FD2839);
378
- font-size: ttp(0.625);
369
+ font-size: 10px;
379
370
  position: absolute;
380
371
  bottom: -3px;
381
- line-height: ttp(0.625);
372
+ line-height: 10px;
382
373
  }
383
374
 
384
375
  .ErrorMessage {
385
- margin: 0 0 ttp(0.938) 0;
386
- font-size: ttp(0.75);
376
+ margin: 0 0 15px 0;
377
+ font-size: 12px;
387
378
  color: var(--emfe-w-color-error, #FD2839);
388
379
  }
389
380
 
@@ -399,12 +390,12 @@
399
390
  border: 1px solid var(--emfe-w-color-primary, #D0046C);
400
391
  border-radius: 5px;
401
392
  width: 100%;
402
- height: ttp(3.75);
393
+ height: 60px;
403
394
  padding: 0;
404
395
  text-transform: uppercase;
405
- font-size: ttp(1.125);
396
+ font-size: 18px;
406
397
  cursor: pointer;
407
- margin-top: ttp(1.5);
398
+ margin-top: 24px;
408
399
  &[disabled] {
409
400
  background: var(--emfe-w-color-gray-100, #E6E6E6);
410
401
  border: 1px solid var(--emfe-w-color-gray-150, #828282);