vxe-table 4.4.1 → 4.4.2-beta.1
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/button/style.css +27 -27
- package/es/checkbox/style.css +11 -11
- package/es/export/style.css +12 -12
- package/es/filter/style.css +13 -13
- package/es/form/style.css +33 -33
- package/es/grid/style.css +8 -8
- package/es/icon/style.css +10 -10
- package/es/input/style.css +82 -82
- package/es/list/style.css +1 -1
- package/es/loading/style.css +3 -3
- package/es/menu/style.css +7 -7
- package/es/modal/style.css +20 -20
- package/es/pager/style.css +31 -31
- package/es/pulldown/style.css +7 -7
- package/es/radio/style.css +20 -20
- package/es/select/style.css +23 -23
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/style.css +11 -11
- package/es/table/src/body.js +1 -1
- package/es/table/src/table.js +1 -1
- package/es/table/style.css +118 -118
- package/es/textarea/style.css +23 -23
- package/es/toolbar/style.css +20 -20
- package/es/tools/log.js +1 -1
- package/es/tooltip/style.css +17 -17
- package/es/v-x-e-table/index.js +1 -1
- package/es/v-x-e-table/style.css +12 -12
- package/es/vxe-button/style.css +27 -27
- package/es/vxe-checkbox/style.css +11 -11
- package/es/vxe-form/style.css +33 -33
- package/es/vxe-grid/style.css +8 -8
- package/es/vxe-icon/style.css +9 -9
- package/es/vxe-input/style.css +82 -82
- package/es/vxe-list/style.css +1 -1
- package/es/vxe-loading/style.css +3 -3
- package/es/vxe-modal/style.css +20 -20
- package/es/vxe-module-export/style.css +12 -12
- package/es/vxe-module-filter/style.css +13 -13
- package/es/vxe-module-menu/style.css +7 -7
- package/es/vxe-pager/style.css +31 -31
- package/es/vxe-pulldown/style.css +7 -7
- package/es/vxe-radio/style.css +20 -20
- package/es/vxe-select/style.css +23 -23
- package/es/vxe-switch/style.css +11 -11
- package/es/vxe-table/style.css +118 -118
- package/es/vxe-textarea/style.css +23 -23
- package/es/vxe-toolbar/style.css +20 -20
- package/es/vxe-tooltip/style.css +17 -17
- package/lib/button/style/style.css +27 -27
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/style/style.css +11 -11
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/export/style/style.css +12 -12
- package/lib/export/style/style.min.css +1 -1
- package/lib/filter/style/style.css +13 -13
- package/lib/filter/style/style.min.css +1 -1
- package/lib/form/style/style.css +33 -33
- package/lib/form/style/style.min.css +1 -1
- package/lib/grid/style/style.css +8 -8
- package/lib/grid/style/style.min.css +1 -1
- package/lib/icon/style/style.css +10 -10
- package/lib/icon/style/style.min.css +10 -10
- package/lib/index.umd.js +8 -4
- package/lib/index.umd.min.js +1 -1
- package/lib/input/style/style.css +82 -82
- package/lib/input/style/style.min.css +1 -1
- package/lib/list/style/style.css +1 -1
- package/lib/list/style/style.min.css +1 -1
- package/lib/loading/style/style.css +3 -3
- package/lib/loading/style/style.min.css +1 -1
- package/lib/menu/style/style.css +7 -7
- package/lib/menu/style/style.min.css +1 -1
- package/lib/modal/style/style.css +20 -20
- package/lib/modal/style/style.min.css +1 -1
- package/lib/pager/style/style.css +31 -31
- package/lib/pager/style/style.min.css +1 -1
- package/lib/pulldown/style/style.css +7 -7
- package/lib/pulldown/style/style.min.css +1 -1
- package/lib/radio/style/style.css +20 -20
- package/lib/radio/style/style.min.css +1 -1
- package/lib/select/style/style.css +23 -23
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/style/style.css +11 -11
- package/lib/switch/style/style.min.css +1 -1
- package/lib/table/src/body.js +2 -1
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/table.js +4 -1
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +118 -118
- package/lib/table/style/style.min.css +1 -1
- package/lib/textarea/style/style.css +23 -23
- package/lib/textarea/style/style.min.css +1 -1
- package/lib/toolbar/style/style.css +20 -20
- package/lib/toolbar/style/style.min.css +1 -1
- package/lib/tools/log.js +1 -1
- package/lib/tools/log.min.js +1 -1
- package/lib/tooltip/style/style.css +17 -17
- package/lib/tooltip/style/style.min.css +1 -1
- package/lib/v-x-e-table/index.js +1 -1
- package/lib/v-x-e-table/index.min.js +1 -1
- package/lib/v-x-e-table/style/style.css +12 -12
- package/lib/v-x-e-table/style/style.min.css +1 -1
- package/lib/vxe-button/style/style.css +27 -27
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-checkbox/style/style.css +11 -11
- package/lib/vxe-checkbox/style/style.min.css +1 -1
- package/lib/vxe-form/style/style.css +33 -33
- package/lib/vxe-form/style/style.min.css +1 -1
- package/lib/vxe-grid/style/style.css +8 -8
- package/lib/vxe-grid/style/style.min.css +1 -1
- package/lib/vxe-icon/style/style.css +9 -9
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/lib/vxe-input/style/style.css +82 -82
- package/lib/vxe-input/style/style.min.css +1 -1
- package/lib/vxe-list/style/style.css +1 -1
- package/lib/vxe-list/style/style.min.css +1 -1
- package/lib/vxe-loading/style/style.css +3 -3
- package/lib/vxe-loading/style/style.min.css +1 -1
- package/lib/vxe-modal/style/style.css +20 -20
- package/lib/vxe-modal/style/style.min.css +1 -1
- package/lib/vxe-module-export/style/style.css +12 -12
- package/lib/vxe-module-export/style/style.min.css +1 -1
- package/lib/vxe-module-filter/style/style.css +13 -13
- package/lib/vxe-module-filter/style/style.min.css +1 -1
- package/lib/vxe-module-menu/style/style.css +7 -7
- package/lib/vxe-module-menu/style/style.min.css +1 -1
- package/lib/vxe-pager/style/style.css +31 -31
- package/lib/vxe-pager/style/style.min.css +1 -1
- package/lib/vxe-pulldown/style/style.css +7 -7
- package/lib/vxe-pulldown/style/style.min.css +1 -1
- package/lib/vxe-radio/style/style.css +20 -20
- package/lib/vxe-radio/style/style.min.css +1 -1
- package/lib/vxe-select/style/style.css +23 -23
- package/lib/vxe-select/style/style.min.css +1 -1
- package/lib/vxe-switch/style/style.css +11 -11
- package/lib/vxe-switch/style/style.min.css +1 -1
- package/lib/vxe-table/style/style.css +118 -118
- package/lib/vxe-table/style/style.min.css +1 -1
- package/lib/vxe-textarea/style/style.css +23 -23
- package/lib/vxe-textarea/style/style.min.css +1 -1
- package/lib/vxe-toolbar/style/style.css +20 -20
- package/lib/vxe-toolbar/style/style.min.css +1 -1
- package/lib/vxe-tooltip/style/style.css +17 -17
- package/lib/vxe-tooltip/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/table/src/body.ts +1 -1
- package/packages/table/src/table.ts +1 -1
- package/styles/button.scss +27 -27
- package/styles/checkbox.scss +11 -11
- package/styles/cssvar.scss +257 -0
- package/styles/export.scss +12 -12
- package/styles/filter.scss +13 -13
- package/styles/form.scss +31 -31
- package/styles/grid.scss +8 -8
- package/styles/input.scss +75 -75
- package/styles/list.scss +1 -1
- package/styles/loading.scss +3 -3
- package/styles/menu.scss +7 -7
- package/styles/modal.scss +20 -20
- package/styles/modules.scss +1 -0
- package/styles/old-icon.scss +9 -9
- package/styles/pager.scss +31 -31
- package/styles/pulldown.scss +7 -7
- package/styles/radio.scss +20 -20
- package/styles/select.scss +23 -23
- package/styles/switch.scss +11 -11
- package/styles/table.scss +126 -126
- package/styles/textarea.scss +22 -22
- package/styles/toolbar.scss +20 -20
- package/styles/tooltip.scss +17 -17
- package/types/button.d.ts +23 -2
- package/types/checkbox-group.d.ts +11 -2
- package/types/checkbox.d.ts +11 -2
- package/types/colgroup.d.ts +19 -3
- package/types/column.d.ts +142 -61
- package/types/component.d.ts +7 -2
- package/types/form-gather.d.ts +10 -1
- package/types/form-item.d.ts +16 -1
- package/types/form.d.ts +10 -1
- package/types/grid.d.ts +72 -2
- package/types/index.d.ts +1 -1
- package/types/input.d.ts +11 -2
- package/types/list.d.ts +11 -2
- package/types/modal.d.ts +40 -2
- package/types/optgroup.d.ts +10 -1
- package/types/option.d.ts +10 -1
- package/types/pager.d.ts +17 -2
- package/types/pulldown.d.ts +26 -9
- package/types/radio-button.d.ts +11 -2
- package/types/radio-group.d.ts +11 -2
- package/types/radio.d.ts +11 -2
- package/types/select.d.ts +11 -2
- package/types/switch.d.ts +11 -2
- package/types/table.d.ts +20 -3
- package/types/textarea.d.ts +11 -2
- package/types/toolbar.d.ts +17 -2
- package/types/tooltip.d.ts +11 -2
- /package/es/icon/style/{iconfont.1685110524528.ttf → iconfont.1685611928442.ttf} +0 -0
- /package/es/icon/style/{iconfont.1685110524528.woff → iconfont.1685611928442.woff} +0 -0
- /package/es/icon/style/{iconfont.1685110524528.woff2 → iconfont.1685611928442.woff2} +0 -0
- /package/es/{iconfont.1685110524528.ttf → iconfont.1685611928442.ttf} +0 -0
- /package/es/{iconfont.1685110524528.woff → iconfont.1685611928442.woff} +0 -0
- /package/es/{iconfont.1685110524528.woff2 → iconfont.1685611928442.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1685110524528.ttf → iconfont.1685611928442.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1685110524528.woff → iconfont.1685611928442.woff} +0 -0
- /package/lib/icon/style/{iconfont.1685110524528.woff2 → iconfont.1685611928442.woff2} +0 -0
- /package/lib/{iconfont.1685110524528.ttf → iconfont.1685611928442.ttf} +0 -0
- /package/lib/{iconfont.1685110524528.woff → iconfont.1685611928442.woff} +0 -0
- /package/lib/{iconfont.1685110524528.woff2 → iconfont.1685611928442.woff2} +0 -0
package/styles/form.scss
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
|
|
7
7
|
.vxe-form {
|
|
8
8
|
position: relative;
|
|
9
|
-
font-size:
|
|
10
|
-
color:
|
|
11
|
-
font-family:
|
|
12
|
-
background-color:
|
|
9
|
+
font-size: var(--vxe-font-size);
|
|
10
|
+
color: var(--vxe-font-color);
|
|
11
|
+
font-family: var(--vxe-font-family);
|
|
12
|
+
background-color: var(--vxe-form-background-color);
|
|
13
13
|
text-align: left;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
width: 100%;
|
|
83
83
|
font-size: 12px;
|
|
84
84
|
line-height: 1.2em;
|
|
85
|
-
color:
|
|
86
|
-
background-color:
|
|
85
|
+
color: var(--vxe-form-validate-error-color);
|
|
86
|
+
background-color: var(--vxe-form-validate-error-background-color);
|
|
87
87
|
z-index: 1;
|
|
88
88
|
opacity: 0;
|
|
89
89
|
transform-origin: center top;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
.vxe-form--item-title-content {
|
|
130
130
|
&:before {
|
|
131
131
|
content: "*";
|
|
132
|
-
color:
|
|
132
|
+
color: var(--vxe-form-validate-error-color);
|
|
133
133
|
font-family: Verdana,Arial,Tahoma;
|
|
134
134
|
margin-right: 0.2em;
|
|
135
135
|
font-weight: normal;
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
.vxe-default-input,
|
|
157
157
|
.vxe-default-textarea,
|
|
158
158
|
.vxe-default-select {
|
|
159
|
-
border-color:
|
|
159
|
+
border-color: var(--vxe-form-validate-error-color);
|
|
160
160
|
}
|
|
161
161
|
.vxe-input>.vxe-input--inner,
|
|
162
162
|
.vxe-textarea>.vxe-textarea--inner,
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
.vxe-default-textarea,
|
|
166
166
|
.vxe-default-select {
|
|
167
167
|
&:focus {
|
|
168
|
-
border-color:
|
|
168
|
+
border-color: var(--vxe-form-validate-error-color);
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
.vxe-form--item-valid {
|
|
@@ -191,12 +191,12 @@
|
|
|
191
191
|
.vxe-default-textarea,
|
|
192
192
|
.vxe-default-select {
|
|
193
193
|
outline: 0;
|
|
194
|
-
border: 1px solid
|
|
195
|
-
border-radius:
|
|
194
|
+
border: 1px solid var(--vxe-input-border-color);
|
|
195
|
+
border-radius: var(--vxe-border-radius);
|
|
196
196
|
}
|
|
197
197
|
.vxe-default-input,
|
|
198
198
|
.vxe-default-select {
|
|
199
|
-
height:
|
|
199
|
+
height: var(--vxe-button-height-default);
|
|
200
200
|
}
|
|
201
201
|
.vxe-default-input {
|
|
202
202
|
padding: 0 0.8em;
|
|
@@ -215,18 +215,18 @@
|
|
|
215
215
|
.vxe-default-input[type="search"],
|
|
216
216
|
.vxe-default-textarea,
|
|
217
217
|
.vxe-default-select {
|
|
218
|
-
color:
|
|
218
|
+
color: var(--vxe-font-color);
|
|
219
219
|
&:focus {
|
|
220
|
-
border: 1px solid
|
|
220
|
+
border: 1px solid var(--vxe-primary-color);
|
|
221
221
|
}
|
|
222
222
|
&[disabled] {
|
|
223
223
|
cursor: not-allowed;
|
|
224
|
-
background-color:
|
|
224
|
+
background-color: var(--vxe-input-disabled-background-color);
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
.vxe-default-input[type="submit"],
|
|
228
228
|
.vxe-default-input[type="reset"] {
|
|
229
|
-
line-height:
|
|
229
|
+
line-height: var(--vxe-button-height-default) - 2px;
|
|
230
230
|
background-color: #fff;
|
|
231
231
|
cursor: pointer;
|
|
232
232
|
&:hover {
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
height: 24px;
|
|
247
247
|
}
|
|
248
248
|
&::placeholder {
|
|
249
|
-
color:
|
|
249
|
+
color: var(--vxe-input-placeholder-color);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
.vxe-default-input[type="text"],
|
|
@@ -259,14 +259,14 @@
|
|
|
259
259
|
resize: none;
|
|
260
260
|
vertical-align: middle;
|
|
261
261
|
&::placeholder {
|
|
262
|
-
color:
|
|
262
|
+
color: var(--vxe-input-placeholder-color);
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.vxe-form {
|
|
268
268
|
.vxe-form--item-inner {
|
|
269
|
-
min-height:
|
|
269
|
+
min-height: var(--vxe-form-item-min-height-default);
|
|
270
270
|
& > .align--center {
|
|
271
271
|
text-align: center;
|
|
272
272
|
}
|
|
@@ -278,48 +278,48 @@
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
&.size--medium {
|
|
281
|
-
font-size:
|
|
281
|
+
font-size: var(--vxe-font-size-medium);
|
|
282
282
|
.vxe-form--item-inner {
|
|
283
|
-
min-height:
|
|
283
|
+
min-height: var(--vxe-form-item-min-height-medium);
|
|
284
284
|
}
|
|
285
285
|
.vxe-default-input[type="submit"],
|
|
286
286
|
.vxe-default-input[type="reset"] {
|
|
287
|
-
line-height:
|
|
287
|
+
line-height: calc(var(--vxe-button-height-medium) - 2px);
|
|
288
288
|
}
|
|
289
289
|
.vxe-default-input,
|
|
290
290
|
.vxe-default-input,
|
|
291
291
|
.vxe-default-select {
|
|
292
|
-
height:
|
|
292
|
+
height: var(--vxe-button-height-medium);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
&.size--small {
|
|
296
|
-
font-size:
|
|
296
|
+
font-size: var(--vxe-font-size-small);
|
|
297
297
|
.vxe-form--item-inner {
|
|
298
|
-
min-height:
|
|
298
|
+
min-height: var(--vxe-form-item-min-height-small);
|
|
299
299
|
}
|
|
300
300
|
.vxe-default-input[type="submit"],
|
|
301
301
|
.vxe-default-input[type="reset"] {
|
|
302
|
-
line-height:
|
|
302
|
+
line-height: calc(var(--vxe-button-height-small) - 2px);
|
|
303
303
|
}
|
|
304
304
|
.vxe-default-input,
|
|
305
305
|
.vxe-default-input,
|
|
306
306
|
.vxe-default-select {
|
|
307
|
-
height:
|
|
307
|
+
height: var(--vxe-button-height-small);
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
&.size--mini {
|
|
311
|
-
font-size:
|
|
311
|
+
font-size: var(--vxe-font-size-mini);
|
|
312
312
|
.vxe-form--item-inner {
|
|
313
|
-
min-height:
|
|
313
|
+
min-height: var(--vxe-form-item-min-height-mini);
|
|
314
314
|
}
|
|
315
315
|
.vxe-default-input[type="submit"],
|
|
316
316
|
.vxe-default-input[type="reset"] {
|
|
317
|
-
line-height:
|
|
317
|
+
line-height: calc(var(--vxe-button-height-mini) - 2px);
|
|
318
318
|
}
|
|
319
319
|
.vxe-default-input,
|
|
320
320
|
.vxe-default-input,
|
|
321
321
|
.vxe-default-select {
|
|
322
|
-
height:
|
|
322
|
+
height: var(--vxe-button-height-mini);
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
}
|
package/styles/grid.scss
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
height: 100%;
|
|
13
13
|
z-index: 99;
|
|
14
14
|
user-select: none;
|
|
15
|
-
background-color:
|
|
15
|
+
background-color: var(--vxe-loading-background-color);
|
|
16
16
|
}
|
|
17
17
|
& > .vxe-table {
|
|
18
18
|
.vxe-loading {
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
width: 100%;
|
|
28
28
|
height: 100%;
|
|
29
29
|
padding: 0.5em 1em;
|
|
30
|
-
background-color:
|
|
30
|
+
background-color: var(--vxe-grid-maximize-background-color);
|
|
31
31
|
}
|
|
32
32
|
.vxe-body--row {
|
|
33
33
|
&.row--pending {
|
|
34
|
-
color:
|
|
34
|
+
color: var(--vxe-table-validate-error-color);
|
|
35
35
|
text-decoration: line-through;
|
|
36
36
|
cursor: no-drop;
|
|
37
37
|
.vxe-body--column {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
left: 0;
|
|
44
44
|
width: 100%;
|
|
45
45
|
height: 0;
|
|
46
|
-
border-bottom: 1px solid
|
|
46
|
+
border-bottom: 1px solid var(--vxe-table-validate-error-color);
|
|
47
47
|
z-index: 1;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.vxe-grid {
|
|
60
|
-
font-size:
|
|
60
|
+
font-size: var(--vxe-font-size);
|
|
61
61
|
&.size--medium {
|
|
62
|
-
font-size:
|
|
62
|
+
font-size: var(--vxe-font-size-medium);
|
|
63
63
|
}
|
|
64
64
|
&.size--small {
|
|
65
|
-
font-size:
|
|
65
|
+
font-size: var(--vxe-font-size-small);
|
|
66
66
|
}
|
|
67
67
|
&.size--mini {
|
|
68
|
-
font-size:
|
|
68
|
+
font-size: var(--vxe-font-size-mini);
|
|
69
69
|
}
|
|
70
70
|
}
|
package/styles/input.scss
CHANGED
|
@@ -6,22 +6,22 @@ $iconWidth: 1.6em;
|
|
|
6
6
|
.vxe-input--inner {
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 100%;
|
|
9
|
-
border-radius:
|
|
9
|
+
border-radius: var(--vxe-border-radius);
|
|
10
10
|
outline: 0;
|
|
11
11
|
margin: 0;
|
|
12
12
|
font-size: inherit;
|
|
13
13
|
font-family: inherit;
|
|
14
14
|
line-height: inherit;
|
|
15
15
|
padding: 0 0.6em;
|
|
16
|
-
color:
|
|
17
|
-
border: 1px solid
|
|
18
|
-
background-color:
|
|
16
|
+
color: var(--vxe-font-color);
|
|
17
|
+
border: 1px solid var(--vxe-input-border-color);
|
|
18
|
+
background-color: var(--vxe-input-background-color);
|
|
19
19
|
box-shadow: none;
|
|
20
20
|
&::placeholder {
|
|
21
|
-
color:
|
|
21
|
+
color: var(--vxe-input-placeholder-color);
|
|
22
22
|
}
|
|
23
23
|
&::-webkit-autofill {
|
|
24
|
-
background-color:
|
|
24
|
+
background-color: var(--vxe-input-background-color);
|
|
25
25
|
}
|
|
26
26
|
&[type="number"] {
|
|
27
27
|
appearance: none;
|
|
@@ -35,8 +35,8 @@ $iconWidth: 1.6em;
|
|
|
35
35
|
}
|
|
36
36
|
&[disabled] {
|
|
37
37
|
cursor: not-allowed;
|
|
38
|
-
color:
|
|
39
|
-
background-color:
|
|
38
|
+
color: var(--vxe-disabled-color);
|
|
39
|
+
background-color: var(--vxe-input-disabled-background-color);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -62,7 +62,7 @@ $iconWidth: 1.6em;
|
|
|
62
62
|
}
|
|
63
63
|
&.is--active {
|
|
64
64
|
.vxe-input--inner {
|
|
65
|
-
border: 1px solid
|
|
65
|
+
border: 1px solid var(--vxe-primary-color);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
@@ -77,7 +77,7 @@ $iconWidth: 1.6em;
|
|
|
77
77
|
user-select: none;
|
|
78
78
|
align-items: center;
|
|
79
79
|
justify-content: center;
|
|
80
|
-
color:
|
|
80
|
+
color: var(--vxe-table-column-icon-border-color);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -181,12 +181,12 @@ $iconWidth: 1.6em;
|
|
|
181
181
|
.vxe-input--suffix {
|
|
182
182
|
&:hover {
|
|
183
183
|
.vxe-input--clear-icon {
|
|
184
|
-
color:
|
|
184
|
+
color: var(--vxe-font-color);
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
&:active {
|
|
188
188
|
.vxe-input--clear-icon {
|
|
189
|
-
color:
|
|
189
|
+
color: var(--vxe-primary-color);
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
}
|
|
@@ -194,27 +194,27 @@ $iconWidth: 1.6em;
|
|
|
194
194
|
&:hover {
|
|
195
195
|
.vxe-input--search-suffix,
|
|
196
196
|
.vxe-input--password-suffix {
|
|
197
|
-
color:
|
|
197
|
+
color: var(--vxe-font-color);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
&:active {
|
|
201
201
|
.vxe-input--search-suffix,
|
|
202
202
|
.vxe-input--password-suffix {
|
|
203
|
-
color:
|
|
203
|
+
color: var(--vxe-primary-color);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
.vxe-input--number-prev,
|
|
208
208
|
.vxe-input--number-next {
|
|
209
209
|
&:hover {
|
|
210
|
-
color:
|
|
210
|
+
color: var(--vxe-font-color);
|
|
211
211
|
}
|
|
212
212
|
&:active {
|
|
213
|
-
color:
|
|
213
|
+
color: var(--vxe-primary-color);
|
|
214
214
|
}
|
|
215
215
|
&.is--disabled {
|
|
216
216
|
cursor: no-drop;
|
|
217
|
-
color:
|
|
217
|
+
color: var(--vxe-input-number-disabled-color);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
}
|
|
@@ -279,8 +279,8 @@ $iconWidth: 1.6em;
|
|
|
279
279
|
position: absolute;
|
|
280
280
|
left: 0;
|
|
281
281
|
padding: 4px 0;
|
|
282
|
-
color:
|
|
283
|
-
font-size:
|
|
282
|
+
color: var(--vxe-font-color);
|
|
283
|
+
font-size: var(--vxe-font-size);
|
|
284
284
|
text-align: left;
|
|
285
285
|
&:not(.is--transfer) {
|
|
286
286
|
min-width: 100%;
|
|
@@ -308,10 +308,10 @@ $iconWidth: 1.6em;
|
|
|
308
308
|
|
|
309
309
|
.vxe-input--panel-wrapper,
|
|
310
310
|
.vxe-input--panel-layout-wrapper {
|
|
311
|
-
background-color:
|
|
312
|
-
border: 1px solid
|
|
311
|
+
background-color: var(--vxe-input-panel-background-color);
|
|
312
|
+
border: 1px solid var(--vxe-table-popup-border-color);
|
|
313
313
|
box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.1);
|
|
314
|
-
border-radius:
|
|
314
|
+
border-radius: var(--vxe-border-radius);
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
.vxe-input--panel-wrapper {
|
|
@@ -336,7 +336,7 @@ $iconWidth: 1.6em;
|
|
|
336
336
|
.vxe-input--panel-right-wrapper {
|
|
337
337
|
display: flex;
|
|
338
338
|
flex-direction: column;
|
|
339
|
-
border-left: 1px solid
|
|
339
|
+
border-left: 1px solid var(--vxe-input-border-color);
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
&.type--date,
|
|
@@ -381,8 +381,8 @@ $iconWidth: 1.6em;
|
|
|
381
381
|
.vxe-input--time-picker-title {
|
|
382
382
|
display: inline-block;
|
|
383
383
|
text-align: center;
|
|
384
|
-
border: 1px solid
|
|
385
|
-
border-radius:
|
|
384
|
+
border: 1px solid var(--vxe-input-border-color);
|
|
385
|
+
border-radius: var(--vxe-border-radius);
|
|
386
386
|
}
|
|
387
387
|
.vxe-input--time-picker-confirm {
|
|
388
388
|
position: absolute;
|
|
@@ -392,12 +392,12 @@ $iconWidth: 1.6em;
|
|
|
392
392
|
.vxe-input--time-picker-confirm,
|
|
393
393
|
.vxe-input--date-picker-confirm {
|
|
394
394
|
outline: 0;
|
|
395
|
-
border: 1px solid
|
|
396
|
-
border-radius:
|
|
395
|
+
border: 1px solid var(--vxe-input-border-color);
|
|
396
|
+
border-radius: var(--vxe-border-radius);
|
|
397
397
|
cursor: pointer;
|
|
398
|
-
color:
|
|
399
|
-
border-color:
|
|
400
|
-
background-color:
|
|
398
|
+
color: var(--vxe-input-date-time-confirm-button-color);
|
|
399
|
+
border-color: var(--vxe-primary-color);
|
|
400
|
+
background-color: var(--vxe-primary-color);
|
|
401
401
|
&:hover {
|
|
402
402
|
background-color: lighten($vxe-primary-color, 6%);
|
|
403
403
|
border-color: lighten($vxe-primary-color, 6%);
|
|
@@ -442,11 +442,11 @@ $iconWidth: 1.6em;
|
|
|
442
442
|
display: flex;
|
|
443
443
|
align-items: center;
|
|
444
444
|
justify-content: center;
|
|
445
|
-
background-color:
|
|
445
|
+
background-color: var(--vxe-button-default-background-color);
|
|
446
446
|
}
|
|
447
447
|
.vxe-input--date-picker-btn {
|
|
448
448
|
&.is--disabled {
|
|
449
|
-
color:
|
|
449
|
+
color: var(--vxe-disabled-color);
|
|
450
450
|
cursor: no-drop;
|
|
451
451
|
}
|
|
452
452
|
&:not(.is--disabled) {
|
|
@@ -460,8 +460,8 @@ $iconWidth: 1.6em;
|
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
.vxe-input--date-picker-body {
|
|
463
|
-
border-radius:
|
|
464
|
-
border: 1px solid
|
|
463
|
+
border-radius: var(--vxe-border-radius);
|
|
464
|
+
border: 1px solid var(--vxe-table-popup-border-color);
|
|
465
465
|
user-select: none;
|
|
466
466
|
table {
|
|
467
467
|
border: 0;
|
|
@@ -476,47 +476,47 @@ $iconWidth: 1.6em;
|
|
|
476
476
|
font-weight: normal;
|
|
477
477
|
}
|
|
478
478
|
th {
|
|
479
|
-
box-shadow: inset 0 -1px 0 0
|
|
479
|
+
box-shadow: inset 0 -1px 0 0 var(--vxe-table-popup-border-color);
|
|
480
480
|
}
|
|
481
481
|
td {
|
|
482
482
|
&.is--prev,
|
|
483
483
|
&.is--next {
|
|
484
|
-
color:
|
|
484
|
+
color: var(--vxe-disabled-color);
|
|
485
485
|
.vxe-input--date-label,
|
|
486
486
|
.vxe-input--date-festival {
|
|
487
|
-
color:
|
|
487
|
+
color: var(--vxe-disabled-color);
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
490
|
&.is--now {
|
|
491
|
-
box-shadow: inset 0 0 0 1px
|
|
491
|
+
box-shadow: inset 0 0 0 1px var(--vxe-table-popup-border-color);
|
|
492
492
|
&:not(.is--selected) {
|
|
493
493
|
&.is--current {
|
|
494
|
-
color:
|
|
494
|
+
color: var(--vxe-primary-color);
|
|
495
495
|
.vxe-input--date-label,
|
|
496
496
|
.vxe-input--date-festival {
|
|
497
|
-
color:
|
|
497
|
+
color: var(--vxe-primary-color);
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
&.is--hover {
|
|
503
|
-
background-color:
|
|
503
|
+
background-color: var(--vxe-input-date-picker-hover-background-color);
|
|
504
504
|
}
|
|
505
505
|
&.is--selected {
|
|
506
|
-
color:
|
|
507
|
-
background-color:
|
|
506
|
+
color: var(--vxe-input-date-picker-selected-color);
|
|
507
|
+
background-color: var(--vxe-primary-color);
|
|
508
508
|
&.is--prev,
|
|
509
509
|
&.is--next {
|
|
510
510
|
background-color: lighten($vxe-primary-color, 10%);
|
|
511
511
|
}
|
|
512
512
|
.vxe-input--date-label,
|
|
513
513
|
.vxe-input--date-festival {
|
|
514
|
-
color:
|
|
514
|
+
color: var(--vxe-input-date-picker-festival-selected-color);
|
|
515
515
|
}
|
|
516
516
|
.vxe-input--date-label {
|
|
517
517
|
&.is-notice {
|
|
518
518
|
&:before {
|
|
519
|
-
background-color:
|
|
519
|
+
background-color: var(--vxe-input-date-picker-notice-selected-background-color);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
}
|
|
@@ -526,11 +526,11 @@ $iconWidth: 1.6em;
|
|
|
526
526
|
}
|
|
527
527
|
&.is--disabled {
|
|
528
528
|
cursor: no-drop;
|
|
529
|
-
color:
|
|
530
|
-
background-color:
|
|
529
|
+
color: var(--vxe-input-disabled-color);
|
|
530
|
+
background-color: var(--vxe-input-disabled-background-color);
|
|
531
531
|
.vxe-input--date-label,
|
|
532
532
|
.vxe-input--date-festival {
|
|
533
|
-
color:
|
|
533
|
+
color: var(--vxe-input-disabled-color);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
}
|
|
@@ -539,12 +539,12 @@ $iconWidth: 1.6em;
|
|
|
539
539
|
.vxe-input--date-week-view {
|
|
540
540
|
th {
|
|
541
541
|
&:first-child {
|
|
542
|
-
box-shadow: inset -1px -1px 0 0
|
|
542
|
+
box-shadow: inset -1px -1px 0 0 var(--vxe-table-popup-border-color);
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
td {
|
|
546
546
|
&:first-child {
|
|
547
|
-
box-shadow: inset -1px 0 0 0
|
|
547
|
+
box-shadow: inset -1px 0 0 0 var(--vxe-table-popup-border-color);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
@@ -567,7 +567,7 @@ $iconWidth: 1.6em;
|
|
|
567
567
|
top: 0.1em;
|
|
568
568
|
transform: translateX(-50%);
|
|
569
569
|
border-radius: 100%;
|
|
570
|
-
background-color:
|
|
570
|
+
background-color: var(--vxe-input-date-notice-background-color);
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
}
|
|
@@ -578,19 +578,19 @@ $iconWidth: 1.6em;
|
|
|
578
578
|
font-size: 12px;
|
|
579
579
|
line-height: 12px;
|
|
580
580
|
transform: scale(0.7);
|
|
581
|
-
color:
|
|
581
|
+
color: var(--vxe-input-date-extra-color);
|
|
582
582
|
&.is-important {
|
|
583
|
-
color:
|
|
583
|
+
color: var(--vxe-input-date-extra-important-color);
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
.vxe-input--date-festival {
|
|
588
|
-
color:
|
|
588
|
+
color: var(--vxe-input-date-festival-color);
|
|
589
589
|
height: 14px;
|
|
590
590
|
line-height: 1;
|
|
591
591
|
overflow: hidden;
|
|
592
592
|
&.is-important {
|
|
593
|
-
color:
|
|
593
|
+
color: var(--vxe-input-date-festival-important-color);
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
.vxe-input--date-festival--label {
|
|
@@ -640,9 +640,9 @@ $iconWidth: 1.6em;
|
|
|
640
640
|
position: relative;
|
|
641
641
|
display: flex;
|
|
642
642
|
flex-direction: row;
|
|
643
|
-
border: 1px solid
|
|
643
|
+
border: 1px solid var(--vxe-table-popup-border-color);
|
|
644
644
|
flex-grow: 1;
|
|
645
|
-
border-radius:
|
|
645
|
+
border-radius: var(--vxe-border-radius);
|
|
646
646
|
user-select: none;
|
|
647
647
|
& > ul {
|
|
648
648
|
height: 100%;
|
|
@@ -660,27 +660,27 @@ $iconWidth: 1.6em;
|
|
|
660
660
|
& > li {
|
|
661
661
|
display: block;
|
|
662
662
|
&:hover {
|
|
663
|
-
background-color:
|
|
663
|
+
background-color: var(--vxe-input-date-picker-hover-background-color);
|
|
664
664
|
cursor: pointer;
|
|
665
665
|
}
|
|
666
666
|
&.is--selected {
|
|
667
667
|
font-weight: 700;
|
|
668
|
-
color:
|
|
668
|
+
color: var(--vxe-primary-color);
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
672
|
.vxe-input--time-picker-minute-list {
|
|
673
|
-
border-left: 1px solid
|
|
673
|
+
border-left: 1px solid var(--vxe-table-popup-border-color);
|
|
674
674
|
}
|
|
675
675
|
.vxe-input--time-picker-second-list {
|
|
676
|
-
border-left: 1px solid
|
|
676
|
+
border-left: 1px solid var(--vxe-table-popup-border-color);
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
.vxe-input {
|
|
681
|
-
font-size:
|
|
682
|
-
height:
|
|
683
|
-
line-height:
|
|
681
|
+
font-size: var(--vxe-font-size);
|
|
682
|
+
height: var(--vxe-input-height-default);
|
|
683
|
+
line-height: var(--vxe-input-height-default);
|
|
684
684
|
.vxe-input--inner {
|
|
685
685
|
&[type="date"]::-webkit-inner-spin-button,
|
|
686
686
|
&[type="month"]::-webkit-inner-spin-button,
|
|
@@ -695,9 +695,9 @@ $iconWidth: 1.6em;
|
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
&.size--medium {
|
|
698
|
-
font-size:
|
|
699
|
-
height:
|
|
700
|
-
line-height:
|
|
698
|
+
font-size: var(--vxe-font-size-medium);
|
|
699
|
+
height: var(--vxe-input-height-medium);
|
|
700
|
+
line-height: var(--vxe-input-height-medium);
|
|
701
701
|
.vxe-input--inner {
|
|
702
702
|
&[type="date"]::-webkit-inner-spin-button,
|
|
703
703
|
&[type="month"]::-webkit-inner-spin-button,
|
|
@@ -707,9 +707,9 @@ $iconWidth: 1.6em;
|
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
709
|
&.size--small {
|
|
710
|
-
font-size:
|
|
711
|
-
height:
|
|
712
|
-
line-height:
|
|
710
|
+
font-size: var(--vxe-font-size-small);
|
|
711
|
+
height: var(--vxe-input-height-small);
|
|
712
|
+
line-height: var(--vxe-input-height-small);
|
|
713
713
|
.vxe-input--inner {
|
|
714
714
|
&[type="date"]::-webkit-inner-spin-button,
|
|
715
715
|
&[type="month"]::-webkit-inner-spin-button,
|
|
@@ -719,9 +719,9 @@ $iconWidth: 1.6em;
|
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
721
|
&.size--mini {
|
|
722
|
-
font-size:
|
|
723
|
-
height:
|
|
724
|
-
line-height:
|
|
722
|
+
font-size: var(--vxe-font-size-mini);
|
|
723
|
+
height: var(--vxe-input-height-mini);
|
|
724
|
+
line-height: var(--vxe-input-height-mini);
|
|
725
725
|
.vxe-input--inner {
|
|
726
726
|
&[type="date"]::-webkit-inner-spin-button,
|
|
727
727
|
&[type="month"]::-webkit-inner-spin-button,
|
|
@@ -802,8 +802,8 @@ $iconWidth: 1.6em;
|
|
|
802
802
|
.vxe-input--date-picker-current-btn,
|
|
803
803
|
.vxe-input--date-picker-next-btn {
|
|
804
804
|
width: 31px - $sizeIndex;
|
|
805
|
-
border-radius:
|
|
806
|
-
border: 1px solid
|
|
805
|
+
border-radius: var(--vxe-border-radius);
|
|
806
|
+
border: 1px solid var(--vxe-input-border-color);
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
809
|
.vxe-input--date-picker-type-wrapper {
|
package/styles/list.scss
CHANGED
package/styles/loading.scss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
left: 0;
|
|
11
11
|
z-index: 99;
|
|
12
12
|
user-select: none;
|
|
13
|
-
background-color:
|
|
13
|
+
background-color: var(--vxe-loading-background-color);
|
|
14
14
|
&.is--visible {
|
|
15
15
|
display: block;
|
|
16
16
|
}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
left: 0;
|
|
23
23
|
transform: translateY(-50%);
|
|
24
24
|
text-align: center;
|
|
25
|
-
color:
|
|
25
|
+
color: var(--vxe-loading-color);
|
|
26
26
|
}
|
|
27
27
|
.vxe-loading--default-icon {
|
|
28
28
|
font-size: 1.4em;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
width: 100%;
|
|
42
42
|
height: 100%;
|
|
43
43
|
border-radius: 50%;
|
|
44
|
-
background-color:
|
|
44
|
+
background-color: var(--vxe-primary-color);
|
|
45
45
|
opacity: 0.6;
|
|
46
46
|
position: absolute;
|
|
47
47
|
top: 0;
|