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/menu.scss
CHANGED
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
top: 0;
|
|
14
14
|
left: 0;
|
|
15
15
|
font-size: 12px;
|
|
16
|
-
border: 1px solid
|
|
16
|
+
border: 1px solid var(--vxe-table-popup-border-color);
|
|
17
17
|
box-shadow: 3px 3px 4px -2px rgba(0,0,0,.6);
|
|
18
18
|
padding: 0 1px;
|
|
19
19
|
user-select: none;
|
|
20
|
-
color:
|
|
21
|
-
font-family:
|
|
22
|
-
background-color:
|
|
20
|
+
color: var(--vxe-table-font-color);
|
|
21
|
+
font-family: var(--vxe-font-family);
|
|
22
|
+
background-color: var(--vxe-table-menu-background-color);
|
|
23
23
|
}
|
|
24
24
|
.vxe-context-menu--link {
|
|
25
25
|
display: block;
|
|
26
26
|
padding: 0 2.5em;
|
|
27
|
-
width:
|
|
27
|
+
width: var(--vxe-table-menu-item-width);
|
|
28
28
|
line-height: 26px;
|
|
29
|
-
color:
|
|
29
|
+
color: var(--vxe-table-font-color);
|
|
30
30
|
cursor: pointer;
|
|
31
31
|
.vxe-context-menu--link-prefix,
|
|
32
32
|
.vxe-context-menu--link-suffix {
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
}
|
|
85
85
|
&.link--disabled {
|
|
86
86
|
& > .vxe-context-menu--link {
|
|
87
|
-
color:
|
|
87
|
+
color: var(--vxe-disabled-color);
|
|
88
88
|
cursor: no-drop;
|
|
89
89
|
}
|
|
90
90
|
&.link--active {
|
package/styles/modal.scss
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
line-height: 1.5;
|
|
10
10
|
width: calc(100% + 18px);
|
|
11
11
|
height: calc(100% + 18px);
|
|
12
|
-
color:
|
|
13
|
-
font-family:
|
|
12
|
+
color: var(--vxe-font-color);
|
|
13
|
+
font-family: var(--vxe-font-family);
|
|
14
14
|
transition: top .4s ease-in-out;
|
|
15
15
|
&.is--active {
|
|
16
16
|
display: block;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
.vxe-modal--header,
|
|
37
37
|
.vxe-modal--footer {
|
|
38
38
|
position: relative;
|
|
39
|
-
border-bottom-color:
|
|
39
|
+
border-bottom-color: var(--vxe-loading-background-color);
|
|
40
40
|
&:before {
|
|
41
41
|
content: "";
|
|
42
42
|
position: absolute;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
height: 100%;
|
|
47
47
|
z-index: 1;
|
|
48
48
|
user-select: none;
|
|
49
|
-
background-color:
|
|
49
|
+
background-color: var(--vxe-loading-background-color);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -160,9 +160,9 @@
|
|
|
160
160
|
.vxe-modal--box {
|
|
161
161
|
visibility: hidden;
|
|
162
162
|
width: 420px;
|
|
163
|
-
background-color:
|
|
164
|
-
border-radius:
|
|
165
|
-
border: 1px solid
|
|
163
|
+
background-color: var(--vxe-modal-body-background-color);
|
|
164
|
+
border-radius: var(--vxe-border-radius);
|
|
165
|
+
border: 1px solid var(--vxe-modal-border-color);
|
|
166
166
|
text-align: left;
|
|
167
167
|
pointer-events: auto;
|
|
168
168
|
opacity: 0;
|
|
@@ -189,28 +189,28 @@
|
|
|
189
189
|
}
|
|
190
190
|
&.status--info {
|
|
191
191
|
.vxe-modal--status-wrapper {
|
|
192
|
-
color:
|
|
192
|
+
color: var(--vxe-info-color);
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
&.status--warning,
|
|
196
196
|
&.status--question {
|
|
197
197
|
.vxe-modal--status-wrapper {
|
|
198
|
-
color:
|
|
198
|
+
color: var(--vxe-warning-color);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
&.status--success {
|
|
202
202
|
.vxe-modal--status-wrapper {
|
|
203
|
-
color:
|
|
203
|
+
color: var(--vxe-success-color);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
&.status--error {
|
|
207
207
|
.vxe-modal--status-wrapper {
|
|
208
|
-
color:
|
|
208
|
+
color: var(--vxe-danger-color);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
&.status--loading {
|
|
212
212
|
.vxe-modal--status-wrapper {
|
|
213
|
-
color:
|
|
213
|
+
color: var(--vxe-disabled-color);
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
216
|
.vxe-modal--status-wrapper {
|
|
@@ -238,9 +238,9 @@
|
|
|
238
238
|
flex-shrink: 0;
|
|
239
239
|
font-size: 1.1em;
|
|
240
240
|
font-weight: 700;
|
|
241
|
-
border-bottom: 1px solid
|
|
242
|
-
background-color:
|
|
243
|
-
border-radius:
|
|
241
|
+
border-bottom: 1px solid var(--vxe-modal-border-color);
|
|
242
|
+
background-color: var(--vxe-modal-header-background-color);
|
|
243
|
+
border-radius: var(--vxe-border-radius) var(--vxe-border-radius) 0 0;
|
|
244
244
|
user-select: none;
|
|
245
245
|
&.is--draggable {
|
|
246
246
|
.vxe-modal--header-title {
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
cursor: pointer;
|
|
269
269
|
margin-left: 0.6em;
|
|
270
270
|
&:hover {
|
|
271
|
-
color:
|
|
271
|
+
color: var(--vxe-primary-color);
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
.vxe-modal--footer {
|
|
@@ -371,14 +371,14 @@
|
|
|
371
371
|
}
|
|
372
372
|
|
|
373
373
|
.vxe-modal--wrapper {
|
|
374
|
-
font-size:
|
|
374
|
+
font-size: var(--vxe-font-size);
|
|
375
375
|
&.size--medium {
|
|
376
|
-
font-size:
|
|
376
|
+
font-size: var(--vxe-font-size-medium);
|
|
377
377
|
}
|
|
378
378
|
&.size--small {
|
|
379
|
-
font-size:
|
|
379
|
+
font-size: var(--vxe-font-size-small);
|
|
380
380
|
}
|
|
381
381
|
&.size--mini {
|
|
382
|
-
font-size:
|
|
382
|
+
font-size: var(--vxe-font-size-mini);
|
|
383
383
|
}
|
|
384
384
|
}
|
package/styles/modules.scss
CHANGED
package/styles/old-icon.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
vertical-align: middle;
|
|
7
7
|
position: relative;
|
|
8
8
|
direction: ltr;
|
|
9
|
-
font-family:
|
|
9
|
+
font-family: var(--vxe-icon-font-family);
|
|
10
10
|
font-weight: normal;
|
|
11
11
|
user-select: none;
|
|
12
12
|
&.rotate45 {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
border-width: 0.1em;
|
|
51
51
|
border-style: solid;
|
|
52
52
|
border-color: inherit;
|
|
53
|
-
background-color:
|
|
53
|
+
background-color: var(--vxe-icon-background-color);
|
|
54
54
|
&:before,
|
|
55
55
|
&:after {
|
|
56
56
|
@extend %PseudoClass;
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
border-width: 0.1em;
|
|
93
93
|
border-style: solid;
|
|
94
94
|
border-color: inherit;
|
|
95
|
-
background-color:
|
|
95
|
+
background-color: var(--vxe-icon-background-color);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
bottom: 0;
|
|
440
440
|
width: 100%;
|
|
441
441
|
text-align: center;
|
|
442
|
-
color:
|
|
442
|
+
color: var(--vxe-icon-background-color);
|
|
443
443
|
transform: rotate(-10deg) scale(0.75);
|
|
444
444
|
}
|
|
445
445
|
}
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
content: "\2713";
|
|
485
485
|
left: 0.25em;
|
|
486
486
|
bottom: 0;
|
|
487
|
-
color:
|
|
487
|
+
color: var(--vxe-icon-background-color);
|
|
488
488
|
font-size: 0.65em;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
@@ -501,7 +501,7 @@
|
|
|
501
501
|
bottom: 0;
|
|
502
502
|
width: 100%;
|
|
503
503
|
text-align: center;
|
|
504
|
-
color:
|
|
504
|
+
color: var(--vxe-icon-background-color);
|
|
505
505
|
line-height: 1.4em;
|
|
506
506
|
font-size: 0.8em;
|
|
507
507
|
}
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
width: 100%;
|
|
521
521
|
text-align: center;
|
|
522
522
|
line-height: 1.5em;
|
|
523
|
-
color:
|
|
523
|
+
color: var(--vxe-icon-background-color);
|
|
524
524
|
font-size: 0.7em;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
@@ -538,7 +538,7 @@
|
|
|
538
538
|
width: 100%;
|
|
539
539
|
line-height: 1.4em;
|
|
540
540
|
text-align: center;
|
|
541
|
-
color:
|
|
541
|
+
color: var(--vxe-icon-background-color);
|
|
542
542
|
font-size: 0.8em;
|
|
543
543
|
}
|
|
544
544
|
}
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
left: 0.2em;
|
|
683
683
|
bottom: -0.2em;
|
|
684
684
|
box-shadow: inset 0 0 0 0.1em;
|
|
685
|
-
background-color:
|
|
685
|
+
background-color: var(--vxe-icon-background-color);
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
688
|
|
package/styles/pager.scss
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
position: relative;
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: center;
|
|
9
|
-
color:
|
|
10
|
-
font-family:
|
|
9
|
+
color: var(--vxe-font-color);
|
|
10
|
+
font-family: var(--vxe-font-family);
|
|
11
11
|
text-align: right;
|
|
12
|
-
background-color:
|
|
12
|
+
background-color: var(--vxe-pager-background-color);
|
|
13
13
|
&.is--hidden {
|
|
14
14
|
display: none;
|
|
15
15
|
}
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
left: 0;
|
|
28
28
|
width: 100%;
|
|
29
29
|
height: 100%;
|
|
30
|
-
z-index:
|
|
30
|
+
z-index: var(--vxe-loading-z-index);
|
|
31
31
|
user-select: none;
|
|
32
|
-
background-color:
|
|
32
|
+
background-color: var(--vxe-loading-background-color);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
.vxe-pager--prev-btn,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
border: 1px solid transparent;
|
|
44
44
|
&:not(.is--disabled) {
|
|
45
45
|
&:focus {
|
|
46
|
-
box-shadow: 0 0 0.25em 0
|
|
46
|
+
box-shadow: 0 0 0.25em 0 var(--vxe-primary-color);
|
|
47
47
|
}
|
|
48
48
|
&:hover {
|
|
49
49
|
color: lighten($vxe-primary-color, 6%);
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
.vxe-pager--num-btn,
|
|
62
62
|
.vxe-pager--jump-prev,
|
|
63
63
|
.vxe-pager--jump-next {
|
|
64
|
-
border-color:
|
|
64
|
+
border-color: var(--vxe-input-border-color);
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
.vxe-pager--jump-prev,
|
|
73
73
|
.vxe-pager--num-btn,
|
|
74
74
|
.vxe-pager--jump-next {
|
|
75
|
-
background-color:
|
|
75
|
+
background-color: var(--vxe-pager-perfect-button-background-color);
|
|
76
76
|
}
|
|
77
77
|
.vxe-pager--jump-prev,
|
|
78
78
|
.vxe-pager--num-btn,
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
&:not(.is--disabled) {
|
|
81
81
|
&.is--active {
|
|
82
82
|
color: #fff;
|
|
83
|
-
background-color:
|
|
83
|
+
background-color: var(--vxe-primary-color);
|
|
84
84
|
&:hover {
|
|
85
85
|
background-color: lighten($vxe-primary-color, 6%);
|
|
86
86
|
}
|
|
87
87
|
&:focus {
|
|
88
|
-
border-color:
|
|
88
|
+
border-color: var(--vxe-primary-color);
|
|
89
89
|
}
|
|
90
90
|
&:active {
|
|
91
91
|
border-color: darken($vxe-primary-color, 3%);
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
&.is--perfect {
|
|
99
|
-
border: 1px solid
|
|
99
|
+
border: 1px solid var(--vxe-table-border-color);
|
|
100
100
|
border-top-width: 0;
|
|
101
|
-
background-color:
|
|
101
|
+
background-color: var(--vxe-pager-perfect-background-color);
|
|
102
102
|
}
|
|
103
103
|
&.is--border {
|
|
104
104
|
.vxe-pager--num-btn {
|
|
105
105
|
&.is--active {
|
|
106
|
-
border-color:
|
|
106
|
+
border-color: var(--vxe-primary-color);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -193,17 +193,17 @@
|
|
|
193
193
|
.vxe-pager--jump-next,
|
|
194
194
|
.vxe-pager--num-btn {
|
|
195
195
|
text-align: center;
|
|
196
|
-
border-radius:
|
|
196
|
+
border-radius: var(--vxe-border-radius);
|
|
197
197
|
margin: 0 0.25em;
|
|
198
198
|
user-select: none;
|
|
199
|
-
background-color:
|
|
199
|
+
background-color: var(--vxe-pager-background-color);
|
|
200
200
|
&:not(.is--disabled) {
|
|
201
201
|
&:hover {
|
|
202
202
|
color: lighten($vxe-primary-color, 6%);
|
|
203
203
|
}
|
|
204
204
|
&.is--active,
|
|
205
205
|
&:focus {
|
|
206
|
-
color:
|
|
206
|
+
color: var(--vxe-primary-color);
|
|
207
207
|
}
|
|
208
208
|
&:active {
|
|
209
209
|
color: darken($vxe-primary-color, 3%);
|
|
@@ -211,9 +211,9 @@
|
|
|
211
211
|
}
|
|
212
212
|
&.is--disabled {
|
|
213
213
|
cursor: no-drop;
|
|
214
|
-
color:
|
|
214
|
+
color: var(--vxe-disabled-color);
|
|
215
215
|
&:hover {
|
|
216
|
-
color:
|
|
216
|
+
color: var(--vxe-disabled-color);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
}
|
|
@@ -244,14 +244,14 @@
|
|
|
244
244
|
}
|
|
245
245
|
}
|
|
246
246
|
.vxe-pager--jump .vxe-pager--goto {
|
|
247
|
-
border-radius:
|
|
248
|
-
border: 1px solid
|
|
249
|
-
color:
|
|
247
|
+
border-radius: var(--vxe-border-radius);
|
|
248
|
+
border: 1px solid var(--vxe-input-border-color);
|
|
249
|
+
color: var(--vxe-font-color);
|
|
250
250
|
transition: border .2s ease-in-out;
|
|
251
251
|
padding: 0 0.4em;
|
|
252
|
-
background-color:
|
|
252
|
+
background-color: var(--vxe-input-background-color);
|
|
253
253
|
&:focus {
|
|
254
|
-
border: 1px solid
|
|
254
|
+
border: 1px solid var(--vxe-primary-color);
|
|
255
255
|
outline: 0;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
@@ -270,18 +270,18 @@
|
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
.vxe-pager {
|
|
273
|
-
font-size:
|
|
274
|
-
height:
|
|
273
|
+
font-size: var(--vxe-font-size);
|
|
274
|
+
height: var(--vxe-table-row-height-default);
|
|
275
275
|
&.size--medium {
|
|
276
|
-
font-size:
|
|
277
|
-
height:
|
|
276
|
+
font-size: var(--vxe-font-size-medium);
|
|
277
|
+
height: var(--vxe-table-row-height-medium);
|
|
278
278
|
}
|
|
279
279
|
&.size--small {
|
|
280
|
-
font-size:
|
|
281
|
-
height:
|
|
280
|
+
font-size: var(--vxe-font-size-small);
|
|
281
|
+
height: var(--vxe-table-row-height-small);
|
|
282
282
|
}
|
|
283
283
|
&.size--mini {
|
|
284
|
-
font-size:
|
|
285
|
-
height:
|
|
284
|
+
font-size: var(--vxe-font-size-mini);
|
|
285
|
+
height: var(--vxe-table-row-height-mini);
|
|
286
286
|
}
|
|
287
287
|
}
|
package/styles/pulldown.scss
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
.vxe-pulldown {
|
|
6
6
|
position: relative;
|
|
7
7
|
display: inline-block;
|
|
8
|
-
color:
|
|
8
|
+
color: var(--vxe-font-color);
|
|
9
9
|
text-align: left;
|
|
10
10
|
}
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
position: absolute;
|
|
15
15
|
left: 0;
|
|
16
16
|
padding: 4px 0;
|
|
17
|
-
color:
|
|
17
|
+
color: var(--vxe-font-color);
|
|
18
18
|
text-align: left;
|
|
19
19
|
&:not(.is--transfer) {
|
|
20
20
|
min-width: 100%;
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
.vxe-pulldown--wrapper {
|
|
42
|
-
background-color:
|
|
42
|
+
background-color: var(--vxe-pulldown-panel-background-color);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.vxe-pulldown,
|
|
46
46
|
.vxe-pulldown--panel {
|
|
47
|
-
font-size:
|
|
47
|
+
font-size: var(--vxe-font-size);
|
|
48
48
|
&.size--medium {
|
|
49
|
-
font-size:
|
|
49
|
+
font-size: var(--vxe-font-size-medium);
|
|
50
50
|
}
|
|
51
51
|
&.size--small {
|
|
52
|
-
font-size:
|
|
52
|
+
font-size: var(--vxe-font-size-small);
|
|
53
53
|
}
|
|
54
54
|
&.size--mini {
|
|
55
|
-
font-size:
|
|
55
|
+
font-size: var(--vxe-font-size-mini);
|
|
56
56
|
}
|
|
57
57
|
}
|
package/styles/radio.scss
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
&:not(.is--disabled) {
|
|
40
40
|
> input {
|
|
41
41
|
&:focus+.vxe-radio--icon {
|
|
42
|
-
color:
|
|
42
|
+
color: var(--vxe-primary-color);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -52,32 +52,32 @@
|
|
|
52
52
|
|
|
53
53
|
.vxe-radio-button {
|
|
54
54
|
.vxe-radio--label {
|
|
55
|
-
background-color:
|
|
55
|
+
background-color: var(--vxe-radio-button-default-background-color);
|
|
56
56
|
}
|
|
57
57
|
&:first-child {
|
|
58
58
|
.vxe-radio--label {
|
|
59
|
-
border-left: 1px solid
|
|
60
|
-
border-radius:
|
|
59
|
+
border-left: 1px solid var(--vxe-input-border-color);
|
|
60
|
+
border-radius: var(--vxe-border-radius) 0 0 var(--vxe-border-radius);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
&:last-child {
|
|
64
64
|
.vxe-radio--label {
|
|
65
|
-
border-radius: 0
|
|
65
|
+
border-radius: 0 var(--vxe-border-radius) var(--vxe-border-radius) 0;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
> input {
|
|
69
69
|
&:checked+.vxe-radio--label {
|
|
70
70
|
color: #fff;
|
|
71
|
-
background-color:
|
|
72
|
-
border-color:
|
|
71
|
+
background-color: var(--vxe-primary-color);
|
|
72
|
+
border-color: var(--vxe-primary-color);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
.vxe-radio--label {
|
|
76
76
|
padding: 0 1em;
|
|
77
|
-
line-height:
|
|
77
|
+
line-height: var(--vxe-button-height-default) - 2;
|
|
78
78
|
display: inline-block;
|
|
79
79
|
border-style: solid;
|
|
80
|
-
border-color:
|
|
80
|
+
border-color: var(--vxe-input-border-color);
|
|
81
81
|
border-width: 1px 1px 1px 0;
|
|
82
82
|
max-width: 50em;
|
|
83
83
|
@extend %TextEllipsis;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
> input {
|
|
88
88
|
&:not(:checked) {
|
|
89
89
|
&+.vxe-radio--label {
|
|
90
|
-
color:
|
|
90
|
+
color: var(--vxe-input-disabled-color);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
&:checked {
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
& > input {
|
|
103
103
|
&:focus {
|
|
104
104
|
&+.vxe-radio--label {
|
|
105
|
-
border-color:
|
|
106
|
-
box-shadow: 0 0 0.2em 0
|
|
105
|
+
border-color: var(--vxe-primary-color);
|
|
106
|
+
box-shadow: 0 0 0.2em 0 var(--vxe-primary-color);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
> input {
|
|
112
112
|
&:not(:checked) {
|
|
113
113
|
&+.vxe-radio--label {
|
|
114
|
-
color:
|
|
114
|
+
color: var(--vxe-primary-color);
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
}
|
|
@@ -119,30 +119,30 @@
|
|
|
119
119
|
}
|
|
120
120
|
&.size--medium {
|
|
121
121
|
.vxe-radio--label {
|
|
122
|
-
line-height:
|
|
122
|
+
line-height: var(--vxe-button-height-medium) - 2;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
&.size--small {
|
|
126
126
|
.vxe-radio--label {
|
|
127
|
-
line-height:
|
|
127
|
+
line-height: var(--vxe-button-height-small) - 2;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
&.size--mini {
|
|
131
131
|
.vxe-radio--label {
|
|
132
|
-
line-height:
|
|
132
|
+
line-height: var(--vxe-button-height-mini) - 2;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.vxe-radio {
|
|
138
|
-
font-size:
|
|
138
|
+
font-size: var(--vxe-font-size);
|
|
139
139
|
&.size--medium {
|
|
140
|
-
font-size:
|
|
140
|
+
font-size: var(--vxe-font-size-medium);
|
|
141
141
|
}
|
|
142
142
|
&.size--small {
|
|
143
|
-
font-size:
|
|
143
|
+
font-size: var(--vxe-font-size-small);
|
|
144
144
|
}
|
|
145
145
|
&.size--mini {
|
|
146
|
-
font-size:
|
|
146
|
+
font-size: var(--vxe-font-size-mini);
|
|
147
147
|
}
|
|
148
148
|
}
|