@leapdev/gui 0.2.253 → 0.2.256
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 +60 -4
- 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 +181 -41
- package/package.json +1 -1
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
#toast-container {
|
|
2
|
-
|
|
3
|
-
padding:
|
|
2
|
+
.toast {
|
|
3
|
+
padding: 1.25rem 2.75rem 1.25rem 1.25rem;
|
|
4
4
|
background-color: white !important;
|
|
5
|
-
color: #e63935 !important;
|
|
6
5
|
border-radius: var(--leap-border-radius) !important;
|
|
7
6
|
border: 1px solid #ebebeb;
|
|
8
7
|
margin-bottom: 0;
|
|
9
8
|
box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.10) !important;
|
|
10
9
|
transition: box-shadow 0.15s ease-in-out;
|
|
11
10
|
|
|
11
|
+
@media screen and (min-width: 768px) {
|
|
12
|
+
width: 20rem;
|
|
13
|
+
}
|
|
14
|
+
|
|
12
15
|
&:hover {
|
|
13
16
|
box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.18) !important;
|
|
14
17
|
transition: box-shadow 0.15s ease-in-out;
|
|
@@ -16,9 +19,62 @@
|
|
|
16
19
|
|
|
17
20
|
> .toast-title {
|
|
18
21
|
text-transform: uppercase;
|
|
19
|
-
color: #e63935 !important;
|
|
20
22
|
font-weight: 600;
|
|
21
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
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.toast-error {
|
|
41
|
+
color: $danger !important;
|
|
42
|
+
|
|
43
|
+
// > .toast-title {}
|
|
44
|
+
>.toast-close-button {
|
|
45
|
+
background-color: $danger;
|
|
46
|
+
color: #fff;
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
background-color: darken($danger, 5%);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.toast-message {
|
|
55
|
+
max-width: 12.5rem;
|
|
56
|
+
min-width: 12.5rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
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;
|
|
71
|
+
transition: all .15s ease-in-out;
|
|
72
|
+
opacity: 1;
|
|
73
|
+
|
|
74
|
+
&:hover {
|
|
75
|
+
transition: all .15s ease-in-out;
|
|
76
|
+
opacity: 1;
|
|
77
|
+
}
|
|
22
78
|
}
|
|
23
79
|
}
|
|
24
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;
|
|
@@ -13,7 +13,7 @@ html {
|
|
|
13
13
|
padding-right: 1rem;
|
|
14
14
|
|
|
15
15
|
@media screen and (min-height: 850px) {
|
|
16
|
-
background-image: url(https://unpkg.com/@leapdev/gui@
|
|
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;
|
|
@@ -21,18 +21,19 @@ html {
|
|
|
21
21
|
|
|
22
22
|
> .container {
|
|
23
23
|
align-self: center;
|
|
24
|
-
display: flex;
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
.auth {
|
|
30
29
|
margin: 0 auto;
|
|
31
|
-
padding-bottom:
|
|
30
|
+
padding-bottom: 23vh;
|
|
32
31
|
height: auto;
|
|
33
32
|
|
|
33
|
+
max-width: 24.25rem;
|
|
34
|
+
|
|
34
35
|
@media screen and (min-width: 577px) {
|
|
35
|
-
|
|
36
|
+
min-width: 21.25rem;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
@media screen and (max-height: 849px) {
|
|
@@ -41,6 +42,7 @@ html {
|
|
|
41
42
|
|
|
42
43
|
&_container {
|
|
43
44
|
margin: auto;
|
|
45
|
+
min-height: 20vh;
|
|
44
46
|
}
|
|
45
47
|
|
|
46
48
|
&_logo {
|
|
@@ -52,7 +54,6 @@ html {
|
|
|
52
54
|
@media screen and (max-height: 849px) {
|
|
53
55
|
height: auto;
|
|
54
56
|
margin-bottom: 4vh;
|
|
55
|
-
margin-top: 4vh;
|
|
56
57
|
|
|
57
58
|
> svg {
|
|
58
59
|
height: 100%;
|
|
@@ -127,6 +128,7 @@ html {
|
|
|
127
128
|
display: block;
|
|
128
129
|
font-weight: 600;
|
|
129
130
|
font-size: 0.875rem;
|
|
131
|
+
font-style: normal;
|
|
130
132
|
text-align: center;
|
|
131
133
|
width: $or-dim;
|
|
132
134
|
height: $or-dim;
|
|
@@ -144,32 +146,7 @@ html {
|
|
|
144
146
|
}
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
&
|
|
148
|
-
display: flex;
|
|
149
|
-
justify-content: center;
|
|
150
|
-
align-items: center;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
$icon_microsoft_dimension: 1.25rem;
|
|
154
|
-
&_icon_microsoft {
|
|
155
|
-
width: $icon_microsoft_dimension;
|
|
156
|
-
height: $icon_microsoft_dimension;
|
|
157
|
-
margin-top: -0.0625rem;
|
|
158
|
-
margin-right: 0.5rem;
|
|
159
|
-
$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");
|
|
160
|
-
&::before {
|
|
161
|
-
width: $icon_microsoft_dimension;
|
|
162
|
-
height: $icon_microsoft_dimension;
|
|
163
|
-
display: inline-block;
|
|
164
|
-
background-repeat: no-repeat;
|
|
165
|
-
background-size: 100%;
|
|
166
|
-
content: '';
|
|
167
|
-
background-image: $microsoft-icon;
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&_permissions {
|
|
149
|
+
&_permissions, &_codes {
|
|
173
150
|
padding-top: 0.25rem;
|
|
174
151
|
padding-right: 0.25rem;
|
|
175
152
|
padding-bottom: 0.25rem;
|
|
@@ -179,18 +156,24 @@ html {
|
|
|
179
156
|
|
|
180
157
|
&:hover > .auth_permissions_list::-webkit-scrollbar-thumb {
|
|
181
158
|
background-color: #333;
|
|
182
|
-
transition: all 0.
|
|
159
|
+
transition: all 0.2s ease-out;
|
|
183
160
|
}
|
|
184
161
|
}
|
|
185
162
|
|
|
186
163
|
&_permissions_list {
|
|
187
|
-
|
|
164
|
+
background-color: #f7f7f7;
|
|
165
|
+
min-height: 200px;
|
|
166
|
+
padding: 1rem;
|
|
167
|
+
}
|
|
168
|
+
&_codes_list {
|
|
188
169
|
padding-left: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&_permissions_list,
|
|
173
|
+
&_codes_list {
|
|
174
|
+
list-style-type: none;
|
|
189
175
|
margin-bottom: 0;
|
|
190
|
-
background-color: #f7f7f7;
|
|
191
|
-
padding: 0.75rem 0.75rem 0.75rem 1rem;
|
|
192
176
|
overflow-y: auto;
|
|
193
|
-
min-height: 200px;
|
|
194
177
|
max-height: 30vh;
|
|
195
178
|
-webkit-overflow-scrolling: touch;
|
|
196
179
|
|
|
@@ -208,7 +191,81 @@ html {
|
|
|
208
191
|
transition: all 0.25s ease-out;
|
|
209
192
|
}
|
|
210
193
|
}
|
|
194
|
+
}
|
|
211
195
|
|
|
196
|
+
&_codes_list_item {
|
|
197
|
+
position: relative;
|
|
198
|
+
padding: 0.75rem 0.75rem 0.75rem 1rem;
|
|
199
|
+
background-color: #f7f7f7;
|
|
200
|
+
border-radius: var(--leap-border-radius);
|
|
201
|
+
overflow: hidden;
|
|
202
|
+
|
|
203
|
+
&:not(:last-child) {
|
|
204
|
+
margin-bottom: 0.75rem;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
@media screen and (min-width: 720px) {
|
|
209
|
+
&_codes_list_item:hover {
|
|
210
|
+
.auth_codes_action {
|
|
211
|
+
transform: translateY(0);
|
|
212
|
+
transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
|
|
213
|
+
opacity: 1;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
&_codes_action {
|
|
217
|
+
transform: translateY(8px);
|
|
218
|
+
transition: all 0.3 cubic-bezier(0.2, 0, 0, 1);
|
|
219
|
+
opacity: 0;
|
|
220
|
+
background: #fff;
|
|
221
|
+
background: linear-gradient(0deg, rgba(247,247,247,1) 0%,rgba(255,255,255,0) 100%);
|
|
222
|
+
position: absolute;
|
|
223
|
+
padding: 1rem;
|
|
224
|
+
bottom: 0;
|
|
225
|
+
right: 0;
|
|
226
|
+
left: 0;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&_codes_info {
|
|
231
|
+
font-size: 0.875rem;
|
|
232
|
+
span:first-child {
|
|
233
|
+
margin-bottom: 4px;
|
|
234
|
+
display: block;
|
|
235
|
+
font-weight: 600;
|
|
236
|
+
}
|
|
237
|
+
span:last-child {
|
|
238
|
+
color: var(--leap-label-color);
|
|
239
|
+
font-size: 90%;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
&_codes_action {
|
|
244
|
+
.auth_btn:hover {
|
|
245
|
+
background-color: #fff;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&_mycodes {
|
|
250
|
+
list-style: none;
|
|
251
|
+
list-style: none;
|
|
252
|
+
padding: 0;
|
|
253
|
+
margin-bottom: 1rem;
|
|
254
|
+
|
|
255
|
+
code {
|
|
256
|
+
display: block;
|
|
257
|
+
font-weight: 600;
|
|
258
|
+
letter-spacing: 0.125rem;
|
|
259
|
+
font-size: 1.0625rem;
|
|
260
|
+
margin-bottom: 0.5rem;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
li::last-child {
|
|
264
|
+
display: flex;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&_permissions_list {
|
|
212
269
|
> li {
|
|
213
270
|
&:not(:first-child) {
|
|
214
271
|
margin-top: 1rem;
|
|
@@ -230,11 +287,9 @@ html {
|
|
|
230
287
|
}
|
|
231
288
|
}
|
|
232
289
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
}
|
|
237
|
-
// }
|
|
290
|
+
&_support_tabcontent {
|
|
291
|
+
min-height: 21.5rem;
|
|
292
|
+
}
|
|
238
293
|
|
|
239
294
|
&_firm_id {
|
|
240
295
|
position: relative;
|
|
@@ -287,4 +342,89 @@ html {
|
|
|
287
342
|
}
|
|
288
343
|
}
|
|
289
344
|
}
|
|
345
|
+
|
|
346
|
+
&_validation_message {
|
|
347
|
+
& > summary {
|
|
348
|
+
pointer-events: none;
|
|
349
|
+
display: flex;
|
|
350
|
+
align-items: center;
|
|
351
|
+
gap: 0.25rem;
|
|
352
|
+
margin-bottom: 0.25rem;
|
|
353
|
+
font-size: 0.8125rem;
|
|
354
|
+
list-style: none;
|
|
355
|
+
color: var(--leap-heading-color);
|
|
356
|
+
&::-webkit-details-marker {
|
|
357
|
+
display: none;
|
|
358
|
+
}
|
|
359
|
+
> svg {
|
|
360
|
+
font-size: 1rem;
|
|
361
|
+
}
|
|
362
|
+
&:hover {
|
|
363
|
+
cursor: pointer;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
> ul {
|
|
367
|
+
border-radius: var(--leap-border-radius);
|
|
368
|
+
background-color: #f7f7f7;
|
|
369
|
+
list-style: none;
|
|
370
|
+
padding: 1rem;
|
|
371
|
+
|
|
372
|
+
> li {
|
|
373
|
+
padding-left: 1rem;
|
|
374
|
+
position: relative;
|
|
375
|
+
&::before {
|
|
376
|
+
content: '';
|
|
377
|
+
display: block;
|
|
378
|
+
width: 0.375rem;
|
|
379
|
+
height: 0.375rem;
|
|
380
|
+
border-radius: 0.375rem;
|
|
381
|
+
position: absolute;
|
|
382
|
+
background-color: $primary;
|
|
383
|
+
top: calc(50% - 0.1875rem);
|
|
384
|
+
left: 0;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
&.text-green {
|
|
388
|
+
color: $success;
|
|
389
|
+
&::before {
|
|
390
|
+
content: '';
|
|
391
|
+
width: 1rem;
|
|
392
|
+
height: 1rem;
|
|
393
|
+
background-size: contain;
|
|
394
|
+
background-color: transparent;
|
|
395
|
+
top: 0.1875rem;
|
|
396
|
+
left: -0.3125rem;
|
|
397
|
+
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');
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
&_signin_methods {
|
|
405
|
+
> .auth_btn {
|
|
406
|
+
display: flex;
|
|
407
|
+
align-items: center;
|
|
408
|
+
justify-content: center;
|
|
409
|
+
text-transform: none;
|
|
410
|
+
}
|
|
411
|
+
@media screen and (min-width: 480px) {
|
|
412
|
+
display: grid;
|
|
413
|
+
grid-template-columns: 1fr 1fr;
|
|
414
|
+
grid-template-rows: 1fr 1fr;
|
|
415
|
+
gap: 0.5rem;
|
|
416
|
+
|
|
417
|
+
>.auth_btn {
|
|
418
|
+
margin: 0;
|
|
419
|
+
display: flex;
|
|
420
|
+
justify-content: center;
|
|
421
|
+
align-items: center;
|
|
422
|
+
max-height: 4rem;
|
|
423
|
+
height: 4rem;
|
|
424
|
+
text-align: left;
|
|
425
|
+
line-height: 1.4;
|
|
426
|
+
padding: 0 1rem;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
290
430
|
}
|