@leapdev/gui 0.2.254 → 0.2.255
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 +39 -0
- package/dist/scss/auth/theme/components/_toastr.scss +26 -18
- package/dist/scss/auth/theme/features/_auth.scss +32 -31
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.toast {
|
|
2
|
-
padding:
|
|
1
|
+
.toast, #toast-container {
|
|
2
|
+
padding: 1.25rem 2.75rem 1.25rem 1.25rem;
|
|
3
3
|
background-color: white !important;
|
|
4
4
|
border-radius: var(--leap-border-radius) !important;
|
|
5
5
|
border: 1px solid #ebebeb;
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
text-transform: uppercase;
|
|
21
21
|
font-weight: 600;
|
|
22
22
|
font-size: 1rem;
|
|
23
|
+
margin-bottom: 0.25rem;
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
&.toast-success {
|
|
@@ -38,9 +39,7 @@
|
|
|
38
39
|
&.toast-error {
|
|
39
40
|
color: $danger !important;
|
|
40
41
|
|
|
41
|
-
> .toast-title {
|
|
42
|
-
|
|
43
|
-
}
|
|
42
|
+
// > .toast-title {}
|
|
44
43
|
>.toast-close-button {
|
|
45
44
|
background-color: $danger;
|
|
46
45
|
color: #fff;
|
|
@@ -50,21 +49,30 @@
|
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
|
-
}
|
|
54
52
|
|
|
55
|
-
.toast-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
background-color: #f7f7f7;
|
|
60
|
-
color: var(--leap-label-color);
|
|
61
|
-
border-radius: var(--leap-border-radius);
|
|
62
|
-
border: none;
|
|
63
|
-
font-size: 1.4rem;
|
|
64
|
-
line-height: 1;
|
|
65
|
-
transition: all .15s ease-in-out;
|
|
53
|
+
.toast-message {
|
|
54
|
+
max-width: 12.5rem;
|
|
55
|
+
min-width: 12.5rem;
|
|
56
|
+
}
|
|
66
57
|
|
|
67
|
-
|
|
58
|
+
button.toast-close-button {
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: 1rem;
|
|
61
|
+
right: 1rem;
|
|
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;
|
|
68
70
|
transition: all .15s ease-in-out;
|
|
71
|
+
opacity: 1;
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
transition: all .15s ease-in-out;
|
|
75
|
+
opacity: 1;
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
}
|
|
@@ -13,7 +13,7 @@ html {
|
|
|
13
13
|
padding-right: 1rem;
|
|
14
14
|
|
|
15
15
|
@media screen and (min-height: 850px) {
|
|
16
|
-
background-image: url(/img/auth-bg.png);
|
|
16
|
+
background-image: url(/img/auth-bg.png), url('https://unpkg.com/@leapdev/gui@0.2.254/dist/images/leap-auth/auth-bg.png');
|
|
17
17
|
background-position: bottom left;
|
|
18
18
|
background-repeat: no-repeat;
|
|
19
19
|
background-size: 1194px;
|
|
@@ -128,6 +128,7 @@ html {
|
|
|
128
128
|
display: block;
|
|
129
129
|
font-weight: 600;
|
|
130
130
|
font-size: 0.875rem;
|
|
131
|
+
font-style: normal;
|
|
131
132
|
text-align: center;
|
|
132
133
|
width: $or-dim;
|
|
133
134
|
height: $or-dim;
|
|
@@ -145,31 +146,6 @@ html {
|
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
148
|
|
|
148
|
-
&_btn_microsoft {
|
|
149
|
-
display: flex;
|
|
150
|
-
justify-content: center;
|
|
151
|
-
align-items: center;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
$icon_microsoft_dimension: 1.25rem;
|
|
155
|
-
&_icon_microsoft {
|
|
156
|
-
width: $icon_microsoft_dimension;
|
|
157
|
-
height: $icon_microsoft_dimension;
|
|
158
|
-
margin-top: -0.0625rem;
|
|
159
|
-
margin-right: 0.5rem;
|
|
160
|
-
$microsoft-icon: str-replace(url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2_21)'%3E%3Cpath d='M0 0.125H20V20.125H0V0.125Z' fill='%23F3F3F3'/%3E%3Cpath d='M0.869568 0.994564H9.56522V9.69022H0.869568V0.994564Z' fill='%23F35325'/%3E%3Cpath d='M10.4348 0.994564H19.1304V9.69022H10.4348V0.994564Z' fill='%2381BC06'/%3E%3Cpath d='M0.869568 10.5598H9.56522V19.2554H0.869568V10.5598Z' fill='%2305A6F0'/%3E%3Cpath d='M10.4348 10.5598H19.1304V19.2554H10.4348V10.5598Z' fill='%23FFBA08'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2_21'%3E%3Crect width='20' height='20' fill='white' transform='translate(0 0.125)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A"), "#", "%23");
|
|
161
|
-
&::before {
|
|
162
|
-
width: $icon_microsoft_dimension;
|
|
163
|
-
height: $icon_microsoft_dimension;
|
|
164
|
-
display: inline-block;
|
|
165
|
-
background-repeat: no-repeat;
|
|
166
|
-
background-size: 100%;
|
|
167
|
-
content: '';
|
|
168
|
-
background-image: $microsoft-icon;
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
149
|
&_permissions, &_codes {
|
|
174
150
|
padding-top: 0.25rem;
|
|
175
151
|
padding-right: 0.25rem;
|
|
@@ -311,11 +287,9 @@ html {
|
|
|
311
287
|
}
|
|
312
288
|
}
|
|
313
289
|
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
318
|
-
// }
|
|
290
|
+
&_support_tabcontent {
|
|
291
|
+
min-height: 21.5rem;
|
|
292
|
+
}
|
|
319
293
|
|
|
320
294
|
&_firm_id {
|
|
321
295
|
position: relative;
|
|
@@ -416,4 +390,31 @@ html {
|
|
|
416
390
|
}
|
|
417
391
|
}
|
|
418
392
|
}
|
|
393
|
+
|
|
394
|
+
&_signin_methods {
|
|
395
|
+
> .auth_btn {
|
|
396
|
+
display: flex;
|
|
397
|
+
align-items: center;
|
|
398
|
+
justify-content: center;
|
|
399
|
+
text-transform: none;
|
|
400
|
+
}
|
|
401
|
+
@media screen and (min-width: 480px) {
|
|
402
|
+
display: grid;
|
|
403
|
+
grid-template-columns: 1fr 1fr;
|
|
404
|
+
grid-template-rows: 1fr 1fr;
|
|
405
|
+
gap: 0.5rem;
|
|
406
|
+
|
|
407
|
+
>.auth_btn {
|
|
408
|
+
margin: 0;
|
|
409
|
+
display: flex;
|
|
410
|
+
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
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
419
420
|
}
|