zartui 1.0.2 → 2.0.2
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/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.js +3 -3
- package/es/action-sheet/index.less +12 -8
- package/es/area/style/index.js +1 -0
- package/es/area/style/less.js +1 -0
- package/es/avatar/index.css +1 -1
- package/es/button/index.css +1 -1
- package/es/button/index.js +28 -13
- package/es/button/index.less +60 -27
- package/es/calendar/components/Header.js +1 -6
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.js +31 -8
- package/es/calendar/index.less +16 -10
- package/es/cell/index.css +1 -1
- package/es/cell/index.js +62 -40
- package/es/cell/index.less +67 -12
- package/es/cell/shared.js +2 -0
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.less +18 -15
- package/es/checkbox-group/index.js +1 -0
- package/es/datetime-picker/style/index.js +1 -0
- package/es/datetime-picker/style/less.js +1 -0
- package/es/field/index.css +1 -1
- package/es/field/index.js +94 -9
- package/es/field/index.less +81 -11
- package/es/hierarchy-select/hierarchySelect.js +1 -8
- package/es/hierarchy-select/index.css +1 -1
- package/es/hierarchy-select/index.js +6 -14
- package/es/hierarchy-select/index.less +4 -5
- package/es/hierarchy-select/markList.js +1 -16
- package/es/icon/index.css +1 -1
- package/es/image/index.css +1 -1
- package/es/image-preview/ImagePreview.js +1 -1
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.less +4 -2
- package/es/index.js +3 -4
- package/es/loading/index.css +1 -1
- package/es/loading/index.js +3 -3
- package/es/loading/index.less +1 -1
- package/es/media-picker/image/PickFileIcon.js +2 -9
- package/es/media-picker/image/PickPhotoIcon.js +2 -9
- package/es/media-picker/image/TakeAudioIcon.js +2 -9
- package/es/media-picker/image/TakePhotoIcon.js +2 -9
- package/es/media-picker/image/TakeVideoIcon.js +2 -9
- package/es/media-picker/index.css +1 -1
- package/es/media-picker/index.js +22 -17
- package/es/media-picker/index.less +6 -4
- package/es/media-picker/style/index.js +4 -0
- package/es/media-picker/style/less.js +4 -0
- package/es/mixins/checkbox.js +12 -30
- package/es/multiple-picker/index.css +1 -1
- package/es/multiple-picker/index.js +18 -11
- package/es/multiple-picker/index.less +11 -7
- package/es/multiple-picker/style/index.js +1 -0
- package/es/multiple-picker/style/less.js +1 -0
- package/es/pdf-viewer/style/index.js +1 -0
- package/es/pdf-viewer/style/less.js +1 -0
- package/es/picker/index.css +1 -1
- package/es/picker/index.js +18 -9
- package/es/picker/index.less +18 -2
- package/es/picker/style/index.js +1 -0
- package/es/picker/style/less.js +1 -0
- package/es/popup/index.css +1 -1
- package/es/popup/index.js +120 -49
- package/es/popup/index.less +31 -2
- package/es/radio/index.css +1 -1
- package/es/radio/index.less +24 -29
- package/es/radio-group/index.js +1 -0
- package/es/search/index.css +1 -1
- package/es/search/index.js +1 -1
- package/es/search/index.less +31 -3
- package/es/signature/index.js +7 -6
- package/es/signature/index.less +1 -1
- package/es/step/index.css +1 -1
- package/es/step/index.js +3 -5
- package/es/step/index.less +3 -1
- package/es/stepper/index.css +1 -1
- package/es/steps/index.css +1 -1
- package/es/steps/index.less +3 -3
- package/es/style/reset.css +1 -1
- package/es/style/var.less +106 -62
- package/es/switch-cell/index.css +1 -1
- package/es/tabs/Title.js +6 -1
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.js +2 -4
- package/es/tabs/index.less +18 -15
- package/es/toast/index.css +1 -1
- package/es/uploader/index.css +1 -1
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.js +3 -3
- package/lib/action-sheet/index.less +12 -8
- package/lib/area/style/index.js +1 -0
- package/lib/area/style/less.js +1 -0
- package/lib/avatar/index.css +1 -1
- package/lib/button/index.css +1 -1
- package/lib/button/index.js +28 -13
- package/lib/button/index.less +60 -27
- package/lib/calendar/components/Header.js +1 -6
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.js +31 -8
- package/lib/calendar/index.less +16 -10
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.js +62 -40
- package/lib/cell/index.less +67 -12
- package/lib/cell/shared.js +2 -0
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.less +18 -15
- package/lib/checkbox-group/index.js +1 -0
- package/lib/datetime-picker/style/index.js +1 -0
- package/lib/datetime-picker/style/less.js +1 -0
- package/lib/field/index.css +1 -1
- package/lib/field/index.js +94 -9
- package/lib/field/index.less +81 -11
- package/lib/hierarchy-select/hierarchySelect.js +1 -8
- package/lib/hierarchy-select/index.css +1 -1
- package/lib/hierarchy-select/index.js +6 -15
- package/lib/hierarchy-select/index.less +4 -5
- package/lib/hierarchy-select/markList.js +1 -16
- package/lib/icon/index.css +1 -1
- package/lib/image/index.css +1 -1
- package/lib/image-preview/ImagePreview.js +1 -1
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.less +4 -2
- package/lib/index.css +1 -1
- package/lib/index.js +2 -6
- package/lib/index.less +3 -4
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.js +3 -3
- package/lib/loading/index.less +1 -1
- package/lib/media-picker/image/PickFileIcon.js +2 -9
- package/lib/media-picker/image/PickPhotoIcon.js +2 -9
- package/lib/media-picker/image/TakeAudioIcon.js +2 -9
- package/lib/media-picker/image/TakePhotoIcon.js +2 -9
- package/lib/media-picker/image/TakeVideoIcon.js +2 -9
- package/lib/media-picker/index.css +1 -1
- package/lib/media-picker/index.js +22 -11
- package/lib/media-picker/index.less +6 -4
- package/lib/media-picker/style/index.js +4 -0
- package/lib/media-picker/style/less.js +4 -0
- package/lib/mixins/checkbox.js +12 -30
- package/lib/multiple-picker/index.css +1 -1
- package/lib/multiple-picker/index.js +19 -11
- package/lib/multiple-picker/index.less +11 -7
- package/lib/multiple-picker/style/index.js +1 -0
- package/lib/multiple-picker/style/less.js +1 -0
- package/lib/pdf-viewer/style/index.js +1 -0
- package/lib/pdf-viewer/style/less.js +1 -0
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.js +19 -9
- package/lib/picker/index.less +18 -2
- package/lib/picker/style/index.js +1 -0
- package/lib/picker/style/less.js +1 -0
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.js +120 -49
- package/lib/popup/index.less +31 -2
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.less +24 -29
- package/lib/radio-group/index.js +1 -0
- package/lib/search/index.css +1 -1
- package/lib/search/index.js +1 -1
- package/lib/search/index.less +31 -3
- package/lib/signature/index.js +7 -6
- package/lib/signature/index.less +1 -1
- package/lib/step/index.css +1 -1
- package/lib/step/index.js +3 -5
- package/lib/step/index.less +3 -1
- package/lib/stepper/index.css +1 -1
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.less +3 -3
- package/lib/style/reset.css +1 -1
- package/lib/style/var.less +106 -62
- package/lib/switch-cell/index.css +1 -1
- package/lib/tabs/Title.js +6 -1
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.js +2 -4
- package/lib/tabs/index.less +18 -15
- package/lib/toast/index.css +1 -1
- package/lib/uploader/index.css +1 -1
- package/lib/zart.js +1199 -2181
- package/lib/zart.min.js +4 -4
- package/package.json +5 -6
- package/es/pdf-viewer-v2/index.css +0 -1
- package/es/pdf-viewer-v2/index.js +0 -231
- package/es/pdf-viewer-v2/index.less +0 -40
- package/es/pdf-viewer-v2/style/index.js +0 -8
- package/es/pdf-viewer-v2/style/less.js +0 -8
- package/lib/pdf-viewer-v2/index.css +0 -1
- package/lib/pdf-viewer-v2/index.js +0 -242
- package/lib/pdf-viewer-v2/index.less +0 -40
- package/lib/pdf-viewer-v2/style/index.js +0 -8
- package/lib/pdf-viewer-v2/style/less.js +0 -8
package/es/popup/index.less
CHANGED
|
@@ -13,6 +13,29 @@
|
|
|
13
13
|
transition: @popup-transition;
|
|
14
14
|
-webkit-overflow-scrolling: touch;
|
|
15
15
|
|
|
16
|
+
&__slider {
|
|
17
|
+
position: fixed;
|
|
18
|
+
width: 100%;
|
|
19
|
+
bottom: 0;
|
|
20
|
+
border-radius: 16px 16px 0 0;
|
|
21
|
+
background-color: #fff;
|
|
22
|
+
|
|
23
|
+
&-title {
|
|
24
|
+
height: 40px;
|
|
25
|
+
text-align: center;
|
|
26
|
+
}
|
|
27
|
+
&-bar {
|
|
28
|
+
display: inline-block;
|
|
29
|
+
width: 32px;
|
|
30
|
+
height: 4px;
|
|
31
|
+
transform: scaleY(-1);
|
|
32
|
+
background: rgba(45,75,115,0.20);
|
|
33
|
+
border-radius: 3px;
|
|
34
|
+
}
|
|
35
|
+
&-content {
|
|
36
|
+
overflow-y: auto;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
16
39
|
&--center {
|
|
17
40
|
top: 50%;
|
|
18
41
|
left: 50%;
|
|
@@ -101,7 +124,13 @@
|
|
|
101
124
|
&-slide-left-leave-active {
|
|
102
125
|
transform: translate3d(-100%, -50%, 0);
|
|
103
126
|
}
|
|
127
|
+
&__slider-icon{
|
|
128
|
+
z-index: @popup-close-icon-z-index;
|
|
129
|
+
color: @popup-close-icon-color;
|
|
130
|
+
font-size: @popup-close-icon-size;
|
|
131
|
+
cursor: pointer;
|
|
104
132
|
|
|
133
|
+
}
|
|
105
134
|
&__close-icon {
|
|
106
135
|
position: absolute;
|
|
107
136
|
z-index: @popup-close-icon-z-index;
|
|
@@ -114,12 +143,12 @@
|
|
|
114
143
|
}
|
|
115
144
|
|
|
116
145
|
&--top-left {
|
|
117
|
-
top: @popup-close-icon-margin;
|
|
146
|
+
top: @popup-close-icon-z-margin-top;
|
|
118
147
|
left: @popup-close-icon-margin;
|
|
119
148
|
}
|
|
120
149
|
|
|
121
150
|
&--top-right {
|
|
122
|
-
top: @popup-close-icon-margin;
|
|
151
|
+
top: @popup-close-icon-z-margin-top;
|
|
123
152
|
right: @popup-close-icon-margin;
|
|
124
153
|
}
|
|
125
154
|
|
package/es/radio/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-radio{display:-webkit-box;display:-webkit-flex;display:flex
|
|
1
|
+
.zt-radio{display:-webkit-box;display:-webkit-flex;display:flex;overflow:hidden;cursor:pointer;-webkit-user-select:none;user-select:none;padding:14px 0}.zt-radio--disabled{cursor:not-allowed}.zt-radio--label-disabled{cursor:default}.zt-radio--horizontal{margin-left:12px}.zt-radio__icon{font-size:20px;cursor:pointer}.zt-radio__icon .zt-icon{display:block;box-sizing:border-box;width:1em;height:1em;color:transparent;font-size:inherit;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:color,border-color,background-color;transition-property:color,border-color,background-color}.zt-radio__icon--round .zt-icon{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;border-radius:100%}.zt-radio__icon--checked .zt-icon{color:#fff;background-color:#0091fa;border:1px solid rgba(255,255,255,.5);box-shadow:inset 1px 1px 2px 0 rgba(0,0,0,.2)}.zt-radio__icon--disabled{cursor:not-allowed}.zt-radio__icon--disabled .zt-icon{background-image:-webkit-linear-gradient(316deg,#e1e6eb 0,#e5edf5 100%);background-image:linear-gradient(134deg,#e1e6eb 0,#e5edf5 100%);border:1px solid rgba(45,75,115,.08);box-shadow:-1px -1px 2px 0 #fff,0 0 3px 0 rgba(45,75,115,.2)}.zt-radio__icon--disabled.zt-radio__icon--checked .zt-icon{opacity:.4;background:#0091fa;color:#fff}.zt-radio__label{margin-left:8px;color:#000;line-height:20px}.zt-radio__label--left{margin:0 8px 0 0}.zt-radio__label--disabled{color:#c8c9cc}.zt-radio__disable-icon .zt-radio__icon--round:not(.zt-radio__icon--disabled,.zt-radio__icon--checked){width:1em;height:1em;box-sizing:border-box;border-radius:100%;background-image:-webkit-linear-gradient(315deg,#e6ebf0 0,#fff 100%);background-image:linear-gradient(135deg,#e6ebf0 0,#fff 100%);border:1px solid rgba(45,75,115,.13);box-shadow:-1px -1px 2px 0 #fff,0 0 3px 0 rgba(45,75,115,.2)}
|
package/es/radio/index.less
CHANGED
|
@@ -2,21 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
.zt-radio {
|
|
4
4
|
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
5
|
overflow: hidden;
|
|
7
6
|
cursor: pointer;
|
|
8
7
|
user-select: none;
|
|
9
8
|
padding: @radio-padding;
|
|
10
9
|
|
|
11
|
-
&__custom-svg {
|
|
12
|
-
width: @radio-size;
|
|
13
|
-
height: @radio-size;
|
|
14
|
-
border-radius: 50%;
|
|
15
|
-
}
|
|
16
|
-
&__icon--disabled &__custom-svg {
|
|
17
|
-
opacity: .2;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
10
|
&--disabled {
|
|
21
11
|
cursor: not-allowed;
|
|
22
12
|
}
|
|
@@ -30,19 +20,8 @@
|
|
|
30
20
|
}
|
|
31
21
|
|
|
32
22
|
&__icon {
|
|
33
|
-
flex: none;
|
|
34
|
-
height: 1em;
|
|
35
23
|
font-size: @radio-size;
|
|
36
|
-
line-height: 1em;
|
|
37
24
|
cursor: pointer;
|
|
38
|
-
i, img {
|
|
39
|
-
transform: scale(0.8333);
|
|
40
|
-
transform-origin: center;
|
|
41
|
-
}
|
|
42
|
-
img {
|
|
43
|
-
width: 1em;
|
|
44
|
-
height: 1em;
|
|
45
|
-
}
|
|
46
25
|
|
|
47
26
|
.zt-icon {
|
|
48
27
|
display: block;
|
|
@@ -50,16 +29,16 @@
|
|
|
50
29
|
width: 1em;
|
|
51
30
|
height: 1em;
|
|
52
31
|
color: transparent;
|
|
53
|
-
font-size:
|
|
54
|
-
line-height: 1.25;
|
|
55
|
-
text-align: center;
|
|
56
|
-
border: 1px solid @radio-border-color;
|
|
32
|
+
font-size: inherit;
|
|
57
33
|
transition-duration: @radio-transition-duration;
|
|
58
34
|
transition-property: color, border-color, background-color;
|
|
59
35
|
}
|
|
60
36
|
|
|
61
37
|
&--round {
|
|
62
38
|
.zt-icon {
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
align-items: center;
|
|
63
42
|
border-radius: 100%;
|
|
64
43
|
}
|
|
65
44
|
}
|
|
@@ -68,7 +47,8 @@
|
|
|
68
47
|
.zt-icon {
|
|
69
48
|
color: @white;
|
|
70
49
|
background-color: @radio-checked-icon-color;
|
|
71
|
-
border
|
|
50
|
+
border: 1px solid @checkbox-disabled-border-color;
|
|
51
|
+
box-shadow: inset 1px 1px 2px 0 @gray-a2;
|
|
72
52
|
}
|
|
73
53
|
}
|
|
74
54
|
|
|
@@ -76,14 +56,17 @@
|
|
|
76
56
|
cursor: not-allowed;
|
|
77
57
|
|
|
78
58
|
.zt-icon {
|
|
79
|
-
background-
|
|
80
|
-
border
|
|
59
|
+
background-image: @radio-disabled-background-color;
|
|
60
|
+
border: 1px solid @radio-disabled-border-color;
|
|
61
|
+
box-shadow: -1px -1px 2px 0 #fff, 0 0 3px 0 rgba(45,75,115,0.20);
|
|
81
62
|
}
|
|
82
63
|
}
|
|
83
64
|
|
|
84
65
|
&--disabled&--checked {
|
|
85
66
|
.zt-icon {
|
|
86
|
-
|
|
67
|
+
opacity: .4;
|
|
68
|
+
background: @checkbox-checked-icon-color;
|
|
69
|
+
color: @white;
|
|
87
70
|
}
|
|
88
71
|
}
|
|
89
72
|
}
|
|
@@ -102,3 +85,15 @@
|
|
|
102
85
|
}
|
|
103
86
|
}
|
|
104
87
|
}
|
|
88
|
+
|
|
89
|
+
.zt-radio__disable-icon {
|
|
90
|
+
.zt-radio__icon--round:not(.zt-radio__icon--disabled,.zt-radio__icon--checked){
|
|
91
|
+
width: 1em;
|
|
92
|
+
height: 1em;
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
border-radius: 100%;
|
|
95
|
+
background-image: @gradient-white-1;
|
|
96
|
+
border: 1px solid @radio-border-color;
|
|
97
|
+
box-shadow: -1px -1px 2px 0 #FFF, 0 0 3px 0 rgba(45,75,115,0.20);
|
|
98
|
+
}
|
|
99
|
+
}
|
package/es/radio-group/index.js
CHANGED
package/es/search/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-search{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;padding:8px 16px;background-color:#
|
|
1
|
+
.zt-search{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;box-sizing:border-box;padding:8px 16px;background-color:#f5faff}.zt-search__content{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-flex:1;-webkit-flex:1;flex:1;background-color:rgba(45,75,115,.04);border:1px solid transparent;border-radius:2px;box-shadow:inset 4px 4px 8px 0 rgba(45,75,115,.1);background-clip:padding-box;position:relative}.zt-search__content::before{content:'';position:absolute;top:0;right:0;left:0;bottom:0;z-index:-1;margin:-1px;border-radius:inherit;background:-webkit-linear-gradient(#fff,rgba(255,255,255,.4));background:linear-gradient(#fff,rgba(255,255,255,.4))}.zt-search__content--round{border-radius:999px}.zt-search__label{padding:8px 0 8px 12px;color:rgba(0,0,0,.6);font-family:PingFangSC-Semibold;font-weight:400;font-size:14px;line-height:20px}.zt-search .zt-field__root{background-color:transparent;padding:0}.zt-search .zt-field__label{margin-right:0}.zt-search .zt-cell__title.zt-field__label{-webkit-box-flex:unset;-webkit-flex:unset;flex:unset}.zt-search .zt-cell{-webkit-box-flex:1;-webkit-flex:1;flex:1;padding:8px 12px;background:0 0;line-height:20px;font-size:14px;font-family:PingFangSC-Regular;font-weight:400}.zt-search .zt-cell__left-icon{color:#969799}.zt-search .zt-field{margin:0}.zt-search .zt-field__control{color:#000}.zt-search--show-action{padding-right:0}.zt-search input{caret-color:#0091fa}.zt-search input::-webkit-search-cancel-button,.zt-search input::-webkit-search-decoration,.zt-search input::-webkit-search-results-button,.zt-search input::-webkit-search-results-decoration{display:none}.zt-search input::-webkit-input-placeholder{color:rgba(45,75,115,.2)}.zt-search input::placeholder{color:rgba(45,75,115,.2)}.zt-search__action{padding:0 16px 0 12px;color:#0091fa;font-size:16px;font-family:PingFangSC-Semibold;height:28px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.zt-search__action:active{background-color:rgba(0,0,0,.04)}
|
package/es/search/index.js
CHANGED
package/es/search/index.less
CHANGED
|
@@ -11,8 +11,24 @@
|
|
|
11
11
|
display: flex;
|
|
12
12
|
flex: 1;
|
|
13
13
|
background-color: @search-content-background-color;
|
|
14
|
-
border:
|
|
14
|
+
border: 1px solid transparent;
|
|
15
15
|
border-radius: @border-radius-sm;
|
|
16
|
+
box-shadow: @search-content-box-shadow;
|
|
17
|
+
background-clip: padding-box;
|
|
18
|
+
position: relative;
|
|
19
|
+
|
|
20
|
+
&::before {
|
|
21
|
+
content: '';
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
bottom: 0;
|
|
27
|
+
z-index: -1;
|
|
28
|
+
margin: -1px;
|
|
29
|
+
border-radius: inherit;
|
|
30
|
+
background: @search-content-border-color;
|
|
31
|
+
}
|
|
16
32
|
|
|
17
33
|
&--round {
|
|
18
34
|
border-radius: @border-radius-max;
|
|
@@ -33,10 +49,18 @@
|
|
|
33
49
|
padding: 0;
|
|
34
50
|
}
|
|
35
51
|
|
|
52
|
+
.zt-field__label {
|
|
53
|
+
margin-right: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.zt-cell__title.zt-field__label {
|
|
57
|
+
flex: unset;
|
|
58
|
+
}
|
|
59
|
+
|
|
36
60
|
.zt-cell {
|
|
37
61
|
flex: 1;
|
|
38
|
-
padding:
|
|
39
|
-
background
|
|
62
|
+
padding: @search-cell-padding;
|
|
63
|
+
background: transparent;
|
|
40
64
|
line-height: @search-input-height;
|
|
41
65
|
font-size: @font-size-md;
|
|
42
66
|
font-family: PingFangSC-Regular;
|
|
@@ -66,6 +90,10 @@
|
|
|
66
90
|
display: none;
|
|
67
91
|
}
|
|
68
92
|
|
|
93
|
+
&::placeholder {
|
|
94
|
+
color: @text-color-5;
|
|
95
|
+
}
|
|
96
|
+
|
|
69
97
|
caret-color:@search-input-caret-color;
|
|
70
98
|
}
|
|
71
99
|
|
package/es/signature/index.js
CHANGED
|
@@ -26,7 +26,7 @@ export default createComponent({
|
|
|
26
26
|
},
|
|
27
27
|
backgroundStyle: {
|
|
28
28
|
type: String,
|
|
29
|
-
default: '#
|
|
29
|
+
default: '#FFFFFF'
|
|
30
30
|
},
|
|
31
31
|
imageType: {
|
|
32
32
|
type: String,
|
|
@@ -255,23 +255,24 @@ export default createComponent({
|
|
|
255
255
|
"class": bem('actions')
|
|
256
256
|
}, [h(Button, {
|
|
257
257
|
"attrs": {
|
|
258
|
-
"
|
|
259
|
-
"
|
|
258
|
+
"border-color": "#FF8700",
|
|
259
|
+
"color": "#FF8700",
|
|
260
|
+
"background-color": "#fff"
|
|
260
261
|
},
|
|
261
262
|
"on": {
|
|
262
263
|
"click": this.clear
|
|
263
264
|
}
|
|
264
265
|
}, [t('reSign')]), h(Button, {
|
|
265
266
|
"attrs": {
|
|
266
|
-
"
|
|
267
|
-
"
|
|
267
|
+
"border-color": "rgba(45,75,115,0.20)",
|
|
268
|
+
"color": "#2D4B73",
|
|
269
|
+
"background-color": "#fff"
|
|
268
270
|
},
|
|
269
271
|
"on": {
|
|
270
272
|
"click": this.cancel
|
|
271
273
|
}
|
|
272
274
|
}, [t('cancel')]), h(Button, {
|
|
273
275
|
"attrs": {
|
|
274
|
-
"block": true,
|
|
275
276
|
"type": "primary",
|
|
276
277
|
"disabled": this.isCompleteButtonDisabled
|
|
277
278
|
},
|
package/es/signature/index.less
CHANGED
package/es/step/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-step{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1}.zt-step__circle{display:block;width:
|
|
1
|
+
.zt-step{position:relative;-webkit-box-flex:1;-webkit-flex:1;flex:1}.zt-step__circle{display:block;width:20px;height:20px;line-height:20px;border-radius:50%;text-align:center;font-size:14px}.zt-step__line{position:absolute;background-color:rgba(0,0,0,.1);-webkit-transition:background-color .3s;transition:background-color .3s}.zt-step--horizontal{float:left}.zt-step--horizontal .zt-step__circle-container{position:absolute;top:10px;left:calc(50% - 10px);z-index:1;background-color:#fff;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.zt-step--horizontal .zt-step__title{display:inline-block;margin-top:26px;font-size:14px;width:100%;text-align:center;color:#2d4b73}@media (max-width:321px){.zt-step--horizontal .zt-step__title{font-size:13px}}.zt-step--horizontal .zt-step__line{top:10px;left:calc(50% + 10px + 4px);width:calc(100% - 20px - 8px);height:1px}.zt-step--horizontal .zt-step__icon{display:block;font-size:14px;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.zt-step--vertical{display:block;float:none;padding:10px 16px 10px 8px;line-height:18px}.zt-step--vertical .zt-step__circle-container{position:absolute;top:20px;left:0;z-index:1;font-size:14px;line-height:1;-webkit-transform:translate(-100%,-50%);transform:translate(-100%,-50%)}.zt-step--vertical .zt-step__line{left:-10px;top:34px;height:calc(100% - 28px);width:1px}.zt-step--vertical .zt-step__icon{display:block;font-size:14px;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.zt-step:last-child .zt-step__line{width:0}.zt-step__icon,.zt-step__title{-webkit-transition:color .3s;transition:color .3s}
|
package/es/step/index.js
CHANGED
|
@@ -22,14 +22,12 @@ export default createComponent({
|
|
|
22
22
|
if (this.active) {
|
|
23
23
|
return {
|
|
24
24
|
background: "" + (this.parent.activeBgColor || 'rgba(0,145,250,0.20)'),
|
|
25
|
-
border: "1px solid " + (this.parent.activeBorderColor || '#0091FA'),
|
|
26
25
|
'font-weight': 'bold',
|
|
27
26
|
color: "" + (this.parent.activeColor || '#0091FA')
|
|
28
27
|
};
|
|
29
28
|
} else {
|
|
30
29
|
return {
|
|
31
|
-
background: "" + (this.parent.inactiveBgColor || 'rgba(
|
|
32
|
-
border: "1px solid " + (this.parent.inactiveBorderColor || 'rgba(0,0,0,0)'),
|
|
30
|
+
background: "" + (this.parent.inactiveBgColor || 'rgba(45,75,115,0.20)'),
|
|
33
31
|
'font-weight': 'normal',
|
|
34
32
|
color: "" + (this.parent.inactiveColor || '#FFFFFF')
|
|
35
33
|
};
|
|
@@ -38,11 +36,11 @@ export default createComponent({
|
|
|
38
36
|
titleStyle: function titleStyle() {
|
|
39
37
|
if (this.active) {
|
|
40
38
|
return {
|
|
41
|
-
color: this.parent.titleActiveColor || 'rgba(
|
|
39
|
+
color: this.parent.titleActiveColor || 'rgba(45, 75, 115, 1)'
|
|
42
40
|
};
|
|
43
41
|
} else {
|
|
44
42
|
return {
|
|
45
|
-
color: this.parent.titleInactiveColor || 'rgba(
|
|
43
|
+
color: this.parent.titleInactiveColor || 'rgba(45, 75, 115, 0.6)'
|
|
46
44
|
};
|
|
47
45
|
}
|
|
48
46
|
}
|
package/es/step/index.less
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
line-height: @step-circle-size;
|
|
12
12
|
border-radius: 50%;
|
|
13
13
|
text-align: center;
|
|
14
|
+
font-size: @step-icon-size;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
&__line {
|
|
@@ -37,6 +38,7 @@
|
|
|
37
38
|
font-size: @step-horizontal-title-font-size;
|
|
38
39
|
width: 100%;
|
|
39
40
|
text-align: center;
|
|
41
|
+
color: #2D4B73;
|
|
40
42
|
@media (max-width: 321px) {
|
|
41
43
|
font-size: @step-horizontal-title-font-size - 1px;
|
|
42
44
|
}
|
|
@@ -67,7 +69,7 @@
|
|
|
67
69
|
.zt-step__circle-container {
|
|
68
70
|
position: absolute;
|
|
69
71
|
top: 20px;
|
|
70
|
-
left:
|
|
72
|
+
left: 0;
|
|
71
73
|
z-index: 1;
|
|
72
74
|
font-size: @step-icon-size;
|
|
73
75
|
line-height: 1;
|
package/es/stepper/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-stepper{font-size:0;-webkit-user-select:none;user-select:none}.zt-stepper__minus__box,.zt-stepper__plus__box{width:16px;height:16px;margin-left:6px}.zt-stepper__minus__box::before,.zt-stepper__plus__box::before{width:40%;height:1px}.zt-stepper__minus__box::after,.zt-stepper__plus__box::after{width:1px;height:40%}.zt-stepper__minus__box::after,.zt-stepper__minus__box::before,.zt-stepper__plus__box::after,.zt-stepper__plus__box::before{position:absolute;top:50%;left:50%;background-color:currentColor;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);content:''}.zt-stepper__minus,.zt-stepper__plus{position:relative;box-sizing:border-box;width:30px;height:30px;margin:0;padding:0;color:#000;vertical-align:middle;background-color:#fff;border:1px solid rgba(0,0,0,.4);cursor:pointer;margin-right:12px;border-radius:2px}.zt-stepper__minus:active,.zt-stepper__plus:active{background-color:rgba(0,0,0,.1)}.zt-stepper__minus--disabled,.zt-stepper__plus--disabled{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2);cursor:not-allowed}.zt-stepper__minus--disabled:active,.zt-stepper__plus--disabled:active{background-color:#
|
|
1
|
+
.zt-stepper{font-size:0;-webkit-user-select:none;user-select:none}.zt-stepper__minus__box,.zt-stepper__plus__box{width:16px;height:16px;margin-left:6px}.zt-stepper__minus__box::before,.zt-stepper__plus__box::before{width:40%;height:1px}.zt-stepper__minus__box::after,.zt-stepper__plus__box::after{width:1px;height:40%}.zt-stepper__minus__box::after,.zt-stepper__minus__box::before,.zt-stepper__plus__box::after,.zt-stepper__plus__box::before{position:absolute;top:50%;left:50%;background-color:currentColor;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);content:''}.zt-stepper__minus,.zt-stepper__plus{position:relative;box-sizing:border-box;width:30px;height:30px;margin:0;padding:0;color:#000;vertical-align:middle;background-color:#fff;border:1px solid rgba(0,0,0,.4);cursor:pointer;margin-right:12px;border-radius:2px}.zt-stepper__minus:active,.zt-stepper__plus:active{background-color:rgba(0,0,0,.1)}.zt-stepper__minus--disabled,.zt-stepper__plus--disabled{color:rgba(0,0,0,.2);border-color:rgba(0,0,0,.2);cursor:not-allowed}.zt-stepper__minus--disabled:active,.zt-stepper__plus--disabled:active{background-color:#f5faff}.zt-stepper__minus__box::after{display:none}.zt-stepper__minus{margin-right:12px}.zt-stepper__input{box-sizing:border-box;width:60px;height:30px;border:1px solid rgba(0,0,0,.4);padding:0;color:#000;font-weight:700;font-size:14px;line-height:normal;text-align:center;vertical-align:middle;background-color:#fff;border-radius:2px;-webkit-appearance:none;margin-right:12px;caret-color:#0e97fa}.zt-stepper__input:disabled{color:#c8c9cc;background-color:rgba(0,0,0,.04);-webkit-text-fill-color:#c8c9cc;opacity:1}.zt-stepper__input:read-only{cursor:default}.zt-stepper--round .zt-stepper__input{background-color:transparent}.zt-stepper--round .zt-stepper__minus,.zt-stepper--round .zt-stepper__plus{border-radius:100%}.zt-stepper--round .zt-stepper__minus:active,.zt-stepper--round .zt-stepper__plus:active{opacity:.7}.zt-stepper--round .zt-stepper__minus--disabled,.zt-stepper--round .zt-stepper__minus--disabled:active,.zt-stepper--round .zt-stepper__plus--disabled,.zt-stepper--round .zt-stepper__plus--disabled:active{opacity:.3}
|
package/es/steps/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.zt-steps{overflow:hidden;background-color:#fff;margin:
|
|
1
|
+
.zt-steps{overflow:hidden;background-color:#fff;margin:16px;border:0 solid rgba(0,0,0,.1);box-shadow:0 8px 16px 0 rgba(45,75,115,.1);border-radius:8px}.zt-steps--horizontal{padding:8px 0}.zt-steps--horizontal .zt-steps__items{position:relative;display:-webkit-box;display:-webkit-flex;display:flex}.zt-steps--vertical{padding:0 0 0 36px}
|
package/es/steps/index.less
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
.zt-steps {
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
background-color: @steps-background-color;
|
|
6
|
-
margin:
|
|
6
|
+
margin: 16px;
|
|
7
7
|
border: 0 solid rgba(0,0,0,0.10);
|
|
8
|
-
box-shadow: 0
|
|
9
|
-
border-radius:
|
|
8
|
+
box-shadow: 0 8px 16px 0 rgba(45,75,115,0.10);
|
|
9
|
+
border-radius: 8px;
|
|
10
10
|
|
|
11
11
|
&--horizontal {
|
|
12
12
|
padding: 8px 0;
|
package/es/style/reset.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;font:inherit;font-size:100%;vertical-align:baseline;border:0}html{line-height:1;-webkit-tap-highlight-color:transparent}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,td,th{font-weight:400;vertical-align:middle}blockquote,q{quotes:none}blockquote::after,blockquote::before,q::after,q::before{content:'';content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}*{box-sizing:content-box}body{color:rgba(0,0,0,.6);background-color:#
|
|
1
|
+
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;font:inherit;font-size:100%;vertical-align:baseline;border:0}html{line-height:1;-webkit-tap-highlight-color:transparent}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,td,th{font-weight:400;vertical-align:middle}blockquote,q{quotes:none}blockquote::after,blockquote::before,q::after,q::before{content:'';content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary{display:block}*{box-sizing:content-box}body{color:rgba(0,0,0,.6);background-color:#f5faff}a{text-decoration:none;background:0 0}button,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],select,textarea{margin:0;font-family:inherit;-webkit-appearance:none}
|