halleyx-ui-framework 1.0.10 → 2.0.0

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.
@@ -1,12 +1,55 @@
1
1
  .hlx-alert-wrapper {
2
- width: 325px;
2
+ min-width: max-content;
3
+ box-sizing: border-box;
4
+ position: fixed;
5
+ height: 100vh;
6
+ // padding: 50px;
7
+ z-index: 100;
8
+ right: 0;
9
+ display: flex;
10
+ gap: 10px;
11
+ flex-direction: column;
12
+ z-index: 9999;
13
+ justify-content: flex-start;
14
+ -webkit-animation: runProgress 0.5s ease-in-out;
15
+ animation: runProgress 0.5s ease-in-out;
16
+ // animation: runProgressR 3s ease-in-out;
17
+
18
+ @keyframes runProgress {
19
+ 0% {
20
+ opacity: 0;
21
+ transform: translateX(80px);
22
+ }
23
+ 50% {
24
+ opacity: 0.5;
25
+ }
26
+ 100% {
27
+ opacity: 1;
28
+ transform: translateX(0px);
29
+ }
30
+ }
31
+ @keyframes runProgressR {
32
+ 0% {
33
+ opacity: 1;
34
+ transform: translateY(0px);
35
+ }
36
+ 50% {
37
+ opacity: 0.5;
38
+ }
39
+ 100% {
40
+ opacity: 0;
41
+ transform: translateY(1000px);
42
+ }
43
+ }
3
44
  }
4
45
 
5
46
  .hlx.alert {
6
47
  font-family: var(--hlx-font-type-content);
7
- position: fixed;
8
- z-index: 9999;
48
+ // position: fixed;
49
+ // top: 10%;
50
+ position: relative;
9
51
  top: 10%;
52
+ right: 15%;
10
53
  min-width: 15rem;
11
54
  height: -webkit-max-content;
12
55
  height: -moz-max-content;
@@ -14,17 +57,17 @@
14
57
  min-height: 36px;
15
58
  box-sizing: border-box;
16
59
  transition: max-height 250ms;
17
- overflow: hidden;
18
- right: 5%;
60
+ // overflow: hidden;
61
+ // right: 5%;
19
62
  box-shadow: -2px 3px 20px -13px;
20
63
  border-radius: 8px;
21
64
  display: grid;
22
65
  grid-template-columns: 2.5rem 1fr 2.5rem;
23
66
  max-width: 400px;
24
67
  background: white;
25
- margin-bottom: 15px;
26
- -webkit-animation: runProgress 0.5s ease-in-out;
27
- animation: runProgress 0.5s ease-in-out;
68
+ // margin-bottom: 15px;
69
+ -webkit-animation: runProgress 0.3s ease-in-out;
70
+ animation: runProgress 0.3s ease-in-out;
28
71
  @keyframes runProgress {
29
72
  0% {
30
73
  opacity: 0;
@@ -73,8 +116,7 @@
73
116
 
74
117
  &.alert > .icon {
75
118
  line-height: 40px;
76
- padding: .75 0;
77
-
119
+ padding: 0.75 0;
78
120
  }
79
121
 
80
122
  &.alert > .text {
@@ -84,21 +126,20 @@
84
126
  overflow: hidden;
85
127
  align-items: center;
86
128
 
87
-
88
- .alert-header{
89
- font-size: .875rem;
129
+ .alert-header {
130
+ font-size: 0.875rem;
90
131
  font-weight: 600;
91
132
  line-height: 21.78px;
92
133
  letter-spacing: 0.5%;
93
- color: #333;
134
+ color: #333;
94
135
  }
95
- .alert-description{
136
+ .alert-description {
96
137
  font-size: 0.875rem;
97
138
  max-height: 75px;
98
139
  font-weight: 400;
99
140
  line-height: 24.78px;
100
141
  letter-spacing: 0.5%;
101
- color: #666;
142
+ color: #666;
102
143
  }
103
144
  }
104
145
 
@@ -119,7 +160,7 @@
119
160
  cursor: pointer;
120
161
  // align-self: baseline;
121
162
  transition: 0.3 ease-in-out;
122
-
163
+
123
164
  & > i {
124
165
  font-size: var(--hlx-icon-size-xs);
125
166
  color: var(--hlx-color-disable-dark);
@@ -134,7 +175,7 @@
134
175
  color: var(--hlx-color-success);
135
176
  }
136
177
  }
137
- & .close>i:hover{
178
+ & .close > i:hover {
138
179
  color: var(--hlx-color-success);
139
180
  }
140
181
  // &::before {
@@ -159,7 +200,7 @@
159
200
  color: var(--hlx-color-warning);
160
201
  }
161
202
  }
162
- & .close>i:hover{
203
+ & .close > i:hover {
163
204
  color: var(--hlx-color-warning);
164
205
  }
165
206
  }
@@ -180,7 +221,7 @@
180
221
  color: var(--hlx-color-error);
181
222
  }
182
223
  }
183
- & .close>i:hover{
224
+ & .close > i:hover {
184
225
  color: var(--hlx-color-error);
185
226
  }
186
227
  }
@@ -201,7 +242,7 @@
201
242
  color: var(--hlx-color-link);
202
243
  }
203
244
  }
204
- & .close>i:hover{
245
+ & .close > i:hover {
205
246
  color: var(--hlx-color-link);
206
247
  }
207
248
  }
@@ -213,3 +254,218 @@
213
254
  // font-size: 35px;
214
255
  }
215
256
  }
257
+ /////////////////
258
+ // .hlx-alert-wrapper {
259
+ // width: 325px;
260
+ // }
261
+
262
+ // .hlx.alert {
263
+ // font-family: var(--hlx-font-type-content);
264
+ // position: fixed;
265
+ // z-index: 9999;
266
+ // top: 10%;
267
+ // min-width: 15rem;
268
+ // height: -webkit-max-content;
269
+ // height: -moz-max-content;
270
+ // height: max-content;
271
+ // min-height: 36px;
272
+ // box-sizing: border-box;
273
+ // transition: max-height 250ms;
274
+ // overflow: hidden;
275
+ // right: 5%;
276
+ // box-shadow: -2px 3px 20px -13px;
277
+ // border-radius: 8px;
278
+ // display: grid;
279
+ // grid-template-columns: 2.5rem 1fr 2.5rem;
280
+ // max-width: 400px;
281
+ // background: white;
282
+ // margin-bottom: 15px;
283
+ // -webkit-animation: runProgress 0.5s ease-in-out;
284
+ // animation: runProgress 0.5s ease-in-out;
285
+ // @keyframes runProgress {
286
+ // 0% {
287
+ // opacity: 0;
288
+ // transform: translateX(80px);
289
+ // }
290
+ // 50% {
291
+ // opacity: 0.5;
292
+ // }
293
+ // 100% {
294
+ // opacity: 1;
295
+ // transform: translateX(0px);
296
+ // }
297
+ // }
298
+ // @keyframes runProgressR {
299
+ // 0% {
300
+ // opacity: 1;
301
+ // transform: translateX(0px);
302
+ // }
303
+ // 50% {
304
+ // opacity: 0.5;
305
+ // }
306
+ // 100% {
307
+ // opacity: 0;
308
+ // transform: translateX(1000px);
309
+ // }
310
+ // }
311
+
312
+ // &.close {
313
+ // animation: runProgressR 3s ease-in-out;
314
+ // opacity: 0;
315
+ // font-size: var(--hlx-font-content-size);
316
+ // }
317
+
318
+ // &.alert > .icon {
319
+ // min-width: 2.5rem;
320
+ // height: auto;
321
+ // border-radius: 8px 0 0 8px;
322
+ // & > i {
323
+ // // font-size: 1rem;
324
+ // font-size: var(--hlx-icon-size-sm);
325
+
326
+ // color: white;
327
+ // }
328
+ // text-align: center;
329
+ // }
330
+
331
+ // &.alert > .icon {
332
+ // line-height: 40px;
333
+ // padding: .75 0;
334
+
335
+ // }
336
+
337
+ // &.alert > .text {
338
+ // width: 100%;
339
+ // padding: 0.2rem 0.6rem;
340
+ // display: flex;
341
+ // overflow: hidden;
342
+ // align-items: center;
343
+
344
+ // .alert-header{
345
+ // font-size: .875rem;
346
+ // font-weight: 600;
347
+ // line-height: 21.78px;
348
+ // letter-spacing: 0.5%;
349
+ // color: #333;
350
+ // }
351
+ // .alert-description{
352
+ // font-size: 0.875rem;
353
+ // max-height: 75px;
354
+ // font-weight: 400;
355
+ // line-height: 24.78px;
356
+ // letter-spacing: 0.5%;
357
+ // color: #666;
358
+ // }
359
+ // }
360
+
361
+ // // &.alert > .text strong {
362
+ // // }
363
+ // // &.alert > .text p {
364
+ // // margin: 5px 0;
365
+ // // font-size: 14px;
366
+ // // }
367
+
368
+ // &.alert > .close {
369
+ // border: none;
370
+ // background: transparent;
371
+ // // font-size: 16px;
372
+ // margin-right: 6px;
373
+ // color: #777;
374
+ // outline: none;
375
+ // cursor: pointer;
376
+ // // align-self: baseline;
377
+ // transition: 0.3 ease-in-out;
378
+
379
+ // & > i {
380
+ // font-size: var(--hlx-icon-size-xs);
381
+ // color: var(--hlx-color-disable-dark);
382
+ // }
383
+ // }
384
+
385
+ // /* success alert start */
386
+ // &.alert-success {
387
+ // background-color: var(--hlx-color-success-light);
388
+ // & > .text {
389
+ // strong {
390
+ // color: var(--hlx-color-success);
391
+ // }
392
+ // }
393
+ // & .close>i:hover{
394
+ // color: var(--hlx-color-success);
395
+ // }
396
+ // // &::before {
397
+ // // border-color: #00a865;
398
+ // // }
399
+ // }
400
+ // &.alert-success > .icon {
401
+ // display: flex;
402
+ // align-items: center;
403
+ // justify-content: center;
404
+ // // font-size: 35px;
405
+ // // color: #00a865;
406
+ // background-color: var(--hlx-color-success);
407
+ // }
408
+ // /* success alert end */
409
+
410
+ // /* warning alert start */
411
+ // &.alert-warning {
412
+ // background-color: var(--hlx-color-warning-light);
413
+ // & > .text {
414
+ // strong {
415
+ // color: var(--hlx-color-warning);
416
+ // }
417
+ // }
418
+ // & .close>i:hover{
419
+ // color: var(--hlx-color-warning);
420
+ // }
421
+ // }
422
+ // &.alert-warning > .icon {
423
+ // background-color: var(--hlx-color-warning);
424
+ // display: flex;
425
+ // align-items: center;
426
+ // justify-content: center;
427
+ // // font-size: 35px;
428
+ // }
429
+ // /* warning alert end */
430
+
431
+ // /* danger alert start */
432
+ // &.alert-danger {
433
+ // background-color: var(--hlx-color-error-light);
434
+ // & > .text {
435
+ // strong {
436
+ // color: var(--hlx-color-error);
437
+ // }
438
+ // }
439
+ // & .close>i:hover{
440
+ // color: var(--hlx-color-error);
441
+ // }
442
+ // }
443
+ // &.alert-danger > .icon {
444
+ // background-color: var(--hlx-color-error);
445
+ // display: flex;
446
+ // align-items: center;
447
+ // justify-content: center;
448
+ // // font-size: 35px;
449
+ // }
450
+ // /* danger alert end */
451
+
452
+ // /* primary alert start */
453
+ // &.alert-primary {
454
+ // background-color: var(--hlx-color-link-light);
455
+ // & > .text {
456
+ // strong {
457
+ // color: var(--hlx-color-link);
458
+ // }
459
+ // }
460
+ // & .close>i:hover{
461
+ // color: var(--hlx-color-link);
462
+ // }
463
+ // }
464
+ // &.alert-primary > .icon {
465
+ // background-color: var(--hlx-color-link);
466
+ // display: flex;
467
+ // align-items: center;
468
+ // justify-content: center;
469
+ // // font-size: 35px;
470
+ // }
471
+ // }