@everymatrix/general-player-login-form 0.0.254 → 0.0.257
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-login-form",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.257",
|
|
4
4
|
"main": "dist/general-player-login-form.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": "
|
|
39
|
+
"gitHead": "fb390d6a11e469b9d59db7cf11f59937a32a2555"
|
|
40
40
|
}
|
|
@@ -204,7 +204,9 @@
|
|
|
204
204
|
<div class="g-recaptcha" data-sitekey="{captchakey}" />
|
|
205
205
|
|
|
206
206
|
{#if isLoading}
|
|
207
|
-
<div class="
|
|
207
|
+
<div class="ModalLoaderWrapper" part="ModalLoaderWrapper">
|
|
208
|
+
<div class="ModalLoader" part="ModalLoader"></div>
|
|
209
|
+
</div>
|
|
208
210
|
{:else}
|
|
209
211
|
<div class="FormContainer {mobileView ? 'FormMobileContainer' : ''}" part="FormContainer {mobileView ? 'FormMobileContainer' : ''}">
|
|
210
212
|
<div class="FormLeftSide" part="FormLeftSide">
|
|
@@ -250,13 +252,6 @@
|
|
|
250
252
|
{/if}
|
|
251
253
|
|
|
252
254
|
<style lang="scss">
|
|
253
|
-
//This function does a multiplication
|
|
254
|
-
// in order to work with px the
|
|
255
|
-
// same way as working with em
|
|
256
|
-
@function ttp($value) {
|
|
257
|
-
$multiplicator: 16px;
|
|
258
|
-
@return $value * $multiplicator;
|
|
259
|
-
}
|
|
260
255
|
|
|
261
256
|
:host {
|
|
262
257
|
font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
@@ -269,7 +264,7 @@
|
|
|
269
264
|
}
|
|
270
265
|
.FormLeftSide, .FormRightSide {
|
|
271
266
|
flex: 1 1 100%;
|
|
272
|
-
padding:
|
|
267
|
+
padding: 50px;
|
|
273
268
|
}
|
|
274
269
|
.FormLeftSide {
|
|
275
270
|
background: var(--emfe-w-color-gray-50, #F9F8F8);
|
|
@@ -295,42 +290,40 @@
|
|
|
295
290
|
}
|
|
296
291
|
.FormHeaderSubtitle {
|
|
297
292
|
color: var(--emfe-w-color-gray-300, #58586B);
|
|
298
|
-
font-size:
|
|
293
|
+
font-size: 14px;
|
|
299
294
|
font-weight: 300;
|
|
300
|
-
margin:
|
|
295
|
+
margin: 5px 0 0 0;
|
|
301
296
|
}
|
|
302
297
|
.FormRegisterCallToAction {
|
|
303
298
|
color: var(--emfe-w-color-primary, #D0046C);
|
|
304
|
-
font-size:
|
|
299
|
+
font-size: 14px;
|
|
305
300
|
font-weight: 400;
|
|
306
301
|
text-decoration: none;
|
|
307
302
|
cursor: pointer;
|
|
308
303
|
}
|
|
309
304
|
.FormContent {
|
|
310
|
-
padding-top:
|
|
305
|
+
padding-top: 20px;
|
|
311
306
|
}
|
|
312
307
|
.UserContainer, .PasswordContainer, .CaptchaContainer {
|
|
313
308
|
color: var(--emfe-w-color-gray-300, #58586B);
|
|
314
309
|
display: flex;
|
|
315
310
|
flex-direction: column;
|
|
316
|
-
padding-bottom:
|
|
311
|
+
padding-bottom: 20px;
|
|
317
312
|
position: relative;
|
|
318
313
|
label {
|
|
319
|
-
font-size:
|
|
314
|
+
font-size: 14px;
|
|
320
315
|
font-weight: 300;
|
|
321
|
-
padding-bottom:
|
|
316
|
+
padding-bottom: 5px;
|
|
322
317
|
}
|
|
323
318
|
input {
|
|
324
319
|
width: 100%;
|
|
325
|
-
height:
|
|
320
|
+
height: 44px;
|
|
326
321
|
border: 1px solid var(--emfe-w-color-gray-100, #E6E6E6);
|
|
327
|
-
border-radius:
|
|
328
|
-
padding: ttp(0.3125);
|
|
329
|
-
font-size: ttp(0.875);
|
|
322
|
+
border-radius: 5px;
|
|
330
323
|
box-sizing:border-box;
|
|
331
|
-
padding:
|
|
332
|
-
font-size:
|
|
333
|
-
line-height:
|
|
324
|
+
padding: 5px 15px;
|
|
325
|
+
font-size: 16px;
|
|
326
|
+
line-height: 18px;
|
|
334
327
|
}
|
|
335
328
|
&.InvalidField {
|
|
336
329
|
input {
|
|
@@ -342,13 +335,13 @@
|
|
|
342
335
|
}
|
|
343
336
|
|
|
344
337
|
.PasswordContainer input {
|
|
345
|
-
padding:
|
|
338
|
+
padding: 5px 30px 5px 15px;
|
|
346
339
|
}
|
|
347
340
|
|
|
348
341
|
.TogglePasswordVisibility {
|
|
349
|
-
height:
|
|
342
|
+
height: 13px;
|
|
350
343
|
position: absolute;
|
|
351
|
-
right:
|
|
344
|
+
right: 8px;
|
|
352
345
|
bottom: 45px;
|
|
353
346
|
&.InvalidToggle {
|
|
354
347
|
path, circle, rect {
|
|
@@ -363,12 +356,12 @@
|
|
|
363
356
|
color: var(--emfe-w-color-white, #FFFFFF);
|
|
364
357
|
background: var(--emfe-w-color-primary, #D0046C);
|
|
365
358
|
border: 1px solid var(--emfe-w-color-primary, #D0046C);
|
|
366
|
-
border-radius:
|
|
359
|
+
border-radius: 5px;
|
|
367
360
|
width: 100%;
|
|
368
|
-
height:
|
|
361
|
+
height: 60px;
|
|
369
362
|
padding: 0;
|
|
370
363
|
text-transform: uppercase;
|
|
371
|
-
font-size:
|
|
364
|
+
font-size: 18px;
|
|
372
365
|
cursor: pointer;
|
|
373
366
|
&[disabled] {
|
|
374
367
|
background: var(--emfe-w-color-gray-100, #E6E6E6);
|
|
@@ -379,10 +372,10 @@
|
|
|
379
372
|
.ForgotPasswordButton {
|
|
380
373
|
border: 0;
|
|
381
374
|
background: transparent;
|
|
382
|
-
font-size:
|
|
375
|
+
font-size: 14px;
|
|
383
376
|
font-weight: 300;
|
|
384
377
|
color: var(--emfe-w-color-primary, #D0046C);
|
|
385
|
-
margin-top:
|
|
378
|
+
margin-top: 15px;
|
|
386
379
|
cursor: pointer;
|
|
387
380
|
}
|
|
388
381
|
.PasswordContainer, .UserContainer {
|
|
@@ -391,7 +384,7 @@
|
|
|
391
384
|
|
|
392
385
|
.InvalidInput {
|
|
393
386
|
color: var(--emfe-w-color-error, #FD2839);
|
|
394
|
-
font-size:
|
|
387
|
+
font-size: 10px;
|
|
395
388
|
position: absolute;
|
|
396
389
|
top: 55px;
|
|
397
390
|
padding-top: 5px;
|
|
@@ -405,7 +398,7 @@
|
|
|
405
398
|
.FormMobileContainer {
|
|
406
399
|
height:100%;
|
|
407
400
|
.FormLeftSide {
|
|
408
|
-
padding:
|
|
401
|
+
padding: 40px 20px;
|
|
409
402
|
}
|
|
410
403
|
.SignInButton,
|
|
411
404
|
.UserContainer input,
|
|
@@ -419,20 +412,26 @@
|
|
|
419
412
|
// }
|
|
420
413
|
}
|
|
421
414
|
|
|
415
|
+
.ModalLoaderWrapper {
|
|
416
|
+
display: flex;
|
|
417
|
+
height: 100%;
|
|
418
|
+
align-items: center;
|
|
419
|
+
}
|
|
420
|
+
|
|
422
421
|
.ModalLoader {
|
|
423
422
|
display: block;
|
|
424
|
-
width:
|
|
425
|
-
height:
|
|
423
|
+
width: 80px;
|
|
424
|
+
height: 80px;
|
|
426
425
|
margin: 0 auto
|
|
427
426
|
}
|
|
428
427
|
.ModalLoader:after {
|
|
429
428
|
content: " ";
|
|
430
429
|
display: block;
|
|
431
|
-
width:
|
|
432
|
-
height:
|
|
433
|
-
margin:
|
|
430
|
+
width: 64px;
|
|
431
|
+
height: 64px;
|
|
432
|
+
margin: 8px;
|
|
434
433
|
border-radius: 50%;
|
|
435
|
-
border:
|
|
434
|
+
border: 6px solid var(--emfe-w-color-primary, #D0046C);
|
|
436
435
|
border-color: var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;
|
|
437
436
|
animation: Loader 1.2s linear infinite;
|
|
438
437
|
}
|