kui-vue 3.3.11 → 3.4.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.
- package/components/_tool/clone.js +1 -2
- package/components/_tool/transfer.js +5 -5
- package/components/_tool/utils.js +2 -137
- package/components/alert/styles/index.less +2 -2
- package/components/avatar/AvatarGroup.jsx +2 -2
- package/components/backtop/styles/index.less +44 -47
- package/components/base/drop.jsx +231 -17
- package/components/base/pop.jsx +35 -21
- package/components/button/button.jsx +5 -11
- package/components/button/index.js +1 -8
- package/components/collapse/styles/index.less +3 -16
- package/components/colorPicker/colorpicker.jsx +4 -3
- package/components/colorPicker/styles/index.less +22 -43
- package/components/datePicker/datecalendar.jsx +1 -1
- package/components/datePicker/datepicker.jsx +5 -2
- package/components/datePicker/styles/datepicker.less +4 -14
- package/components/drawer/drawer.jsx +1 -1
- package/components/dropdown/demo/base.md +1 -1
- package/components/dropdown/demo/rightmenu.md +5 -5
- package/components/dropdown/dropdown.jsx +11 -3
- package/components/dropdown/styles/index.less +35 -13
- package/components/form/demo/align.md +1 -1
- package/components/form/demo/base.md +1 -1
- package/components/form/demo/dynamicvalid.md +1 -1
- package/components/form/demo/length.md +2 -2
- package/components/form/demo/valid.md +2 -2
- package/components/form/form.jsx +1 -1
- package/components/form/styles/index.less +3 -14
- package/components/fragment/component.js +98 -0
- package/components/fragment/frag.js +362 -0
- package/components/fragment/fragment.js +19 -0
- package/components/fragment/index.js +104 -0
- package/components/fragment/ssr.js +4 -0
- package/components/icon/demo/search.vue +1 -1
- package/components/image/styles/index.less +41 -17
- package/components/index.js +2 -2
- package/components/input/styles/index.less +2 -2
- package/components/menu/menuitem.jsx +12 -7
- package/components/menu/styles/index.less +190 -203
- package/components/menu/submenu.jsx +106 -37
- package/components/message/styles/index.less +11 -14
- package/components/modal/index.js +1 -1
- package/components/modal/modal.jsx +2 -2
- package/components/modal/styles/index.less +227 -221
- package/components/notice/styles/index.less +19 -5
- package/components/popconfirm/styles/index.less +33 -14
- package/components/poptip/demo/closeinside.md +1 -1
- package/components/poptip/styles/index.less +3 -14
- package/components/radio/button.jsx +1 -1
- package/components/rate/styles/index.less +9 -1
- package/components/select/demo/base.md +1 -1
- package/components/select/demo/multiple.md +1 -1
- package/components/select/demo/theme.md +11 -13
- package/components/select/select.jsx +64 -34
- package/components/select/styles/index.less +143 -149
- package/components/table/table.jsx +1 -1
- package/components/tabs/styles/index.less +3 -2
- package/components/tag/styles/index.less +3 -15
- package/components/tooltip/styles/index.less +48 -17
- package/components/tooltip/tooltip.jsx +3 -3
- package/components/tree/node.jsx +1 -1
- package/dist/k-ui.css +2 -2
- package/dist/k-ui.js +2 -2
- package/package.json +4 -4
- package/components/menu/styles/dropmenu.less +0 -119
- /package/{README.md → readme.md} +0 -0
|
@@ -8,21 +8,28 @@
|
|
|
8
8
|
box-sizing: border-box;
|
|
9
9
|
vertical-align: middle;
|
|
10
10
|
color: var(--kui-color-font);
|
|
11
|
-
font-size:
|
|
11
|
+
font-size: 14px;
|
|
12
12
|
position: relative;
|
|
13
13
|
outline: none;
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
flex-shrink: 0;
|
|
16
|
+
align-items: center;
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
border-radius: var(--kui-border-radius);
|
|
19
|
+
border: 1px solid var(--kui-color-border);
|
|
20
|
+
padding-left: 8px;
|
|
21
|
+
transition: border .3s ease-in-out;
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
// .k-select-selection {
|
|
25
|
+
border-color: var(--kui-color-main); // border-color: #3bb4f2;
|
|
26
|
+
// border: 1px solid var(--kui-color-border);
|
|
27
|
+
box-shadow: 0 0 0 2px var(--kui-color-main-90);
|
|
28
|
+
// }
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
&-selection {
|
|
25
|
-
|
|
32
|
+
|
|
26
33
|
box-sizing: border-box;
|
|
27
34
|
outline: 0;
|
|
28
35
|
-webkit-user-select: none;
|
|
@@ -31,10 +38,9 @@
|
|
|
31
38
|
user-select: none;
|
|
32
39
|
cursor: pointer;
|
|
33
40
|
position: relative;
|
|
34
|
-
border: 1px solid var(--kui-color-border);
|
|
35
41
|
min-height: 32px;
|
|
36
42
|
position: relative;
|
|
37
|
-
transition: all .25s ease-in-out;
|
|
43
|
+
// transition: all .25s ease-in-out;
|
|
38
44
|
display: inline-flex;
|
|
39
45
|
align-items: center;
|
|
40
46
|
width: 100%;
|
|
@@ -45,19 +51,17 @@
|
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
.k-select-icon {
|
|
48
|
-
margin-left: 8px;
|
|
49
54
|
font-size: 16px;
|
|
50
55
|
color: var(--kui-color-icon);
|
|
56
|
+
margin-right: 5px;
|
|
51
57
|
}
|
|
52
58
|
|
|
53
59
|
&-search-wrap {
|
|
54
60
|
position: absolute;
|
|
55
|
-
// left: 5px;
|
|
56
61
|
z-index: 1;
|
|
57
|
-
top: 50%;
|
|
62
|
+
// top: 50%;
|
|
58
63
|
background: none;
|
|
59
|
-
|
|
60
|
-
transform: translateY(-50%);
|
|
64
|
+
// transform: translateY(-50%);
|
|
61
65
|
overflow: hidden;
|
|
62
66
|
max-width: 100%;
|
|
63
67
|
|
|
@@ -65,8 +69,8 @@
|
|
|
65
69
|
.k-select-search {
|
|
66
70
|
// border: 1px solid #eee;
|
|
67
71
|
border: none;
|
|
68
|
-
width:
|
|
69
|
-
min-width:
|
|
72
|
+
width: 7px;
|
|
73
|
+
min-width: 7px;
|
|
70
74
|
height: 22px;
|
|
71
75
|
padding: 0;
|
|
72
76
|
background: none;
|
|
@@ -77,21 +81,25 @@
|
|
|
77
81
|
}
|
|
78
82
|
|
|
79
83
|
&-labels {
|
|
80
|
-
|
|
81
|
-
transition: all .25s ease-in-out;
|
|
84
|
+
transition: font-size .25s ease-in-out;
|
|
82
85
|
overflow: hidden;
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-wrap: wrap;
|
|
88
|
+
gap: 3px;
|
|
89
|
+
margin: 3px 0;
|
|
83
90
|
|
|
84
91
|
.k-select-tag {
|
|
85
92
|
padding: 2px 22px 2px 5px;
|
|
86
93
|
border: 1px solid var(--kui-color-border);
|
|
87
94
|
border-radius: var(--kui-border-radius);
|
|
88
|
-
|
|
89
|
-
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
align-items: center;
|
|
90
97
|
font-size: 12px;
|
|
91
98
|
position: relative;
|
|
92
99
|
line-height: 18px;
|
|
93
100
|
transition: all .25s ease-in-out;
|
|
94
101
|
|
|
102
|
+
// overflow: hidden;
|
|
95
103
|
.k-icon {
|
|
96
104
|
position: absolute;
|
|
97
105
|
right: 3px;
|
|
@@ -111,10 +119,10 @@
|
|
|
111
119
|
display: inline-block;
|
|
112
120
|
position: relative;
|
|
113
121
|
transform: none;
|
|
114
|
-
padding: 3px
|
|
122
|
+
// padding: 3px 0;
|
|
115
123
|
left: 0;
|
|
116
124
|
top: 0;
|
|
117
|
-
margin: 0
|
|
125
|
+
margin: 0;
|
|
118
126
|
vertical-align: middle;
|
|
119
127
|
// .k-select-search {
|
|
120
128
|
// // border: none;
|
|
@@ -140,117 +148,124 @@
|
|
|
140
148
|
}
|
|
141
149
|
|
|
142
150
|
&-placeholder {
|
|
143
|
-
position: absolute;
|
|
144
|
-
left: 0;
|
|
145
|
-
top: 0;
|
|
146
|
-
font-size:
|
|
151
|
+
// position: absolute;
|
|
152
|
+
// left: 0;
|
|
153
|
+
// top: 0;
|
|
154
|
+
font-size: 14px;
|
|
147
155
|
z-index: 0;
|
|
148
|
-
padding-left: 9px;
|
|
149
156
|
padding-right: 30px;
|
|
150
157
|
overflow: hidden;
|
|
151
158
|
text-overflow: ellipsis;
|
|
152
159
|
color: var(--kui-color-disable-color);
|
|
153
|
-
top: 50%;
|
|
154
|
-
transform: translateY(-50%);
|
|
160
|
+
// top: 50%;
|
|
161
|
+
// transform: translateY(-50%);
|
|
155
162
|
white-space: nowrap;
|
|
156
163
|
max-width: 100%;
|
|
157
164
|
box-sizing: border-box;
|
|
158
|
-
transition:
|
|
165
|
+
transition: font-size .25s ease-in-out;
|
|
166
|
+
line-height: 1;
|
|
159
167
|
}
|
|
160
168
|
|
|
161
|
-
/* .k-select-placeholder {
|
|
162
|
-
color: #888;
|
|
163
|
-
} */
|
|
164
|
-
/* .k-select-placeholder, */
|
|
165
169
|
&-label {
|
|
166
170
|
display: block;
|
|
167
|
-
// height: 30px;
|
|
168
|
-
// line-height: 30px;
|
|
169
171
|
overflow: hidden;
|
|
170
172
|
text-overflow: ellipsis;
|
|
171
173
|
white-space: nowrap;
|
|
172
|
-
// padding-top: -1px;
|
|
173
|
-
padding-left: 8px;
|
|
174
|
-
padding-right: 32px;
|
|
175
174
|
border: none;
|
|
176
175
|
background: transparent;
|
|
177
176
|
box-sizing: border-box;
|
|
178
177
|
width: 100%;
|
|
179
178
|
cursor: pointer;
|
|
180
|
-
font-size:
|
|
181
|
-
transition:
|
|
179
|
+
font-size: 14px;
|
|
180
|
+
transition: font-size .25s ease-in-out;
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
&-arrow {
|
|
185
184
|
// font-size: 18px;
|
|
186
|
-
position: absolute;
|
|
187
|
-
top: 50%;
|
|
188
|
-
right: 9px;
|
|
185
|
+
// position: absolute;
|
|
186
|
+
// top: 50%;
|
|
187
|
+
// right: 9px;
|
|
189
188
|
font-size: 14px;
|
|
190
189
|
box-sizing: border-box;
|
|
191
|
-
transform:
|
|
190
|
+
transform: rotate(0deg);
|
|
192
191
|
transform-origin: center;
|
|
193
192
|
transition: transform .3s ease-in-out;
|
|
194
193
|
transition: all .25s ease-in-out;
|
|
195
194
|
color: var(--kui-color-icon);
|
|
196
|
-
|
|
195
|
+
margin: 0 8px;
|
|
197
196
|
#chevron-up {
|
|
198
197
|
transform: rotate(180deg);
|
|
199
198
|
}
|
|
200
199
|
}
|
|
201
200
|
|
|
202
201
|
&-clearable {
|
|
203
|
-
position: absolute;
|
|
204
|
-
top: 50%;
|
|
205
|
-
right: 9px;
|
|
206
|
-
transform: translateY(-50%);
|
|
202
|
+
// position: absolute;
|
|
203
|
+
// top: 50%;
|
|
204
|
+
// right: 9px;
|
|
205
|
+
// transform: translateY(-50%);
|
|
207
206
|
display: none;
|
|
208
207
|
font-size: 15px;
|
|
209
208
|
color: var(--kui-color-icon);
|
|
210
|
-
|
|
209
|
+
margin: 0 8px;
|
|
211
210
|
&:hover {
|
|
212
211
|
color: var(--kui-color-font);
|
|
213
212
|
}
|
|
214
213
|
}
|
|
215
214
|
|
|
216
|
-
&:hover,
|
|
217
|
-
&:focus {
|
|
218
|
-
.k-select-selection {
|
|
219
|
-
border-color: var(--kui-color-main);
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
215
|
|
|
223
|
-
.k-select-
|
|
216
|
+
.k-select-search-mirror,
|
|
217
|
+
.k-select-search {
|
|
224
218
|
font-size: 14px;
|
|
225
|
-
|
|
219
|
+
color: var(--kui-color-font);
|
|
226
220
|
}
|
|
227
221
|
|
|
228
|
-
|
|
229
|
-
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
&.k-select-circle {
|
|
225
|
+
// .k-select-selection {
|
|
226
|
+
border-radius: 30px;
|
|
227
|
+
// }
|
|
230
228
|
}
|
|
229
|
+
}
|
|
231
230
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
231
|
+
.k-select-show-tags {
|
|
232
|
+
padding-left: 4px;
|
|
233
|
+
|
|
234
|
+
.k-select-icon {
|
|
235
|
+
margin-left: 4px;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
.k-select-
|
|
239
|
+
.k-select-show-search {
|
|
240
240
|
.k-select-placeholder {
|
|
241
|
-
|
|
241
|
+
position: absolute;
|
|
242
242
|
}
|
|
243
|
+
}
|
|
243
244
|
|
|
244
|
-
|
|
245
|
-
|
|
245
|
+
.k-select-multiple {
|
|
246
|
+
.k-select-selection {
|
|
247
|
+
// padding-left: 4px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.k-select-placeholder {
|
|
251
|
+
position: absolute;
|
|
252
|
+
// padding-left: 4px;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.k-select-has-icon {
|
|
257
|
+
.k-select-placeholder {
|
|
258
|
+
// left: 20px;
|
|
246
259
|
}
|
|
247
260
|
}
|
|
248
261
|
|
|
249
262
|
.k-select-light {
|
|
250
|
-
|
|
263
|
+
&.k-select {
|
|
251
264
|
border-color: transparent;
|
|
252
265
|
background: var(--kui-color-gray-80);
|
|
253
|
-
border-radius: var(--kui-border-radius);
|
|
266
|
+
// border-radius: var(--kui-border-radius);
|
|
267
|
+
transition: none;
|
|
268
|
+
box-shadow: none;
|
|
254
269
|
|
|
255
270
|
&:focus,
|
|
256
271
|
&:hover {
|
|
@@ -270,11 +285,7 @@
|
|
|
270
285
|
}
|
|
271
286
|
}
|
|
272
287
|
|
|
273
|
-
|
|
274
|
-
.k-select-selection {
|
|
275
|
-
border-radius: 30px;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
288
|
+
|
|
278
289
|
|
|
279
290
|
.k-select-dropdown {
|
|
280
291
|
user-select: none;
|
|
@@ -333,6 +344,7 @@
|
|
|
333
344
|
&:hover {
|
|
334
345
|
background: var(--kui-color-hover);
|
|
335
346
|
}
|
|
347
|
+
|
|
336
348
|
&:active {
|
|
337
349
|
background: var(--kui-color-actived);
|
|
338
350
|
}
|
|
@@ -357,7 +369,7 @@
|
|
|
357
369
|
.k-select-item-selected {
|
|
358
370
|
background: var(--kui-color-selected);
|
|
359
371
|
// color: var(--kui-color-main);
|
|
360
|
-
font-weight:
|
|
372
|
+
font-weight: 500;
|
|
361
373
|
|
|
362
374
|
&:hover {
|
|
363
375
|
background: var(--kui-color-selected);
|
|
@@ -389,22 +401,40 @@
|
|
|
389
401
|
}
|
|
390
402
|
|
|
391
403
|
.k-select-sm {
|
|
404
|
+
padding-left: 4px;
|
|
405
|
+
|
|
392
406
|
.k-select-icon {
|
|
393
407
|
font-size: 14px;
|
|
394
|
-
margin-
|
|
408
|
+
margin-right: 3px;
|
|
395
409
|
}
|
|
396
410
|
|
|
397
411
|
.k-select-selection {
|
|
398
412
|
min-height: 24px;
|
|
413
|
+
// padding-left: 5px;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
// &.k-select-multiple {
|
|
417
|
+
// .k-select-selection {
|
|
418
|
+
// padding-left: 2px;
|
|
419
|
+
// }
|
|
420
|
+
// }
|
|
421
|
+
&.k-select-show-tags {
|
|
422
|
+
padding-left: 2px;
|
|
423
|
+
|
|
424
|
+
.k-select-icon {
|
|
425
|
+
margin-left: 2px;
|
|
426
|
+
}
|
|
399
427
|
}
|
|
400
428
|
|
|
401
429
|
.k-select-arrow {
|
|
402
430
|
font-size: 12px;
|
|
403
|
-
right: 5px;
|
|
431
|
+
// right: 5px;
|
|
432
|
+
margin: 0 4px;
|
|
404
433
|
}
|
|
405
434
|
|
|
406
435
|
.k-select-clearable {
|
|
407
|
-
right: 5px;
|
|
436
|
+
// right: 5px;
|
|
437
|
+
margin: 0 4px;
|
|
408
438
|
font-size: 12px;
|
|
409
439
|
}
|
|
410
440
|
|
|
@@ -421,17 +451,18 @@
|
|
|
421
451
|
|
|
422
452
|
.k-select-search-wrap {
|
|
423
453
|
.k-select-search {
|
|
424
|
-
height:
|
|
454
|
+
height: 12px;
|
|
425
455
|
font-size: 12px;
|
|
426
456
|
}
|
|
427
457
|
}
|
|
428
458
|
|
|
429
459
|
.k-select-labels {
|
|
430
|
-
|
|
460
|
+
gap: 2px;
|
|
461
|
+
margin: 2px 0;
|
|
431
462
|
|
|
432
463
|
.k-select-tag {
|
|
433
464
|
padding: 2px 20px 2px 5px;
|
|
434
|
-
margin: 2px 3px 2px 0;
|
|
465
|
+
// margin: 2px 3px 2px 0;
|
|
435
466
|
line-height: 1;
|
|
436
467
|
|
|
437
468
|
.k-icon {
|
|
@@ -444,8 +475,8 @@
|
|
|
444
475
|
|
|
445
476
|
.k-select-search {
|
|
446
477
|
font-size: 12px;
|
|
447
|
-
height:
|
|
448
|
-
line-height:
|
|
478
|
+
height: 12px;
|
|
479
|
+
line-height: 12px;
|
|
449
480
|
left: 0;
|
|
450
481
|
float: left;
|
|
451
482
|
}
|
|
@@ -460,11 +491,11 @@
|
|
|
460
491
|
|
|
461
492
|
&.k-select-has-icon {
|
|
462
493
|
.k-select-selection>.k-select-search-wrap {
|
|
463
|
-
left: 14px;
|
|
494
|
+
// left: 14px;
|
|
464
495
|
}
|
|
465
496
|
|
|
466
497
|
.k-select-placeholder {
|
|
467
|
-
left: 14px;
|
|
498
|
+
// left: 14px;
|
|
468
499
|
}
|
|
469
500
|
}
|
|
470
501
|
}
|
|
@@ -479,13 +510,17 @@
|
|
|
479
510
|
min-height: 40px;
|
|
480
511
|
}
|
|
481
512
|
|
|
513
|
+
.k-select-icon {
|
|
514
|
+
font-size: 18px;
|
|
515
|
+
}
|
|
516
|
+
|
|
482
517
|
.k-select-arrow {
|
|
483
518
|
font-size: 18px;
|
|
484
|
-
right: 10px;
|
|
519
|
+
// right: 10px;
|
|
485
520
|
}
|
|
486
521
|
|
|
487
522
|
.k-select-clearable {
|
|
488
|
-
right: 10px;
|
|
523
|
+
// right: 10px;
|
|
489
524
|
font-size: 18px;
|
|
490
525
|
}
|
|
491
526
|
|
|
@@ -493,7 +528,6 @@
|
|
|
493
528
|
line-height: 38px;
|
|
494
529
|
height: 38px;
|
|
495
530
|
font-size: 16px;
|
|
496
|
-
padding-right: 32px;
|
|
497
531
|
}
|
|
498
532
|
|
|
499
533
|
.k-select-search-wrap {
|
|
@@ -503,11 +537,10 @@
|
|
|
503
537
|
}
|
|
504
538
|
|
|
505
539
|
.k-select-labels {
|
|
506
|
-
padding: 0 32px 0 6px;
|
|
507
540
|
|
|
508
541
|
.k-select-tag {
|
|
509
542
|
padding: 7px 20px 7px 5px;
|
|
510
|
-
margin: 4px 8px 4px 0;
|
|
543
|
+
// margin: 4px 8px 4px 0;
|
|
511
544
|
font-size: 14px;
|
|
512
545
|
line-height: 1;
|
|
513
546
|
|
|
@@ -517,7 +550,7 @@
|
|
|
517
550
|
}
|
|
518
551
|
|
|
519
552
|
.k-select-search-wrap {
|
|
520
|
-
padding: 4px 0;
|
|
553
|
+
// padding: 4px 0;
|
|
521
554
|
|
|
522
555
|
.k-select-search {
|
|
523
556
|
height: 28px;
|
|
@@ -531,10 +564,14 @@
|
|
|
531
564
|
}
|
|
532
565
|
|
|
533
566
|
.k-select-open {
|
|
534
|
-
.k-select-selection {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
567
|
+
// .k-select-selection {
|
|
568
|
+
border-color: var(--kui-color-main); // border-color: #3bb4f2;
|
|
569
|
+
// box-shadow: 0 0 5px rgba(59, 180, 242, 0.55);
|
|
570
|
+
box-shadow: 0 0 0 2px var(--kui-color-main-90);
|
|
571
|
+
// }
|
|
572
|
+
|
|
573
|
+
.k-select-label {
|
|
574
|
+
opacity: .5;
|
|
538
575
|
}
|
|
539
576
|
|
|
540
577
|
// .k-select-arrow {
|
|
@@ -548,13 +585,13 @@
|
|
|
548
585
|
|
|
549
586
|
.k-select-disabled {
|
|
550
587
|
color: var(--kui-color-disable-color);
|
|
588
|
+
background: var(--kui-color-disable-back);
|
|
551
589
|
|
|
552
590
|
.k-select-label {
|
|
553
591
|
cursor: not-allowed;
|
|
554
592
|
}
|
|
555
593
|
|
|
556
|
-
|
|
557
|
-
background: var(--kui-color-disable-back);
|
|
594
|
+
* {
|
|
558
595
|
cursor: not-allowed;
|
|
559
596
|
}
|
|
560
597
|
|
|
@@ -564,10 +601,10 @@
|
|
|
564
601
|
|
|
565
602
|
&:hover,
|
|
566
603
|
&:focus {
|
|
567
|
-
.k-select-selection {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
}
|
|
604
|
+
// .k-select-selection {
|
|
605
|
+
border-color: var(--kui-color-disable-border);
|
|
606
|
+
box-shadow: none;
|
|
607
|
+
// }
|
|
571
608
|
}
|
|
572
609
|
}
|
|
573
610
|
|
|
@@ -600,39 +637,8 @@
|
|
|
600
637
|
}
|
|
601
638
|
}
|
|
602
639
|
|
|
603
|
-
@keyframes zoomIn {
|
|
604
|
-
from {
|
|
605
|
-
opacity: 0;
|
|
606
|
-
transform: scale(0, 0);
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
to {
|
|
610
|
-
opacity: 1;
|
|
611
|
-
transform: scale(1, 1);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
@keyframes zoomOut {
|
|
616
|
-
from {
|
|
617
|
-
opacity: 1;
|
|
618
|
-
transform: scale(1, 1);
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
to {
|
|
622
|
-
opacity: 0;
|
|
623
|
-
transform: scale(0, 0);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
640
|
|
|
627
|
-
|
|
628
|
-
animation: zoomIn .3s ease-out;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
.k-select-tag-leave-active {
|
|
632
|
-
animation: zoomOut .3s ease-out;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
@keyframes dropDownIn {
|
|
641
|
+
@keyframes drop-down {
|
|
636
642
|
0% {
|
|
637
643
|
opacity: 0;
|
|
638
644
|
transform: scaleY(0)
|
|
@@ -644,24 +650,12 @@
|
|
|
644
650
|
}
|
|
645
651
|
}
|
|
646
652
|
|
|
647
|
-
@keyframes dropDownOut {
|
|
648
|
-
0% {
|
|
649
|
-
opacity: 1;
|
|
650
|
-
transform: scaleY(1)
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
to {
|
|
654
|
-
opacity: 0;
|
|
655
|
-
transform: scaleY(0)
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
653
|
.k-select-enter-active {
|
|
660
654
|
transform-origin: 0 0;
|
|
661
|
-
animation:
|
|
655
|
+
animation: drop-down .3s;
|
|
662
656
|
}
|
|
663
657
|
|
|
664
658
|
.k-select-leave-active {
|
|
665
659
|
transform-origin: 0 0;
|
|
666
|
-
animation:
|
|
660
|
+
animation: drop-down .3s reverse
|
|
667
661
|
}
|
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
render() {
|
|
35
|
-
let { $slots, data, $scopedSlots, loading, height, width, sticky } = this
|
|
35
|
+
let { $slots, data, $scopedSlots = {}, loading, height, width, sticky } = this
|
|
36
36
|
// bordered = true
|
|
37
37
|
const { header, footer } = $slots
|
|
38
38
|
let isTableFixed = width || height
|
|
@@ -61,8 +61,9 @@
|
|
|
61
61
|
}
|
|
62
62
|
.k-tabs-close {
|
|
63
63
|
margin: 0 -5px 0 0;
|
|
64
|
-
width: 16px;
|
|
65
64
|
text-align: center;
|
|
65
|
+
font-size: 16px;
|
|
66
|
+
margin-left: 5px;
|
|
66
67
|
color: var(--kui-color-icon);
|
|
67
68
|
&:hover {
|
|
68
69
|
color: var(--kui-color-danger);
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
}
|
|
78
79
|
.k-tabs-tab-active {
|
|
79
80
|
color: var(--kui-color-main);
|
|
80
|
-
|
|
81
|
+
text-shadow: 0 0 0.5px currentcolor;
|
|
81
82
|
}
|
|
82
83
|
.k-tabs-tab-disabled {
|
|
83
84
|
color: var(--kui-color-disable-color);
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
@keyframes
|
|
171
|
+
@keyframes k-tag-zoom {
|
|
172
172
|
from {
|
|
173
173
|
opacity: 0;
|
|
174
174
|
transform: scale(0, 0);
|
|
@@ -180,22 +180,10 @@
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
@keyframes zoomOut {
|
|
184
|
-
from {
|
|
185
|
-
opacity: 1;
|
|
186
|
-
transform: scale(1, 1);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
to {
|
|
190
|
-
opacity: 0;
|
|
191
|
-
transform: scale(0, 0);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
|
|
195
183
|
.k-tag-enter-active {
|
|
196
|
-
animation:
|
|
184
|
+
animation: k-tag-zoom .2s ease-out;
|
|
197
185
|
}
|
|
198
186
|
|
|
199
187
|
.k-tag-leave-active {
|
|
200
|
-
animation:
|
|
188
|
+
animation: k-tag-zoom .2s ease-out reverse;
|
|
201
189
|
}
|