vxe-table 4.4.1 → 4.4.2-beta.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.
Files changed (212) hide show
  1. package/es/button/style.css +27 -27
  2. package/es/checkbox/style.css +11 -11
  3. package/es/export/style.css +12 -12
  4. package/es/filter/style.css +13 -13
  5. package/es/form/style.css +33 -33
  6. package/es/grid/style.css +8 -8
  7. package/es/icon/style.css +10 -10
  8. package/es/input/style.css +82 -82
  9. package/es/list/style.css +1 -1
  10. package/es/loading/style.css +3 -3
  11. package/es/menu/style.css +7 -7
  12. package/es/modal/style.css +20 -20
  13. package/es/pager/style.css +31 -31
  14. package/es/pulldown/style.css +7 -7
  15. package/es/radio/style.css +20 -20
  16. package/es/select/style.css +23 -23
  17. package/es/style.css +1 -1
  18. package/es/style.min.css +1 -1
  19. package/es/switch/style.css +11 -11
  20. package/es/table/src/body.js +1 -1
  21. package/es/table/src/table.js +1 -1
  22. package/es/table/style.css +114 -114
  23. package/es/textarea/style.css +23 -23
  24. package/es/toolbar/style.css +20 -20
  25. package/es/tools/log.js +1 -1
  26. package/es/tooltip/style.css +17 -17
  27. package/es/v-x-e-table/index.js +1 -1
  28. package/es/v-x-e-table/style.css +12 -12
  29. package/es/vxe-button/style.css +27 -27
  30. package/es/vxe-checkbox/style.css +11 -11
  31. package/es/vxe-form/style.css +33 -33
  32. package/es/vxe-grid/style.css +8 -8
  33. package/es/vxe-icon/style.css +9 -9
  34. package/es/vxe-input/style.css +82 -82
  35. package/es/vxe-list/style.css +1 -1
  36. package/es/vxe-loading/style.css +3 -3
  37. package/es/vxe-modal/style.css +20 -20
  38. package/es/vxe-module-export/style.css +12 -12
  39. package/es/vxe-module-filter/style.css +13 -13
  40. package/es/vxe-module-menu/style.css +7 -7
  41. package/es/vxe-pager/style.css +31 -31
  42. package/es/vxe-pulldown/style.css +7 -7
  43. package/es/vxe-radio/style.css +20 -20
  44. package/es/vxe-select/style.css +23 -23
  45. package/es/vxe-switch/style.css +11 -11
  46. package/es/vxe-table/style.css +114 -114
  47. package/es/vxe-textarea/style.css +23 -23
  48. package/es/vxe-toolbar/style.css +20 -20
  49. package/es/vxe-tooltip/style.css +17 -17
  50. package/lib/button/style/style.css +27 -27
  51. package/lib/button/style/style.min.css +1 -1
  52. package/lib/checkbox/style/style.css +11 -11
  53. package/lib/checkbox/style/style.min.css +1 -1
  54. package/lib/export/style/style.css +12 -12
  55. package/lib/export/style/style.min.css +1 -1
  56. package/lib/filter/style/style.css +13 -13
  57. package/lib/filter/style/style.min.css +1 -1
  58. package/lib/form/style/style.css +33 -33
  59. package/lib/form/style/style.min.css +1 -1
  60. package/lib/grid/style/style.css +8 -8
  61. package/lib/grid/style/style.min.css +1 -1
  62. package/lib/icon/style/style.css +10 -10
  63. package/lib/icon/style/style.min.css +10 -10
  64. package/lib/index.umd.js +8 -4
  65. package/lib/index.umd.min.js +1 -1
  66. package/lib/input/style/style.css +82 -82
  67. package/lib/input/style/style.min.css +1 -1
  68. package/lib/list/style/style.css +1 -1
  69. package/lib/list/style/style.min.css +1 -1
  70. package/lib/loading/style/style.css +3 -3
  71. package/lib/loading/style/style.min.css +1 -1
  72. package/lib/menu/style/style.css +7 -7
  73. package/lib/menu/style/style.min.css +1 -1
  74. package/lib/modal/style/style.css +20 -20
  75. package/lib/modal/style/style.min.css +1 -1
  76. package/lib/pager/style/style.css +31 -31
  77. package/lib/pager/style/style.min.css +1 -1
  78. package/lib/pulldown/style/style.css +7 -7
  79. package/lib/pulldown/style/style.min.css +1 -1
  80. package/lib/radio/style/style.css +20 -20
  81. package/lib/radio/style/style.min.css +1 -1
  82. package/lib/select/style/style.css +23 -23
  83. package/lib/select/style/style.min.css +1 -1
  84. package/lib/style.css +1 -1
  85. package/lib/style.min.css +1 -1
  86. package/lib/switch/style/style.css +11 -11
  87. package/lib/switch/style/style.min.css +1 -1
  88. package/lib/table/src/body.js +2 -1
  89. package/lib/table/src/body.min.js +1 -1
  90. package/lib/table/src/table.js +4 -1
  91. package/lib/table/src/table.min.js +1 -1
  92. package/lib/table/style/style.css +114 -114
  93. package/lib/table/style/style.min.css +1 -1
  94. package/lib/textarea/style/style.css +23 -23
  95. package/lib/textarea/style/style.min.css +1 -1
  96. package/lib/toolbar/style/style.css +20 -20
  97. package/lib/toolbar/style/style.min.css +1 -1
  98. package/lib/tools/log.js +1 -1
  99. package/lib/tools/log.min.js +1 -1
  100. package/lib/tooltip/style/style.css +17 -17
  101. package/lib/tooltip/style/style.min.css +1 -1
  102. package/lib/v-x-e-table/index.js +1 -1
  103. package/lib/v-x-e-table/index.min.js +1 -1
  104. package/lib/v-x-e-table/style/style.css +12 -12
  105. package/lib/v-x-e-table/style/style.min.css +1 -1
  106. package/lib/vxe-button/style/style.css +27 -27
  107. package/lib/vxe-button/style/style.min.css +1 -1
  108. package/lib/vxe-checkbox/style/style.css +11 -11
  109. package/lib/vxe-checkbox/style/style.min.css +1 -1
  110. package/lib/vxe-form/style/style.css +33 -33
  111. package/lib/vxe-form/style/style.min.css +1 -1
  112. package/lib/vxe-grid/style/style.css +8 -8
  113. package/lib/vxe-grid/style/style.min.css +1 -1
  114. package/lib/vxe-icon/style/style.css +9 -9
  115. package/lib/vxe-icon/style/style.min.css +1 -1
  116. package/lib/vxe-input/style/style.css +82 -82
  117. package/lib/vxe-input/style/style.min.css +1 -1
  118. package/lib/vxe-list/style/style.css +1 -1
  119. package/lib/vxe-list/style/style.min.css +1 -1
  120. package/lib/vxe-loading/style/style.css +3 -3
  121. package/lib/vxe-loading/style/style.min.css +1 -1
  122. package/lib/vxe-modal/style/style.css +20 -20
  123. package/lib/vxe-modal/style/style.min.css +1 -1
  124. package/lib/vxe-module-export/style/style.css +12 -12
  125. package/lib/vxe-module-export/style/style.min.css +1 -1
  126. package/lib/vxe-module-filter/style/style.css +13 -13
  127. package/lib/vxe-module-filter/style/style.min.css +1 -1
  128. package/lib/vxe-module-menu/style/style.css +7 -7
  129. package/lib/vxe-module-menu/style/style.min.css +1 -1
  130. package/lib/vxe-pager/style/style.css +31 -31
  131. package/lib/vxe-pager/style/style.min.css +1 -1
  132. package/lib/vxe-pulldown/style/style.css +7 -7
  133. package/lib/vxe-pulldown/style/style.min.css +1 -1
  134. package/lib/vxe-radio/style/style.css +20 -20
  135. package/lib/vxe-radio/style/style.min.css +1 -1
  136. package/lib/vxe-select/style/style.css +23 -23
  137. package/lib/vxe-select/style/style.min.css +1 -1
  138. package/lib/vxe-switch/style/style.css +11 -11
  139. package/lib/vxe-switch/style/style.min.css +1 -1
  140. package/lib/vxe-table/style/style.css +114 -114
  141. package/lib/vxe-table/style/style.min.css +1 -1
  142. package/lib/vxe-textarea/style/style.css +23 -23
  143. package/lib/vxe-textarea/style/style.min.css +1 -1
  144. package/lib/vxe-toolbar/style/style.css +20 -20
  145. package/lib/vxe-toolbar/style/style.min.css +1 -1
  146. package/lib/vxe-tooltip/style/style.css +17 -17
  147. package/lib/vxe-tooltip/style/style.min.css +1 -1
  148. package/package.json +2 -2
  149. package/packages/table/src/body.ts +1 -1
  150. package/packages/table/src/table.ts +1 -1
  151. package/styles/button.scss +27 -27
  152. package/styles/checkbox.scss +11 -11
  153. package/styles/cssvar.scss +257 -0
  154. package/styles/export.scss +12 -12
  155. package/styles/filter.scss +13 -13
  156. package/styles/form.scss +31 -31
  157. package/styles/grid.scss +8 -8
  158. package/styles/input.scss +75 -75
  159. package/styles/list.scss +1 -1
  160. package/styles/loading.scss +3 -3
  161. package/styles/menu.scss +7 -7
  162. package/styles/modal.scss +20 -20
  163. package/styles/modules.scss +1 -0
  164. package/styles/old-icon.scss +9 -9
  165. package/styles/pager.scss +31 -31
  166. package/styles/pulldown.scss +7 -7
  167. package/styles/radio.scss +20 -20
  168. package/styles/select.scss +23 -23
  169. package/styles/switch.scss +11 -11
  170. package/styles/table.scss +122 -122
  171. package/styles/textarea.scss +22 -22
  172. package/styles/toolbar.scss +20 -20
  173. package/styles/tooltip.scss +17 -17
  174. package/types/button.d.ts +23 -2
  175. package/types/checkbox-group.d.ts +11 -2
  176. package/types/checkbox.d.ts +11 -2
  177. package/types/colgroup.d.ts +19 -3
  178. package/types/column.d.ts +142 -61
  179. package/types/component.d.ts +7 -2
  180. package/types/form-gather.d.ts +10 -1
  181. package/types/form-item.d.ts +16 -1
  182. package/types/form.d.ts +10 -1
  183. package/types/grid.d.ts +72 -2
  184. package/types/index.d.ts +1 -1
  185. package/types/input.d.ts +11 -2
  186. package/types/list.d.ts +11 -2
  187. package/types/modal.d.ts +40 -2
  188. package/types/optgroup.d.ts +10 -1
  189. package/types/option.d.ts +10 -1
  190. package/types/pager.d.ts +17 -2
  191. package/types/pulldown.d.ts +26 -9
  192. package/types/radio-button.d.ts +11 -2
  193. package/types/radio-group.d.ts +11 -2
  194. package/types/radio.d.ts +11 -2
  195. package/types/select.d.ts +11 -2
  196. package/types/switch.d.ts +11 -2
  197. package/types/table.d.ts +20 -3
  198. package/types/textarea.d.ts +11 -2
  199. package/types/toolbar.d.ts +17 -2
  200. package/types/tooltip.d.ts +11 -2
  201. /package/es/icon/style/{iconfont.1685110524528.ttf → iconfont.1685463362588.ttf} +0 -0
  202. /package/es/icon/style/{iconfont.1685110524528.woff → iconfont.1685463362588.woff} +0 -0
  203. /package/es/icon/style/{iconfont.1685110524528.woff2 → iconfont.1685463362588.woff2} +0 -0
  204. /package/es/{iconfont.1685110524528.ttf → iconfont.1685463362588.ttf} +0 -0
  205. /package/es/{iconfont.1685110524528.woff → iconfont.1685463362588.woff} +0 -0
  206. /package/es/{iconfont.1685110524528.woff2 → iconfont.1685463362588.woff2} +0 -0
  207. /package/lib/icon/style/{iconfont.1685110524528.ttf → iconfont.1685463362588.ttf} +0 -0
  208. /package/lib/icon/style/{iconfont.1685110524528.woff → iconfont.1685463362588.woff} +0 -0
  209. /package/lib/icon/style/{iconfont.1685110524528.woff2 → iconfont.1685463362588.woff2} +0 -0
  210. /package/lib/{iconfont.1685110524528.ttf → iconfont.1685463362588.ttf} +0 -0
  211. /package/lib/{iconfont.1685110524528.woff → iconfont.1685463362588.woff} +0 -0
  212. /package/lib/{iconfont.1685110524528.woff2 → iconfont.1685463362588.woff2} +0 -0
@@ -26,10 +26,10 @@
26
26
  .vxe-button {
27
27
  position: relative;
28
28
  text-align: center;
29
- background-color: #fff;
29
+ background-color: var(--vxe-button-default-background-color);
30
30
  outline: 0;
31
- font-size: 14px;
32
- max-width: 500px;
31
+ font-size: var(--vxe-font-size);
32
+ max-width: var(--vxe-button-max-width);
33
33
  line-height: 1.5;
34
34
  overflow: hidden;
35
35
  text-overflow: ellipsis;
@@ -44,7 +44,7 @@
44
44
  transition: border 0.2s ease-in-out;
45
45
  }
46
46
  .vxe-button:not(.is--disabled) {
47
- color: #606266;
47
+ color: var(--vxe-font-color);
48
48
  cursor: pointer;
49
49
  }
50
50
  .vxe-button.is--loading {
@@ -62,7 +62,7 @@
62
62
  pointer-events: none;
63
63
  }
64
64
  .vxe-button.is--disabled {
65
- color: #BFBFBF;
65
+ color: var(--vxe-disabled-color);
66
66
  }
67
67
  .vxe-button.is--disabled:not(.is--loading) {
68
68
  cursor: no-drop;
@@ -153,19 +153,19 @@
153
153
  }
154
154
  .vxe-button.type--button {
155
155
  font-family: inherit;
156
- height: 34px;
156
+ height: var(--vxe-button-height-default);
157
157
  line-height: 1;
158
- border: 1px solid #dcdfe6;
158
+ border: 1px solid var(--vxe-input-border-color);
159
159
  }
160
160
  .vxe-button.type--button.is--round {
161
- border-radius: 17px;
161
+ border-radius: var(--vxe-button-round-border-radius-default);
162
162
  }
163
163
  .vxe-button.type--button:not(.is--round) {
164
- border-radius: 4px;
164
+ border-radius: var(--vxe-border-radius);
165
165
  }
166
166
  .vxe-button.type--button.is--circle {
167
167
  padding: 0 0.5em;
168
- min-width: 34px;
168
+ min-width: var(--vxe-button-height-default);
169
169
  border-radius: 50%;
170
170
  }
171
171
  .vxe-button.type--button:not(.is--circle) {
@@ -175,7 +175,7 @@
175
175
  color: #5faeff;
176
176
  }
177
177
  .vxe-button.type--button:not(.is--disabled):focus {
178
- border-color: #409eff;
178
+ border-color: var(--vxe-primary-color);
179
179
  }
180
180
  .vxe-button.type--button:not(.is--disabled):active {
181
181
  color: #3196ff;
@@ -333,52 +333,52 @@
333
333
  background-color: #f8f8f9;
334
334
  }
335
335
  .vxe-button.size--medium {
336
- font-size: 14px;
336
+ font-size: var(--vxe-font-size-medium);
337
337
  }
338
338
  .vxe-button.size--medium.type--button {
339
- height: 32px;
339
+ height: var(--vxe-button-height-medium);
340
340
  }
341
341
  .vxe-button.size--medium.type--button.is--circle {
342
- min-width: 32px;
342
+ min-width: var(--vxe-button-height-medium);
343
343
  }
344
344
  .vxe-button.size--medium.type--button.is--round {
345
- border-radius: 16px;
345
+ border-radius: var(--vxe-button-round-border-radius-medium);
346
346
  }
347
347
  .vxe-button.size--medium .vxe-button--loading-icon,
348
348
  .vxe-button.size--medium .vxe-button--icon {
349
- min-width: 14px;
349
+ min-width: var(--vxe-font-size-medium);
350
350
  }
351
351
  .vxe-button.size--small {
352
- font-size: 13px;
352
+ font-size: var(--vxe-font-size-small);
353
353
  }
354
354
  .vxe-button.size--small.type--button {
355
- height: 30px;
355
+ height: var(--vxe-button-height-small);
356
356
  }
357
357
  .vxe-button.size--small.type--button.is--circle {
358
- min-width: 30px;
358
+ min-width: var(--vxe-button-height-small);
359
359
  }
360
360
  .vxe-button.size--small.type--button.is--round {
361
- border-radius: 15px;
361
+ border-radius: var(--vxe-button-round-border-radius-small);
362
362
  }
363
363
  .vxe-button.size--small .vxe-button--loading-icon,
364
364
  .vxe-button.size--small .vxe-button--icon {
365
- min-width: 13px;
365
+ min-width: var(--vxe-font-size-small);
366
366
  }
367
367
  .vxe-button.size--mini {
368
- font-size: 12px;
368
+ font-size: var(--vxe-font-size-mini);
369
369
  }
370
370
  .vxe-button.size--mini.type--button {
371
- height: 28px;
371
+ height: var(--vxe-button-height-mini);
372
372
  }
373
373
  .vxe-button.size--mini.type--button.is--circle {
374
- min-width: 28px;
374
+ min-width: var(--vxe-button-height-mini);
375
375
  }
376
376
  .vxe-button.size--mini.type--button.is--round {
377
- border-radius: 14px;
377
+ border-radius: var(--vxe-button-round-border-radius-mini);
378
378
  }
379
379
  .vxe-button.size--mini .vxe-button--loading-icon,
380
380
  .vxe-button.size--mini .vxe-button--icon {
381
- min-width: 12px;
381
+ min-width: var(--vxe-font-size-mini);
382
382
  }
383
383
 
384
384
  .vxe-input + .vxe-button, .vxe-input + .vxe-button--dropdown,
@@ -389,7 +389,7 @@
389
389
 
390
390
  .vxe-button--loading-icon,
391
391
  .vxe-button--icon {
392
- min-width: 14px;
392
+ min-width: var(--vxe-font-size);
393
393
  }
394
394
  .vxe-button--loading-icon + .vxe-button--content,
395
395
  .vxe-button--icon + .vxe-button--content {
@@ -249,26 +249,26 @@
249
249
  appearance: none;
250
250
  }
251
251
  .vxe-checkbox.is--indeterminate > input:not(:checked) + .vxe-checkbox--icon {
252
- color: #409eff;
252
+ color: var(--vxe-primary-color);
253
253
  }
254
254
  .vxe-checkbox:not(.is--disabled) > input:focus + .vxe-checkbox--icon {
255
- color: #409eff;
256
- box-shadow: 0 0 0.2em 0 #409eff;
255
+ color: var(--vxe-primary-color);
256
+ box-shadow: 0 0 0.2em 0 var(--vxe-primary-color);
257
257
  }
258
258
  .vxe-checkbox:not(.is--disabled):hover > input + .vxe-checkbox--icon {
259
- border-color: #409eff;
259
+ border-color: var(--vxe-primary-color);
260
260
  }
261
261
  .vxe-checkbox.is--disabled {
262
262
  cursor: not-allowed;
263
263
  }
264
264
  .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon {
265
- color: #dcdfe6;
265
+ color: var(--vxe-input-disabled-color);
266
266
  }
267
267
  .vxe-checkbox.is--disabled > input + .vxe-checkbox--icon + .vxe-checkbox--label {
268
- color: #BFBFBF;
268
+ color: var(--vxe-disabled-color);
269
269
  }
270
270
  .vxe-checkbox.is--disabled > input:checked + .vxe-checkbox--icon {
271
- color: #dcdfe6;
271
+ color: var(--vxe-input-disabled-color);
272
272
  }
273
273
  .vxe-checkbox .vxe-checkbox--label {
274
274
  padding-left: 0.5em;
@@ -278,14 +278,14 @@
278
278
  }
279
279
 
280
280
  .vxe-checkbox {
281
- font-size: 14px;
281
+ font-size: var(--vxe-font-size);
282
282
  }
283
283
  .vxe-checkbox.size--medium {
284
- font-size: 14px;
284
+ font-size: var(--vxe-font-size-medium);
285
285
  }
286
286
  .vxe-checkbox.size--small {
287
- font-size: 13px;
287
+ font-size: var(--vxe-font-size-small);
288
288
  }
289
289
  .vxe-checkbox.size--mini {
290
- font-size: 12px;
290
+ font-size: var(--vxe-font-size-mini);
291
291
  }
@@ -99,9 +99,9 @@
99
99
  }
100
100
  .vxe-export--panel .vxe-export--panel-column {
101
101
  width: 80%;
102
- border: 1px solid #dcdfe6;
102
+ border: 1px solid var(--vxe-input-border-color);
103
103
  margin: 3px 0;
104
- border-radius: 4px;
104
+ border-radius: var(--vxe-border-radius);
105
105
  -webkit-user-select: none;
106
106
  -moz-user-select: none;
107
107
  user-select: none;
@@ -153,9 +153,9 @@
153
153
  }
154
154
  .vxe-export--panel .vxe-export--panel-column .vxe-export--panel-column-header {
155
155
  padding: 0.1em 0;
156
- background-color: #f8f8f9;
156
+ background-color: var(--vxe-table-header-background-color);
157
157
  font-weight: 700;
158
- border-bottom: 1px solid #e8eaec;
158
+ border-bottom: 1px solid var(--vxe-table-border-color);
159
159
  }
160
160
  .vxe-export--panel .vxe-export--panel-column .vxe-export--panel-column-body {
161
161
  padding: 0.2em 0;
@@ -182,29 +182,29 @@
182
182
  cursor: pointer;
183
183
  }
184
184
  .vxe-export--panel .vxe-import-selected--file:hover {
185
- color: #409eff;
185
+ color: var(--vxe-primary-color);
186
186
  }
187
187
  .vxe-export--panel .vxe-import-selected--file:hover > i {
188
188
  display: block;
189
189
  }
190
190
  .vxe-export--panel .vxe-import-select--file {
191
- border: 1px dashed #dcdfe6;
191
+ border: 1px dashed var(--vxe-input-border-color);
192
192
  padding: 6px 34px;
193
193
  outline: 0;
194
- border-radius: 4px;
195
- background-color: #fff;
194
+ border-radius: var(--vxe-border-radius);
195
+ background-color: var(--vxe-input-background-color);
196
196
  -webkit-user-select: none;
197
197
  -moz-user-select: none;
198
198
  user-select: none;
199
199
  cursor: pointer;
200
200
  }
201
201
  .vxe-export--panel .vxe-import-select--file:focus {
202
- border-color: #409eff;
203
- box-shadow: 0 0 0.25em 0 #409eff;
202
+ border-color: var(--vxe-primary-color);
203
+ box-shadow: 0 0 0.25em 0 var(--vxe-primary-color);
204
204
  }
205
205
  .vxe-export--panel .vxe-import-select--file:hover {
206
- color: #409eff;
207
- border-color: #409eff;
206
+ color: var(--vxe-primary-color);
207
+ border-color: var(--vxe-primary-color);
208
208
  }
209
209
  .vxe-export--panel .vxe-export--panel-btns {
210
210
  text-align: right;
@@ -68,18 +68,18 @@
68
68
  line-height: 0;
69
69
  }
70
70
  .vxe-cell--filter.col--filter .vxe-filter--btn {
71
- color: #606266;
71
+ color: var(--vxe-table-font-color);
72
72
  }
73
73
  .vxe-cell--filter .vxe-filter--btn {
74
- color: #c0c4cc;
74
+ color: var(--vxe-table-column-icon-border-color);
75
75
  cursor: pointer;
76
76
  }
77
77
  .vxe-cell--filter .vxe-filter--btn:hover {
78
- color: #606266;
78
+ color: var(--vxe-table-font-color);
79
79
  }
80
80
 
81
81
  .is--filter-active .vxe-cell--filter .vxe-filter--btn {
82
- color: #409eff;
82
+ color: var(--vxe-primary-color);
83
83
  }
84
84
 
85
85
  /*筛选容器*/
@@ -88,9 +88,9 @@
88
88
  position: absolute;
89
89
  top: 0;
90
90
  min-width: 100px;
91
- border-radius: 4px;
92
- background-color: #fff;
93
- border: 1px solid #DADCE0;
91
+ border-radius: var(--vxe-border-radius);
92
+ background-color: var(--vxe-table-filter-panel-background-color);
93
+ border: 1px solid var(--vxe-table-popup-border-color);
94
94
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
95
95
  z-index: 10;
96
96
  }
@@ -111,11 +111,11 @@
111
111
  }
112
112
  .vxe-table--filter-wrapper .vxe-table--filter-header > li.is--checked,
113
113
  .vxe-table--filter-wrapper .vxe-table--filter-body > li.is--checked {
114
- color: #409eff;
114
+ color: var(--vxe-primary-color);
115
115
  }
116
116
  .vxe-table--filter-wrapper .vxe-table--filter-header > li:hover,
117
117
  .vxe-table--filter-wrapper .vxe-table--filter-body > li:hover {
118
- background-color: #f5f7fa;
118
+ background-color: var(--vxe-table-row-hover-background-color);
119
119
  }
120
120
  .vxe-table--filter-wrapper .vxe-table--filter-header {
121
121
  padding-top: 0.2em;
@@ -137,7 +137,7 @@
137
137
  padding: 0.25em 0.8em 0.25em 1em;
138
138
  }
139
139
  .vxe-table--filter-wrapper .vxe-table--filter-footer {
140
- border-top: 1px solid #DADCE0;
140
+ border-top: 1px solid var(--vxe-table-popup-border-color);
141
141
  padding: 0.6em;
142
142
  -webkit-user-select: none;
143
143
  -moz-user-select: none;
@@ -147,16 +147,16 @@
147
147
  background-color: transparent;
148
148
  padding: 0 0.4em;
149
149
  border: 0;
150
- color: #606266;
150
+ color: var(--vxe-table-font-color);
151
151
  cursor: pointer;
152
152
  }
153
153
  .vxe-table--filter-wrapper .vxe-table--filter-footer button:focus {
154
154
  outline: none;
155
155
  }
156
156
  .vxe-table--filter-wrapper .vxe-table--filter-footer button:hover {
157
- color: #409eff;
157
+ color: var(--vxe-primary-color);
158
158
  }
159
159
  .vxe-table--filter-wrapper .vxe-table--filter-footer button.is--disabled {
160
- color: #BFBFBF;
160
+ color: var(--vxe-disabled-color);
161
161
  cursor: not-allowed;
162
162
  }
package/es/form/style.css CHANGED
@@ -31,10 +31,10 @@
31
31
 
32
32
  .vxe-form {
33
33
  position: relative;
34
- font-size: 14px;
35
- color: #606266;
36
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
37
- background-color: #fff;
34
+ font-size: var(--vxe-font-size);
35
+ color: var(--vxe-font-color);
36
+ font-family: var(--vxe-font-family);
37
+ background-color: var(--vxe-form-background-color);
38
38
  text-align: left;
39
39
  }
40
40
 
@@ -107,8 +107,8 @@
107
107
  width: 100%;
108
108
  font-size: 12px;
109
109
  line-height: 1.2em;
110
- color: #f56c6c;
111
- background-color: inherit;
110
+ color: var(--vxe-form-validate-error-color);
111
+ background-color: var(--vxe-form-validate-error-background-color);
112
112
  z-index: 1;
113
113
  opacity: 0;
114
114
  transform-origin: center top;
@@ -142,7 +142,7 @@
142
142
  }
143
143
  .vxe-form--item.is--asterisk.is--required .vxe-form--item-title-content:before {
144
144
  content: "*";
145
- color: #f56c6c;
145
+ color: var(--vxe-form-validate-error-color);
146
146
  font-family: Verdana, Arial, Tahoma;
147
147
  margin-right: 0.2em;
148
148
  font-weight: normal;
@@ -163,7 +163,7 @@
163
163
  .vxe-form--item.is--error .vxe-default-input,
164
164
  .vxe-form--item.is--error .vxe-default-textarea,
165
165
  .vxe-form--item.is--error .vxe-default-select {
166
- border-color: #f56c6c;
166
+ border-color: var(--vxe-form-validate-error-color);
167
167
  }
168
168
  .vxe-form--item.is--error .vxe-input > .vxe-input--inner:focus,
169
169
  .vxe-form--item.is--error .vxe-textarea > .vxe-textarea--inner:focus,
@@ -171,7 +171,7 @@
171
171
  .vxe-form--item.is--error .vxe-default-input[type=search]:focus,
172
172
  .vxe-form--item.is--error .vxe-default-textarea:focus,
173
173
  .vxe-form--item.is--error .vxe-default-select:focus {
174
- border-color: #f56c6c;
174
+ border-color: var(--vxe-form-validate-error-color);
175
175
  }
176
176
  .vxe-form--item.is--error .vxe-form--item-valid {
177
177
  opacity: 1;
@@ -195,12 +195,12 @@
195
195
  .vxe-form--item .vxe-default-textarea,
196
196
  .vxe-form--item .vxe-default-select {
197
197
  outline: 0;
198
- border: 1px solid #dcdfe6;
199
- border-radius: 4px;
198
+ border: 1px solid var(--vxe-input-border-color);
199
+ border-radius: var(--vxe-border-radius);
200
200
  }
201
201
  .vxe-form--item .vxe-default-input,
202
202
  .vxe-form--item .vxe-default-select {
203
- height: 34px;
203
+ height: var(--vxe-button-height-default);
204
204
  }
205
205
  .vxe-form--item .vxe-default-input {
206
206
  padding: 0 0.8em;
@@ -219,24 +219,24 @@
219
219
  .vxe-form--item .vxe-default-input[type=search],
220
220
  .vxe-form--item .vxe-default-textarea,
221
221
  .vxe-form--item .vxe-default-select {
222
- color: #606266;
222
+ color: var(--vxe-font-color);
223
223
  }
224
224
  .vxe-form--item .vxe-default-input[type=text]:focus,
225
225
  .vxe-form--item .vxe-default-input[type=search]:focus,
226
226
  .vxe-form--item .vxe-default-textarea:focus,
227
227
  .vxe-form--item .vxe-default-select:focus {
228
- border: 1px solid #409eff;
228
+ border: 1px solid var(--vxe-primary-color);
229
229
  }
230
230
  .vxe-form--item .vxe-default-input[type=text][disabled],
231
231
  .vxe-form--item .vxe-default-input[type=search][disabled],
232
232
  .vxe-form--item .vxe-default-textarea[disabled],
233
233
  .vxe-form--item .vxe-default-select[disabled] {
234
234
  cursor: not-allowed;
235
- background-color: #f3f3f3;
235
+ background-color: var(--vxe-input-disabled-background-color);
236
236
  }
237
237
  .vxe-form--item .vxe-default-input[type=submit],
238
238
  .vxe-form--item .vxe-default-input[type=reset] {
239
- line-height: 32px;
239
+ line-height: var(--vxe-button-height-default)-2px;
240
240
  background-color: #fff;
241
241
  cursor: pointer;
242
242
  }
@@ -252,10 +252,10 @@
252
252
  height: 24px;
253
253
  }
254
254
  .vxe-form--item .vxe-default-input::-moz-placeholder {
255
- color: #C0C4CC;
255
+ color: var(--vxe-input-placeholder-color);
256
256
  }
257
257
  .vxe-form--item .vxe-default-input::placeholder {
258
- color: #C0C4CC;
258
+ color: var(--vxe-input-placeholder-color);
259
259
  }
260
260
  .vxe-form--item .vxe-default-input[type=text],
261
261
  .vxe-form--item .vxe-default-input[type=search],
@@ -268,14 +268,14 @@
268
268
  vertical-align: middle;
269
269
  }
270
270
  .vxe-form--item .vxe-default-textarea::-moz-placeholder {
271
- color: #C0C4CC;
271
+ color: var(--vxe-input-placeholder-color);
272
272
  }
273
273
  .vxe-form--item .vxe-default-textarea::placeholder {
274
- color: #C0C4CC;
274
+ color: var(--vxe-input-placeholder-color);
275
275
  }
276
276
 
277
277
  .vxe-form .vxe-form--item-inner {
278
- min-height: 36px;
278
+ min-height: var(--vxe-form-item-min-height-default);
279
279
  }
280
280
  .vxe-form .vxe-form--item-inner > .align--center {
281
281
  text-align: center;
@@ -287,47 +287,47 @@
287
287
  text-align: right;
288
288
  }
289
289
  .vxe-form.size--medium {
290
- font-size: 14px;
290
+ font-size: var(--vxe-font-size-medium);
291
291
  }
292
292
  .vxe-form.size--medium .vxe-form--item-inner {
293
- min-height: 34px;
293
+ min-height: var(--vxe-form-item-min-height-medium);
294
294
  }
295
295
  .vxe-form.size--medium .vxe-default-input[type=submit],
296
296
  .vxe-form.size--medium .vxe-default-input[type=reset] {
297
- line-height: 30px;
297
+ line-height: calc(var(--vxe-button-height-medium) - 2px);
298
298
  }
299
299
  .vxe-form.size--medium .vxe-default-input,
300
300
  .vxe-form.size--medium .vxe-default-input,
301
301
  .vxe-form.size--medium .vxe-default-select {
302
- height: 32px;
302
+ height: var(--vxe-button-height-medium);
303
303
  }
304
304
  .vxe-form.size--small {
305
- font-size: 13px;
305
+ font-size: var(--vxe-font-size-small);
306
306
  }
307
307
  .vxe-form.size--small .vxe-form--item-inner {
308
- min-height: 32px;
308
+ min-height: var(--vxe-form-item-min-height-small);
309
309
  }
310
310
  .vxe-form.size--small .vxe-default-input[type=submit],
311
311
  .vxe-form.size--small .vxe-default-input[type=reset] {
312
- line-height: 28px;
312
+ line-height: calc(var(--vxe-button-height-small) - 2px);
313
313
  }
314
314
  .vxe-form.size--small .vxe-default-input,
315
315
  .vxe-form.size--small .vxe-default-input,
316
316
  .vxe-form.size--small .vxe-default-select {
317
- height: 30px;
317
+ height: var(--vxe-button-height-small);
318
318
  }
319
319
  .vxe-form.size--mini {
320
- font-size: 12px;
320
+ font-size: var(--vxe-font-size-mini);
321
321
  }
322
322
  .vxe-form.size--mini .vxe-form--item-inner {
323
- min-height: 30px;
323
+ min-height: var(--vxe-form-item-min-height-mini);
324
324
  }
325
325
  .vxe-form.size--mini .vxe-default-input[type=submit],
326
326
  .vxe-form.size--mini .vxe-default-input[type=reset] {
327
- line-height: 26px;
327
+ line-height: calc(var(--vxe-button-height-mini) - 2px);
328
328
  }
329
329
  .vxe-form.size--mini .vxe-default-input,
330
330
  .vxe-form.size--mini .vxe-default-input,
331
331
  .vxe-form.size--mini .vxe-default-select {
332
- height: 28px;
332
+ height: var(--vxe-button-height-mini);
333
333
  }
package/es/grid/style.css CHANGED
@@ -37,7 +37,7 @@
37
37
  -webkit-user-select: none;
38
38
  -moz-user-select: none;
39
39
  user-select: none;
40
- background-color: rgba(255, 255, 255, 0.5);
40
+ background-color: var(--vxe-loading-background-color);
41
41
  }
42
42
  .vxe-grid.is--loading > .vxe-table .vxe-loading {
43
43
  background-color: transparent;
@@ -49,10 +49,10 @@
49
49
  width: 100%;
50
50
  height: 100%;
51
51
  padding: 0.5em 1em;
52
- background-color: #fff;
52
+ background-color: var(--vxe-grid-maximize-background-color);
53
53
  }
54
54
  .vxe-grid .vxe-body--row.row--pending {
55
- color: #f56c6c;
55
+ color: var(--vxe-table-validate-error-color);
56
56
  text-decoration: line-through;
57
57
  cursor: no-drop;
58
58
  }
@@ -66,7 +66,7 @@
66
66
  left: 0;
67
67
  width: 100%;
68
68
  height: 0;
69
- border-bottom: 1px solid #f56c6c;
69
+ border-bottom: 1px solid var(--vxe-table-validate-error-color);
70
70
  z-index: 1;
71
71
  }
72
72
  .vxe-grid .vxe-grid--form-wrapper,
@@ -76,14 +76,14 @@
76
76
  }
77
77
 
78
78
  .vxe-grid {
79
- font-size: 14px;
79
+ font-size: var(--vxe-font-size);
80
80
  }
81
81
  .vxe-grid.size--medium {
82
- font-size: 14px;
82
+ font-size: var(--vxe-font-size-medium);
83
83
  }
84
84
  .vxe-grid.size--small {
85
- font-size: 13px;
85
+ font-size: var(--vxe-font-size-small);
86
86
  }
87
87
  .vxe-grid.size--mini {
88
- font-size: 12px;
88
+ font-size: var(--vxe-font-size-mini);
89
89
  }