@leapdev/gui 0.2.253 → 0.2.254
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/_toastr.scss +62 -16
- package/dist/scss/auth/theme/features/_auth.scss +140 -11
- package/package.json +1 -1
|
@@ -1,24 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
.toast {
|
|
2
|
+
padding: 1rem 2rem !important;
|
|
3
|
+
background-color: white !important;
|
|
4
|
+
border-radius: var(--leap-border-radius) !important;
|
|
5
|
+
border: 1px solid #ebebeb;
|
|
6
|
+
margin-bottom: 0;
|
|
7
|
+
box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.10) !important;
|
|
8
|
+
transition: box-shadow 0.15s ease-in-out;
|
|
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;
|
|
10
16
|
transition: box-shadow 0.15s ease-in-out;
|
|
17
|
+
}
|
|
11
18
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
19
|
+
> .toast-title {
|
|
20
|
+
text-transform: uppercase;
|
|
21
|
+
font-weight: 600;
|
|
22
|
+
font-size: 1rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.toast-success {
|
|
26
|
+
>.toast-title {
|
|
27
|
+
color: $primary;
|
|
28
|
+
}
|
|
29
|
+
>.toast-close-button {
|
|
30
|
+
background-color: $primary;
|
|
31
|
+
color: #fff;
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: darken($primary, 5%);
|
|
34
|
+
}
|
|
15
35
|
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.toast-error {
|
|
39
|
+
color: $danger !important;
|
|
16
40
|
|
|
17
41
|
> .toast-title {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
>.toast-close-button {
|
|
45
|
+
background-color: $danger;
|
|
46
|
+
color: #fff;
|
|
47
|
+
|
|
48
|
+
&:hover {
|
|
49
|
+
background-color: darken($danger, 5%);
|
|
50
|
+
}
|
|
22
51
|
}
|
|
23
52
|
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.toast-close-button {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: 1rem;
|
|
58
|
+
right: 1rem;
|
|
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;
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
transition: all .15s ease-in-out;
|
|
69
|
+
}
|
|
24
70
|
}
|
|
@@ -13,7 +13,7 @@ html {
|
|
|
13
13
|
padding-right: 1rem;
|
|
14
14
|
|
|
15
15
|
@media screen and (min-height: 850px) {
|
|
16
|
-
background-image: url(
|
|
16
|
+
background-image: url(/img/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%;
|
|
@@ -169,7 +170,7 @@ html {
|
|
|
169
170
|
}
|
|
170
171
|
}
|
|
171
172
|
|
|
172
|
-
&_permissions {
|
|
173
|
+
&_permissions, &_codes {
|
|
173
174
|
padding-top: 0.25rem;
|
|
174
175
|
padding-right: 0.25rem;
|
|
175
176
|
padding-bottom: 0.25rem;
|
|
@@ -179,18 +180,24 @@ html {
|
|
|
179
180
|
|
|
180
181
|
&:hover > .auth_permissions_list::-webkit-scrollbar-thumb {
|
|
181
182
|
background-color: #333;
|
|
182
|
-
transition: all 0.
|
|
183
|
+
transition: all 0.2s ease-out;
|
|
183
184
|
}
|
|
184
185
|
}
|
|
185
186
|
|
|
186
187
|
&_permissions_list {
|
|
187
|
-
|
|
188
|
+
background-color: #f7f7f7;
|
|
189
|
+
min-height: 200px;
|
|
190
|
+
padding: 1rem;
|
|
191
|
+
}
|
|
192
|
+
&_codes_list {
|
|
188
193
|
padding-left: 0;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&_permissions_list,
|
|
197
|
+
&_codes_list {
|
|
198
|
+
list-style-type: none;
|
|
189
199
|
margin-bottom: 0;
|
|
190
|
-
background-color: #f7f7f7;
|
|
191
|
-
padding: 0.75rem 0.75rem 0.75rem 1rem;
|
|
192
200
|
overflow-y: auto;
|
|
193
|
-
min-height: 200px;
|
|
194
201
|
max-height: 30vh;
|
|
195
202
|
-webkit-overflow-scrolling: touch;
|
|
196
203
|
|
|
@@ -208,7 +215,81 @@ html {
|
|
|
208
215
|
transition: all 0.25s ease-out;
|
|
209
216
|
}
|
|
210
217
|
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&_codes_list_item {
|
|
221
|
+
position: relative;
|
|
222
|
+
padding: 0.75rem 0.75rem 0.75rem 1rem;
|
|
223
|
+
background-color: #f7f7f7;
|
|
224
|
+
border-radius: var(--leap-border-radius);
|
|
225
|
+
overflow: hidden;
|
|
226
|
+
|
|
227
|
+
&:not(:last-child) {
|
|
228
|
+
margin-bottom: 0.75rem;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@media screen and (min-width: 720px) {
|
|
233
|
+
&_codes_list_item:hover {
|
|
234
|
+
.auth_codes_action {
|
|
235
|
+
transform: translateY(0);
|
|
236
|
+
transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
|
|
237
|
+
opacity: 1;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
&_codes_action {
|
|
241
|
+
transform: translateY(8px);
|
|
242
|
+
transition: all 0.3 cubic-bezier(0.2, 0, 0, 1);
|
|
243
|
+
opacity: 0;
|
|
244
|
+
background: #fff;
|
|
245
|
+
background: linear-gradient(0deg, rgba(247,247,247,1) 0%,rgba(255,255,255,0) 100%);
|
|
246
|
+
position: absolute;
|
|
247
|
+
padding: 1rem;
|
|
248
|
+
bottom: 0;
|
|
249
|
+
right: 0;
|
|
250
|
+
left: 0;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&_codes_info {
|
|
255
|
+
font-size: 0.875rem;
|
|
256
|
+
span:first-child {
|
|
257
|
+
margin-bottom: 4px;
|
|
258
|
+
display: block;
|
|
259
|
+
font-weight: 600;
|
|
260
|
+
}
|
|
261
|
+
span:last-child {
|
|
262
|
+
color: var(--leap-label-color);
|
|
263
|
+
font-size: 90%;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
211
266
|
|
|
267
|
+
&_codes_action {
|
|
268
|
+
.auth_btn:hover {
|
|
269
|
+
background-color: #fff;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&_mycodes {
|
|
274
|
+
list-style: none;
|
|
275
|
+
list-style: none;
|
|
276
|
+
padding: 0;
|
|
277
|
+
margin-bottom: 1rem;
|
|
278
|
+
|
|
279
|
+
code {
|
|
280
|
+
display: block;
|
|
281
|
+
font-weight: 600;
|
|
282
|
+
letter-spacing: 0.125rem;
|
|
283
|
+
font-size: 1.0625rem;
|
|
284
|
+
margin-bottom: 0.5rem;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
li::last-child {
|
|
288
|
+
display: flex;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
&_permissions_list {
|
|
212
293
|
> li {
|
|
213
294
|
&:not(:first-child) {
|
|
214
295
|
margin-top: 1rem;
|
|
@@ -287,4 +368,52 @@ html {
|
|
|
287
368
|
}
|
|
288
369
|
}
|
|
289
370
|
}
|
|
371
|
+
|
|
372
|
+
&_validation_message {
|
|
373
|
+
margin: -0.5rem 0 var(--leap-form-group-margin) 0;
|
|
374
|
+
& > summary {
|
|
375
|
+
display: flex;
|
|
376
|
+
align-items: center;
|
|
377
|
+
gap: 0.25rem;
|
|
378
|
+
margin-bottom: 0.25rem;
|
|
379
|
+
font-size: 0.8125rem;
|
|
380
|
+
list-style: none;
|
|
381
|
+
color: var(--leap-heading-color);
|
|
382
|
+
&::-webkit-details-marker {
|
|
383
|
+
display: none;
|
|
384
|
+
}
|
|
385
|
+
> svg {
|
|
386
|
+
font-size: 1rem;
|
|
387
|
+
}
|
|
388
|
+
&:hover {
|
|
389
|
+
text-decoration: underline;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
&[closed] {
|
|
393
|
+
}
|
|
394
|
+
&[open] {
|
|
395
|
+
}
|
|
396
|
+
> ul {
|
|
397
|
+
border-radius: var(--leap-border-radius);
|
|
398
|
+
background-color: #f7f7f7;
|
|
399
|
+
list-style: none;
|
|
400
|
+
padding: 1rem;
|
|
401
|
+
|
|
402
|
+
> li {
|
|
403
|
+
padding-left: 1rem;
|
|
404
|
+
position: relative;
|
|
405
|
+
&::before {
|
|
406
|
+
content: '';
|
|
407
|
+
display: block;
|
|
408
|
+
width: 0.375rem;
|
|
409
|
+
height: 0.375rem;
|
|
410
|
+
border-radius: 0.375rem;
|
|
411
|
+
position: absolute;
|
|
412
|
+
background-color: $primary;
|
|
413
|
+
top: calc(50% - 0.1875rem);
|
|
414
|
+
left: 0;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
290
419
|
}
|