urfu-ui-kit-vanilla 1.0.49 → 1.0.51
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/package.json +5 -2
- package/src/js/upward.js +13 -0
- package/src/main.css +89 -6
- package/src/main.d.ts +1 -0
- package/src/main.ts +13 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "UrFU UI-Kit for Vanilla Web",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.51",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"start": "vite",
|
|
@@ -17,8 +17,11 @@
|
|
|
17
17
|
"vite": "^4.2.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
|
+
"src/main.ts",
|
|
21
|
+
"src/main.d.ts",
|
|
20
22
|
"src/main.css",
|
|
21
23
|
"src/ui-icons.css",
|
|
22
|
-
"src/fonts/*"
|
|
24
|
+
"src/fonts/*",
|
|
25
|
+
"src/js/*"
|
|
23
26
|
]
|
|
24
27
|
}
|
package/src/js/upward.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
window.addEventListener('scroll', () => {
|
|
2
|
+
var scroll = document.querySelector('.u-upward');
|
|
3
|
+
scroll.classList.toggle("active", window.scrollY > 500)
|
|
4
|
+
})
|
|
5
|
+
|
|
6
|
+
const uScrollTop = () => {
|
|
7
|
+
window.scrollTo({
|
|
8
|
+
top: 0,
|
|
9
|
+
behavior: 'smooth'
|
|
10
|
+
})
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
module.exports.uScrollTop = uScrollTop;
|
package/src/main.css
CHANGED
|
@@ -23,9 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
* {
|
|
25
25
|
box-sizing: border-box;
|
|
26
|
-
transition-property: color, background-color, border-color, background-image, box-shadow;
|
|
27
|
-
transition-duration: 0.15s;
|
|
28
|
-
transition-timing-function: ease-in-out;
|
|
29
26
|
}
|
|
30
27
|
p,
|
|
31
28
|
h1,
|
|
@@ -121,6 +118,9 @@ button {
|
|
|
121
118
|
column-gap: 8px;
|
|
122
119
|
justify-content: center;
|
|
123
120
|
align-items: center;
|
|
121
|
+
transition-property: color, background-color, border-color, background-image;
|
|
122
|
+
transition-duration: 0.15s;
|
|
123
|
+
transition-timing-function: ease-in-out;
|
|
124
124
|
color: white;
|
|
125
125
|
background-color: #1E4391;
|
|
126
126
|
}
|
|
@@ -217,6 +217,9 @@ button {
|
|
|
217
217
|
column-gap: 8px;
|
|
218
218
|
justify-content: center;
|
|
219
219
|
align-items: center;
|
|
220
|
+
transition-property: color, background-color, border-color, background-image;
|
|
221
|
+
transition-duration: 0.15s;
|
|
222
|
+
transition-timing-function: ease-in-out;
|
|
220
223
|
padding: 0;
|
|
221
224
|
width: 52px;
|
|
222
225
|
height: 52px;
|
|
@@ -246,6 +249,9 @@ button {
|
|
|
246
249
|
align-items: center;
|
|
247
250
|
white-space: nowrap;
|
|
248
251
|
cursor: pointer;
|
|
252
|
+
transition-property: color, background-color, border-color, background-image;
|
|
253
|
+
transition-duration: 0.15s;
|
|
254
|
+
transition-timing-function: ease-in-out;
|
|
249
255
|
color: #1E4391;
|
|
250
256
|
}
|
|
251
257
|
.u-button-text:hover,
|
|
@@ -295,6 +301,9 @@ button {
|
|
|
295
301
|
color: #222222;
|
|
296
302
|
background-color: #FFFFFF;
|
|
297
303
|
width: 100%;
|
|
304
|
+
transition-property: color, background-color, border-color, background-image;
|
|
305
|
+
transition-duration: 0.15s;
|
|
306
|
+
transition-timing-function: ease-in-out;
|
|
298
307
|
border: 1px solid #D3D3D3;
|
|
299
308
|
}
|
|
300
309
|
.u-input:hover,
|
|
@@ -336,6 +345,9 @@ button {
|
|
|
336
345
|
display: none;
|
|
337
346
|
}
|
|
338
347
|
.u-input[type="search"]::-webkit-search-cancel-button {
|
|
348
|
+
transition-property: color, background-color, border-color, background-image;
|
|
349
|
+
transition-duration: 0.15s;
|
|
350
|
+
transition-timing-function: ease-in-out;
|
|
339
351
|
cursor: pointer;
|
|
340
352
|
-webkit-appearance: none;
|
|
341
353
|
width: 12px;
|
|
@@ -357,6 +369,9 @@ button {
|
|
|
357
369
|
color: #222222;
|
|
358
370
|
background-color: #FFFFFF;
|
|
359
371
|
width: 100%;
|
|
372
|
+
transition-property: color, background-color, border-color, background-image;
|
|
373
|
+
transition-duration: 0.15s;
|
|
374
|
+
transition-timing-function: ease-in-out;
|
|
360
375
|
border: 1px solid #EF302B;
|
|
361
376
|
}
|
|
362
377
|
.u-input-required:hover,
|
|
@@ -401,6 +416,9 @@ button {
|
|
|
401
416
|
background-color: transparent;
|
|
402
417
|
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.38415 5.53884L9.31663 0.819867C9.58801 0.494204 9.35643 -0.000225067 8.93252 -0.000225067L1.06756 -0.000225067C0.64364 -0.000225067 0.412061 0.494203 0.683447 0.819866L4.61593 5.53884C4.81582 5.77872 5.18425 5.77872 5.38415 5.53884Z' fill='%23748AB9'/%3E%3C/svg%3E%0A");
|
|
403
418
|
background-repeat: no-repeat;
|
|
419
|
+
transition-property: color, background-color, border-color, background-image;
|
|
420
|
+
transition-duration: 0.15s;
|
|
421
|
+
transition-timing-function: ease-in-out;
|
|
404
422
|
}
|
|
405
423
|
.u-number .u-number-down:hover {
|
|
406
424
|
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.38415 5.53884L9.31663 0.819867C9.58801 0.494204 9.35643 -0.000225067 8.93252 -0.000225067L1.06756 -0.000225067C0.64364 -0.000225067 0.412061 0.494203 0.683447 0.819866L4.61593 5.53884C4.81582 5.77872 5.18425 5.77872 5.38415 5.53884Z' fill='%231E4391'/%3E%3C/svg%3E%0A");
|
|
@@ -419,6 +437,9 @@ button {
|
|
|
419
437
|
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.38415 5.53884L9.31663 0.819867C9.58801 0.494204 9.35643 -0.000225067 8.93252 -0.000225067L1.06756 -0.000225067C0.64364 -0.000225067 0.412061 0.494203 0.683447 0.819866L4.61593 5.53884C4.81582 5.77872 5.18425 5.77872 5.38415 5.53884Z' fill='%23748AB9'/%3E%3C/svg%3E%0A");
|
|
420
438
|
background-repeat: no-repeat;
|
|
421
439
|
transform: rotate(180deg);
|
|
440
|
+
transition-property: color, background-color, border-color, background-image;
|
|
441
|
+
transition-duration: 0.15s;
|
|
442
|
+
transition-timing-function: ease-in-out;
|
|
422
443
|
}
|
|
423
444
|
.u-number .u-number-up:hover {
|
|
424
445
|
background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.38415 5.53884L9.31663 0.819867C9.58801 0.494204 9.35643 -0.000225067 8.93252 -0.000225067L1.06756 -0.000225067C0.64364 -0.000225067 0.412061 0.494203 0.683447 0.819866L4.61593 5.53884C4.81582 5.77872 5.18425 5.77872 5.38415 5.53884Z' fill='%231E4391'/%3E%3C/svg%3E%0A");
|
|
@@ -453,6 +474,9 @@ button {
|
|
|
453
474
|
color: #222222;
|
|
454
475
|
background-color: #FFFFFF;
|
|
455
476
|
width: 100%;
|
|
477
|
+
transition-property: color, background-color, border-color, background-image;
|
|
478
|
+
transition-duration: 0.15s;
|
|
479
|
+
transition-timing-function: ease-in-out;
|
|
456
480
|
border: 1px solid #D3D3D3;
|
|
457
481
|
position: relative;
|
|
458
482
|
}
|
|
@@ -495,6 +519,9 @@ button {
|
|
|
495
519
|
display: none;
|
|
496
520
|
}
|
|
497
521
|
.u-selectbox-select[type="search"]::-webkit-search-cancel-button {
|
|
522
|
+
transition-property: color, background-color, border-color, background-image;
|
|
523
|
+
transition-duration: 0.15s;
|
|
524
|
+
transition-timing-function: ease-in-out;
|
|
498
525
|
cursor: pointer;
|
|
499
526
|
-webkit-appearance: none;
|
|
500
527
|
width: 12px;
|
|
@@ -516,6 +543,9 @@ button {
|
|
|
516
543
|
color: #222222;
|
|
517
544
|
background-color: #FFFFFF;
|
|
518
545
|
width: 100%;
|
|
546
|
+
transition-property: color, background-color, border-color, background-image;
|
|
547
|
+
transition-duration: 0.15s;
|
|
548
|
+
transition-timing-function: ease-in-out;
|
|
519
549
|
border: 1px solid #EF302B;
|
|
520
550
|
}
|
|
521
551
|
.u-selectbox-select-required:hover,
|
|
@@ -558,6 +588,9 @@ button {
|
|
|
558
588
|
height: 12px;
|
|
559
589
|
right: 20px;
|
|
560
590
|
top: calc(50% - 7px);
|
|
591
|
+
transition-property: color, background-color, border-color, background-image;
|
|
592
|
+
transition-duration: 0.15s;
|
|
593
|
+
transition-timing-function: ease-in-out;
|
|
561
594
|
}
|
|
562
595
|
.u-selectbox-select-icon-cross {
|
|
563
596
|
position: absolute;
|
|
@@ -568,6 +601,9 @@ button {
|
|
|
568
601
|
height: 12px;
|
|
569
602
|
right: 44px;
|
|
570
603
|
top: calc(50% - 5px);
|
|
604
|
+
transition-property: color, background-color, border-color, background-image;
|
|
605
|
+
transition-duration: 0.15s;
|
|
606
|
+
transition-timing-function: ease-in-out;
|
|
571
607
|
}
|
|
572
608
|
.u-selectbox-select-icon-cross:hover {
|
|
573
609
|
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3386 0.661444C11.7039 1.02675 11.7039 1.61903 11.3386 1.98433L1.98434 11.3386C1.61904 11.7039 1.02676 11.7039 0.661455 11.3386C0.29615 10.9733 0.296149 10.381 0.661454 10.0157L10.0157 0.661444C10.381 0.296138 10.9733 0.296138 11.3386 0.661444Z' fill='%231E4391'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.661432 0.661444C1.02674 0.296138 1.61901 0.296138 1.98432 0.661444L11.3385 10.0157C11.7039 10.381 11.7038 10.9733 11.3385 11.3386C10.9732 11.7039 10.381 11.7039 10.0157 11.3386L0.661432 1.98433C0.296127 1.61903 0.296127 1.02675 0.661432 0.661444Z' fill='%231E4391'/%3E%3C/svg%3E ");
|
|
@@ -661,6 +697,9 @@ button {
|
|
|
661
697
|
color: #222222;
|
|
662
698
|
background-color: #FFFFFF;
|
|
663
699
|
width: 100%;
|
|
700
|
+
transition-property: color, background-color, border-color, background-image;
|
|
701
|
+
transition-duration: 0.15s;
|
|
702
|
+
transition-timing-function: ease-in-out;
|
|
664
703
|
border: 1px solid #D3D3D3;
|
|
665
704
|
min-height: 48px;
|
|
666
705
|
height: 100%;
|
|
@@ -706,6 +745,9 @@ button {
|
|
|
706
745
|
display: none;
|
|
707
746
|
}
|
|
708
747
|
.u-multiselectbox-select-wrapper[type="search"]::-webkit-search-cancel-button {
|
|
748
|
+
transition-property: color, background-color, border-color, background-image;
|
|
749
|
+
transition-duration: 0.15s;
|
|
750
|
+
transition-timing-function: ease-in-out;
|
|
709
751
|
cursor: pointer;
|
|
710
752
|
-webkit-appearance: none;
|
|
711
753
|
width: 12px;
|
|
@@ -727,6 +769,9 @@ button {
|
|
|
727
769
|
color: #222222;
|
|
728
770
|
background-color: #FFFFFF;
|
|
729
771
|
width: 100%;
|
|
772
|
+
transition-property: color, background-color, border-color, background-image;
|
|
773
|
+
transition-duration: 0.15s;
|
|
774
|
+
transition-timing-function: ease-in-out;
|
|
730
775
|
border: 1px solid #EF302B;
|
|
731
776
|
}
|
|
732
777
|
.u-multiselectbox-select-wrapper-required:hover,
|
|
@@ -816,6 +861,9 @@ button {
|
|
|
816
861
|
height: 12px;
|
|
817
862
|
right: 46px;
|
|
818
863
|
top: 19px;
|
|
864
|
+
transition-property: color, background-color, border-color, background-image;
|
|
865
|
+
transition-duration: 0.15s;
|
|
866
|
+
transition-timing-function: ease-in-out;
|
|
819
867
|
}
|
|
820
868
|
.u-multiselectbox-select-icon-cross:hover {
|
|
821
869
|
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3386 0.661444C11.7039 1.02675 11.7039 1.61903 11.3386 1.98433L1.98434 11.3386C1.61904 11.7039 1.02676 11.7039 0.661455 11.3386C0.29615 10.9733 0.296149 10.381 0.661454 10.0157L10.0157 0.661444C10.381 0.296138 10.9733 0.296138 11.3386 0.661444Z' fill='%231E4391'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.661432 0.661444C1.02674 0.296138 1.61901 0.296138 1.98432 0.661444L11.3385 10.0157C11.7039 10.381 11.7038 10.9733 11.3385 11.3386C10.9732 11.7039 10.381 11.7039 10.0157 11.3386L0.661432 1.98433C0.296127 1.61903 0.296127 1.02675 0.661432 0.661444Z' fill='%231E4391'/%3E%3C/svg%3E ");
|
|
@@ -881,6 +929,7 @@ button {
|
|
|
881
929
|
min-width: 16px;
|
|
882
930
|
height: 16px;
|
|
883
931
|
position: relative;
|
|
932
|
+
transition: all 0.15s ease-out;
|
|
884
933
|
background-repeat: no-repeat;
|
|
885
934
|
top: 2px;
|
|
886
935
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='white' stroke='%23D3D3D3'/%3E%3C/svg%3E ");
|
|
@@ -927,6 +976,9 @@ button {
|
|
|
927
976
|
color: #222222;
|
|
928
977
|
background-color: #FFFFFF;
|
|
929
978
|
width: 100%;
|
|
979
|
+
transition-property: color, background-color, border-color, background-image;
|
|
980
|
+
transition-duration: 0.15s;
|
|
981
|
+
transition-timing-function: ease-in-out;
|
|
930
982
|
border: 1px solid #D3D3D3;
|
|
931
983
|
position: relative;
|
|
932
984
|
padding: 8px 16px 7px 16px;
|
|
@@ -978,6 +1030,9 @@ button {
|
|
|
978
1030
|
display: none;
|
|
979
1031
|
}
|
|
980
1032
|
.u-multiselectbox-simple-select[type="search"]::-webkit-search-cancel-button {
|
|
1033
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1034
|
+
transition-duration: 0.15s;
|
|
1035
|
+
transition-timing-function: ease-in-out;
|
|
981
1036
|
cursor: pointer;
|
|
982
1037
|
-webkit-appearance: none;
|
|
983
1038
|
width: 12px;
|
|
@@ -999,6 +1054,9 @@ button {
|
|
|
999
1054
|
color: #222222;
|
|
1000
1055
|
background-color: #FFFFFF;
|
|
1001
1056
|
width: 100%;
|
|
1057
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1058
|
+
transition-duration: 0.15s;
|
|
1059
|
+
transition-timing-function: ease-in-out;
|
|
1002
1060
|
border: 1px solid #EF302B;
|
|
1003
1061
|
}
|
|
1004
1062
|
.u-multiselectbox-simple-select-required:hover,
|
|
@@ -1058,6 +1116,9 @@ button {
|
|
|
1058
1116
|
height: 12px;
|
|
1059
1117
|
right: 44px;
|
|
1060
1118
|
top: 19px;
|
|
1119
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1120
|
+
transition-duration: 0.15s;
|
|
1121
|
+
transition-timing-function: ease-in-out;
|
|
1061
1122
|
}
|
|
1062
1123
|
.u-multiselectbox-simple-select-icon-cross:hover {
|
|
1063
1124
|
background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3386 0.661444C11.7039 1.02675 11.7039 1.61903 11.3386 1.98433L1.98434 11.3386C1.61904 11.7039 1.02676 11.7039 0.661455 11.3386C0.29615 10.9733 0.296149 10.381 0.661454 10.0157L10.0157 0.661444C10.381 0.296138 10.9733 0.296138 11.3386 0.661444Z' fill='%231E4391'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.661432 0.661444C1.02674 0.296138 1.61901 0.296138 1.98432 0.661444L11.3385 10.0157C11.7039 10.381 11.7038 10.9733 11.3385 11.3386C10.9732 11.7039 10.381 11.7039 10.0157 11.3386L0.661432 1.98433C0.296127 1.61903 0.296127 1.02675 0.661432 0.661444Z' fill='%231E4391'/%3E%3C/svg%3E ");
|
|
@@ -1116,6 +1177,7 @@ button {
|
|
|
1116
1177
|
min-width: 16px;
|
|
1117
1178
|
height: 16px;
|
|
1118
1179
|
position: relative;
|
|
1180
|
+
transition: all 0.15s ease-out;
|
|
1119
1181
|
background-repeat: no-repeat;
|
|
1120
1182
|
top: 2px;
|
|
1121
1183
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='white' stroke='%23D3D3D3'/%3E%3C/svg%3E ");
|
|
@@ -1154,6 +1216,9 @@ button {
|
|
|
1154
1216
|
background-color: transparent;
|
|
1155
1217
|
background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.728 4C13.6396 4 16 6.36036 16 9.272C16 12.1836 13.6396 14.544 10.728 14.544C9.2719 14.544 7.95527 13.955 7.00013 12.9999C6.04499 12.0447 5.456 10.7281 5.456 9.272C5.456 6.36036 7.81635 4 10.728 4ZM18 9.272C18 5.25579 14.7442 2 10.728 2C6.71178 2 3.456 5.25579 3.456 9.272C3.456 10.9191 4.00448 12.4394 4.92744 13.6583L1.58579 17L3 18.4142L6.34165 15.0726C7.56063 15.9955 9.0809 16.544 10.728 16.544C14.7442 16.544 18 13.2882 18 9.272Z' fill='%231E4391'/%3E%3C/svg%3E ");
|
|
1156
1218
|
background-repeat: no-repeat;
|
|
1219
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1220
|
+
transition-duration: 0.15s;
|
|
1221
|
+
transition-timing-function: ease-in-out;
|
|
1157
1222
|
}
|
|
1158
1223
|
.u-password {
|
|
1159
1224
|
position: relative;
|
|
@@ -1352,6 +1417,9 @@ button {
|
|
|
1352
1417
|
color: #222222;
|
|
1353
1418
|
background-color: #FFFFFF;
|
|
1354
1419
|
width: 100%;
|
|
1420
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1421
|
+
transition-duration: 0.15s;
|
|
1422
|
+
transition-timing-function: ease-in-out;
|
|
1355
1423
|
cursor: text;
|
|
1356
1424
|
display: inline-block;
|
|
1357
1425
|
min-height: 48px;
|
|
@@ -1403,6 +1471,9 @@ button {
|
|
|
1403
1471
|
color: #222222;
|
|
1404
1472
|
background-color: #FFFFFF;
|
|
1405
1473
|
width: 100%;
|
|
1474
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1475
|
+
transition-duration: 0.15s;
|
|
1476
|
+
transition-timing-function: ease-in-out;
|
|
1406
1477
|
cursor: text;
|
|
1407
1478
|
display: inline-block;
|
|
1408
1479
|
min-height: 48px;
|
|
@@ -1454,10 +1525,14 @@ button {
|
|
|
1454
1525
|
color: #222222;
|
|
1455
1526
|
background-color: #FFFFFF;
|
|
1456
1527
|
width: 100%;
|
|
1528
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1529
|
+
transition-duration: 0.15s;
|
|
1530
|
+
transition-timing-function: ease-in-out;
|
|
1457
1531
|
cursor: pointer;
|
|
1458
1532
|
border: 1px solid #D3D3D3;
|
|
1459
1533
|
background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_7666_4018)'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4 4C2.89543 4 2 4.89543 2 6V16C2 17.1046 2.89543 18 4 18H16C17.1046 18 18 17.1046 18 16V6C18 4.89543 17.1046 4 16 4H4ZM0 6C0 3.79086 1.79086 2 4 2H16C18.2091 2 20 3.79086 20 6V16C20 18.2091 18.2091 20 16 20H4C1.79086 20 0 18.2091 0 16V6Z' fill='%231E4391'/%3E%3Cpath d='M5 1C5 0.447715 5.44772 0 6 0C6.55228 0 7 0.447715 7 1V5C7 5.55228 6.55228 6 6 6C5.44772 6 5 5.55228 5 5V1Z' fill='%231E4391'/%3E%3Cpath d='M13 1C13 0.447715 13.4477 0 14 0C14.5523 0 15 0.447715 15 1V5C15 5.55228 14.5523 6 14 6C13.4477 6 13 5.55228 13 5V1Z' fill='%231E4391'/%3E%3Cpath d='M3 9C3 8.44772 3.44772 8 4 8H16C16.5523 8 17 8.44772 17 9C17 9.55228 16.5523 10 16 10H4C3.44772 10 3 9.55228 3 9Z' fill='%231E4391'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_7666_4018'%3E%3Crect width='20' height='20' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E ") no-repeat;
|
|
1460
1534
|
background-position: top 14px right 16px;
|
|
1535
|
+
padding-right: 50px;
|
|
1461
1536
|
}
|
|
1462
1537
|
.u-calendar:hover,
|
|
1463
1538
|
.u-calendar.active {
|
|
@@ -1601,6 +1676,7 @@ button {
|
|
|
1601
1676
|
width: 16px;
|
|
1602
1677
|
height: 16px;
|
|
1603
1678
|
position: relative;
|
|
1679
|
+
transition: all 0.15s ease-in-out;
|
|
1604
1680
|
background-repeat: no-repeat;
|
|
1605
1681
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' rx='7.5' stroke='%23D3D3D3'/%3E%3C/svg%3E%0A");
|
|
1606
1682
|
}
|
|
@@ -1635,6 +1711,7 @@ button {
|
|
|
1635
1711
|
min-width: 16px;
|
|
1636
1712
|
height: 16px;
|
|
1637
1713
|
position: relative;
|
|
1714
|
+
transition: all 0.15s ease-out;
|
|
1638
1715
|
background-repeat: no-repeat;
|
|
1639
1716
|
background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='white' stroke='%23D3D3D3'/%3E%3C/svg%3E ");
|
|
1640
1717
|
}
|
|
@@ -1722,6 +1799,9 @@ button {
|
|
|
1722
1799
|
padding: 0 18px;
|
|
1723
1800
|
font-size: 16px;
|
|
1724
1801
|
font-weight: 600;
|
|
1802
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1803
|
+
transition-duration: 0.15s;
|
|
1804
|
+
transition-timing-function: ease-in-out;
|
|
1725
1805
|
color: #A7A7A7;
|
|
1726
1806
|
background-color: transparent;
|
|
1727
1807
|
border: 2px solid #D3D3D3;
|
|
@@ -1756,6 +1836,9 @@ button {
|
|
|
1756
1836
|
border-bottom: 2px solid transparent;
|
|
1757
1837
|
font-size: 16px;
|
|
1758
1838
|
font-weight: 400;
|
|
1839
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1840
|
+
transition-duration: 0.15s;
|
|
1841
|
+
transition-timing-function: ease-in-out;
|
|
1759
1842
|
background-color: transparent;
|
|
1760
1843
|
color: #A7A7A7;
|
|
1761
1844
|
border-bottom: 1px solid #A7A7A7;
|
|
@@ -1781,6 +1864,9 @@ button {
|
|
|
1781
1864
|
border-bottom: 2px solid transparent;
|
|
1782
1865
|
font-size: 16px;
|
|
1783
1866
|
font-weight: 400;
|
|
1867
|
+
transition-property: color, background-color, border-color, background-image;
|
|
1868
|
+
transition-duration: 0.15s;
|
|
1869
|
+
transition-timing-function: ease-in-out;
|
|
1784
1870
|
background-color: transparent;
|
|
1785
1871
|
color: #748AB9;
|
|
1786
1872
|
}
|
|
@@ -1999,9 +2085,6 @@ button {
|
|
|
1999
2085
|
border: none;
|
|
2000
2086
|
outline: none;
|
|
2001
2087
|
}
|
|
2002
|
-
.u-icon {
|
|
2003
|
-
transition: none;
|
|
2004
|
-
}
|
|
2005
2088
|
.u-status {
|
|
2006
2089
|
display: flex;
|
|
2007
2090
|
justify-content: center;
|
package/src/main.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare const ScrollTopTop: Function;
|
package/src/main.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// import AirDatepicker from 'air-datepicker';
|
|
2
|
+
// import 'air-datepicker/air-datepicker.css';
|
|
3
|
+
import "./main.css";
|
|
4
|
+
// import "./main.less";
|
|
5
|
+
import "./js/upward.js"
|
|
6
|
+
|
|
7
|
+
// new AirDatepicker('#airdatepicker', {
|
|
8
|
+
// toggleSelected: true,
|
|
9
|
+
// range: true,
|
|
10
|
+
// position: "bottom right",
|
|
11
|
+
// inline: true,
|
|
12
|
+
// })
|
|
13
|
+
|