@leapdev/gui 0.2.255 → 0.2.258
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/dist/css/auth-leap-addin.css +1 -1
- package/dist/css/auth-leap-desktop.css +1 -1
- package/dist/css/auth-leap-web.css +1 -1
- package/dist/index.html +2 -2
- package/dist/scss/auth/theme/components/_icons.scss +0 -1
- package/dist/scss/auth/theme/components/_toastr.scss +62 -60
- package/dist/scss/auth/theme/components/forms/_form-control.scss +8 -0
- package/dist/scss/auth/theme/css-variables/_leap-4d.scss +1 -0
- package/dist/scss/auth/theme/css-variables/_leap.scss +1 -0
- package/dist/scss/auth/theme/css-variables/_office-addin.scss +1 -0
- package/dist/scss/auth/theme/features/_auth.scss +31 -22
- package/package.json +1 -1
|
@@ -1,78 +1,80 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@media screen and (min-width: 768px) {
|
|
11
|
-
width: 20rem;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&:hover {
|
|
15
|
-
box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.18) !important;
|
|
1
|
+
#toast-container {
|
|
2
|
+
.toast {
|
|
3
|
+
padding: 1.25rem 2.75rem 1.25rem 1.25rem;
|
|
4
|
+
background-color: white !important;
|
|
5
|
+
border-radius: var(--leap-border-radius) !important;
|
|
6
|
+
border: 1px solid #ebebeb;
|
|
7
|
+
margin-bottom: 0;
|
|
8
|
+
box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.10) !important;
|
|
16
9
|
transition: box-shadow 0.15s ease-in-out;
|
|
17
|
-
}
|
|
18
10
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
font-size: 1rem;
|
|
23
|
-
margin-bottom: 0.25rem;
|
|
24
|
-
}
|
|
11
|
+
@media screen and (min-width: 768px) {
|
|
12
|
+
width: 20rem;
|
|
13
|
+
}
|
|
25
14
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
15
|
+
&:hover {
|
|
16
|
+
box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.18) !important;
|
|
17
|
+
transition: box-shadow 0.15s ease-in-out;
|
|
29
18
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
19
|
+
|
|
20
|
+
> .toast-title {
|
|
21
|
+
text-transform: uppercase;
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
font-size: 1rem;
|
|
24
|
+
margin-bottom: 0.25rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.toast-success {
|
|
28
|
+
>.toast-title {
|
|
29
|
+
color: $primary;
|
|
30
|
+
}
|
|
31
|
+
>.toast-close-button {
|
|
32
|
+
background-color: $primary;
|
|
33
|
+
color: #fff;
|
|
34
|
+
&:hover {
|
|
35
|
+
background-color: darken($primary, 5%);
|
|
36
|
+
}
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
|
-
}
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
&.toast-error {
|
|
41
|
+
color: $danger !important;
|
|
41
42
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
// > .toast-title {}
|
|
44
|
+
>.toast-close-button {
|
|
45
|
+
background-color: $danger;
|
|
46
|
+
color: #fff;
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
&:hover {
|
|
49
|
+
background-color: darken($danger, 5%);
|
|
50
|
+
}
|
|
49
51
|
}
|
|
50
52
|
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.toast-message {
|
|
54
|
-
max-width: 12.5rem;
|
|
55
|
-
min-width: 12.5rem;
|
|
56
|
-
}
|
|
57
53
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
background-color: #f7f7f7;
|
|
63
|
-
color: var(--leap-label-color);
|
|
64
|
-
border-radius: var(--leap-border-radius);
|
|
65
|
-
border: none;
|
|
66
|
-
font-size: 1.4rem !important;
|
|
67
|
-
font-weight: normal;
|
|
68
|
-
line-height: 1;
|
|
69
|
-
padding: 0.0625rem 0.375rem !important;
|
|
70
|
-
transition: all .15s ease-in-out;
|
|
71
|
-
opacity: 1;
|
|
54
|
+
.toast-message {
|
|
55
|
+
max-width: 12.5rem;
|
|
56
|
+
min-width: 12.5rem;
|
|
57
|
+
}
|
|
72
58
|
|
|
73
|
-
|
|
59
|
+
button.toast-close-button {
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: 1rem;
|
|
62
|
+
right: 1rem;
|
|
63
|
+
background-color: #f7f7f7;
|
|
64
|
+
color: var(--leap-label-color);
|
|
65
|
+
border-radius: var(--leap-border-radius);
|
|
66
|
+
border: none;
|
|
67
|
+
font-size: 1.4rem !important;
|
|
68
|
+
font-weight: normal;
|
|
69
|
+
line-height: 1;
|
|
70
|
+
padding: 0.0625rem 0.375rem !important;
|
|
74
71
|
transition: all .15s ease-in-out;
|
|
75
72
|
opacity: 1;
|
|
73
|
+
|
|
74
|
+
&:hover {
|
|
75
|
+
transition: all .15s ease-in-out;
|
|
76
|
+
opacity: 1;
|
|
77
|
+
}
|
|
76
78
|
}
|
|
77
79
|
}
|
|
78
80
|
}
|
|
@@ -36,6 +36,14 @@
|
|
|
36
36
|
background-color: var(--leap-input-disabled-background);
|
|
37
37
|
border-color: var(--leap-input-disabled-border);
|
|
38
38
|
}
|
|
39
|
+
|
|
40
|
+
&.has-error {
|
|
41
|
+
border-color: $danger;
|
|
42
|
+
|
|
43
|
+
&:focus {
|
|
44
|
+
box-shadow: var(--leap-input-box-shadow-error);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
.form-control {
|
|
@@ -49,6 +49,7 @@ $custom-select-chevron: str-replace(url("data:image/svg+xml,%3Cs
|
|
|
49
49
|
--leap-input-focus-border-color: #0078d7;
|
|
50
50
|
--leap-input-placeholder-color: #6c757d;
|
|
51
51
|
--leap-input-box-shadow: none;
|
|
52
|
+
--leap-input-box-shadow-error: none;
|
|
52
53
|
--leap-input-addon-padding: 0 0.4375rem;
|
|
53
54
|
|
|
54
55
|
--leap-select-padding-y: 0.125rem;
|
|
@@ -52,6 +52,7 @@ $custom-select-chevron: str-replace(url("data:image/svg+xml,%3cs
|
|
|
52
52
|
--leap-input-focus-border-color: #1E365E;
|
|
53
53
|
--leap-input-placeholder-color: #717880;
|
|
54
54
|
--leap-input-box-shadow: inset 0 0 0 rgb(19 19 19 / 0%), 0 0 0 0.15rem #cdd3dc;
|
|
55
|
+
--leap-input-box-shadow-error: inset 0 0 0 #BE332A, 0 0 0 0.15rem rgba(190, 51, 42, 0.2);
|
|
55
56
|
--leap-input-addon-padding: 0.375rem 1rem;
|
|
56
57
|
|
|
57
58
|
--leap-select-padding-y: 0.125rem;
|
|
@@ -48,6 +48,7 @@ $custom-select-chevron: str-replace(url("data:image/svg+xml,%3Cs
|
|
|
48
48
|
--leap-input-focus-border-color: #0078d7;
|
|
49
49
|
--leap-input-placeholder-color: #6c757d;
|
|
50
50
|
--leap-input-box-shadow: none;
|
|
51
|
+
--leap-input-box-shadow-error: none;
|
|
51
52
|
--leap-input-addon-padding: 0 0.4375rem;
|
|
52
53
|
|
|
53
54
|
--leap-select-padding-y: 0.125rem;
|
|
@@ -54,6 +54,7 @@ html {
|
|
|
54
54
|
@media screen and (max-height: 849px) {
|
|
55
55
|
height: auto;
|
|
56
56
|
margin-bottom: 4vh;
|
|
57
|
+
margin-top: 2rem;
|
|
57
58
|
|
|
58
59
|
> svg {
|
|
59
60
|
height: 100%;
|
|
@@ -79,6 +80,7 @@ html {
|
|
|
79
80
|
&_links {
|
|
80
81
|
display: flex;
|
|
81
82
|
margin-top: 2rem;
|
|
83
|
+
margin-bottom: 1rem;
|
|
82
84
|
color: $text-muted;
|
|
83
85
|
text-align: center;
|
|
84
86
|
justify-content: space-between;
|
|
@@ -344,8 +346,8 @@ html {
|
|
|
344
346
|
}
|
|
345
347
|
|
|
346
348
|
&_validation_message {
|
|
347
|
-
margin: -0.5rem 0 var(--leap-form-group-margin) 0;
|
|
348
349
|
& > summary {
|
|
350
|
+
pointer-events: none;
|
|
349
351
|
display: flex;
|
|
350
352
|
align-items: center;
|
|
351
353
|
gap: 0.25rem;
|
|
@@ -360,13 +362,9 @@ html {
|
|
|
360
362
|
font-size: 1rem;
|
|
361
363
|
}
|
|
362
364
|
&:hover {
|
|
363
|
-
|
|
365
|
+
cursor: pointer;
|
|
364
366
|
}
|
|
365
367
|
}
|
|
366
|
-
&[closed] {
|
|
367
|
-
}
|
|
368
|
-
&[open] {
|
|
369
|
-
}
|
|
370
368
|
> ul {
|
|
371
369
|
border-radius: var(--leap-border-radius);
|
|
372
370
|
background-color: #f7f7f7;
|
|
@@ -387,33 +385,44 @@ html {
|
|
|
387
385
|
top: calc(50% - 0.1875rem);
|
|
388
386
|
left: 0;
|
|
389
387
|
}
|
|
388
|
+
|
|
389
|
+
&.text-green {
|
|
390
|
+
color: $success;
|
|
391
|
+
&::before {
|
|
392
|
+
content: '';
|
|
393
|
+
width: 1rem;
|
|
394
|
+
height: 1rem;
|
|
395
|
+
background-size: contain;
|
|
396
|
+
background-color: transparent;
|
|
397
|
+
top: 0.1875rem;
|
|
398
|
+
left: -0.3125rem;
|
|
399
|
+
background-image: str-replace(url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' fill='#{$success}' viewBox='0 0 96 96'%3E%3Cpath d='M4,48 C4,23.699471 23.699471,4 48,4 C72.300529,4 92,23.699471 92,48 C92,72.300529 72.300529,92 48,92 C23.699471,92 4,72.300529 4,48 Z M40.9289322,54.8994949 L31.0294373,45 L23.9583694,52.0710678 L40.9289322,69.0416306 L72.0416306,37.9289322 L64.9705627,30.8578644 L40.9289322,54.8994949 Z'/%3E%3C/svg%3E"), '#', '%23');
|
|
400
|
+
}
|
|
401
|
+
}
|
|
390
402
|
}
|
|
391
403
|
}
|
|
392
404
|
}
|
|
393
405
|
|
|
394
406
|
&_signin_methods {
|
|
407
|
+
display: grid;
|
|
408
|
+
grid-template-columns: 1fr;
|
|
409
|
+
grid-template-rows: 1fr;
|
|
410
|
+
gap: 0.5rem;
|
|
395
411
|
> .auth_btn {
|
|
412
|
+
margin: 0;
|
|
396
413
|
display: flex;
|
|
414
|
+
justify-content: stretch;
|
|
397
415
|
align-items: center;
|
|
398
|
-
|
|
416
|
+
text-align: left;
|
|
417
|
+
line-height: 1.4;
|
|
418
|
+
padding: 0 1rem;
|
|
399
419
|
text-transform: none;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
grid-template-rows: 1fr 1fr;
|
|
405
|
-
gap: 0.5rem;
|
|
406
|
-
|
|
407
|
-
>.auth_btn {
|
|
408
|
-
margin: 0;
|
|
420
|
+
|
|
421
|
+
> span {
|
|
422
|
+
width: calc(100% - 3rem);
|
|
423
|
+
text-align: center;
|
|
409
424
|
display: flex;
|
|
410
425
|
justify-content: center;
|
|
411
|
-
align-items: center;
|
|
412
|
-
max-height: 4rem;
|
|
413
|
-
height: 4rem;
|
|
414
|
-
text-align: left;
|
|
415
|
-
line-height: 1.4;
|
|
416
|
-
padding: 0 1rem;
|
|
417
426
|
}
|
|
418
427
|
}
|
|
419
428
|
}
|